/* Sailwatch — site design system v3
   Two voices: Mona Sans (reading, weights 400/450/500, never bold) and Fragment Mono
   (labels, buttons, specs, codes; uppercase). One signal colour: SOLAS orange.
   Palette named after sea and light. One easing curve. Radii 4 / 8. */

@font-face { font-family: 'Mona Sans'; src: url('/assets/fonts/mona-sans-latin.woff2') format('woff2'); font-weight: 200 900; font-stretch: 75% 125%; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mona Sans'; src: url('/assets/fonts/mona-sans-latin-ext.woff2') format('woff2'); font-weight: 200 900; font-stretch: 75% 125%; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Mona Sans'; src: url('/assets/fonts/mona-sans-italic-latin.woff2') format('woff2'); font-weight: 200 900; font-stretch: 75% 125%; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fragment Mono'; src: url('/assets/fonts/fragment-mono-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks so nothing jumps while the web fonts load */
@font-face { font-family: 'Mona Fallback'; src: local('Arial'); size-adjust: 104%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: 'Mono Fallback'; src: local('Consolas'), local('Courier New'); size-adjust: 100%; }

:root {
  /* Sea and light */
  --abyss: #0A1117;     /* deepest ground: footer, careers, 404 */
  --deep: #101B24;      /* home ground */
  --swell: #172530;     /* cards and cells on dark */
  --shoal: #22333F;     /* secondary buttons, raised */
  --rule: #2A3A46;      /* 1px grid gaps on dark */
  --mist: #8A9AA6;      /* muted text on dark */
  --haze: #B9C5CD;
  --foam: #EEF3F6;      /* light ground, light text (never pure white) */
  --spray: #DCE5EA;     /* alternate light ground */
  --chart: #C3D0D8;     /* rules on light */
  --ink: #0E161C;       /* text on light */
  --ink-2: #44535E;
  --twilight: #14324A;  /* contact / partner ground */
  /* Signals */
  --signal: #FF5A1F;    /* SOLAS orange: CTAs, status dots, focus, alarms */
  --signal-hi: #FF7B47;
  --glass: #5CC8D7;     /* Pilot accent */
  --brass: #E9B44C;     /* Bosun accent */
  --ok: #3DD68C;

  --ease: cubic-bezier(.25, .25, 0, 1);
  --ease-in: cubic-bezier(.87, .01, 1, 1);
  --ease-back: cubic-bezier(.06, 1.02, .12, 1.02);
  --r-s: 4px;
  --r-m: 8px;
  --max: 1280px;
  --pad: 16px;
  --sec: 80px;
  --vw-t: calc((100vw - 390px) / 1530);   /* 0 at 390px, 1 at 1920px */

  --fs-xl: clamp(60px, calc(60px + 160 * ((100vw - 390px) / 1530)), 220px);
  --fs-display: clamp(42px, calc(42px + 54 * ((100vw - 390px) / 1530)), 96px);
  --fs-h1: clamp(32px, calc(32px + 32 * ((100vw - 390px) / 1530)), 64px);
  --fs-h2: clamp(26px, calc(26px + 16 * ((100vw - 390px) / 1530)), 42px);
  --fs-title: clamp(20px, calc(20px + 10 * ((100vw - 390px) / 1530)), 30px);
  --fs-lede: clamp(18px, calc(18px + 6 * ((100vw - 390px) / 1530)), 24px);
  --fs-body-l: clamp(16px, calc(16px + 3 * ((100vw - 390px) / 1530)), 19px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-cap: 12px;

  --sans: 'Mona Sans', 'Mona Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Fragment Mono', 'Mono Fallback', ui-monospace, monospace;
}
@media (min-width: 640px) { :root { --pad: 24px; --sec: 104px; } }
@media (min-width: 960px) { :root { --pad: 32px; --sec: 128px; } }
@media (min-width: 1280px) { :root { --pad: 40px; --sec: 160px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  background: var(--deep); color: var(--foam);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.5; font-weight: 400;
  font-variant-numeric: slashed-zero; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--glass); color: var(--ink); }
:focus-visible { outline: 2px solid var(--foam); outline-offset: 3px; border-radius: 2px; }
.g-foam :focus-visible, .g-spray :focus-visible { outline-color: var(--ink); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--foam); color: var(--ink); font: 12px/1 var(--mono); text-transform: uppercase; border-radius: var(--r-s); }
.skip:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Grounds (each page/section takes one) ---------- */
.g-abyss { background: var(--abyss); }
.g-deep { background: var(--deep); }
.g-swell { background: var(--swell); }
.g-twilight { background: var(--twilight); }
.g-foam { background: var(--foam); color: var(--ink); }
.g-spray { background: var(--spray); color: var(--ink); }
.blueprint { position: relative; }
.blueprint::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(14,22,28,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(14,22,28,0.045) 1px, transparent 1px);
  background-size: 40px 40px; background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.blueprint.dark::before { background-image: linear-gradient(rgba(238,243,246,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(238,243,246,0.035) 1px, transparent 1px); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.wrap.wide { max-width: 1760px; }
.sec { padding: var(--sec) 0; position: relative; }
.sec.tight { padding: calc(var(--sec) * 0.6) 0; }
.sec + .sec.same { padding-top: 0; }
.cols { display: grid; gap: 24px; }
@media (min-width: 960px) {
  .cols.c2 { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cols.c3 { grid-template-columns: repeat(3, 1fr); }
  .cols.c-1-15 { grid-template-columns: 1fr 1.5fr; gap: 64px; }
  .cols.c-15-1 { grid-template-columns: 1.5fr 1fr; gap: 64px; }
}
.stack > * + * { margin-top: var(--gap, 16px); }

/* ---------- Type ---------- */
.mono, .cap { font-family: var(--mono); font-size: var(--fs-cap); line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 400; }
.xl { font-size: var(--fs-xl); line-height: 0.92; letter-spacing: -0.045em; font-weight: 400; }
.display { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -0.04em; font-weight: 400; }
.h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.03em; font-weight: 400; }
.h2 { font-size: var(--fs-h2); line-height: 1.14; letter-spacing: -0.022em; font-weight: 420; }
.title { font-size: var(--fs-title); line-height: 1.22; letter-spacing: -0.02em; font-weight: 450; }
.lede { font-size: var(--fs-lede); line-height: 1.36; letter-spacing: -0.015em; font-weight: 450; }
.body-l { font-size: var(--fs-body-l); line-height: 1.5; }
.small { font-size: var(--fs-small); line-height: 1.5; }
.muted { color: var(--mist); }
.g-foam .muted, .g-spray .muted { color: var(--ink-2); }
.measure { max-width: 34ch; }
.measure-m { max-width: 46ch; }
.measure-l { max-width: 62ch; }
.signal { color: var(--signal); }

.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: var(--fs-cap); letter-spacing: 0.06em; text-transform: uppercase; color: var(--haze); }
.g-foam .eyebrow, .g-spray .eyebrow { color: var(--ink-2); }
.dot { --dot: var(--foam); width: 8px; height: 8px; border-radius: 50%; background: var(--dot); flex: none; display: inline-block; }
.g-foam .dot, .g-spray .dot { --dot: var(--ink); }
.dot.signal { --dot: var(--signal); } .dot.glass { --dot: var(--glass); } .dot.brass { --dot: var(--brass); } .dot.ok { --dot: var(--ok); }
.dot.live { animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--dot) 55%, transparent); } 70% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--dot) 0%, transparent); } 100% { box-shadow: 0 0 0 0 transparent; } }
.code { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--mist); }

