/* =========================================================================
   BLUE TRIDENT SOLUTIONS — storm surface, deep-ocean site
   ========================================================================= */
:root {
    --abyss: #020a18;
    --deep: #041a30;
    --sea: #062a4a;
    --surface: #0a3a62;
    --blue: #2f9bff;
    --electric: #3fb6ff;
    --ice: #9fe6ff;
    --foam: #dff6ff;
    --bio: #3ff0d0;
    --violet: #8f7bff;
    --text: #cfe2f4;
    --muted: #8aa7c4;
    --glass: rgba(6, 30, 58, .42);
    --glass-b: rgba(140, 210, 255, .16);
    --f-d: 'Cinzel', 'Trajan Pro', Georgia, serif;
    --f-b: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-io: cubic-bezier(.76, 0, .24, 1);
    --d: 0;                        /* scroll depth 0..1, set by JS */
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { background: var(--abyss); scroll-behavior: smooth; scroll-padding-top: 80px; }
html.rm { scroll-behavior: auto; }
body { font: 500 16px/1.65 var(--f-b); color: var(--text); background: var(--abyss); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--electric); color: #00172e; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--abyss); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--electric), #1257c9); border-radius: 9px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* =========================================================================
   INTRO
   ========================================================================= */
#intro { display: none; }
html.intro #intro {
    position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: radial-gradient(circle at 50% 45%, #0b3a66 0%, #031225 55%, #01060e 100%);
}
#intro.out { animation: introOut 1.1s var(--ease-io) forwards; }
@keyframes introOut { to { opacity: 0; transform: scale(1.15); filter: blur(10px); visibility: hidden; } }
.intro-ring { position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(159,230,255,.35); animation: ripple 2s var(--ease) infinite; }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.intro-tri { width: 96px; height: 96px; filter: drop-shadow(0 0 24px rgba(63,182,255,.8)); animation: triIn 1.3s var(--ease) both; }
@keyframes triIn { from { opacity: 0; transform: translateY(60px) scale(.6); filter: blur(10px); } }
.intro-name { margin-top: 18px; font: 700 30px var(--f-d); letter-spacing: 10px; color: #eaf6ff; padding-left: 10px; animation: nameIn 1.3s .3s var(--ease) both; text-shadow: 0 0 20px rgba(63,182,255,.6); }
.intro-sub { font: 600 13px var(--f-d); letter-spacing: 12px; color: var(--ice); padding-left: 12px; animation: nameIn 1.3s .5s var(--ease) both; }
@keyframes nameIn { from { opacity: 0; letter-spacing: 34px; filter: blur(8px); } }

/* =========================================================================
   OCEAN BACKDROP (fixed)
   ========================================================================= */
.ocean { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ocean-grad {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 120% 70% at 50% -10%, rgba(47,155,255,calc(.42 - var(--d) * .32)) 0%, transparent 60%),
        linear-gradient(180deg, #0a3a62 0%, #052544 35%, #031630 70%, #020a18 100%);
}
.ocean-grad::after { content: ''; position: absolute; inset: 0; background: #01050c; opacity: calc(var(--d) * .55); }
.rays { position: absolute; inset: -10% 0 0; opacity: calc(1 - var(--d) * .8); mix-blend-mode: screen; }
.rays i {
    position: absolute; top: -10%; width: 9vw; height: 120%;
    background: linear-gradient(180deg, rgba(190,235,255,.28), rgba(120,200,255,.06) 55%, transparent 80%);
    filter: blur(14px); transform-origin: 50% 0;
    animation: sway 11s ease-in-out infinite alternate;
}
.rays i:nth-child(1) { left: 8%;  transform: rotate(14deg);  animation-duration: 13s; }
.rays i:nth-child(2) { left: 24%; width: 5vw; transform: rotate(10deg); animation-duration: 9s; opacity: .7; }
.rays i:nth-child(3) { left: 40%; width: 12vw; transform: rotate(6deg); animation-duration: 15s; }
.rays i:nth-child(4) { left: 58%; width: 4vw; transform: rotate(2deg); animation-duration: 10s; opacity: .6; }
.rays i:nth-child(5) { left: 70%; width: 10vw; transform: rotate(-4deg); animation-duration: 12s; }
.rays i:nth-child(6) { left: 88%; width: 6vw; transform: rotate(-9deg); animation-duration: 14s; opacity: .7; }
@keyframes sway { 0% { opacity: .35; translate: -2vw 0; rotate: -3deg; } 50% { opacity: 1; } 100% { opacity: .5; translate: 2vw 0; rotate: 3deg; } }
.caustics {
    position: absolute; inset: 0;
    background-image: url('../images/caustics.png'), url('../images/caustics.png');
    background-size: 520px 520px, 760px 760px;
    mix-blend-mode: screen; opacity: calc(.16 - var(--d) * .12);
    animation: caus 26s linear infinite;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.4) 55%, transparent 90%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.4) 55%, transparent 90%);
}
@keyframes caus { to { background-position: 520px 260px, -760px 380px; } }
#sea { position: absolute; inset: 0; width: 100%; height: 100%; }

/* =========================================================================
   HEADER
   ========================================================================= */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .5s, box-shadow .5s, backdrop-filter .5s; }
