/* ARKABI landing, built on the intro theme: black field, one warm light on the horizon,
   thin wide-set Inter, outlined buttons that fill white. */
:root {
  --black: #000;
  --white: #fff;
  --warm: #ffdc96;                      /* the light's colour, from the logo glow */
  --text: #d3cdbd;
  --dim: #948f80;
  --line: rgba(255, 255, 255, 0.14);
  --glow: rgba(255, 220, 150, 0.4);
  --late: #e58a7a;
  --gut: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-color: #3a3628 #000; }
body { margin: 0; padding: 0; color: var(--text); font: 300 1.0625rem/1.65 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--warm); color: #000; }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
p { margin: 0; max-width: 60ch; text-wrap: pretty; }
table { border-collapse: collapse; width: 100%; }
.num, .amt, .kpi-value, .layer b { font-variant-numeric: tabular-nums; }
.num { text-align: right; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 50; background: #fff; color: #000; padding: 10px 16px; }
.wrap { width: min(100%, 1280px); margin-inline: auto; padding-inline: var(--gut); }
.fine { font-size: 0.8125rem; color: var(--dim); }
section { position: relative; }

h1 { margin: 0; font: inherit; }
h2 { margin: 0; color: var(--white); font-weight: 200; font-size: clamp(1.875rem, 4.2vw, 3.5rem); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; text-shadow: 0 0 40px rgba(255, 220, 150, 0.22); }

/* small caps voice: the slogan's wide tracking, used for labels and controls */
.btn, .bar nav a, .bar-logo, .tabs button, dt, th, .flow-tag, .kpi-label, .depths b, .foot, .ask label, .direct, .links {
  text-transform: uppercase; letter-spacing: 0.2em; font-weight: 400; font-size: 0.75rem;
}

/* the canvas holds the one light; the page scrolls over it */
canvas { position: fixed; inset: 0; width: 100vw; height: 100lvh; display: block; z-index: -1; }

/* buttons: the ENTER SYSTEM button, reused everywhere */
.btn { position: relative; isolation: isolate; overflow: hidden; border-radius: 2px; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 30px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; text-decoration: none; white-space: nowrap; cursor: pointer; transition: color 0.4s, box-shadow 0.5s, border-color 0.4s; }
.btn::before { content: ''; position: absolute; inset: -1px; z-index: -1; background: #fff; clip-path: circle(0 at var(--mx, 50%) var(--my, 50%)); transition: clip-path 0.6s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { clip-path: circle(160% at var(--mx, 50%) var(--my, 50%)); }
.btn:hover, .btn:focus-visible { color: #000; border-color: #fff; box-shadow: 0 0 30px rgba(255, 255, 255, 0.5); }
.btn:active { box-shadow: 0 0 44px rgba(255, 255, 255, 0.8); }
.btn-solid { background: #fff; color: #000; border-color: #fff; font-weight: 500; }
.btn-solid::before { background: var(--warm); }
.btn-solid:hover, .btn-solid:focus-visible { border-color: var(--warm); box-shadow: 0 0 30px var(--glow); }
.btn-sm { min-height: 44px; padding: 0 20px; }

/* top bar: appears once the hero has passed */
.bar { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 32px; padding: 14px max(var(--gut), calc((100vw - 1280px) / 2 + var(--gut))); background: #000; border-bottom: 1px solid var(--line); transform: translateY(-101%); visibility: hidden; transition: transform 0.6s var(--ease), visibility 0s 0.6s; }
.bar.show { transform: none; visibility: visible; transition: transform 0.6s var(--ease); }
.bar-logo { margin-right: auto; color: #fff; text-decoration: none; font-size: 1rem; font-weight: 500; letter-spacing: 0.5em; text-shadow: 0 0 20px var(--glow); padding: 10px 0; }
.bar nav { display: flex; gap: 28px; }
.bar nav a { color: var(--text); text-decoration: none; padding: 14px 0; transition: color 0.3s; }
.bar nav a:hover { color: var(--warm); }
/* the way into the product, for people who already have an account */
.signin { color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.75rem; font-weight: 400; padding: 14px 0; white-space: nowrap; transition: color 0.3s; }
.signin:hover { color: var(--warm); }

/* hero: the intro, as designed */
.hero { height: 185svh; --e: 0; }
#hero-container { position: sticky; top: 0; height: 100svh; min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-inline: 20px; background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%); }
.brand-wrapper { text-align: center; opacity: calc(1 - var(--e) * 1.7); transform: translateY(calc(var(--e) * -6svh)) scale(calc(1 - var(--e) * 0.05)); }
.logo i { display: inline-block; font-style: normal; }
.js .logo i { animation: lit 2.2s var(--ease) calc(0.5s + var(--i) * 0.22s) backwards; }
.js .slogan { animation: settle 2.4s var(--ease) 1.5s backwards; }
@keyframes lit { from { opacity: 0; transform: translateY(0.12em) scale(1.06); filter: blur(14px); } }
@keyframes settle { from { opacity: 0; letter-spacing: 0.7em; margin-right: -0.7em; } }
.logo { display: block; color: #fff; font-size: clamp(2.75rem, 9.6vw, 8rem); font-weight: 300; line-height: 1.3; letter-spacing: 0.25em; margin-right: -0.25em; text-shadow: 0 0 20px rgba(255, 220, 150, 0.4); opacity: 0.9; }
.slogan { max-width: none; color: #cca; font-size: clamp(0.6875rem, 1.25vw, 1.2rem); letter-spacing: 0.42em; margin: 10px -0.42em 0 0; text-transform: uppercase; font-weight: 300; opacity: 0.82; text-wrap: balance; line-height: 2; text-shadow: 0 0 2px #000, 0 0 3px #000, 0 0 8px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.7); }
#enter-btn { margin-top: 50px; opacity: calc(1 - var(--e) * 3); background: rgba(0, 0, 0, 0.35); text-shadow: 0 0 6px rgba(0, 0, 0, 0.9); }
#enter-btn:hover, #enter-btn:focus-visible { text-shadow: none; }
.js #enter-btn { animation: fadeIn 2s ease-in 2.4s backwards; }
@keyframes fadeIn { from { opacity: 0; } }
/* without WebGL or JavaScript, a stand-in light sits in its own strip below the wordmark and button, so every letter stays on black */
.no-gl #hero-container::after, html:not(.js) #hero-container::after { content: ''; position: absolute; inset: auto 0 0; height: 32%; pointer-events: none; background: radial-gradient(ellipse 30% 50% at 50% 50%, rgba(255, 220, 150, 0.3), rgba(255, 220, 150, 0.1) 50%, transparent 78%), radial-gradient(ellipse 60% 6% at 50% 50%, rgba(255, 220, 150, 0.45), transparent 80%); }

/* rise: sections arrive quietly, once */
.js [data-rise] { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-rise].in { opacity: 1; transform: none; }
.js p[data-rise], .js a[data-rise] { transition-delay: 0.25s; }
.js h2[data-rise] { opacity: 1; transform: none; text-shadow: none; color: transparent; background: linear-gradient(100deg, #fff 0 40%, var(--warm) 49%, #45413a 58% 100%) 100% 0 / 270% 100% no-repeat; -webkit-background-clip: text; background-clip: text; transition: background-position 1.9s var(--ease); }
.js h2[data-rise].in { background-position: 0 0; }
.js .statement[data-rise] { opacity: 1; transform: none; color: transparent; background: linear-gradient(100deg, #fff 0 40%, var(--warm) 49%, #45413a 58% 100%) 100% 0 / 270% 100% no-repeat; -webkit-background-clip: text; background-clip: text; transition: background-position 2.4s var(--ease); }
.js .statement[data-rise].in { background-position: 0 0; }
.js h2[data-rise].lit, .js .statement[data-rise].lit { background: none; color: #fff; transition: none; }
.js .statement[data-rise] em { color: transparent; text-shadow: none; transition: color 1.2s 1.3s, text-shadow 1.2s 1.3s; }
.js .statement[data-rise].in em { color: var(--warm); text-shadow: 0 0 30px var(--glow); }

/* a section's opening: heading left, one paragraph right, on a single baseline */
.head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 6vw, 104px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 104px); align-items: start; }
.head-col h2 + p { margin-top: 1.5rem; }

/* horizon rule between sections: the light's streak, drawn in CSS */
.screens, .owed, .reports, .bed, .maker, .faq { padding-block: clamp(90px, 12vw, 170px); }
.screens::before, .owed::before, .reports::before, .bed::before, .maker::before, .faq::before, .dive::before, .demo::before { content: ''; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 220, 150, 0.55), transparent); box-shadow: 0 0 24px 1px rgba(255, 220, 150, 0.25); transition: transform 2s var(--ease), opacity 1.2s; }
.js main > section:not(.in)::before { transform: scaleX(0); opacity: 0; }

/* intro statement */
.intro { padding-block: clamp(80px, 14vw, 200px); text-align: center; }
.statement { max-width: 24em; margin: 0 auto clamp(32px, 4vw, 52px); color: var(--white); font-weight: 200; font-size: clamp(1.5rem, 3.6vw, 3rem); line-height: 1.25; letter-spacing: -0.015em; text-wrap: balance; }
.statement em { font-style: normal; color: var(--warm); text-shadow: 0 0 30px var(--glow); }

/* the film: a poster until it is near the viewport and the connection can afford it */
.film { padding-bottom: clamp(90px, 12vw, 170px); }
.reel { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.reel-frame { flex: 0 0 100%; }
.reel-frame { position: relative; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 0 0 1px var(--line), 0 0 160px -30px rgba(255, 220, 150, 0.32); overflow: hidden; }
.reel-frame img, .reel-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-frame video { opacity: 0; transition: opacity 0.8s; }
.reel.on video { opacity: 1; }
.reel-btn { flex: none; min-width: 11.5em; }   /* below the frame: nothing sits on the film */
#enter-btn:hover, #enter-btn:focus-visible { background: #fff; transition: color 0.4s, box-shadow 0.5s, border-color 0.4s, background-color 0s 0.45s; }   /* lands just after the flood of light, and holds if the flood never runs */
.reel .cap { flex: 1 1 16em; margin-top: 0; }

/* the five screens */
.tabs { display: flex; gap: clamp(20px, 3.4vw, 48px); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; padding: 16px 0; margin-bottom: -1px; border-bottom: 1px solid transparent; color: var(--dim); white-space: nowrap; transition: color 0.3s, border-color 0.3s; }
.tabs button:hover { color: #fff; }
.tabs button[aria-pressed='true'] { color: var(--warm); border-color: var(--warm); }
.deck { position: relative; margin-top: clamp(24px, 3vw, 40px); perspective: 1800px; perspective-origin: 50% 0; }
.deck-desk { width: 100%; border-radius: 6px; background: #0f172a; box-shadow: 0 0 0 1px var(--line), 0 0 160px -30px rgba(255, 220, 150, 0.32); }
.deck-phone { position: absolute; right: clamp(8px, 3%, 44px); bottom: -7%; width: clamp(92px, 17%, 220px); border-radius: clamp(12px, 2vw, 26px); box-shadow: 0 0 0 clamp(3px, 0.45vw, 6px) #000, 0 0 0 clamp(4px, 0.55vw, 7px) rgba(255, 255, 255, 0.28), 0 30px 60px -10px #000; }
.deck-phone[hidden] { display: none; }
.reports .deck-desk { aspect-ratio: 2000 / 900; object-fit: cover; object-position: top; }
.deck { --p: 1; --rx: 0deg; --ry: 0deg; }
.deck-desk { transform-origin: 50% 0; transform: rotateX(calc((1 - var(--p)) * 38deg + var(--ry))) rotateY(var(--rx)) scale(calc(0.92 + var(--p) * 0.08)); opacity: calc(0.35 + var(--p) * 0.65); transition: transform 0.5s var(--ease); }
.deck-phone { opacity: var(--p); transform: translate3d(calc(var(--rx) * 4), calc((1 - var(--p)) * 80px - var(--ry) * 4), 0); transition: transform 0.5s var(--ease); }
.deck::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: 6px; background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 228, 170, 0.14), transparent 65%); opacity: 0; transition: opacity 0.5s; }
.deck:hover::after { opacity: 1; }
.deck img.swap { animation: swap 0.6s var(--ease); }
@keyframes swap { from { opacity: 0.15; } }
.cap { margin-top: clamp(56px, 9%, 110px); max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 32px; }

/* depth: one number opens into its rows as you scroll */
.dive { height: 320vh; }
.dive-stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding-top: 72px; }
.dive-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 104px); align-items: center; }
.depths { list-style: none; margin: clamp(24px, 4svh, 44px) 0 0; padding: 0; position: relative; }
.depths::before { content: ''; position: absolute; left: 3px; top: 16px; bottom: 16px; width: 1px; background: var(--line); }
.depths button { display: block; position: relative; width: 100%; min-height: 44px; padding: 12px 0 12px 30px; color: var(--dim); transition: color 0.4s; }
.depths button::before { content: ''; position: absolute; left: 0; top: 18px; width: 7px; height: 7px; background: #000; box-shadow: 0 0 0 1px var(--dim); transition: background-color 0.4s, box-shadow 0.4s; }
.depths b { display: block; line-height: 1.6; }
.depths span { display: block; max-height: 0; opacity: 0; overflow: hidden; max-width: 40ch; font-size: 1rem; line-height: 1.55; color: var(--text); transition: max-height 0.6s var(--ease), opacity 0.4s, margin 0.6s var(--ease); }
.depths button.on { color: #fff; }
.depths button.on::before { background: var(--warm); box-shadow: 0 0 0 1px var(--warm), 0 0 16px 3px var(--glow); }
.depths button.on span { max-height: 8em; opacity: 1; margin-top: 4px; }

.fold { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.8s var(--ease), opacity 0.6s; }
.fold > div { overflow: hidden; min-height: 0; }
.kpi { display: block; width: 100%; padding: clamp(22px, 3vw, 40px); background: #070707; box-shadow: inset 0 0 0 1px var(--line), 0 0 120px -40px rgba(255, 220, 150, 0.4); transition: padding 0.8s var(--ease), box-shadow 0.4s; }
.kpi:hover { box-shadow: inset 0 0 0 1px rgba(255, 220, 150, 0.6), 0 0 120px -40px rgba(255, 220, 150, 0.5); }
.kpi-label { display: block; color: var(--warm); }
.kpi-value { display: block; margin: 8px 0 10px; color: #fff; font-weight: 200; font-size: clamp(3.25rem, 8.5vw, 6.5rem); line-height: 1; letter-spacing: -0.03em; text-shadow: 0 0 40px rgba(255, 220, 150, 0.35); transition: font-size 0.8s var(--ease); }
.kpi-meta { display: block; font-size: 0.875rem; color: var(--dim); }
.kpi-meta i { display: inline-flex; align-items: center; gap: 4px; font-style: normal; color: var(--warm); margin-right: 6px; }
.sound:not([data-level='0']) .kpi { padding-block: 18px; }
.sound:not([data-level='0']) .kpi-value { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.sound:not([data-level='0']) .reg, .sound[data-level='2'] .vouchers { grid-template-rows: 1fr; opacity: 1; }
.reg > div { background: #040404; box-shadow: inset 0 0 0 1px var(--line); font-size: 0.875rem; font-weight: 400; }
.reg-head, .reg-foot { display: flex; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; padding: 12px 18px; }
.reg-head b, .reg-foot { color: #fff; font-weight: 500; }
.reg-foot { border-top: 1px solid var(--line); }
.tick { display: inline-flex; align-items: center; gap: 6px; color: var(--warm); }
.groups { list-style: none; margin: 0; padding: 0; }
.groups li { border-top: 1px solid var(--line); transition: opacity 0.5s; }
.g { position: relative; display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 18px; color: #f1ede2; isolation: isolate; }
.g::before { content: ''; position: absolute; inset: 0 auto 0 0; width: calc(var(--w) * 0.6); background: linear-gradient(90deg, rgba(255, 220, 150, 0.26), rgba(255, 220, 150, 0.03)); z-index: -1; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1s var(--ease) 0.15s; }
.sound:not([data-level='0']) .g::before { transform: none; }
.g.rest { color: var(--dim); }
button.g:hover { background: rgba(255, 220, 150, 0.08); }
.sound[data-level='2'] .groups li:not(.open) { opacity: 0.35; }
.sound[data-level='2'] .groups li:nth-child(n + 5) { display: none; }
.vouchers table { font-size: 0.8125rem; background: rgba(255, 220, 150, 0.04); }
.vouchers th, .vouchers td { padding: 7px 18px; text-align: left; white-space: nowrap; }
.vouchers th { color: var(--dim); font-size: 0.6875rem; }
.vouchers .num { text-align: right; }
.vouchers tfoot td { color: #fff; font-weight: 500; border-top: 1px solid var(--line); }
.sound > .fine { margin-top: 14px; }

/* receivables by age */
.layers { display: grid; gap: 10px; }
.layer { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) 4.6em; align-items: center; gap: 16px; font-size: 0.9375rem; }
.layer i { height: clamp(30px, 4.4vw, 50px); width: var(--w); background: var(--c); box-shadow: 0 0 30px -6px var(--c); transform-origin: 0 50%; transition: transform 1.3s var(--ease); }
.js .layers:not(.in) .layer i { transform: scaleX(0); }
.layer:nth-child(2) i { transition-delay: 0.1s; } .layer:nth-child(3) i { transition-delay: 0.2s; } .layer:nth-child(4) i { transition-delay: 0.3s; }
.layer b { color: #fff; font-weight: 300; font-size: 1.25rem; text-align: right; }
.layer.late span, .layer.late b, td.late { color: var(--late); }
.layers + .fine { margin-top: 14px; }
.overdue { margin-top: clamp(36px, 5vw, 60px); font-size: 0.9375rem; font-weight: 400; }
.overdue th { color: var(--dim); text-align: left; padding: 0 0 12px; font-size: 0.6875rem; }
.overdue th.num { text-align: right; }
.overdue td { padding: 14px 0; border-top: 1px solid var(--line); color: #f1ede2; }

/* fact rows */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin: clamp(72px, 9%, 130px) 0 0; }
.facts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); }
.facts div { border-top: 1px solid var(--line); padding-top: 18px; }
.facts dt { color: var(--warm); }
.facts dd { margin: 10px 0 0; font-size: 0.9688rem; }
.stamp { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; color: #fff; font-weight: 400; }
.stamp::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 12px 2px var(--glow); }

/* where the data lives */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) clamp(60px, 8vw, 110px) minmax(0, 320px); align-items: stretch; }
.flow b { display: block; color: #fff; font-weight: 400; font-size: 1.0625rem; line-height: 1.3; white-space: nowrap; }
.flow span { display: block; margin-top: 6px; font-size: 0.875rem; line-height: 1.5; }
.flow-yours { position: relative; display: flex; align-items: center; padding: 44px clamp(18px, 2.4vw, 34px) 34px; border: 1px solid rgba(255, 220, 150, 0.5); box-shadow: 0 0 80px -30px rgba(255, 220, 150, 0.45), inset 0 0 60px -40px rgba(255, 220, 150, 0.5); }
.flow-tag { position: absolute; top: -0.9em; left: 22px; margin: 0 !important; padding: 0 12px; background: #000; color: var(--warm); line-height: 1.8 !important; font-size: 0.75rem !important; }
.flow ol { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: clamp(36px, 4vw, 56px); }
.flow li span { max-width: 14ch; }
.flow li { position: relative; }
.flow li + li::before { content: ''; position: absolute; left: calc(clamp(36px, 4vw, 56px) * -0.78); top: 0.68em; width: calc(clamp(36px, 4vw, 56px) * 0.5); height: 1px; background: var(--warm); }
.flow li + li::after { content: ''; position: absolute; left: calc(clamp(36px, 4vw, 56px) * -0.28 - 7px); top: calc(0.68em - 3px); width: 7px; height: 7px; border: solid var(--warm); border-width: 1px 1px 0 0; transform: rotate(45deg); }
.flow-wire { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.flow-wire::before { content: ''; grid-area: 1 / 1; align-self: center; border-top: 1px dashed var(--dim); }
.flow-wire span { grid-area: 1 / 1; place-self: center; transform: translateY(-16px); margin: 0; font-size: 0.6875rem; letter-spacing: 0.2em; color: var(--dim); }
.flow-side { display: grid; gap: 16px; }
.flow-you, .flow-us { padding: 22px; border: 1px solid var(--line); }
.flow-us { border-style: dashed; }

/* maker + faq */
.links { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 6px 32px; max-width: none; }
.links a { color: var(--warm); padding: 12px 0; }
.qa { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; color: #fff; font-size: 1.125rem; font-weight: 300; line-height: 1.35; transition: color 0.3s; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: none; width: 11px; height: 11px; margin-right: 4px; border: solid var(--warm); border-width: 0 1px 1px 0; transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.5s var(--ease); }
details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
summary:hover { color: var(--warm); }
details p { padding: 0 40px 22px 0; }

/* demo: the light comes back up under the last word */
.demo { min-height: 100svh; padding: clamp(110px, 14vw, 180px) 0 42svh; text-align: center; }
.demo h2 { font-size: clamp(2rem, 5.4vw, 4.25rem); max-width: 14em; margin-inline: auto; }
.demo h2 + p { margin: 1.25rem auto 0; }
.ask { display: grid; gap: 22px; width: min(100%, 460px); margin: clamp(36px, 5vw, 56px) auto 0; text-align: left; }
.ask label { display: grid; gap: 4px; color: var(--dim); }
.ask input { width: 100%; min-height: 48px; padding: 6px 0; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.3); border-radius: 0; color: #fff; font: 300 1.125rem 'Inter', sans-serif; letter-spacing: 0; caret-color: var(--warm); transition: border-color 0.3s, box-shadow 0.3s; }
.ask input:focus-visible { outline: none; border-color: var(--warm); box-shadow: 0 12px 20px -14px var(--glow); }
.ask input.bad { border-color: var(--late); }
.ask .err { color: var(--late); font-size: 0.9375rem; font-weight: 400; }
.ask .sent { color: var(--warm); font-size: 1rem; font-weight: 400; outline: none; }
.ask .opt { text-transform: none; letter-spacing: 0.02em; }
.ask .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.ask-go { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.ask-go .btn { flex: 1; }
.direct { width: min(100%, 460px); margin: 34px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; max-width: none; }
.nw { white-space: nowrap; }
.direct a { color: var(--text); padding: 12px 0; }
.direct a:hover { color: var(--warm); }

.foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 32px; padding: 22px max(var(--gut), calc((100vw - 1280px) / 2 + var(--gut))); background: #000; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.6875rem; }
.foot > :first-child { margin-right: auto; }
.foot a { padding: 14px 0; }
.foot a:hover { color: var(--warm); }

/* depth gauge: a thin line down the side, with a point of light where you are */
.gauge { position: fixed; right: 22px; top: 50%; z-index: 15; height: min(46vh, 380px); margin-top: calc(min(46vh, 380px) / -2); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; opacity: 0; transition: opacity 0.8s; --at: 0; }
.gauge.show { opacity: 1; }
.gauge::before { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.gauge::after { content: ''; position: absolute; right: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px var(--glow); transform: translateY(calc(var(--at) * min(46vh, 380px) - 2px)); }
.gauge a { display: flex; align-items: center; gap: 10px; padding-right: 0; text-decoration: none; color: var(--dim); font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; }
.gauge a::after { content: ''; width: 9px; height: 1px; background: var(--dim); transition: width 0.5s var(--ease), background-color 0.4s; }
.gauge span { opacity: 0; transform: translateX(6px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.gauge a.on { color: var(--warm); }
.gauge a.on::after { width: 20px; background: var(--warm); }
.gauge a.on span, .gauge a:hover span { opacity: 1; transform: none; }

/* film grain: one static tile, so black never looks flat or banded */
.grain { position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0.05; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 -0.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

@media (max-width: 1180px) { .gauge { display: none; } }
@media (max-width: 900px) {
  .bar nav { display: none; }
  .head, .two, .dive-grid { grid-template-columns: minmax(0, 1fr); }
  .head { align-items: start; }
  .facts, .facts-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dive-stage { align-items: flex-start; padding-top: 84px; }
  .dive-grid { gap: 18px; }
  .dive h2 { font-size: 1.625rem; }
  .depths { margin-top: 12px; display: flex; gap: 8px; }
  .depths::before, .depths button::before { display: none; }
  .depths li { flex: 1; }
  .depths button { min-height: 44px; padding: 8px 0 0; border-top: 1px solid var(--line); }
  button.g { min-height: 44px; align-items: center; }
  .depths button.on { border-color: var(--warm); }
  .depths b { font-size: 0.6875rem; letter-spacing: 0.08em; white-space: nowrap; }
  .depths span { display: none; }
  .kpi { padding: 16px 18px; }
  .kpi-value { font-size: 3rem; }
  .sound[data-level='0'] .kpi { padding-block: 9svh; }
  .sound[data-level='0'] .kpi-value { font-size: 22vw; }
  .g { padding: 7px 14px; } .reg-head, .reg-foot { padding: 9px 14px; }
  .groups li:nth-child(n + 7):not(:last-child) { display: none; }
  .vouchers th, .vouchers td { padding: 5px 6px; }
  .vouchers th:first-child, .vouchers td:first-child { padding-left: 14px; }
  .vouchers th:last-child, .vouchers td:last-child { padding-right: 14px; }
  .vouchers th:nth-child(3), .vouchers td:nth-child(3) { display: none; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow ol { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .flow li + li::before, .flow li + li::after { display: none; }
  .flow li { padding-left: 18px; border-left: 1px solid var(--warm); }
  .flow-wire { display: block; position: relative; width: 0; height: 48px; margin: 0 0 0 30px; border-left: 1px dashed var(--dim); }
  .flow-wire::before { display: none; }
  .flow-wire span { position: absolute; left: 18px; top: 16px; transform: none; }
  .flow b { white-space: normal; }
  .flow li span { max-width: none; }
  .deck-phone { bottom: -12%; width: 23%; }
  .cap { margin-top: 15%; }
}
@media (max-width: 520px) {
  .facts, .facts-3 { grid-template-columns: minmax(0, 1fr); }
  .layer { grid-template-columns: 7em minmax(0, 1fr) 4.4em; gap: 8px; font-size: 0.8125rem; }
  .layer span { white-space: nowrap; }
  .layer b { font-size: 1rem; }
  .overdue th { letter-spacing: 0.12em; }
  .overdue th + th, .overdue td + td { padding-left: 12px; }
  /* a phone-first owner gets the phone capture, readable, instead of a shrunken desktop */
  .deck:has(.deck-phone:not([hidden])) .deck-desk { display: none; }
  .deck-phone { position: static; width: min(78%, 300px); margin-inline: auto; }
  .cap { margin-top: 24px; }
  .slogan { letter-spacing: 0.3em; margin-right: -0.3em; }
  .depths b { white-space: normal; }
  .bar { gap: 12px; }
  .bar-logo { letter-spacing: 0.35em; }
}
/* very narrow phones: the bar keeps the two actions and drops the wordmark */
@media (max-width: 520px) { .direct a { letter-spacing: 0.04em; overflow-wrap: anywhere; } }
@media (max-width: 360px) { .bar-logo { display: none; } .bar { justify-content: space-between; } }
@media (max-height: 760px) {
  .sound[data-level='2'] .groups li:not(.open) { display: none; }
  .g { padding-block: 6px; }
  .vouchers th, .vouchers td { padding-block: 4px; }
  .dive h2 { font-size: clamp(1.5rem, 3.4vw, 2.5rem); }
}
@media (max-height: 700px) and (max-width: 900px) { .groups li:nth-child(n + 5):not(:last-child) { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .hero { height: auto; }
  #hero-container { position: static; }
  .js [data-rise] { opacity: 1; transform: none; }
  .js h2[data-rise], .js .statement[data-rise] { background-position: 0 0; transition: none; }
  .js .statement[data-rise] em { color: var(--warm); transition: none; }
  .js main > section:not(.in)::before { transform: none; opacity: 1; }
  .deck-desk, .deck-phone { transform: none; opacity: 1; transition: none; }
  .fold, .kpi, .kpi-value, .layer i, .g::before, .bar, .btn::before { transition: none; }
}