/* Prose (journal, legal) */
.prose { font-size: var(--fs-body-l); line-height: 1.62; max-width: 66ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -0.02em; margin-top: 1.8em; }
.prose h3 { font-size: var(--fs-title); line-height: 1.25; letter-spacing: -0.015em; margin-top: 1.5em; font-weight: 450; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { border-left: 3px solid var(--glass); padding-left: 20px; font-size: var(--fs-lede); line-height: 1.4; }
.prose sup a { text-decoration: none; color: var(--ink-2); font-family: var(--mono); font-size: 0.7em; }
.prose figure img { border-radius: var(--r-m); }
.prose figcaption { margin-top: 10px; }

/* ---------- Buttons (4px radius, mono caps, rolling label) ---------- */
.btn { --bg: var(--foam); --fg: var(--ink); position: relative; display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 20px 0 22px;
  background: var(--bg); color: var(--fg); border: 0; border-radius: var(--r-s); cursor: pointer; white-space: nowrap;
  font-family: var(--mono); font-size: var(--fs-cap); letter-spacing: 0.06em; text-transform: uppercase;
  transition: transform .35s var(--ease), background-color .3s var(--ease); }
.btn:hover { transform: scale(1.02); }
.btn .lbl { position: relative; display: block; overflow: hidden; height: 1.5em; line-height: 1.5em; }
.btn .lbl span { display: block; transition: transform .3s var(--ease-in); }
.btn .lbl span + span { position: absolute; left: 0; top: 0; transform: translateY(110%); }
.btn:hover .lbl span:first-child { transform: translateY(-110%); }
.btn:hover .lbl span + span { transform: translateY(0); transition: transform .6s var(--ease-back); }
.btn svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn.alt { --bg: var(--shoal); --fg: var(--foam); }
.btn.acc-signal { --bg: var(--signal); --fg: var(--ink); } .btn.acc-glass { --bg: var(--glass); --fg: var(--ink); } .btn.acc-brass { --bg: var(--brass); --fg: var(--ink); }
.g-foam .btn:not(.alt):not(.line), .g-spray .btn:not(.alt):not(.line) { --bg: var(--ink); --fg: var(--foam); }
.btn.line { --bg: transparent; --fg: var(--foam); box-shadow: inset 0 0 0 1px rgba(238,243,246,0.28); }
.btn.line:hover { box-shadow: inset 0 0 0 1px rgba(238,243,246,0.6); }
.g-foam .btn.alt, .g-spray .btn.alt { --bg: var(--ink); --fg: var(--foam); }
.g-foam .btn.line, .g-spray .btn.line { --fg: var(--ink); box-shadow: inset 0 0 0 1px rgba(14,22,28,0.25); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: var(--fs-cap); letter-spacing: 0.06em; text-transform: uppercase; }
.link svg { width: 13px; height: 13px; transition: transform .2s var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.hdr { position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: 64px; transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent; }
.hdr.solid, .hdr.always { background: rgba(10, 17, 23, 0.86); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: rgba(238,243,246,0.08); }
.hdr.hide { transform: translateY(-100%); }
.hdr-in { height: 100%; display: flex; align-items: stretch; }
.brand { display: flex; align-items: center; gap: 12px; padding-right: 24px; border-right: 1px solid rgba(238,243,246,0.12); }
.brand svg.mark { width: 28px; height: 28px; }
.brand .word { font-size: 17px; letter-spacing: -0.01em; font-weight: 500; font-stretch: 112%; }
.nav { display: none; align-items: center; gap: 4px; margin-left: 20px; }
.nav a { position: relative; padding: 8px 12px; font-family: var(--mono); font-size: var(--fs-cap); letter-spacing: 0.06em; text-transform: uppercase; color: var(--haze); transition: color .25s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--foam); }
.nav a[aria-current="page"]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--foam); }
.nav .dotpre { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.hdr-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hdr-cta .btn { height: 38px; padding: 0 14px 0 16px; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; background: none; border: 0; cursor: pointer; font-family: var(--mono); font-size: var(--fs-cap); letter-spacing: 0.06em; text-transform: uppercase; color: var(--foam); }
.menu-btn i { display: block; width: 18px; height: 1px; background: currentColor; position: relative; }
.menu-btn i::before { content: ''; position: absolute; left: 0; right: 0; top: -5px; height: 1px; background: currentColor; }
.menu-btn i::after { content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: currentColor; }
@media (min-width: 1100px) { .nav { display: flex; } .menu-btn { display: none; } }
@media (max-width: 520px) { .hdr-cta .btn { display: none; } }

/* Mobile menu (native dialog) */
.menu { margin: 0 0 0 auto; width: min(560px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; border: 0; padding: 0; background: var(--abyss); color: var(--foam); }
.menu::backdrop { background: rgba(0,0,0,0.45); backdrop-filter: blur(2px); }
.menu[open] { animation: slidein .5s var(--ease); }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.menu-in { display: flex; flex-direction: column; height: 100%; padding: 16px var(--pad) 28px; }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.menu-grid { margin-top: 24px; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r-m); overflow: hidden; }
.menu-grid a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 18px; background: var(--abyss); font-size: 26px; letter-spacing: -0.02em; }
.menu-grid a small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); margin-top: 4px; }
.menu-foot { margin-top: auto; display: grid; gap: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--abyss); }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,17,23,0.55) 0%, rgba(10,17,23,0.12) 26%, rgba(10,17,23,0.18) 58%, rgba(10,17,23,0.82) 100%); }
.hero-in { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(40px, 7vh, 88px); padding-top: 120px; }
.hero-grid { display: grid; gap: 28px; align-items: end; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.2fr 1fr; } }
.hero .statement { font-size: clamp(30px, calc(30px + 22 * ((100vw - 390px) / 1530)), 52px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 420; max-width: 18ch; }
.hero .sub { margin-top: 18px; font-size: var(--fs-body-l); line-height: 1.5; color: var(--haze); max-width: 46ch; }
.hero .btns { margin-top: 28px; }
/* Instrument readout along the bottom edge of the hero (logbook style) */
.readout { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 40px; padding-top: 16px; border-top: 1px solid rgba(238,243,246,0.16); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--haze); }
.readout b { font-weight: 400; color: var(--foam); }
/* Sighting frame: corner ticks around the hero media */
.frame-ticks { position: absolute; inset: 84px var(--pad) 24px; pointer-events: none; z-index: 1; }
.frame-ticks i { position: absolute; width: 18px; height: 18px; border-color: rgba(238,243,246,0.45); border-style: solid; border-width: 0; }
.frame-ticks i:nth-child(1) { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.frame-ticks i:nth-child(2) { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.frame-ticks i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.frame-ticks i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }

/* Page title hero (inner pages) */
.ptitle { padding: 140px 0 calc(var(--sec) * 0.55); position: relative; }
.ptitle .xl { margin-top: 18px; }
.ptitle .intro { margin-top: 36px; display: grid; gap: 24px; }
@media (min-width: 960px) { .ptitle .intro { grid-template-columns: 1fr 1.5fr; } }
.ptitle .intro .lede { max-width: 30ch; }

/* ---------- Announcement bar ---------- */
.announce { position: relative; z-index: 101; display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 10px var(--pad); background: var(--foam); color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.announce a { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; background: rgba(14,22,28,0.12); border-radius: var(--r-s); }

/* ---------- Section head ---------- */
.shead { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
.shead .h1 { max-width: 20ch; }
.shead .lede { max-width: 38ch; color: var(--haze); }
.g-foam .shead .lede, .g-spray .shead .lede { color: var(--ink-2); }
@media (min-width: 960px) { .shead.split { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- 1px-gap grids (hairline cells) ---------- */
.cells { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r-m); overflow: hidden; }
.cells > * { background: var(--swell); padding: clamp(20px, 2.4vw, 32px); position: relative; }
.g-abyss .cells > * { background: var(--abyss); }
.g-deep .cells > * { background: var(--deep); }
.g-foam .cells, .g-spray .cells { background: var(--chart); border-color: var(--chart); }
.g-foam .cells > * { background: var(--foam); }
.g-spray .cells > * { background: var(--spray); }
@media (min-width: 640px) { .cells.c2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cells.c3 { grid-template-columns: repeat(3, 1fr); } .cells.c4 { grid-template-columns: repeat(4, 1fr); } .cells.c-1-2 { grid-template-columns: 1fr 2fr; } }
@media (min-width: 640px) and (max-width: 959px) { .cells.c3, .cells.c4 { grid-template-columns: 1fr 1fr; } }
.cell-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.cells h3 { font-size: var(--fs-title); line-height: 1.2; letter-spacing: -0.02em; font-weight: 450; }
.cells p { margin-top: 10px; color: var(--mist); max-width: 40ch; }
.g-foam .cells p, .g-spray .cells p { color: var(--ink-2); }

/* Spec values */
.spec-val { font-size: clamp(34px, calc(34px + 26 * ((100vw - 390px) / 1530)), 60px); line-height: 1; letter-spacing: -0.04em; font-weight: 400; }
.spec-val small { font-size: 0.42em; letter-spacing: -0.01em; margin-left: 4px; color: var(--mist); }
.spec-lbl { margin-top: 12px; }
.src { margin-top: 14px; font-family: var(--mono); font-size: 10.5px; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); }
.src a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Product (crew) cards ---------- */
.crew { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r-m); overflow: hidden; }
@media (min-width: 960px) { .crew { grid-template-columns: repeat(3, 1fr); } }
.crew-card { position: relative; display: flex; flex-direction: column; background: var(--swell); overflow: hidden; isolation: isolate; }
.crew-card .media { position: relative; aspect-ratio: 6 / 7; overflow: hidden; }
.crew-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.crew-card:hover .media img { transform: scale(1.03); }
.crew-card .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,37,48,0) 80%, rgba(23,37,48,0.9) 100%); }
.crew-card .body { position: relative; padding: clamp(18px, 2vw, 26px) clamp(20px, 2.4vw, 32px) clamp(22px, 2.4vw, 32px); z-index: 2; flex: 1; display: flex; flex-direction: column; }
.crew-card .body .link { margin-top: auto; padding-top: 22px; }
.crew-card .role { display: flex; align-items: center; gap: 10px; }
.crew-card h3 { margin-top: 14px; font-size: var(--fs-h1); line-height: 1; letter-spacing: -0.035em; font-weight: 400; }
.crew-card p { margin-top: 14px; color: var(--haze); max-width: 34ch; }
.crew-card .link { margin-top: 22px; }
.crew-card .status { position: absolute; z-index: 3; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: var(--r-s); background: rgba(10,17,23,0.6); backdrop-filter: blur(10px); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Media panels ---------- */
.panel { position: relative; border-radius: var(--r-m); overflow: hidden; background: var(--swell); }
.panel img, .panel video { width: 100%; height: 100%; object-fit: cover; }
.panel.tall { aspect-ratio: 4 / 5; }
.panel.wide { aspect-ratio: 16 / 9; }
.panel.cine { aspect-ratio: 21 / 9; }
.panel .caption { position: absolute; left: 16px; bottom: 14px; right: 16px; display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(238,243,246,0.85); text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.logline { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); margin-top: 10px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Device composition on a scene */
.scene { position: relative; border-radius: var(--r-m); overflow: hidden; }
.scene > img.bg { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.scene .devices { position: relative; z-index: 2; display: flex; justify-content: center; align-items: flex-end; gap: 0; padding: clamp(40px, 6vw, 88px) 0 0; }
.scene .devices img { width: clamp(180px, 22vw, 320px); filter: drop-shadow(0 40px 60px rgba(0,0,0,0.45)); }

/* ---------- Steps (1/3) ---------- */
.steps { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r-m); overflow: hidden; }
.step { display: grid; gap: 28px; background: var(--swell); padding: clamp(20px, 3vw, 40px); }
@media (min-width: 960px) { .step { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; } .step:nth-child(even) .step-media { order: -1; } }
.step-n { font-family: var(--mono); font-size: var(--fs-cap); letter-spacing: 0.06em; color: var(--mist); }
.step h3 { margin-top: 16px; font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.025em; font-weight: 420; }
.step p { margin-top: 14px; color: var(--haze); max-width: 42ch; }
.step ul { margin-top: 22px; padding: 0; list-style: none; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r-s); overflow: hidden; }
.step li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; background: var(--swell); padding: 12px 14px; font-size: var(--fs-small); color: var(--haze); }
.step li .code { padding-top: 2px; }
.step-media { display: flex; justify-content: center; }
.step-media img.phone { width: min(320px, 78%); filter: drop-shadow(0 34px 50px rgba(0,0,0,0.5)); }