.top-in { max-width: 1320px; margin: 0 auto; padding: 14px 28px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.top.solid { background: rgba(3, 16, 32, .62); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--glass-b), 0 18px 40px rgba(0,0,0,.35); }
.links { display: flex; gap: 6px; }
.nl {
    position: relative; padding: 8px 14px; font-size: 13.5px; font-weight: 600; letter-spacing: .4px; color: #d8ebfb;
    border-radius: 999px; transition: color .25s, background .3s;
    text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.nl::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--electric), var(--bio)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); box-shadow: 0 0 10px var(--electric); }
.nl:hover { color: #fff; background: rgba(63,182,255,.12); }
.nl:hover::after, .nl.on::after { transform: scaleX(1); }
.nl.on { color: #fff; }

.logo { display: flex; align-items: center; gap: 10px; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.logo svg { width: 38px; height: 38px; filter: drop-shadow(0 0 10px rgba(63,182,255,.7)); transition: transform .6s var(--ease); }
.logo:hover svg { transform: translateY(-3px) rotate(-6deg); }
.logo span { display: flex; flex-direction: column; line-height: 1.05; }
.logo b { font: 700 17px var(--f-d); letter-spacing: 3px; color: #eaf6ff; }
.logo em { font: 600 10px var(--f-d); font-style: normal; letter-spacing: 6px; color: var(--ice); }
.top:not(.solid) .logo { opacity: 0; transform: translateY(-10px); pointer-events: none; }

.ss { justify-self: end; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #d8ebfb; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.ss-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(159,230,255,.35); background: rgba(3,16,32,.35); transition: .3s; }
.ss-icon:hover { border-color: var(--ice); box-shadow: 0 0 16px rgba(63,182,255,.5); }
.ss-icon .ss-wave { opacity: .25; transition: opacity .3s; }
.ss-icon[aria-pressed="true"] { color: var(--ice); border-color: var(--electric); }
.ss-icon[aria-pressed="true"] .ss-wave { opacity: 1; animation: pulse 1.6s ease-in-out infinite; }
#ss-vol { -webkit-appearance: none; appearance: none; width: 110px; height: 18px; background: transparent; cursor: pointer; }
#ss-vol::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--electric) var(--v, 0%), rgba(159,230,255,.25) var(--v, 0%)); }
#ss-vol::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(159,230,255,.25); }
#ss-vol::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--electric); }
#ss-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px var(--electric); border: 0; }
#ss-vol::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 12px var(--electric); }
.burger { display: none; }
@keyframes pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

/* =========================================================================
   HERO — STORM SURFACE
   ========================================================================= */
.hero { position: relative; z-index: 2; }
.hero-media { position: relative; height: min(100svh, 55.84vw); min-height: 0; overflow: hidden; container-type: size;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, rgba(0,0,0,.6) 86%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, rgba(0,0,0,.6) 86%, transparent 100%); }
.hero-img {
    position: absolute; left: 50%; top: 50%;
    width: max(100cqw, 179.14cqh); aspect-ratio: 2576 / 1438;
    transform: translate(-50%, -50%); will-change: transform;
}
.hero-img picture, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img img { animation: swell 18s ease-in-out infinite alternate; transform-origin: 70% 60%; }
@keyframes swell { 0% { transform: scale(1.01) translateY(0); } 100% { transform: scale(1.05) translateY(-.6%); } }
html.intro .hero-img img { animation: rise 2.6s var(--ease) both, swell 18s 2.6s ease-in-out infinite alternate; }
@keyframes rise { from { transform: scale(1.18) translateY(4%); filter: brightness(.15) blur(8px); } to { transform: scale(1.01); } }

.fx { position: absolute; display: block; pointer-events: none; mix-blend-mode: screen; border-radius: 50%; }
.flare { left: 58.2%; top: 12.8%; width: 16%; aspect-ratio: 1; transform: translate(-50%, -50%);
    background:
        radial-gradient(circle, rgba(255,255,255,.95) 0 2%, rgba(160,230,255,.6) 6%, transparent 30%),
        linear-gradient(90deg, transparent 0 20%, rgba(170,230,255,.55) 49.6%, rgba(255,255,255,.9) 50%, rgba(170,230,255,.55) 50.4%, transparent 80% 100%) center / 100% 2px no-repeat,
        linear-gradient(0deg, transparent 0 30%, rgba(170,230,255,.4) 49.6%, rgba(255,255,255,.8) 50%, rgba(170,230,255,.4) 50.4%, transparent 70% 100%) center / 2px 100% no-repeat;
    border-radius: 0; animation: flare 4s ease-in-out infinite; }
@keyframes flare { 0%,100% { opacity: .55; transform: translate(-50%,-50%) scale(.85) rotate(0deg); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.15) rotate(8deg); } }
.prongs { left: 58%; top: 16%; width: 11%; height: 26%; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(80,190,255,.45), transparent 65%); filter: blur(8px); animation: pulse 3s ease-in-out infinite; }
.bolt { left: 61%; top: 48%; width: 9%; height: 80%; transform: translate(-50%, -50%); background: radial-gradient(ellipse 40% 50%, rgba(120,210,255,.55), transparent 70%); filter: blur(10px); opacity: 0; }
.hero.strike .bolt { animation: zap .5s steps(4) 1; }
@keyframes zap { 0%,50% { opacity: 1; } 25%,75% { opacity: .2; } 100% { opacity: 0; } }
.eye { width: .9%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, #fff, rgba(120,220,255,.9) 35%, transparent 70%); animation: glare 5s ease-in-out infinite; }
.e1 { left: 74.55%; top: 22.3%; }
.e2 { left: 76.65%; top: 22.1%; }
@keyframes glare { 0%,100% { opacity: .55; } 45% { opacity: 1; transform: translate(-50%,-50%) scale(1.9); } 55% { opacity: .7; } }
.gem { width: 2.2%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(220,250,255,.95), rgba(63,200,255,.6) 35%, transparent 70%); animation: pulse 2.6s ease-in-out infinite; }
.g1 { left: 73.8%; top: 42.2%; width: 3%; }
.g2 { left: 87.4%; top: 66.6%; animation-delay: -.7s; }
.g3 { left: 70.9%; top: 59.7%; animation-delay: -1.4s; }
.g4 { left: 84.9%; top: 37.5%; animation-delay: -2s; width: 1.6%; }
.logo-glow { left: 28.4%; top: 19%; width: 9%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(63,182,255,.55), transparent 65%); filter: blur(6px); animation: pulse 3.6s ease-in-out infinite; }
.text-flare { left: 28.3%; top: 33.9%; width: 26%; height: 1.6%; transform: translate(-50%, -50%); border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255,255,255,.95) 0%, rgba(120,210,255,.6) 20%, transparent 70%);
    animation: textFlare 6s ease-in-out infinite; }
