:root {
  --navy: #0b1c33;
  --navy-2: #132844;
  --navy-3: #1b3658;
  --cream: #e7e1d1;
  --cream-2: #f3efe4;
  --teal: #0f766e;
  --teal-2: #0d9488;
  --teal-soft: #d7f3ee;
  --sky: #38bdf8;
  --paper: #f4f0e6;
  --white: #ffffff;
  --ink: #102033;
  --muted: #5c6570;
  --line: #e4dccb;
  --rose: #be123c;
  --amber: #9a6700;
  --shadow: 0 24px 60px rgba(11, 28, 51, 0.12);
  --radius: 18px;
  --header: 72px;
  --max: 1160px;
  --font: "Schibsted Grotesk", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #163056; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(46px, 6vw, 78px); line-height: 0.94; letter-spacing: -0.045em; font-weight: 600; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.skip {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; top: 10px; left: 10px; width: auto; height: auto; margin: 0;
  padding: 8px 12px; clip: auto; overflow: visible; background: var(--navy);
  color: var(--cream); z-index: 80; border-radius: 999px;
}

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, 100%); }
.lede { font-size: 18.5px; color: var(--muted); max-width: 62ch; }
.kicker { color: var(--navy); font-weight: 600; font-size: 15px; margin-bottom: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; font-weight: 600; cursor: pointer; background: transparent;
  transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-teal { background: var(--navy); color: var(--cream); }
.btn-teal:hover { background: #163056; color: white; }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-2); color: white; }
.btn-ghost { border-color: var(--line); background: white; color: var(--ink); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-cream { background: var(--cream); color: var(--navy); }
.btn-cream:hover { background: white; color: var(--navy); }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

header.site {
  position: sticky; top: 0; z-index: 46; background: rgba(244, 240, 230, 0.92);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); height: var(--header);
}
header.site::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 100%; height: 16px;
  background: linear-gradient(to bottom, rgba(11, 28, 51, 0.1), transparent);
  opacity: 0; pointer-events: none;
  transition: opacity 180ms var(--ease-out);
}
header.site.is-scrolled::after { opacity: 1; }
.scrim {
  display: none;
}
.bar {
  height: var(--header); display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; letter-spacing: -0.03em; font-size: 20px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; }
.nav-item { position: relative; }
.nav-btn, .nav-link {
  background: none; border: 0; color: var(--ink); text-decoration: none;
  padding: 8px 10px; border-radius: 10px; font-weight: 550; font-size: 15px; cursor: pointer;
}
.nav-btn:hover, .nav-link:hover, .nav-item.is-open .nav-btn { background: var(--paper); color: var(--navy); }
.mega {
  display: grid; grid-template-columns: 1fr 1fr;
  position: absolute; top: calc(100% + 10px); left: 0; width: min(560px, 72vw);
  background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(6px) scale(0.98);
  transform-origin: top left;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 180ms;
}
.nav-item.is-open .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
}
.nav-item:nth-child(n+4) .mega { left: auto; right: 0; transform-origin: top right; }
.mega a {
  display: block; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink);
}
.mega a:hover { background: var(--paper); color: var(--navy); }
.mega strong { display: block; font-size: 14.5px; font-weight: 650; }
.mega span { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.bar-cta { margin-left: auto; display: flex; gap: 8px; }
.menu-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: white; border-radius: 12px; min-height: 42px; padding: 0 12px; cursor: pointer; }