/* ---------- Sticky scrolly device ---------- */
.scrolly { display: grid; gap: 40px; }
@media (min-width: 960px) { .scrolly { grid-template-columns: 1fr 1fr; gap: 80px; } }
.scrolly-device { position: sticky; top: 90px; height: calc(100vh - 120px); display: none; align-items: center; justify-content: center; }
@media (min-width: 960px) { .scrolly-device { display: flex; } }
.scrolly-device .stage { position: relative; width: min(360px, 90%); aspect-ratio: 1170 / 2400; }
.scrolly-device .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .7s var(--ease); filter: drop-shadow(0 40px 60px rgba(0,0,0,0.5)); }
.scrolly-device .stage img.on { opacity: 1; }
.scrolly-steps > div { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.scrolly-steps .inline-phone { margin-top: 28px; width: min(300px, 80%); }
@media (min-width: 960px) { .scrolly-steps .inline-phone { display: none; } }
.scrolly-steps h3 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.025em; font-weight: 420; margin-top: 16px; max-width: 18ch; }
.scrolly-steps p { margin-top: 16px; color: var(--haze); max-width: 40ch; font-size: var(--fs-body-l); }

/* ---------- Tables (spec sheet, logbook) ---------- */
.sheet { width: 100%; border-collapse: collapse; }
.sheet th, .sheet td { text-align: left; padding: 14px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.sheet th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); font-weight: 400; width: 38%; padding-right: 16px; }
.g-foam .sheet th, .g-foam .sheet td, .g-spray .sheet th, .g-spray .sheet td { border-color: var(--chart); }
.g-foam .sheet th { color: var(--ink-2); }