@keyframes textFlare { 0%,100% { opacity: .4; width: 18%; } 50% { opacity: 1; width: 34%; } }
.sea-shimmer { left: 0; right: 0; top: 64%; height: 36%; border-radius: 0;
    background: repeating-linear-gradient(170deg, rgba(160,230,255,.06) 0 2px, transparent 2px 14px);
    animation: shimmer 5s linear infinite; opacity: .8;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
@keyframes shimmer { to { background-position: 140px 40px; } }

.hot { position: absolute; top: 57.3%; height: 6.6%; border-radius: 999px; pointer-events: auto; }
.hot-1 { left: 10.85%; width: 15.9%; }
.hot-2 { left: 29.15%; width: 17.1%; }
.hot span { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; transition: box-shadow .35s, background .35s; }
.hot span::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); }
.hot:hover span { box-shadow: 0 0 0 2px rgba(200,240,255,.9), 0 0 34px 6px rgba(63,182,255,.75); background: rgba(120,210,255,.12); }
.hot:hover span::after { animation: shine .9s var(--ease); }
@keyframes shine { to { left: 120%; } }
.hot-1::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(63,182,255,.6); animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(63,182,255,.55); } 100% { box-shadow: 0 0 0 22px rgba(63,182,255,0); } }

#storm { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flash { position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen;
    background: radial-gradient(ellipse 60% 55% at 78% 8%, rgba(200,235,255,.85), rgba(120,190,255,.25) 40%, transparent 70%); }
