:root{color-scheme:dark;font-family:var(--font-readable);color:#effbff;background:#07354b;font-synthesis:none;--dive:0;--mint:#9ef7e2}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;overflow-x:clip}a{color:inherit;text-decoration:none}button{font:inherit}a:focus-visible,button:focus-visible{outline:2px solid #a7ffeb;outline-offset:6px}::selection{background:#b6ffe2;color:#06344a}.skip-link{position:fixed;top:-80px;left:20px;z-index:100;padding:15px;background:#052d45}.skip-link:focus{top:12px}
.ocean-stage{position:fixed;inset:0;z-index:-1;overflow:hidden;background:#0787b2;pointer-events:none}.ocean-art{position:absolute;inset:0;background:url('/assets/home/ocean-fallback.webp') center top/cover no-repeat;transform:scale(calc(1 + var(--dive)*.18));background-position:center calc(var(--dive)*100%)}#ocean{position:absolute;inset:0;display:block;width:100%;height:100%;opacity:0;transition:opacity 1.4s}.ocean-ready #ocean{opacity:1}.ocean-vignette{position:absolute;inset:0;background:linear-gradient(180deg,#02394a05 0%,transparent 38%,#001b3333 100%);box-shadow:inset 0 0 180px #02203c22;transition:background 1s}.is-submerged .ocean-vignette{background:linear-gradient(90deg,#001c3866,transparent 70%),linear-gradient(0deg,#00182c66,transparent 38%)}
.content-width{width:min(1240px,calc(100% - 144px));margin-inline:auto}.home-header{position:fixed;top:16px;left:0;right:0;z-index:60;width:calc(100% - 48px);min-height:82px;padding:12px 22px;border-radius:20px;--glass-white:rgba(5,65,91,.78);--glass-border:#bceaff3d;--blur-md:blur(18px);box-shadow:0 8px 32px #001e3840,inset 0 1px 0 #e5ffff26}
.home-header .site-brand{color:#f4fdff}
.site-brand img{width:48px;height:44px}
.home-header .site-brand img{display:block;width:auto;height:56px;filter:drop-shadow(0 0 3px #5ab8ff80) drop-shadow(0 0 9px #148aff55)}
.site-brand small{display:block;font:400 9px var(--font-readable);letter-spacing:.15em;text-transform:uppercase;margin-top:8px}
.home-header .site-nav a{color:#f4fdff}
.home-header .site-nav a:hover,.home-header .site-nav a:focus-visible{background:#d5fff018;color:#fff}

.surface-section{position:relative;min-height:100svh;display:flex;justify-content:center;text-align:center;padding:138px 24px 130px;color:#062f49}.surface-copy{position:relative;align-self:flex-start}.eyebrow{display:flex;align-items:center;justify-content:inherit;gap:10px;margin:0 0 24px;font:500 10px var(--font-readable);letter-spacing:.2em;text-transform:uppercase;line-height:1.7}.surface-copy .eyebrow{justify-content:center}.eyebrow span{width:5px;height:5px;background:currentColor;border-radius:50%;box-shadow:0 0 14px currentColor}h1,h2,h3{font-family:var(--font-brand);font-weight:300}h1{margin:0;font-size:clamp(52px,6.6vw,98px);line-height:1.17;letter-spacing:-.05em;text-shadow:0 2px 26px #c8efff40}h1 em{font-style:normal;font-size:1.32em;letter-spacing:-.06em;color:#063b59}h2 em{font-style:normal;color:var(--mint)}.surface-intro{margin:25px auto 26px;font-size:14px;line-height:1.7;color:#15465e}.surface-bottom{position:absolute;bottom:40px;left:72px;right:72px;display:flex;align-items:flex-end;justify-content:space-between;text-align:left;color:#efffff;text-shadow:0 1px 14px #001e38;font-size:9px;letter-spacing:.14em}.edition i{display:block;font-style:normal;margin-top:9px;opacity:.65;font-size:9px;letter-spacing:.25em}.surface-coordinate{text-align:right;letter-spacing:.04em;line-height:1.8}.surface-coordinate span{display:block;opacity:.7}.scroll-cue{display:flex;align-items:center;gap:15px;font-size:10px;letter-spacing:.14em}.scroll-line{display:block;height:45px;width:1px;background:linear-gradient(transparent,#dfffff);position:relative}.scroll-line::after{content:"";position:absolute;bottom:0;left:-2px;width:5px;height:5px;border-radius:50%;background:#ceffef;box-shadow:0 0 12px #a5fff1;animation:dive-dot 2s ease-in-out infinite}@keyframes dive-dot{50%{transform:translateY(-22px);opacity:.3}}
.discovery-section{min-height:100svh;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12%;padding-block:120px}.discovery-copy{max-width:555px;text-shadow:0 2px 20px #00223b80}.discovery-copy .eyebrow{color:#b9f9ed}h2{font-size:clamp(36px,4.4vw,66px);line-height:1.3;letter-spacing:-.045em;margin:0 0 28px}.discovery-copy>p:not(.eyebrow){font-size:16px;line-height:1.85;max-width:380px;color:#e0f3fc}.discovery-copy>p+p{margin-top:12px}.underlined-link{display:inline-flex;align-items:center;gap:30px;border-bottom:1px solid #b1efdc73;padding-block:12px;font-size:12px;font-weight:600;margin-top:15px}.underlined-link span{color:var(--mint);font-size:23px;transition:transform .3s}.underlined-link:hover span{transform:translate(4px,4px)}.reef-caption{justify-self:end;align-self:end;display:grid;grid-template-columns:24px 1fr;gap:12px 20px;border-radius:5px 28px 28px 28px;padding:30px 32px;margin-bottom:60px;background:#063e592e;--blur-md:blur(8px);box-shadow:inset 0 1px 0 #fff3,0 20px 50px #00162b22}.caption-mark{font-size:26px;color:var(--mint)}.tiny-label{font-size:8px;letter-spacing:.14em;color:#c2f5ef}.reef-caption p{font-size:23px;font-weight:300;line-height:1.55;margin:15px 0}.caption-coordinate{grid-column:2;font-size:8px;letter-spacing:.16em;color:#c4e7ec}
.adventures-section{min-height:105svh;padding-block:110px 140px}.collection-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:50px;text-shadow:0 2px 18px #00203c90}.collection-heading h2{font-size:clamp(32px,3.4vw,49px);margin-bottom:0}.collection-heading>.eyebrow{color:#c5fff0}.collection-heading>p{margin:0 0 5px;color:#d5e9f3;font-size:14px;line-height:1.9}.game-collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.adventure-card{display:flex;flex-direction:column;overflow:hidden;border-radius:24px;background:#03273dbc;--glass-border:#9edbed47;--blur-md:blur(20px);box-shadow:0 20px 60px #00172f44,inset 0 1px 0 #fff3;transition:transform .4s,border-color .4s,box-shadow .4s}.adventure-card:hover{transform:translateY(-9px);border-color:#b8fff1a6;box-shadow:0 26px 65px #00172f66,0 0 30px #9cffdf20}.card-image{position:relative;aspect-ratio:1.65;overflow:hidden;background:#075477}.card-image::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#03273d 0%,transparent 60%),linear-gradient(180deg,#001f3a66,transparent 45%)}.card-image>img{width:100%;height:100%;object-fit:cover;transition:transform .8s}.adventure-card:hover .card-image>img{transform:scale(1.06)}.card-image .rescue-dolphin{position:absolute;width:78%;height:90%;object-fit:contain;right:-1%;bottom:0;filter:drop-shadow(0 8px 12px #002a4a55)}.game-number{position:absolute;top:20px;left:20px;z-index:1;font-size:8px;font-weight:500;letter-spacing:.1em;color:#efffff}.card-arrow{position:absolute;right:18px;top:15px;z-index:1;display:grid;place-items:center;width:29px;height:29px;border:1px solid #ffffff77;border-radius:50%;font-size:18px;color:#edffff}.card-copy{display:flex;flex-direction:column;flex:1;padding:13px 27px 28px}.game-status{display:flex;align-items:center;gap:7px;font-size:9px;color:#a7f8da;margin-bottom:17px;letter-spacing:.03em}.game-status i{width:5px;height:5px;border-radius:50%;background:#9efcda;box-shadow:0 0 9px #9efcda}.status-coral{color:#ffbeac}.status-lilac{color:#dcceff}.card-copy h3{font-size:clamp(19px,1.9vw,26px);letter-spacing:-.04em;margin:0 0 17px;font-weight:500}.card-copy p{font-size:13px;line-height:1.85;color:#c3dce8;margin:0 0 28px}.card-link{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;border-top:1px solid #b6ddee29;padding-top:21px;font-size:12px;font-weight:600}.card-link>span{font-size:21px;color:var(--mint)}.card-note{font-size:9px;color:#9cbdcc;margin-top:9px}
.ocean-invitation{min-height:90svh;display:grid;place-items:center;padding-block:120px;text-align:center}.invitation-inner{padding:45px;max-width:780px;text-shadow:0 2px 20px #00213b}.invitation-symbol{display:block;font-size:50px;font-weight:300;color:#d2ffef;margin-bottom:25px}.invitation-inner .eyebrow{justify-content:center;color:#cefff0}.invitation-inner h2{font-size:clamp(35px,4.2vw,60px)}.invitation-inner>p:not(.eyebrow){font-size:15px;color:#e1f1f7;margin:0 0 30px}.invitation-inner .glass-btn{border-radius:50px;min-width:220px;text-shadow:none;padding:18px 28px}.invitation-note{display:block;font-size:10px;color:#c4e6ee;margin-top:19px}
.depth-gauge{position:fixed;right:28px;top:46%;z-index:10;display:flex;flex-direction:column;align-items:center;gap:15px;color:#f0ffff;text-shadow:0 2px 8px #00283f;pointer-events:none;mix-blend-mode:normal}.depth-gauge>span:first-child{font-size:8px;letter-spacing:.1em;writing-mode:vertical-rl}.gauge-track{position:relative;width:1px;height:80px;background:#d9ffff40}.gauge-track i{position:absolute;inset:0;background:#b4ffe4;transform:scaleY(.015);transform-origin:top;box-shadow:0 0 9px #b4ffe488}.depth-reading{display:flex;align-items:baseline;gap:3px}.depth-reading b{font-size:15px;font-weight:400;font-variant-numeric:tabular-nums}.depth-reading small{font-size:8px}.motion-toggle{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:36px;margin:0 0 18px;cursor:pointer}.motion-toggle:hover{background:#062e46b3}.motion-toggle[hidden]{display:none}.home-footer{position:relative;display:flex;align-items:flex-end;gap:50px;padding:38px 0 44px;border-top:1px solid #bcf2ff3b;font-size:11px}.home-footer::before{content:"";position:absolute;inset:-50px -100vw 0;background:linear-gradient(transparent,#001c37a6);z-index:-1;pointer-events:none}.home-footer .site-brand span{font-size:17px}.home-footer .site-brand img{width:33px;height:35px}.footer-left p{color:#c4deec;font-size:11px;margin-top:17px}.footer-left>span{font-size:9px;color:#a7c4d5}.footer-games{display:flex;gap:22px;margin-left:auto;padding-bottom:4px;font-size:10px;color:#deeff7}.footer-games a:hover{color:var(--mint)}.home-footer .studio-credit{margin-left:20px;padding-left:0}.home-footer .studio-credit img{width:130px}
[data-reveal]{opacity:1;transform:none}.ocean-ready [data-reveal]{transition:opacity .9s,transform .9s}.ocean-ready [data-reveal]:not(.in-view){opacity:0;transform:translateY(28px)}.ocean-ready .adventure-card.in-view{transition:opacity .9s,transform .4s,border-color .4s,box-shadow .4s}.adventure-card:nth-child(2){transition-delay:.08s}.adventure-card:nth-child(3){transition-delay:.16s}.is-still *, .is-still *::before, .is-still *::after{animation-play-state:paused!important}
@media(min-height:950px){.surface-section{padding-top:18vh}.surface-intro{margin-top:30px}}
@media(max-width:1000px){.content-width{width:calc(100% - 96px)}.game-collection{gap:14px}.card-copy{padding:13px 20px 24px}.card-copy h3{font-size:20px}.card-copy p{font-size:12px}.collection-heading>p{font-size:12px}.reef-caption{padding:25px 22px}.reef-caption p{font-size:20px}.surface-bottom{left:48px;right:48px}.depth-gauge{right:14px}.home-footer{gap:20px}.footer-games{gap:12px;font-size:9px}.home-footer .studio-credit{margin-left:5px}}
@media(max-width:700px){html{scroll-padding-top:100px}.content-width{width:calc(100% - 48px)}.home-header{top:12px;width:calc(100% - 24px);min-height:74px;padding:12px 14px;gap:10px;flex-wrap:wrap;border-radius:18px}.home-header .site-nav{position:static;flex-basis:100%;width:100%;margin-top:4px;padding:8px 0 0;border-radius:0;border-top:1px solid #bceaff26;background:none;box-shadow:none}.home-header .site-nav.is-open{animation:none}.home-header .site-brand img{width:auto;height:48px}.home-header .site-brand span{font-size:14px}.site-brand small{font-size:7px;letter-spacing:.12em;margin-top:7px}.surface-section{padding:155px 20px 150px}.surface-copy .eyebrow{font-size:8px;letter-spacing:.12em;gap:7px}h1{font-size:clamp(38px,10vw,64px);line-height:1.3;letter-spacing:-.045em}.surface-intro{font-size:13px;margin-block:22px}.surface-bottom{left:24px;right:24px;bottom:38px}.edition{font-size:7px}.edition i{font-size:7px}.surface-coordinate{display:none}.scroll-cue{font-size:8px;letter-spacing:.07em}.discovery-section{min-height:110svh;grid-template-columns:1fr;gap:40px;padding-block:110px 80px}.discovery-copy{max-width:390px}.discovery-copy .eyebrow{font-size:8px}h2{font-size:clamp(32px,8.3vw,48px)}.discovery-copy>p:not(.eyebrow){font-size:14px;max-width:300px}.reef-caption{margin:0 10px 0 30px;padding:23px;justify-self:end;gap:10px 15px}.reef-caption p{font-size:18px;line-height:1.5;margin:12px 0}.tiny-label{font-size:7px}.caption-coordinate{font-size:7px}.adventures-section{padding-block:80px}.collection-heading{display:block;margin-bottom:30px}.collection-heading h2{font-size:32px}.collection-heading>p{margin-top:20px}.eyebrow{font-size:9px;margin-bottom:18px}.game-collection{grid-template-columns:1fr;gap:26px}.adventure-card{border-radius:22px}.card-image{aspect-ratio:1.85}.card-copy{padding:12px 24px 25px}.card-copy h3{font-size:24px}.card-copy p{font-size:13px;margin-bottom:20px}.game-number{font-size:8px}.game-status{margin-bottom:12px}.card-link{padding-top:17px}.card-note{font-size:9px}.ocean-invitation{min-height:85svh;padding-block:90px}.invitation-inner{padding:15px 0}.invitation-inner h2{font-size:31px}.invitation-inner .eyebrow{font-size:8px}.invitation-inner>p:not(.eyebrow){font-size:13px}.invitation-symbol{font-size:38px}.depth-gauge{right:7px;gap:10px}.depth-gauge>span:first-child{font-size:7px}.gauge-track{height:50px}.depth-reading b{font-size:12px}.depth-reading small{font-size:6px}.motion-toggle svg{width:14px;height:14px}.home-footer{flex-wrap:wrap;gap:28px;padding-block:32px 74px}.footer-left{flex:1 1 60%}.footer-games{flex-direction:column;gap:15px;align-self:flex-start;padding-top:10px;font-size:10px}.home-footer .studio-credit{flex-basis:100%;margin-left:auto;padding-top:0}.home-footer .studio-credit img{width:125px}.home-footer .studio-credit-label{font-size:9px}.home-footer .site-brand span{font-size:15px}.home-footer .site-brand img{width:28px}.home-footer .footer-left p{max-width:190px;line-height:1.8;font-size:10px}.ocean-vignette{box-shadow:none}.is-submerged .ocean-vignette{background:linear-gradient(90deg,#001d385c,transparent),linear-gradient(0deg,#001b3840,transparent)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}[data-reveal]{opacity:1!important;transform:none!important}}
.surface-copy,.surface-bottom{opacity:var(--surface-fade,1)}
.home-footer::before{inset:-50px -72px 0}
@media(max-width:1000px){.home-footer::before{inset-inline:-48px}}
@media(max-width:700px){.home-footer::before{inset-inline:-24px}}
/* The lab is an optional overlay; normal scrolling and game links stay available. */
.water-debug[hidden]{display:none}.water-debug{position:fixed;left:25px;bottom:24px;z-index:30;width:340px;max-height:calc(100dvh - 180px);padding:22px;border-radius:22px;background:#052c43ef;color:#ecfaff;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 20px 70px #00132280,inset 0 1px 0 #ffffff33;scrollbar-width:thin;scrollbar-color:#699baf #052c43;--blur-md:blur(28px)}.water-debug-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.water-debug-heading>div>span{font-size:8px;letter-spacing:.2em;color:#8fe3d4}.water-debug-heading h2{font:500 23px var(--font-readable);letter-spacing:-.03em;margin:4px 0 0}.water-debug button,.water-debug input,.water-debug select{font-family:var(--font-readable);color:#eaffff}.water-debug-heading>button{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;border:1px solid #a5efff3d;background:#b5eaff0d;cursor:pointer;font-size:22px}.water-debug fieldset{border:0;padding:0;margin:0;min-width:0}.debug-label{display:block;margin:18px 0 9px;font-size:11px;font-weight:600;letter-spacing:.02em}.water-debug fieldset>.debug-label:first-child{margin-top:0}.water-debug select,.debug-save>input{width:100%;min-height:39px;padding:9px 10px;border:1px solid #abecff42;border-radius:9px;background:#092638;color:#f4ffff;font-size:12px}.water-debug option,.water-debug optgroup{background:#092638;color:#ecffff}.debug-inline{display:flex;justify-content:space-between;gap:8px;margin:10px 0 20px}.water-debug button:not([data-close-debug]){border:1px solid #ace7eb2e;background:#b2efff0d;border-radius:8px;padding:8px 9px;font-size:10px;cursor:pointer}.water-debug button:hover{background:#abffe324}.water-clock{font-size:10px;line-height:1.8;color:#b7dce4;min-height:36px;margin:10px 0 18px}.water-debug-adjust{border-block:1px solid #c3f5ff26;padding-block:14px}.water-debug-adjust>summary{font-size:11px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;list-style:none}.water-debug-adjust>summary::-webkit-details-marker{display:none}.water-debug-adjust>summary>span{font-size:18px;color:#9df6de}.water-debug-adjust[open]>summary>span{transform:rotate(45deg)}.debug-sliders{padding-top:16px;display:grid;gap:14px}.debug-sliders>label{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;font-size:10px;color:#d8eff6;gap:7px}.debug-sliders output{font-size:10px;color:#9cebd4;font-variant-numeric:tabular-nums}.debug-sliders input[type=range]{width:100%;height:12px;accent-color:#9df2d9;cursor:pointer;margin:0}.debug-color input{width:48px;height:28px;border:1px solid #9ce6e445;background:none;border-radius:5px;padding:2px}.debug-save{display:flex;gap:7px}.debug-save>input{min-width:0;font-size:11px}.water-debug .debug-save>button{flex-shrink:0;background:#a5f5dd;color:#073b4a;font-weight:600;border-color:#c5ffed}.water-debug-status{font-size:10px;line-height:1.7;color:#a8f2dc;margin:15px 0 8px}.debug-footnote{font-size:9px;line-height:1.7;color:#9cbfce;margin:0}.water-debug :focus-visible{outline:2px solid #b4ffe5;outline-offset:3px}.is-night .surface-section,.is-night h1 em{color:#edfbff}.is-night .surface-intro{color:#d5e9f7}.is-night .ocean-vignette{background:linear-gradient(0deg,#00132455,transparent 50%)}
@media(max-width:700px){.water-debug{left:12px;bottom:12px;width:min(340px,calc(100% - 24px));max-height:calc(100dvh - 165px);padding:20px}.water-debug-heading{margin-bottom:18px}.water-debug select,.debug-save>input{font-size:16px}}

/* Keep the custom chevrons on the same right-hand axis as the close icon. */
.water-debug select{appearance:none;-webkit-appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23eaffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:12px 8px;background-position:right 8px center}
.water-debug-heading>button{flex:0 0 30px;padding:0;line-height:1}
.water-debug:focus-visible{outline:2px solid #b4ffe580;outline-offset:3px}

/* Homepage entrance: opacity + transform only; the final item settles at 1.43 s. */
.hero-line{display:block}
.home-header .site-brand,.home-header .site-nav,.home-header .site-menu-toggle,
.surface-copy>.eyebrow,.surface-copy .hero-line,.surface-intro,.dive-button-wrap,.surface-bottom>*{
  animation:hero-arrive 1.9s cubic-bezier(.22,.8,.3,1) both;
  animation-delay:calc(var(--hero-delay,0s) * 2.6 + .3s);
}
.home-header .site-nav,.home-header .site-menu-toggle{--hero-delay:.05s}
.surface-copy>.eyebrow{--hero-delay:.08s}
.surface-copy h1>.hero-line:first-child{--hero-delay:.16s}
.surface-copy h1>em.hero-line{--hero-delay:.28s}
.surface-intro{--hero-delay:.4s}
.dive-button-wrap{--hero-delay:.52s;display:flex;justify-content:center}
.surface-bottom>*{--hero-delay:.65s}
@keyframes hero-arrive{from{opacity:0;transform:translate3d(0,26px,0)}to{opacity:1;transform:translate3d(0,0,0)}}

/* Rotating gradient outline inspired by https://codepen.io/collinsworth/pen/zYepgqG.
   One small composited layer rotates; no JS, animated blur, or full-page repaint. */
.dive-button{position:relative;isolation:isolate;display:inline-flex;overflow:hidden;padding:2px;border:0;border-radius:999px;background:#baf6e15c;color:#f5fffc;font-size:14px;font-weight:600;box-shadow:0 8px 25px #023f5b26,0 0 18px #d7fff01a;transition:transform .25s,box-shadow .25s}
.dive-button::before{content:"";position:absolute;left:50%;top:50%;width:160%;aspect-ratio:1;background:conic-gradient(from 0deg,transparent 0deg,#edfff5 48deg,#92edcb 88deg,transparent 150deg,transparent 180deg,#fff6df 235deg,#ddfff5 270deg,transparent 330deg);animation:dive-outline 6s linear infinite;will-change:transform;pointer-events:none}
.dive-button-face{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:28px;padding:16px 25px;border-radius:inherit;background:#07394b;box-shadow:inset 0 1px 1px #ffffff24;transition:background .25s}
.dive-label{color:inherit;font:inherit;letter-spacing:.015em}
.dive-arrow{flex:none;color:#c9ffea;animation:dive-invitation 2.8s cubic-bezier(.45,0,.55,1) 1.5s infinite}
.dive-button:hover{transform:translateY(2px);box-shadow:0 8px 28px #023f5b40,0 0 22px #d7fff02b}
.dive-button:hover .dive-button-face{background:#09526b}
.dive-button:active{transform:translateY(3px) scale(.98)}
@keyframes dive-outline{from{transform:translate(-50%,-50%) rotate(0turn)}to{transform:translate(-50%,-50%) rotate(1turn)}}
@keyframes dive-invitation{0%,35%,100%{transform:translateY(0)}55%{transform:translateY(4px)}75%{transform:translateY(0)}}
.is-submerged .dive-button::before,.is-submerged .dive-arrow{animation-play-state:paused}
@media(max-width:700px){.dive-button{font-size:13px}.dive-button-face{padding:14px 22px;gap:24px}}
@media(prefers-reduced-motion:reduce){.dive-button::before{transform:translate(-50%,-50%)}.hero-line,.dive-button-wrap{opacity:1;transform:none}}

/* Blue logo shimmer: small masked/composited layers, no JS or animated filters. */
.home-header .header-logo{position:relative;isolation:isolate;display:block;line-height:0;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.home-header .header-logo::before{content:"";position:absolute;z-index:-1;inset:-12px;background:radial-gradient(ellipse,#279aff9c 0%,#1688ff45 35%,transparent 72%);opacity:.25;pointer-events:none;animation:logo-blue-glow 5.8s ease-in-out infinite;transition:opacity .3s,transform .3s}
.home-header .logo-shine{position:absolute;inset:0;overflow:hidden;pointer-events:none;-webkit-mask:url('/assets/site/tap-oceans-logo-white.svg') center/contain no-repeat;mask:url('/assets/site/tap-oceans-logo-white.svg') center/contain no-repeat}
.home-header .logo-shine::before{content:"";position:absolute;inset:-30% -120%;background:linear-gradient(110deg,transparent 43%,#62b5ff99 47%,#f0fbff 50%,#86c8ffb3 53%,transparent 57%);animation:logo-blue-shine 6s ease-in-out infinite;transform:translate3d(-35%,0,0);opacity:0}
.home-header .site-brand:is(:hover,:focus-visible) .header-logo{transform:translateY(-1px) scale(1.06)}
.home-header .site-brand:is(:hover,:focus-visible) .header-logo::before{animation:none;opacity:.9;transform:scale(1.12)}
.home-header .site-brand:is(:hover,:focus-visible) .logo-shine::before{animation:logo-hover-shine 1.4s ease-in-out infinite}
.home-header .site-brand:active .header-logo{transform:scale(.98)}
@keyframes logo-blue-glow{0%,100%{opacity:.22;transform:scale(.94)}50%{opacity:.5;transform:scale(1.04)}}
@keyframes logo-blue-shine{0%,35%{opacity:0;transform:translate3d(-35%,0,0)}42%,60%{opacity:.8}68%,100%{opacity:0;transform:translate3d(35%,0,0)}}
@keyframes logo-hover-shine{0%{opacity:0;transform:translate3d(-35%,0,0)}18%,72%{opacity:1}100%{opacity:0;transform:translate3d(35%,0,0)}}
@media(prefers-reduced-motion:reduce){.home-header .logo-shine{display:none}.home-header .header-logo::before{opacity:.3;transform:none}.home-header .site-brand:is(:hover,:focus-visible) .header-logo{transform:none}}

.home-header{gap:18px}.home-header .site-nav{order:1}.home-header .site-audio-toggle{order:2}.home-header .site-menu-toggle{order:3}
@media(max-width:700px){.home-header{gap:10px}.home-header .site-brand{margin-right:auto}.home-header .site-audio-toggle{order:1}.home-header .site-menu-toggle{order:2}.home-header .site-nav{order:3;margin-left:0}}

/* Top nav fades in without moving */
@keyframes nav-fade{from{opacity:0}to{opacity:1}}
.home-header .site-brand,.home-header .site-nav,.home-header .site-menu-toggle{animation-name:nav-fade}