/* ---------- Accordion (FAQ) ---------- */
.faq { border-top: 1px solid var(--rule); }
.g-foam .faq, .g-foam .faq details { border-color: var(--chart); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: var(--fs-title); line-height: 1.25; letter-spacing: -0.015em; font-weight: 420; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 20px; height: 20px; position: relative; margin-top: 4px; }
.faq summary .pm::before, .faq summary .pm::after { content: ''; position: absolute; left: 2px; right: 2px; top: 9.5px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 0 26px; max-width: 64ch; color: var(--haze); }
.g-foam .faq .ans { color: var(--ink-2); }

/* ---------- Journal cards ---------- */
.posts { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r-m); overflow: hidden; }
@media (min-width: 960px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post { display: flex; flex-direction: column; background: var(--swell); }
.post .cover { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--shoal); }
.post .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post:hover .cover img { transform: scale(1.03); }
.post .meta { display: flex; justify-content: space-between; padding: 18px 22px 0; }
.post h3 { padding: 14px 22px 0; font-size: var(--fs-title); line-height: 1.22; letter-spacing: -0.02em; font-weight: 450; }
.post p { padding: 10px 22px 0; color: var(--mist); }
.post .link { padding: 22px; margin-top: auto; }
.g-foam .posts { background: var(--chart); border-color: var(--chart); }
.g-foam .post { background: var(--foam); }
.g-foam .post p { color: var(--ink-2); }