.hero.strike .flash { animation: flash .7s ease-out 1; }
@keyframes flash { 0% { opacity: 0; } 8% { opacity: 1; } 16% { opacity: .2; } 26% { opacity: .85; } 100% { opacity: 0; } }
.hero-fade { display: none; }
.hero-mobile { display: none; }

.dive { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; font: 600 10px var(--f-b); letter-spacing: 5px; color: var(--ice); padding-left: 5px; }
.dive i { width: 22px; height: 34px; border: 1.5px solid rgba(159,230,255,.6); border-radius: 12px; position: relative; }
.dive i::after { content: ''; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; border-radius: 2px; background: var(--ice); transform: translateX(-50%); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, -4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* surface line between storm and deep */
.surface { position: relative; z-index: 3; height: 70px; margin-top: -70px; overflow: hidden; pointer-events: none; }
.surface svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; animation: surf 14s linear infinite; }
.surface path { fill: none; stroke-width: 1.5; }
.surface .sw1 { stroke: rgba(159,230,255,.35); }
.surface .sw2 { stroke: rgba(159,230,255,.18); }
.surface .sw2 { animation: surf2 9s ease-in-out infinite alternate; }
@keyframes surf { to { transform: translateX(-50%); } }
@keyframes surf2 { to { transform: translateY(6px); } }

/* =========================================================================
   DEPTH GAUGE
   ========================================================================= */
.gauge { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 20; display: flex; align-items: center; gap: 12px; opacity: 0; transition: opacity .6s; pointer-events: none; }
body.under .gauge { opacity: 1; }
.g-track { position: relative; width: 2px; height: 220px; background: linear-gradient(180deg, rgba(159,230,255,.5), rgba(63,182,255,.08)); border-radius: 2px; }
.g-track::before { content: ''; position: absolute; inset: 0 -5px; background: repeating-linear-gradient(180deg, rgba(159,230,255,.35) 0 1px, transparent 1px 22px); width: 12px; left: -5px; }
.g-track i { position: absolute; left: 50%; top: 0; width: 12px; height: 12px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--ice); box-shadow: 0 0 14px var(--electric), 0 0 0 4px rgba(63,182,255,.18); }
.g-read { display: flex; flex-direction: column; font: 600 9px var(--f-b); letter-spacing: 2.5px; color: var(--muted); }
.g-read b { font: 700 20px var(--f-d); color: var(--foam); letter-spacing: 1px; font-variant-numeric: tabular-nums; }

/* =========================================================================
   DEEP SECTIONS
   ========================================================================= */