.hero {
  position: relative; padding: 54px 0 20px; overflow: hidden;
  background-image: linear-gradient(rgba(11, 28, 51, 0.045) 1px, transparent 1px);
  background-size: 100% 28px;
}
.arch {
  position: absolute; z-index: 0; pointer-events: none;
  right: -6%; top: -4%; width: min(720px, 78vw);
}
.arch svg { width: 100%; height: auto; display: block; }
.arch-line, .arch-tick {
  stroke: var(--navy); fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.arch-line { stroke-width: 1.4; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: arch-draw 1.5s var(--ease-out) 0.1s forwards; }
.arch-line-2 { stroke-width: 1.1; animation-delay: 0.28s; opacity: 0.7; }
.arch-tick { stroke-width: 1.2; stroke-dasharray: 400; stroke-dashoffset: 400; animation: arch-draw 0.7s var(--ease-out) 0.7s forwards; }
@media (max-width: 980px) {
  .arch { top: auto; bottom: -12%; right: -28%; width: 150%; opacity: 0.28; }
}
.arch-dot { fill: var(--navy); opacity: 0; animation: arch-dot 0.4s var(--ease-out) 1s forwards; }
.arch-dot:nth-of-type(2) { animation-delay: 1.08s; }
.arch-dot:nth-of-type(3) { animation-delay: 1.16s; }
.arch-dot:nth-of-type(4) { animation-delay: 1.24s; }
.arch-dot:nth-of-type(5) { animation-delay: 1.32s; }
@keyframes arch-draw { to { stroke-dashoffset: 0; } }
@keyframes arch-dot { to { opacity: 0.85; } }
.hero-field {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; display: block;
}
.hero-grid { position: relative; z-index: 1; perspective: 1200px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 42px; align-items: center; }
.hero h1 span { display: block; }
.device {
  background: var(--navy); color: var(--cream); border-radius: 28px; padding: 14px;
  box-shadow: var(--shadow); min-height: 460px;
}
.device-top { display: flex; align-items: center; gap: 8px; padding: 6px 8px 12px; color: var(--cream); font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 99px; background: #35527a; }
.dot.live { background: var(--teal-2); }
.device-body { display: grid; grid-template-columns: 148px 1fr; gap: 10px; min-height: 400px; }
.side, .panel { background: #10243f; border-radius: 16px; padding: 12px; }
.side b { display: block; font-size: 12px; color: #9eb0c6; font-weight: 500; margin: 12px 8px 6px; }
.side a, .side button {
  display: block; width: 100%; text-align: left; background: transparent; border: 0; color: var(--cream);
  text-decoration: none; border-radius: 10px; padding: 7px 8px; font-size: 13px; cursor: pointer;
}
.side .on, .side button.on { background: rgba(13, 148, 136, 0.25); color: white; }
.panel h3 { color: white; font-size: 16px; }
.panel p { color: #b7c6d6; font-size: 13px; margin-top: 4px; }
.appt { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid #24395c; font-size: 13px; min-width: 0; }
.device, .panel, .side, .hero-grid, .device-body { min-width: 0; }
.appt em { color: var(--sky); font-style: normal; }
.pill { display: inline-flex; border-radius: 99px; padding: 2px 8px; background: rgba(13,148,136,.2); color: #9eeadf; font-size: 12px; }

.band { background: var(--navy); color: var(--cream); }
.band .wrap { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 18px; padding: 28px 0; align-items: center; }
.stat b { display: block; font-size: 28px; letter-spacing: -0.04em; color: white; }
.stat span { color: #b7c4d4; font-size: 14px; }

section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 28px; }
.cards-3, .cards-2, .cards-4 { display: grid; gap: 16px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: 1fr 1fr; }
.cards-4 { grid-template-columns: 1fr 1fr; }
.card, .plain {
  background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.card h3, .plain h3 { margin-bottom: 8px; }
.card p, .plain p, .split p { color: var(--muted); margin-top: 8px; }
.card ul, .split ul, .prose ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink); }
.card li + li, .split li + li { margin-top: 6px; }

.mock { background: var(--cream-2); border-radius: 14px; padding: 12px; margin-bottom: 12px; color: var(--navy); }
.msg { background: white; border-radius: 12px 12px 12px 4px; padding: 10px 12px; font-size: 14px; }
.msg.me { border-radius: 12px 12px 4px 12px; background: var(--teal); color: white; margin-top: 8px; margin-left: 28px; }
.choice { margin-top: 8px; }
.tooth-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tooth {
  width: 42px; height: 48px; border-radius: 10px 10px 16px 16px; border: 1px solid #c9bfa8;
  background: white; font-size: 11px; font-weight: 700; cursor: pointer;
}
.tooth.warn { background: #ffe8c2; border-color: #e0b15a; }
.tooth.bad { background: #ffd7df; border-color: #e7a0ae; }
.tooth.ok { background: #d9f6ef; border-color: #8ed8cb; }
.due { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; border-bottom: 1px solid #e4dcc8; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.tab-panel { display: none; }
.tab-panel.is-on { display: block; animation: panel-in 180ms var(--ease-out); }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.table-wrap { overflow-x: auto; background: white; border-radius: 16px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }

.navy-block { background: var(--navy); color: var(--cream); border-radius: 28px; padding: 28px; }
.navy-block p { color: #c5d0dc; }
.quote { font-size: 26px; line-height: 1.25; letter-spacing: -0.03em; color: white; }
.stories { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 32%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.story { scroll-snap-align: start; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 18px; min-height: 220px; }
.story b { display: block; margin-top: 16px; }
.audience { display: block; text-decoration: none; color: inherit; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 18px; min-height: 180px; }
.audience { position: relative; }
.audience:hover { border-color: var(--navy); color: inherit; }
.audience::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 14px; height: 1px;
  background: var(--navy); transform: scaleX(0); transform-origin: left;
  transition: transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .audience:hover::after { transform: scaleX(1); }
}
.why { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.pay { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: center; }
.ledger { background: white; color: var(--ink); border-radius: 18px; padding: 16px; }
.ledger .big { font-size: 34px; letter-spacing: -0.04em; font-weight: 650; }
.cta-band { background: linear-gradient(160deg, var(--navy), #0e3c3a 70%); color: white; border-radius: 28px; padding: 42px; }
.cta-band p { color: #d5e4ea; max-width: 60ch; margin-top: 10px; }

footer.site { background: var(--navy); color: #c9d5e2; padding: 48px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 22px; }
footer.site .brand img { box-shadow: 0 0 0 1px rgba(231, 225, 209, 0.45); }
footer.site a { color: #e7e1d1; text-decoration: none; }
footer.site a:hover { color: white; }
footer.site h3 { color: white; font-size: 14px; margin-bottom: 10px; }
footer.site li { list-style: none; margin: 7px 0; font-size: 14px; }
footer.site ul { margin: 0; padding: 0; }
.legal-line { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #24395c; margin-top: 28px; padding-top: 14px; font-size: 13px; }
.crumbs { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.page-hero { padding: 42px 0 10px; }
.prose p + p { margin-top: 12px; }
.faq details { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { margin-top: 8px; }
.form { display: grid; gap: 12px; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
  background-color: var(--paper);
  background-image: linear-gradient(var(--navy), var(--navy));
  background-repeat: no-repeat; background-position: left bottom; background-size: 0 2px;
  font-weight: 450;
  transition: background-size 220ms var(--ease-out), border-color 180ms var(--ease-out);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--navy); background-size: 100% 2px;
}
textarea { min-height: 120px; resize: vertical; }
.note { font-size: 14px; color: var(--muted); }
.ok-box { background: var(--teal-soft); border-radius: 14px; padding: 14px; color: #134e4a; }
.price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.price article { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.price .amt { font-size: 28px; letter-spacing: -0.04em; margin: 8px 0; }
.compare { display: grid; gap: 10px; }
.compare div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; background: white; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

@media (max-width: 980px) {
  .hero-grid, .split, .why, .pay, .cards-3, .cards-2, .price, .band .wrap, .foot-grid, .device-body { grid-template-columns: 1fr; }
  :root { --header: 60px; }
  html { -webkit-text-size-adjust: 100%; }
  body { font-size: 16px; }
  h1 { font-size: 32px; line-height: 1.08; }
  h2 { font-size: 26px; }
  h3 { font-size: 18px; }
  .lede { font-size: 16px; }
  section { padding: 36px 0; }
  .hero, .page-hero { padding: 22px 0 6px; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .bar-cta { display: none; }
  .row-actions { align-items: flex-start; }
  .stories { grid-auto-columns: min(280px, 86%); }
  .cta-band, .navy-block { padding: 22px 18px; border-radius: 20px; }
  .quote { font-size: 20px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; }
  .shot-frame { margin-bottom: 14px; }
  .scrim {
    display: block; position: fixed; inset: 0; z-index: 45;
    background: rgba(10, 18, 32, 0.5);
    opacity: 0; pointer-events: none;
    transition: opacity 200ms var(--ease-out);
  }
  header.site.is-open .scrim { opacity: 1; pointer-events: auto; }
  .nav {
    display: block; position: fixed; z-index: 48;
    left: 12px; right: 12px;
    top: auto; bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    max-height: min(68vh, 520px); overflow: auto;
    background: white; border: 1px solid var(--line);
    border-radius: 28px; padding: 8px 12px 14px;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
    visibility: hidden; pointer-events: none;
    transform: translateY(110%);
    transition: transform 300ms var(--ease-drawer), visibility 300ms;
  }
  .nav::before {
    content: ""; display: block; width: 44px; height: 4px; margin: 6px auto 8px;
    border-radius: 999px; background: #d6d3d1;
  }
  header.site.is-open .nav {
    visibility: visible; pointer-events: auto; transform: translateY(0);
  }
  header.site.is-open .nav-item { animation: rise 320ms var(--ease-drawer) both; }
  header.site.is-open .nav-item:nth-child(2) { animation-delay: 40ms; }
  header.site.is-open .nav-item:nth-child(3) { animation-delay: 80ms; }
  header.site.is-open .nav-item:nth-child(4) { animation-delay: 120ms; }
  header.site.is-open .nav-item:nth-child(5) { animation-delay: 160ms; }
  .mega, .nav-item.is-open .mega { position: static; display: none; width: auto; box-shadow: none; border: 0; padding: 0 0 8px 8px; }
  .nav-item.is-open .mega { display: grid; grid-template-columns: 1fr; }
  .menu-toggle { display: inline-flex; }
  .bar-cta .btn-ghost { display: none; }
  .compare div { grid-template-columns: 1fr; }
}

.stage {
  background:
    linear-gradient(var(--cream), var(--cream)) 10px 10px / 22px 1px no-repeat,
    linear-gradient(var(--cream), var(--cream)) 10px 10px / 1px 22px no-repeat,
    linear-gradient(var(--cream), var(--cream)) right 10px top 10px / 22px 1px no-repeat,
    linear-gradient(var(--cream), var(--cream)) right 10px top 10px / 1px 22px no-repeat,
    linear-gradient(var(--cream), var(--cream)) 10px bottom 10px / 22px 1px no-repeat,
    linear-gradient(var(--cream), var(--cream)) 10px bottom 10px / 1px 22px no-repeat,
    linear-gradient(var(--cream), var(--cream)) right 10px bottom 10px / 22px 1px no-repeat,
    linear-gradient(var(--cream), var(--cream)) right 10px bottom 10px / 1px 22px no-repeat,
    var(--navy);
  border-radius: 28px;
  padding: 18px 14px 14px;
  box-shadow: var(--shadow);
  animation: plate 800ms var(--ease-out) both;
}
@keyframes plate {
  from { background-size: 0 1px, 1px 0, 0 1px, 1px 0, 0 1px, 1px 0, 0 1px, 1px 0, auto; }
  to { background-size: 22px 1px, 1px 22px, 22px 1px, 1px 22px, 22px 1px, 1px 22px, 22px 1px, 1px 22px, auto; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.stage-frame { position: relative; border-radius: 16px; overflow: hidden; background: var(--paper); }
.stage-shot {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  background: var(--paper);
  cursor: zoom-in;
}
.stage-overlay {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; opacity: 0; pointer-events: none;
  transition: opacity 200ms var(--ease-out);
}
.stage figcaption { color: #c5d0dc; font-size: 14px; margin: 10px 4px 0; }
.shot-pill, .dock-pill {
  display: flex; gap: 2px; align-items: center;
  width: max-content; max-width: 100%; overflow-x: auto;
  background: rgba(10, 18, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}
.hero-grid > *, .split > *, .cards-3 > *, .cards-2 > *, .pay > *, .why > *, .stage, .card, .shot-frame, .table-wrap {
  min-width: 0; max-width: 100%;
}
.shot-pill {
  margin: 12px auto 0; width: 100%;
  scrollbar-width: none; -ms-overflow-style: none;
}
.shot-pill::-webkit-scrollbar { display: none; height: 0; }
.shot-pill button, .dock-pill a, .dock-pill button {
  border: 0; background: transparent; color: rgba(255, 255, 255, 0.82);
  border-radius: 999px; min-height: 36px; padding: 0 12px;
  font-size: 13px; font-weight: 650; cursor: pointer; white-space: nowrap;
  text-decoration: none; flex: 0 0 auto; width: auto;
  transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms cubic-bezier(0.16, 1, 0.3, 1), color 150ms cubic-bezier(0.16, 1, 0.3, 1);
}
.has-thumb { position: relative; }
.pill-thumb {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  border-radius: 999px; background: #fff;
  pointer-events: none; z-index: 0; opacity: 0;
  transition: transform 220ms var(--ease-in-out), width 220ms var(--ease-in-out), height 220ms var(--ease-in-out), opacity 160ms var(--ease-out);
}
.tabs.has-thumb {
  background: white; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 0;
}
.tabs .pill-thumb { background: var(--navy); }
.tabs.has-thumb button { background: transparent; border-color: transparent; }
.has-thumb > button, .has-thumb > a { position: relative; z-index: 2; }
.shot-pill button[aria-selected="true"],
.dock-pill a[aria-current="page"],
.dock-pill button.is-on {
  background: white; color: #0a1220;
}
.shot-pill.has-thumb button[aria-selected="true"],
.dock-pill.has-thumb a[aria-current="page"],
.dock-pill.has-thumb button.is-on {
  background: transparent;
}
.tabs.has-thumb button[aria-selected="true"] {
  background: transparent; color: var(--cream); border-color: transparent;
}
.shot-pill button:active, .dock-pill a:active, .dock-pill button:active { transform: scale(0.96); }
.shot-frame { margin: 8px 0 22px; }
.shot-frame img {
  width: 100%; border-radius: 18px; border: 1px solid var(--line); background: white;
}
.shot-frame figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
.lightbox {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(10, 18, 32, 0.78);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
}
.lightbox.is-in { opacity: 1; }
.lightbox.is-out { opacity: 0; }
.lightbox img {
  max-width: min(1120px, 100%);
  max-height: 86vh;
  border-radius: 16px;
  transform: scale(0.96);
  transition: transform 200ms var(--ease-out);
}
.lightbox.is-in img { transform: none; }
.lightbox button {
  position: absolute; top: 16px; right: 16px;
  border: 0; border-radius: 999px; min-height: 40px; padding: 0 14px;
  background: white; color: var(--navy); cursor: pointer; font-weight: 650;
}
.dock { display: none; }
@media (max-width: 980px) {
  body { padding-bottom: 92px; }
  .dock {
    display: flex; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
    justify-content: center; pointer-events: none;
    padding: 0 16px calc(14px + env(safe-area-inset-bottom, 0px));
  }
  .dock-pill { pointer-events: auto; }
  .dock-pill a, .dock-pill button {
    width: 44px; height: 44px; min-height: 44px; padding: 0;
    display: flex; align-items: center; justify-content: center;
  }
}
.page-hero h1 { animation: rise 640ms var(--ease-out) both; }
html.motion [data-kinetic] .k-mask { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
html.motion [data-kinetic] .k-word { display: block; transform: translateY(110%); }
html.motion [data-kinetic].is-in .k-word { animation: k-in 640ms var(--ease-out) both; }
@keyframes k-in { from { transform: translateY(110%); } to { transform: none; } }
html.motion [data-stagger] > * { opacity: 0; transform: translateY(18px); }
html.motion [data-stagger].is-in > * { animation: rise 640ms var(--ease-out) both; }
html.motion [data-stagger].is-in > *:nth-child(2) { animation-delay: 80ms; }
html.motion [data-stagger].is-in > *:nth-child(3) { animation-delay: 160ms; }
html.motion [data-fan] { perspective: 900px; }
html.motion [data-fan] > * { opacity: 0; transform: rotateY(8deg) translateY(10px); }
html.motion [data-fan].is-in > * { animation: fan 640ms var(--ease-out) both; }
html.motion [data-fan].is-in > *:nth-child(2) { animation-delay: 70ms; }
html.motion [data-fan].is-in > *:nth-child(3) { animation-delay: 140ms; }
html.motion [data-fan].is-in > *:nth-child(4) { animation-delay: 210ms; }
@keyframes fan {
  from { opacity: 0; transform: rotateY(8deg) translateY(10px); }
  to { opacity: 1; transform: none; }
}
html.motion [data-wipe] { clip-path: inset(14% 14% 14% 14% round 24px); }
html.motion [data-wipe].is-in { animation: iris 720ms var(--ease-out) both; }
@keyframes iris {
  from { clip-path: inset(14% 14% 14% 14% round 24px); }
  to { clip-path: inset(0 0 0 0 round 24px); }
}
html.motion [data-rise] > * { clip-path: inset(0 100% 0 0); }
html.motion [data-rise].is-in > * { animation: wipe-x 680ms var(--ease-out) both; }
html.motion [data-rise].is-in > *:nth-child(2) { animation-delay: 60ms; }
html.motion [data-rise].is-in > *:nth-child(3) { animation-delay: 120ms; }
html.motion [data-rise].is-in > *:nth-child(4) { animation-delay: 180ms; }
html.motion [data-rise].is-in > *:nth-child(5) { animation-delay: 240ms; }
html.motion [data-rise].is-in > *:nth-child(6) { animation-delay: 300ms; }
@keyframes wipe-x { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
html.motion .band .stat b { position: relative; display: inline-block; }
html.motion .band .stat b::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--cream); transform: scaleX(0); transform-origin: left;
}
html.motion .band.is-in .stat b::after { animation: rule 560ms var(--ease-out) forwards; }
html.motion .band.is-in .stat:nth-child(3) b::after { animation-delay: 90ms; }
html.motion .band.is-in .stat:nth-child(4) b::after { animation-delay: 180ms; }
@keyframes rule { to { transform: scaleX(1); } }
.scroll-bar {
  position: fixed; z-index: 60; top: 0; left: 0; width: 100%; height: 2px;
  background: var(--navy); transform: scaleX(0); transform-origin: left center; pointer-events: none;
}
header.site .brand img { animation: logo-in 640ms var(--ease-out) both; }
@keyframes logo-in { from { opacity: 0; transform: rotate(-8deg) scale(0.94); } to { opacity: 1; transform: none; } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 72%) var(--my, 36%), rgba(11, 28, 51, 0.075), transparent 64%);
}
.hero .kicker { animation: rise 520ms var(--ease-out) both; }
.hero .btn-teal { position: relative; overflow: hidden; }
.hero .btn-teal::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 28%, rgba(255,255,255,0.38) 50%, transparent 72%);
  transform: translateX(-120%);
  animation: sheen 900ms var(--ease-out) 0.65s both;
}
@keyframes sheen { to { transform: translateX(120%); } }
.stage figcaption.is-swap, #slot-result.is-swap { animation: cap-in 200ms var(--ease-out); }
@keyframes cap-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tab-panel.is-on li { animation: rise 420ms var(--ease-out) both; }
.tab-panel.is-on li:nth-child(2) { animation-delay: 50ms; }
.tab-panel.is-on li:nth-child(3) { animation-delay: 100ms; }
.tab-panel.is-on li:nth-child(4) { animation-delay: 150ms; }
.tab-panel.is-on tbody tr { animation: rise 400ms var(--ease-out) both; }
.tab-panel.is-on tbody tr:nth-child(2) { animation-delay: 45ms; }
.tab-panel.is-on tbody tr:nth-child(3) { animation-delay: 90ms; }
.tab-panel.is-on tbody tr:nth-child(4) { animation-delay: 135ms; }
.tooth-rail { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255,255,255,0.45); }
.tooth-rail-track { display: flex; gap: 56px; width: max-content; padding: 9px 0; animation: rail 46s linear infinite; }
.tooth-rail span { color: var(--navy); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; white-space: nowrap; }
@keyframes rail { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.foot-grid > div {
  animation: rise 640ms var(--ease-out) both;
  animation-timeline: view();
  animation-range: entry 8% cover 28%;
}
.foot-grid > div:nth-child(2) { animation-range: entry 14% cover 34%; }
.foot-grid > div:nth-child(3) { animation-range: entry 20% cover 40%; }
.foot-grid > div:nth-child(4) { animation-range: entry 26% cover 46%; }
.foot-grid > div:nth-child(5) { animation-range: entry 32% cover 52%; }
.card .shot-frame { overflow: hidden; border-radius: 18px; }
html.motion [data-from-right] { opacity: 0; transform: translateX(18px); }
html.motion [data-from-right].is-in { animation: from-right 640ms var(--ease-out) both; }
@keyframes from-right { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
html.motion [data-sides] > :nth-child(odd) { opacity: 0; transform: translateX(-16px); }
html.motion [data-sides] > :nth-child(even) { opacity: 0; transform: translateX(16px); }
html.motion [data-sides].is-in > :nth-child(odd) { animation: from-left 560ms var(--ease-out) both; }
html.motion [data-sides].is-in > :nth-child(even) { animation: from-right 560ms var(--ease-out) both; }
html.motion [data-sides].is-in > :nth-child(2) { animation-delay: 70ms; }
html.motion [data-sides].is-in > :nth-child(3) { animation-delay: 140ms; }
html.motion [data-sides].is-in > :nth-child(4) { animation-delay: 210ms; }
@keyframes from-left { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (pointer: fine) {
  .nav-btn { position: relative; }
  .nav-btn::after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: left;
    transition: transform 180ms var(--ease-out);
  }
  .nav-btn:hover::after, .nav-item.is-open .nav-btn::after { transform: scaleX(1); }
  .card .shot-frame img { transition: transform 420ms var(--ease-out); }
  .card:hover .shot-frame img { transform: scale(1.04); }
  .tooth-rail:hover .tooth-rail-track { animation-play-state: paused; }
}
html.motion [data-settle] { opacity: 0; transform: translateY(14px) scale(0.98); }
html.motion [data-settle].is-in { animation: rise 640ms var(--ease-out) both; }
html.motion [data-pan-clip] { overflow: hidden; }
@media (min-width: 981px) {
  html.motion [data-pan] { overflow: visible; scroll-snap-type: none; }
}
@media (max-width: 980px) {
  .nav {
    --fade-top: 0px;
    --fade-bot: 0px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fade-top), #000 calc(100% - var(--fade-bot)), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fade-top), #000 calc(100% - var(--fade-bot)), transparent 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  html.motion [data-stagger] > *,
  html.motion [data-fan] > *,
  html.motion [data-kinetic] .k-word,
  html.motion [data-settle],
  html.motion [data-from-right],
  html.motion [data-sides] > * {
    opacity: 1 !important;
    transform: none !important;
  }
  html.motion [data-wipe],
  html.motion [data-rise] > * { clip-path: none !important; }
  .arch-line, .arch-tick { stroke-dashoffset: 0 !important; }
  .arch-dot { opacity: 0.85 !important; }
  html.motion .band .stat b::after { transform: none !important; }
}