/* ---------- Forms (big type) ---------- */
.form { display: grid; gap: 1px; background: rgba(238,243,246,0.16); border: 1px solid rgba(238,243,246,0.16); border-radius: var(--r-m); overflow: hidden; }
.field { position: relative; display: block; background: var(--twilight); padding: 16px 18px 12px; transition: background-color .3s var(--ease); }
.g-abyss .field { background: var(--abyss); } .g-deep .field { background: var(--deep); }
.field:focus-within { background: color-mix(in srgb, var(--twilight) 80%, #fff 6%); }
.field label, .field .lbl { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--haze); }
.field input, .field select, .field textarea { display: block; width: 100%; margin-top: 6px; padding: 0; background: transparent; border: 0; outline: 0; font-size: clamp(18px, calc(18px + 10 * ((100vw - 390px) / 1530)), 28px); letter-spacing: -0.02em; color: var(--foam); }
.field textarea { min-height: 120px; resize: vertical; font-size: var(--fs-body-l); letter-spacing: 0; line-height: 1.5; }
.field select { appearance: none; cursor: pointer; }
.field select option { color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(238,243,246,0.32); }
.field::after { content: ''; position: absolute; top: 16px; right: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--glass); opacity: 0; transition: opacity .25s var(--ease); }
.field:focus-within::after { opacity: 1; }
.field:focus-within label { color: var(--glass); }
.field.invalid label { color: var(--signal-hi); }
.form-row { display: grid; gap: 1px; background: rgba(238,243,246,0.16); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; background: var(--twilight); }
.g-abyss .form-foot { background: var(--abyss); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-small); color: var(--haze); max-width: 52ch; }
.check input { margin-top: 3px; accent-color: var(--glass); }
.form-msg { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--haze); min-height: 1.5em; }
.form-msg.err { color: var(--signal-hi); } .form-msg.ok { color: var(--ok); }