.deep { position: relative; z-index: 1; }
.sec { position: relative; padding: 130px 0; }
#about { padding-top: 110px; }
.two { display: grid; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ice); background: rgba(63,182,255,.1); border: 1px solid rgba(63,182,255,.3); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--bio); box-shadow: 0 0 10px var(--bio); animation: pulse 1.6s ease-in-out infinite; }
.h-xl { font: 700 clamp(34px, 5vw, 62px)/1.06 var(--f-d); color: #f2f9ff; margin: 22px 0 22px; letter-spacing: .5px; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.h-lg { font: 700 clamp(28px, 3.6vw, 44px)/1.12 var(--f-d); color: #f2f9ff; letter-spacing: .5px; }
.grad { background: linear-gradient(100deg, var(--ice) 0%, var(--electric) 45%, var(--bio) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradMove 8s ease-in-out infinite alternate; }
@keyframes gradMove { to { background-position: 100% 0; } }
.lead { font-size: 18px; color: #b7d0e8; max-width: 620px; }
.row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.pill {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
    color: #e6f4ff; border: 1.5px solid rgba(200,235,255,.55); background: rgba(3,16,32,.35);
    transition: transform .35s var(--ease), box-shadow .35s, border-color .3s;
}
.pill::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); }
.pill:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(63,182,255,.35); border-color: #fff; }
.pill:hover::after { animation: shine .9s var(--ease); }
.pill-solid { border-color: rgba(160,225,255,.8); background: linear-gradient(180deg, #4cc0ff, #1468e0); box-shadow: 0 0 24px rgba(63,182,255,.45), inset 0 1px 0 rgba(255,255,255,.4); color: #fff; }
.pill-note { text-transform: none; letter-spacing: .2px; font-weight: 600; font-size: 14px; color: #b7d0e8; border-color: var(--glass-b); background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: default; }
.pill-note svg { color: var(--bio); }
.pill-note:hover { transform: none; box-shadow: none; border-color: var(--glass-b); }

.sonar { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(6,42,74,.55), rgba(2,10,24,.2) 70%); border: 1px solid var(--glass-b); box-shadow: inset 0 0 60px rgba(63,182,255,.12), 0 0 80px rgba(63,182,255,.08); }
#sonar { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }
.sonar-lbl { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); text-align: center; white-space: nowrap; }
.sonar-lbl span { display: block; font-size: 10px; letter-spacing: 3px; color: var(--bio); font-weight: 700; }
.sonar-lbl b { font: 600 12px var(--f-d); letter-spacing: 3px; color: var(--foam); }

.ticker { margin-top: 100px; overflow: hidden; border-block: 1px solid var(--glass-b); background: rgba(3,16,32,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-in { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker span { padding: 18px 34px; font: 600 15px var(--f-d); letter-spacing: 3px; color: #9fc4e4; white-space: nowrap; position: relative; }
.ticker span::after { content: '◆'; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); font-size: 8px; color: var(--electric); }
@keyframes tick { to { transform: translateX(-50%); } }

.sec-h { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 4px; text-transform: uppercase; color: var(--bio); margin-bottom: 12px; }
.sec-h p { margin-top: 14px; color: var(--muted); font-size: 17px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
    --mx: 50%; --my: 0%;
    position: relative; padding: 34px 28px 30px; border-radius: 22px; overflow: hidden;
    background: var(--glass); border: 1px solid var(--glass-b);
    -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
    transition: transform .5s var(--ease), border-color .4s, box-shadow .4s;
    transform-style: preserve-3d;
}
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(63,200,255,.22), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { border-color: rgba(120,210,255,.5); box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 0 40px rgba(63,182,255,.18); }
.card:hover::before { opacity: 1; }
.ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 24px; color: var(--ice); font: 800 18px var(--f-b);
    background: linear-gradient(145deg, rgba(63,182,255,.3), rgba(18,87,201,.15)); border: 1px solid rgba(120,210,255,.35); box-shadow: 0 0 24px rgba(63,182,255,.25); transition: transform .5s var(--ease); }
.card:hover .ico { transform: translateZ(30px) scale(1.08) rotate(-4deg); }
.card h3 { font: 700 19px var(--f-d); color: #f2f9ff; margin-bottom: 10px; letter-spacing: .3px; }
.card p { font-size: 14.5px; color: var(--muted); }

.gov { display: grid; grid-template-columns: 340px 1fr; gap: 0; border-radius: 28px; overflow: hidden; background: var(--glass); border: 1px solid var(--glass-b); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.gov-art { position: relative; overflow: hidden; }
.gov-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gov:hover .gov-art img { transform: scale(1.05); }
.gov-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(4,26,48,.8)); }
.gov-body { padding: 54px 50px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.gov-body p { color: #b7d0e8; font-size: 16.5px; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: rgba(2,10,24,.55); border: 1px solid rgba(63,182,255,.3); color: var(--ice); font-size: 14.5px; }
.notice svg { flex: none; color: var(--bio); margin-top: 1px; }
.notice strong { color: #fff; }

.narrow { max-width: 820px; }
.form { padding: 40px; border-radius: 26px; background: var(--glass); border: 1px solid var(--glass-b); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); display: grid; gap: 18px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fl { position: relative; display: block; }
.fl input, .fl textarea {
    width: 100%; padding: 22px 16px 10px; border-radius: 14px; font: 500 15px var(--f-b); color: #eaf6ff;
    background: rgba(2,10,24,.55); border: 1px solid rgba(140,210,255,.2); resize: vertical; transition: border-color .3s, box-shadow .3s;
}
.fl span { position: absolute; left: 17px; top: 16px; font-size: 14px; color: var(--muted); pointer-events: none; transition: .25s var(--ease); }
.fl input:focus, .fl textarea:focus { outline: none; border-color: var(--electric); box-shadow: 0 0 0 3px rgba(63,182,255,.18), 0 0 24px rgba(63,182,255,.2); }
.fl input:focus + span, .fl input:not(:placeholder-shown) + span,
.fl textarea:focus + span, .fl textarea:not(:placeholder-shown) + span { top: 6px; font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ice); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.f-msg { font-size: 14px; color: var(--ice); }
.f-msg.err { color: #ff9aa8; }
.form.sending .pill-solid { opacity: .7; pointer-events: none; }

.foot { position: relative; z-index: 1; padding: 50px 0 60px; border-top: 1px solid var(--glass-b); background: linear-gradient(180deg, transparent, rgba(1,5,12,.8)); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.logo.small svg { width: 30px; height: 30px; }
.logo.small b { font-size: 14px; }
.logo.small em { font-size: 8.5px; letter-spacing: 4px; }

/* reveal */
html.js .reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; filter: none; }
html.js .cards .card:nth-child(2) { transition-delay: .08s; }
html.js .cards .card:nth-child(3) { transition-delay: .16s; }
html.js .cards .card:nth-child(4) { transition-delay: .24s; }
html.js .card.reveal.in { transition: opacity 1s var(--ease), transform .5s var(--ease), filter 1s var(--ease), border-color .4s, box-shadow .4s; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .ss-lbl { display: none; }
}
@media (max-width: 860px) {
    .top-in { grid-template-columns: auto 1fr; padding: 12px 18px; }
    .logo { grid-column: 1; grid-row: 1; }
    .ss { grid-column: 2; grid-row: 1; }
    #ss-vol { width: 80px; }
    .burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0 10px; border-radius: 12px; border: 1px solid rgba(159,230,255,.35); background: rgba(3,16,32,.45); }
    .burger i { height: 2px; border-radius: 2px; background: var(--foam); transition: transform .35s var(--ease), opacity .2s; }
    .burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
    .burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .links {
        position: fixed; top: 64px; left: 12px; right: 12px; flex-direction: column; gap: 4px; padding: 14px;
        border-radius: 20px; background: rgba(3,16,32,.92); border: 1px solid var(--glass-b);
        -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
        clip-path: inset(0 0 100% 0 round 20px); transition: clip-path .55s var(--ease-io);
    }
    body.menu .links { clip-path: inset(0 0 0 0 round 20px); }
    .nl { padding: 14px 16px; font-size: 16px; }
    .two { grid-template-columns: 1fr; gap: 40px; }
    .sonar { max-width: 360px; width: 100%; margin: 0 auto; }
    .gov { grid-template-columns: 1fr; }
    .gov-art { max-height: 420px; }
    .gov-art::after { background: linear-gradient(180deg, transparent 60%, rgba(4,26,48,.85)); }
    .gov-body { padding: 34px 26px; }
    .gauge { display: none; }
}
@media (max-width: 720px) {
    .wrap { padding: 0 18px; }
    .hero-media { height: 55.84vw; }
    .hero-fade { height: 30%; }
    .dive { display: none; }
    .hero-mobile { display: block; position: relative; z-index: 3; padding: 4px 18px 60px; text-align: center; }
    .hero-mobile p { font: 600 15px var(--f-d); letter-spacing: 1.5px; color: var(--foam); margin-bottom: 18px; }
    .hm-btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
    .hm-btns .pill { padding: 12px 20px; font-size: 12.5px; }
    .hot { display: none; }
    .ss-icon { width: 38px; height: 38px; }
    #ss-vol { display: none; }
    .sec { padding: 90px 0; }
    .cards { grid-template-columns: 1fr; }
    .f2 { grid-template-columns: 1fr; }
    .form { padding: 24px 18px; }
    .lead { font-size: 16.5px; }
    .ticker { margin-top: 70px; }
}

/* reduced motion (system or toggled) */
html.rm *, html.rm *::before, html.rm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
html.rm .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