/* ---------- Footer ---------- */
.ftr { background: var(--abyss); padding: 0 0 28px; }
.ftr-grid { display: grid; gap: 1px; background: var(--rule); border-bottom: 1px solid var(--rule); }
.ftr-grid > * { background: var(--abyss); padding: clamp(24px, 3vw, 40px) var(--pad); }
@media (min-width: 1100px) { .ftr-grid { grid-template-columns: 1fr 1.5fr 1.5fr; } .ftr-grid > * { padding: 40px; } }
.ftr-mark { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 260px; }
.ftr-mark > svg.mark { width: 64px; height: 64px; }
.ftr-links h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); font-weight: 400; margin-bottom: 18px; }
.ftr-links ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.ftr-links a { font-size: clamp(26px, calc(26px + 16 * ((100vw - 390px) / 1530)), 42px); line-height: 1.15; letter-spacing: -0.03em; color: rgba(238,243,246,0.5); transition: color .3s var(--ease); }
.ftr-links a:hover, .ftr-links a[aria-current="page"] { color: var(--foam); }
.ftr-two { display: grid; gap: 32px; }
@media (min-width: 640px) { .ftr-two { grid-template-columns: 1fr 1fr; } }
.ftr-base { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); }
.ftr-base nav { display: flex; gap: 18px; flex-wrap: wrap; }
.ftr-base a:hover { color: var(--foam); }
.clock { display: inline-flex; gap: 14px; }
.clock b { font-weight: 400; color: var(--foam); }

/* ---------- Big CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band .bgimg + .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,17,23,0.88) 0%, rgba(10,17,23,0.6) 45%, rgba(10,17,23,0.15) 100%); }
.cta-card { position: relative; z-index: 2; background: var(--foam); color: var(--ink); border-radius: var(--r-s); padding: clamp(24px, 3vw, 40px); max-width: 460px; }
.cta-card .eyebrow { color: var(--ink); }
.cta-card .h2 { margin-top: 18px; }
.cta-card p { margin-top: 12px; color: rgba(14,22,28,0.78); }
.cta-card .btn { --bg: var(--ink); --fg: var(--foam); margin-top: 24px; }

/* ---------- Reveal motion ---------- */
.rv { opacity: 0; transform: translateY(5vh); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .1s; } .rv-d2 { transition-delay: .2s; } .rv-d3 { transition-delay: .3s; }
.unmask { clip-path: inset(0 0 100% 0); transform: translateY(40%); transition: clip-path 1s var(--ease), transform 1s var(--ease); }
.unmask.in { clip-path: inset(0 0 -10% 0); transform: none; }
.no-js .rv, .no-js .unmask { opacity: 1; transform: none; clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv, .unmask { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- Utilities ---------- */
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 48px; } .mt-xl { margin-top: 88px; }
.center { text-align: center; }
.hide-s { display: none; } @media (min-width: 960px) { .hide-s { display: initial; } .hide-l { display: none; } }
.rule { height: 1px; background: var(--rule); border: 0; }
.g-foam .rule { background: var(--chart); }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: var(--r-s); background: rgba(238,243,246,0.07); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--haze); }
.g-foam .tag { background: rgba(14,22,28,0.06); color: var(--ink-2); }

/* ---------- Sighting overlay on hero photos (positions set by site.js) ---------- */
.hud { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hud-pt { position: absolute; transform: translate(-50%, -50%); opacity: 0; transition: opacity .8s var(--ease); }
.hud.on .hud-pt { opacity: 1; }
.hud.on .hud-pt:nth-child(2) { transition-delay: .25s; } .hud.on .hud-pt:nth-child(3) { transition-delay: .5s; } .hud.on .hud-pt:nth-child(4) { transition-delay: .75s; } .hud.on .hud-pt:nth-child(5) { transition-delay: 1s; }
.hud-pt .bx { position: relative; width: var(--s, 28px); height: var(--s, 28px); }
.hud-pt .bx i { position: absolute; width: 7px; height: 7px; border: 0 solid rgba(238,243,246,0.9); }
.hud-pt .bx i:nth-child(1) { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.hud-pt .bx i:nth-child(2) { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.hud-pt .bx i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.hud-pt .bx i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.hud-pt .tg { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--foam); background: rgba(10,17,23,0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 4px 7px; border-radius: 3px; }
.hud-pt .tg b { font-weight: 400; color: var(--haze); margin-left: 6px; }
.hud-pt.hot .bx i { border-color: var(--signal); width: 9px; height: 9px; border-width: 0; }
.hud-pt.hot .bx i:nth-child(1) { border-left-width: 1.5px; border-top-width: 1.5px; } .hud-pt.hot .bx i:nth-child(2) { border-right-width: 1.5px; border-top-width: 1.5px; }
.hud-pt.hot .bx i:nth-child(3) { border-left-width: 1.5px; border-bottom-width: 1.5px; } .hud-pt.hot .bx i:nth-child(4) { border-right-width: 1.5px; border-bottom-width: 1.5px; }
.hud-pt.hot .tg { background: var(--signal); color: var(--ink); }
.hud-pt.hot .tg b { color: rgba(14,22,28,0.7); }
.hud-pt.left .tg { left: auto; right: calc(100% + 8px); }
@media (max-width: 640px) { .hud-pt .tg b { display: none; } }

/* Product page hero */
.phero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--abyss); }
.phero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(10,17,23,0.5) 0%, rgba(10,17,23,0) 30%, rgba(10,17,23,0.1) 55%, rgba(10,17,23,0.88) 100%); }
.phero .in { position: relative; z-index: 2; width: 100%; padding: 120px 0 clamp(32px, 5vh, 64px); }
.phero .xl { font-size: clamp(64px, calc(64px + 92 * ((100vw - 390px) / 1530)), 156px); }
.phero .xl { margin-top: 14px; }
.phero .grid { display: grid; gap: 24px; margin-top: 28px; align-items: end; }
@media (min-width: 960px) { .phero .grid { grid-template-columns: 1.2fr 1fr; } }
.phero .statement { font-size: clamp(22px, calc(22px + 10 * ((100vw - 390px) / 1530)), 32px); line-height: 1.14; letter-spacing: -0.025em; font-weight: 420; max-width: 22ch; }
.phero .sub { font-size: var(--fs-body-l); color: var(--haze); max-width: 44ch; }
.hud.glass .hud-pt.hot .bx i { border-color: var(--glass); }
.hud.glass .hud-pt.hot .tg { background: var(--glass); color: var(--ink); }
.hud.brass .hud-pt.hot .bx i { border-color: var(--brass); }
.hud.brass .hud-pt.hot .tg { background: var(--brass); color: var(--ink); }
.hud-pt.pin .bx { width: 10px; height: 10px; border-radius: 50%; background: var(--foam); box-shadow: 0 0 0 4px rgba(238,243,246,0.18); }
.hud-pt.pin .bx i { display: none; }
.hud.glass .hud-pt.pin.hot .bx { background: var(--glass); box-shadow: 0 0 0 5px rgba(92,200,215,0.25); }
.hud.brass .hud-pt.pin.hot .bx { background: var(--brass); box-shadow: 0 0 0 5px rgba(233,180,76,0.25); }

/* ---------- 404 radar ---------- */
.radar { position: absolute; left: 50%; top: 50%; width: min(90vmin, 860px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; opacity: 0.55; }
.radar i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(238,243,246,0.12); }
.radar i:nth-child(2) { inset: 18%; } .radar i:nth-child(3) { inset: 36%; }
.radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255,90,31,0.32), rgba(255,90,31,0) 22%); animation: sweep 8s linear infinite; -webkit-mask-image: radial-gradient(circle, #000 0 69.5%, transparent 70%); mask-image: radial-gradient(circle, #000 0 69.5%, transparent 70%); }
.radar .blip { position: absolute; left: 68%; top: 30%; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 14px var(--signal); animation: blip 8s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes blip { 0%, 8% { opacity: 0; } 12% { opacity: 1; } 40% { opacity: 0.15; } 100% { opacity: 0; } }
@media (max-width: 640px) {
  .hero .readout { display: none; }
  .hero-grid { gap: 14px; }
  .hero .statement { font-size: 32px; }
}
.phero .eyebrow { color: var(--foam); text-shadow: 0 1px 14px rgba(0,0,0,0.65), 0 0 2px rgba(0,0,0,0.4); }

/* "Patent pending" in the footer: hidden until site.json ip.patent_note is set */
.ftr-base .pp:empty{display:none}
