/* Find Out DNA and Drug Testing. Fluid Light. Mobile first, min-width queries only.
   Palette is taken from the logo: deep navy, teal, cyan. Contrast pairs are declared in site.json and computed by the check. */
:root {
  --white: #FFFFFF;
  --paper: #F7FAFC;
  --mist: #E8F4F4;
  --sky: #E9F0FA;
  --glass-worst: #DDEEF2;
  --ink: #0B2A5B;
  --body: #24364F;
  --slate: #4A5A70;
  --teal: #12897F;
  --teal-deep: #0B6B63;
  --cyan: #1B9AD6;
  --night: #082045;
  --ice: #D3E4F5;
  --rule: #6B7C93;
  --line: #CBD8E3;
  --error: #A3221B;
  --radius: 20px;
  --radius-sm: 12px;
  --display: "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", sans-serif;
  --text: "Hanken Grotesk", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --gutter: 20px;
  --max: 1180px;
  --bg: var(--paper);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; scroll-padding-bottom: 96px; }
body { margin: 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; color: var(--body); background: var(--bg); transition: background-color .6s linear; overflow-x: clip; padding-bottom: 76px; }
body.page-book, body.page-404 { padding-bottom: 0; }
img, svg, canvas { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 8.4vw, 4.1rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 5.6vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 3.6vw, 1.45rem); line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }
a { color: var(--teal-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
strong { color: var(--ink); font-weight: 650; }
address { font-style: normal; margin-bottom: 1em; }
:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; border-radius: 6px; }
.band-night :focus-visible { outline-color: var(--ice); }
::selection { background: var(--ink); color: var(--white); }
[hidden] { display: none !important; }
.sprite { position: absolute; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--white); }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow, .kicker { font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); margin: 0 0 1em; display: flex; align-items: center; gap: 10px; }
.eyebrow::before, .kicker::before { content: ""; width: 22px; height: 8px; flex: none; background: radial-gradient(circle at 4px 4px, var(--teal) 3.5px, transparent 4px), radial-gradient(circle at 18px 4px, var(--ink) 3.5px, transparent 4px), linear-gradient(var(--teal), var(--teal)) center / 10px 1.5px no-repeat; }
.lede { font-size: clamp(1.08rem, 3.2vw, 1.25rem); line-height: 1.55; color: var(--body); max-width: 62ch; }
.muted { color: var(--slate); }
.small { font-size: .92rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font: 650 1rem/1.2 var(--text); text-decoration: none; cursor: pointer; text-align: center; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--teal-deep); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--ice); color: var(--ink); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: .95rem; }
.btn[disabled] { opacity: .7; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.cta-row .btn { flex: 1 1 100%; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; min-height: 24px; }
.text-link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* header: white, because the logo has a white ground */
.site-header { position: sticky; top: 0; z-index: 100; background: #FEFEFE; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1320px; margin-inline: auto; padding: 8px var(--gutter); min-height: 68px; }
.brand { display: block; flex: none; border-radius: 8px; }
.brand img { height: 50px; width: auto; }
.site-nav { display: none; }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .97rem; text-decoration: none; }
.nav-list a:hover { background: var(--mist); }
.nav-list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--teal); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-tel { display: none; font-weight: 650; color: var(--ink); min-height: 44px; align-items: center; padding: 0 8px; }
.header-book { display: none; }
.menu-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); font: 650 .95rem var(--text); cursor: pointer; }
.menu-toggle-bars { display: grid; gap: 5px; width: 18px; }
.menu-toggle-bars span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.site-menu { position: absolute; left: 0; right: 0; top: 100%; background: #FEFEFE; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(11, 42, 91, .35); max-height: calc(100vh - 68px); max-height: calc(100svh - 68px); overflow-y: auto; padding: 8px var(--gutter) 24px; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { margin: 0; border-bottom: 1px solid var(--line); }
.menu-list a { display: flex; align-items: center; min-height: 52px; color: var(--ink); font: 650 1.15rem var(--display); text-decoration: none; }
.menu-list a[aria-current="page"] { color: var(--teal-deep); }
.menu-foot { display: grid; gap: 10px; margin-top: 18px; }

/* sections and tinted grounds (the page background eases between them, text stays ink) */
.section { padding: 64px 0; position: relative; }
.section-head { max-width: 46rem; margin-bottom: 32px; }
.section-head p { font-size: 1.1rem; }
.bg-white { background: var(--white); }
.bg-mist { background: var(--mist); }
.bg-sky { background: var(--sky); }
.js .section[data-bg] { background: transparent; }
.split { display: grid; gap: 32px; }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 4.6vw, 2.1rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose li { margin-bottom: .55em; }

/* base pair rule: the divider used between ideas */
.pair-rule { height: 14px; margin: 0 0 28px; background: radial-gradient(circle at 5px 7px, var(--teal) 4.5px, transparent 5px) 0 0 / 44px 14px repeat-x, radial-gradient(circle at 29px 7px, var(--ink) 4.5px, transparent 5px) 0 0 / 44px 14px repeat-x, linear-gradient(var(--line), var(--line)) 0 6px / 100% 2px no-repeat; max-width: 220px; }

/* home hero: living gradient, frosted card, turning helix */
.hero { position: relative; overflow: clip; padding: 28px 0 56px; background: linear-gradient(160deg, #D5EEF2 0%, #EAF3FB 45%, #FFFFFF 100%); }
.fluid { position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 55% at 85% 10%, #BFE6E2 0%, transparent 70%), radial-gradient(55% 60% at 5% 90%, #C6DBF5 0%, transparent 70%), linear-gradient(160deg, #D5EEF2 0%, #EEF5FC 50%, #FFFFFF 100%); }
.fluid canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s linear; }
.fluid.is-gl canvas { opacity: 1; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 24px; }
.glass { background: rgba(255, 255, 255, .84); border: 1px solid rgba(255, 255, 255, .9); border-radius: 28px; padding: 26px 22px 28px; box-shadow: 0 30px 60px -40px rgba(11, 42, 91, .45); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); } }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--teal-deep); }
.trust-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 1.5em 0 0; }
.trust-chips li { margin: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .9rem; }
.trust-chips svg { width: 18px; height: 18px; color: var(--teal); }
.hero-art { position: relative; min-height: 250px; border-radius: 28px; overflow: hidden; background: linear-gradient(150deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .15)); border: 1px solid rgba(255, 255, 255, .8); }
.helix { position: absolute; inset: 0; width: 100%; height: 100%; }
.helix .strand-a { stroke: var(--ink); }
.helix .strand-b { stroke: var(--teal); }
.helix .rung { stroke: var(--cyan); }
.helix .node-a { fill: var(--ink); }
.helix .node-b { fill: var(--teal); }
.helix .rung.is-dim, .helix .node-a.is-dim, .helix .node-b.is-dim { opacity: .18; }
.helix .rung, .helix circle { transition: opacity .5s linear; }
.hero-art-label { position: absolute; left: 16px; bottom: 14px; right: 16px; display: flex; justify-content: space-between; gap: 12px; color: var(--ink); margin: 0; }
.fluid-toggle { position: absolute; z-index: 2; right: var(--gutter); bottom: 12px; min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); font: 600 .8rem var(--text); cursor: pointer; }
.wave { display: block; width: 100%; height: 44px; margin-top: -43px; position: relative; z-index: 1; pointer-events: none; }
.wave path { fill: var(--paper); }

/* inner page hero */
.page-hero { position: relative; overflow: clip; padding: 22px 0 44px; background: linear-gradient(165deg, #DDF0F1 0%, #EDF3FB 55%, var(--paper) 100%); }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(27, 154, 214, .22), transparent 68%); pointer-events: none; }
.page-hero-grid { position: relative; z-index: 1; display: grid; gap: 24px; }
.page-hero h1 { font-size: clamp(2rem, 7.4vw, 3.4rem); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 18px; padding: 0; font-size: .88rem; color: var(--slate); }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 24px; }
.crumbs li + li::before { content: "/"; color: var(--rule); }
.crumbs a { color: var(--slate); display: inline-flex; align-items: center; min-height: 24px; }
.hero-strand { display: none; }
.answer-q { display: block; font: 700 1.02rem var(--display); color: var(--ink); margin-bottom: 6px; letter-spacing: 0; }
.page-hero .lede.has-answer, .page-hero .lede:has(.answer-q) { background: var(--white); border-radius: var(--radius); padding: 18px 20px; border-left: 5px solid var(--teal); font-size: 1.06rem; box-shadow: 0 20px 40px -32px rgba(11, 42, 91, .4); }
.hero-aside { position: relative; border-radius: 24px; background: var(--white); border: 1px solid var(--line); padding: 20px; display: grid; gap: 14px; align-content: start; }
.hero-aside-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--mist); color: var(--teal-deep); display: grid; place-items: center; }
.hero-aside-icon svg { width: 34px; height: 34px; }
.hero-aside h2 { font-size: 1.15rem; margin: 0; letter-spacing: 0; }
.hero-aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hero-aside li { margin: 0; display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: .97rem; }
.hero-aside li svg { width: 20px; height: 20px; color: var(--teal); margin-top: 3px; }

/* bento */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 190px; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--body); text-decoration: none; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.tile:hover, .tile:focus-visible { transform: translateY(-3px); box-shadow: 0 26px 44px -30px rgba(11, 42, 91, .5); border-color: var(--teal); color: var(--body); }
.tile-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tile-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--mist); color: var(--teal-deep); display: grid; place-items: center; flex: none; }
.tile-icon svg { width: 30px; height: 30px; }
.tile-kicker { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin: 0; text-align: right; }
.tile-word { font: 750 clamp(1.8rem, 7vw, 2.5rem)/1 var(--display); letter-spacing: -0.03em; color: var(--ink); margin: 0 0 8px; display: block; }
.tile-text { display: block; margin: 0; font-size: .98rem; }
.tile > span { display: block; }
.tile > .tile-top { display: flex; }
.tile .tile-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 650; color: var(--teal-deep); }
.tile-go svg { width: 18px; height: 18px; }
.tile-ink { background: var(--ink); border-color: var(--ink); color: var(--ice); }
.tile-ink:hover, .tile-ink:focus-visible { color: var(--ice); border-color: var(--cyan); }
.tile-ink .tile-word { color: var(--white); }
.tile-ink .tile-kicker { color: var(--ice); }
.tile-ink .tile-go { color: var(--white); }
.tile-ink .tile-icon { background: rgba(255, 255, 255, .12); color: var(--white); }
.tile-mist { background: var(--mist); }
.tile-mist .tile-icon { background: var(--white); }
.tile-sky { background: var(--sky); }
.tile-sky .tile-icon { background: var(--white); }

/* cards */
.cards { display: grid; gap: 14px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: .45em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-num { font: 500 .78rem var(--mono); letter-spacing: .1em; color: var(--teal-deep); display: block; margin-bottom: 12px; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--mist); color: var(--teal-deep); display: grid; place-items: center; margin-bottom: 14px; }
.card-icon svg { width: 28px; height: 28px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ticks li { margin: 0; display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.ticks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--teal-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.note { border-radius: var(--radius-sm); background: var(--sky); border-left: 5px solid var(--ink); padding: 16px 18px; color: var(--body); }
.note p:last-child { margin-bottom: 0; }
.qa-item h2 { font-size: clamp(1.35rem, 4.2vw, 1.75rem); margin-bottom: .4em; }
.qa-item { padding: 22px 0; border-top: 1px solid var(--line); max-width: 46rem; }
.qa-item:first-child { border-top: 0; padding-top: 0; }
.qa-item p:last-child { margin-bottom: 0; }

/* pinned story: sticky visual on desktop, stacked cards on mobile */
.story { display: grid; gap: 24px; }
.story-visual { display: none; }
.story-panels { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.story-panel { margin: 0; }
.story-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.story-panel .card-num { font-size: .8rem; }
.story-panel p:last-child { margin-bottom: 0; }

/* audiences */
.duo { display: grid; gap: 14px; }
.duo-card { border-radius: 28px; padding: 28px 22px; background: var(--white); border: 1px solid var(--line); }
.duo-card.is-ink { background: var(--ink); border-color: var(--ink); color: var(--ice); }
.duo-card.is-ink h3, .duo-card.is-ink strong { color: var(--white); }
.duo-card.is-ink .kicker { color: var(--ice); }
.duo-card.is-ink .kicker::before { background: radial-gradient(circle at 4px 4px, var(--ice) 3.5px, transparent 4px), radial-gradient(circle at 18px 4px, var(--white) 3.5px, transparent 4px); }
.duo-card.is-ink .ticks li::before { background-color: var(--ice); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%230B2A5B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.duo-card h3 { font-size: clamp(1.5rem, 5vw, 2rem); }

/* three words */
.words { display: grid; gap: 14px; }
.word-card { border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); padding: 24px 22px; }
.word-card .word { font: 750 clamp(2rem, 8vw, 2.8rem)/1 var(--display); letter-spacing: -0.03em; color: var(--ink); display: block; margin-bottom: 12px; }
.word-card .word::after { content: "."; color: var(--teal); }
.word-card p { margin: 0; }

/* service area */
.area { display: grid; gap: 24px; align-items: center; }
.area-map { border-radius: 28px; background: var(--white); border: 1px solid var(--line); padding: 14px; }
.area-map svg { display: block; width: 100%; height: auto; }
.area-map .road { stroke: var(--line); stroke-width: 6; fill: none; stroke-linecap: round; }
.area-map .ring { fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-dasharray: 3 7; }
.area-map .dot { fill: var(--ink); }
.area-map .home { fill: var(--teal-deep); }
.area-map text { font: 600 13px var(--text); fill: var(--ink); }
.area-map .home-label { font: 750 16px var(--display); }
.area-map .road-label { font: 500 10px var(--mono); fill: var(--slate); letter-spacing: .08em; }
.town-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 8px; }
.town-list li { margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .93rem; }

/* learn */
.post-cards { display: grid; gap: 14px; }
.post-card { display: grid; gap: 10px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); padding: 24px 22px; align-content: start; }
.post-card h3 { margin: 0; font-size: 1.35rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; }
.post-card p { margin: 0; }
.compare { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; font-size: .97rem; }
.compare caption { text-align: left; font-weight: 650; color: var(--ink); padding: 0 0 10px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--ink); color: var(--white); font-family: var(--display); }
.compare tbody th { color: var(--ink); font-weight: 650; width: 30%; }
.table-wrap { overflow-x: auto; margin-bottom: 1.4em; border-radius: var(--radius-sm); }
.table-wrap:focus-visible { outline-offset: 4px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.steps li { counter-increment: s; margin: 0; position: relative; padding: 16px 18px 16px 62px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 16px; top: 16px; font: 500 .85rem var(--mono); color: var(--white); background: var(--teal-deep); border-radius: 999px; padding: 4px 9px; }
.steps li strong { display: block; }
.byline { font-size: .92rem; color: var(--slate); }

/* faq */
.faq-list { max-width: 50rem; display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 18px; font: 650 1.06rem/1.3 var(--display); color: var(--ink); border-radius: var(--radius-sm); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%230B6B63' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 18px 18px; max-width: 44rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* night band */
.band-night { background: var(--night); color: var(--ice); border-radius: 32px; padding: 40px 24px; position: relative; overflow: hidden; }
.band-night h2 { color: var(--white); }
.band-night p { color: var(--ice); max-width: 40rem; }
.band-night a:not(.btn) { color: var(--white); }
.band-night .btn-primary { background: var(--ice); color: var(--ink); }
.band-night .btn-primary:hover { background: var(--white); color: var(--ink); }
.band-night .btn-ghost { background: transparent; color: var(--white); border-color: var(--ice); }
.band-night .btn-ghost:hover { background: var(--white); color: var(--ink); }
.band-night::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(27, 154, 214, .35), transparent 68%); pointer-events: none; }
.band-night > * { position: relative; z-index: 1; }
.band-wrap { padding: 24px 0 64px; }

/* forms */
.form-shell { display: grid; gap: 24px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 24px 20px; box-shadow: 0 30px 60px -44px rgba(11, 42, 91, .45); }
.lead-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.lead-form legend { font: 700 1.35rem/1.2 var(--display); color: var(--ink); padding: 0; margin-bottom: 16px; }
.field { margin-bottom: 16px; }
.field label, .field .label { display: block; font-weight: 650; color: var(--ink); margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font: 400 1rem/1.4 var(--text); }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230B2A5B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; border-color: var(--teal-deep); border-radius: var(--radius-sm); }
.field-row { display: grid; gap: 0; }
.field-hint { font-size: .93rem; color: var(--slate); margin: -6px 0 16px; }
.field-error { color: var(--error); font-weight: 600; font-size: .95rem; margin: 6px 0 0; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error); border-width: 2px; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 4px 12px; align-items: start; margin-bottom: 14px; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--teal-deep); }
.check label { font-size: .95rem; color: var(--body); }
.check .field-error { grid-column: 2; margin-top: 0; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.no-medical { display: grid; grid-template-columns: 26px 1fr; gap: 10px; border-radius: var(--radius-sm); background: var(--sky); padding: 14px 16px; margin-bottom: 18px; font-size: .96rem; color: var(--body); }
.no-medical svg { width: 24px; height: 24px; color: var(--ink); margin-top: 2px; }
.no-medical p { margin: 0; }
.step-head { margin-bottom: 20px; }
.step-dots { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 12px; }
.step-dots li { margin: 0; flex: 1; font: 500 .72rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); padding-top: 10px; border-top: 4px solid var(--line); }
.step-dots li.is-current { color: var(--ink); border-top-color: var(--teal); }
.step-dots li.is-done { color: var(--teal-deep); border-top-color: var(--teal-deep); }
.step-label { margin: 0 0 8px; color: var(--slate); }
.step-progress { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.step-progress span { display: block; height: 100%; width: 100%; background: var(--teal); transform-origin: left center; transform: scaleX(.333); transition: transform .35s var(--ease); }
.step-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.step-nav .btn { flex: 1 1 auto; }
.lead-error { border-radius: var(--radius-sm); border: 2px solid var(--error); background: var(--white); color: var(--error); padding: 14px 16px; margin: 0 0 16px; font-weight: 600; }
.lead-error p { margin: 0; }
.lead-success { border-radius: var(--radius); background: var(--mist); border: 1px solid var(--teal); padding: 26px 22px; color: var(--body); }
.lead-success-h { font-size: 1.7rem; }
.lead-success [data-lead-ref] { font-family: var(--mono); color: var(--ink); background: var(--white); padding: 2px 8px; border-radius: 6px; }
.lead-success p:last-child { margin-bottom: 0; }
.calendar-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 14px 8px; overflow: hidden; }
.calendar-card iframe { width: 100%; min-height: 720px; border: 0; display: block; }
.side-stack { display: grid; gap: 14px; align-content: start; }

/* footer: white, the logo sits here too */
.site-footer { background: #FEFEFE; border-top: 1px solid var(--line); padding: 48px 0 28px; color: var(--body); font-size: .97rem; }
.footer-grid { display: grid; gap: 32px; }
.footer-logo { width: 240px; margin: 0 0 16px -6px; }
.footer-h { font: 700 1rem var(--display); letter-spacing: 0; color: var(--ink); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 36px; color: var(--body); text-decoration: none; }
.site-footer nav a:hover { color: var(--teal-deep); text-decoration: underline; }
.footer-base { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--slate); font-size: .9rem; }
.footer-base p { margin: 0 0 8px; max-width: 60rem; }
.footer-legal a { display: inline-flex; min-height: 24px; align-items: center; margin-left: 6px; }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -18px 30px -24px rgba(11, 42, 91, .4); }
.mobile-bar .btn { flex: 1; }
.mobile-bar .btn-ghost { flex: 0 0 auto; }
.page-book .mobile-bar, .page-404 .mobile-bar, .menu-open .mobile-bar { display: none; }

/* 404 */
.lost { padding: 72px 0 96px; text-align: left; }
.lost .mono { color: var(--teal-deep); }

/* reveal: the hidden state exists only once JS has said it will reveal it */
.js .reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

@media (min-width: 560px) {
  :root { --gutter: 28px; }
  .cta-row .btn { flex: 0 1 auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cards.cols-2, .cards.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .post-cards { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; gap: 14px; }
  .form-card { padding: 32px 30px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; max-width: 34rem; }
  .words { grid-template-columns: repeat(3, 1fr); }
  .brand img { height: 56px; }
}
@media (min-width: 860px) {
  .section { padding: 96px 0; }
  .hero { padding: 48px 0 96px; }
  .hero-grid { grid-template-columns: 1.25fr .75fr; gap: 28px; align-items: stretch; }
  .glass { padding: 44px 44px 46px; }
  .hero-art { min-height: 480px; }
  .wave { height: 70px; margin-top: -69px; }
  .page-hero { padding: 32px 0 72px; }
  .page-hero-grid { grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: end; }
  .hero-strand { display: block; position: relative; height: 340px; align-self: center; border-radius: 28px; background: linear-gradient(150deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .2)); border: 1px solid rgba(255, 255, 255, .9); overflow: hidden; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .split.wide-left { grid-template-columns: 1.3fr .7fr; }
  .bento { grid-template-columns: repeat(12, 1fr); gap: 16px; }
  .tile { grid-column: span 4; min-height: 230px; padding: 26px; }
  .tile.w-5 { grid-column: span 5; }
  .tile.w-7 { grid-column: span 7; }
  .tile.w-6 { grid-column: span 6; }
  .tile.w-3 { grid-column: span 3; }
  .tile.w-8 { grid-column: span 8; }
  .cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .duo { grid-template-columns: 1fr 1fr; gap: 16px; }
  .duo-card { padding: 40px 36px; }
  .area { grid-template-columns: 1fr 1fr; gap: 56px; }
  .band-night { padding: 64px 56px; }
  .form-shell { grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
  .form-shell.calendar-first { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: auto; }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  html { scroll-padding-bottom: 24px; }
  /* the pinned story */
  .story { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
  .story-visual { display: block; position: sticky; top: 108px; height: calc(100vh - 148px); max-height: 620px; min-height: 420px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
  .story-visual .helix { inset: 0 0 64px 0; height: calc(100% - 64px); }
  .story-count { position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; align-items: baseline; margin: 0; color: var(--ink); }
  .story-count b { font: 750 2rem/1 var(--display); letter-spacing: -0.03em; }
  .story-panels { gap: 20px; }
  .story-panel { min-height: min(46vh, 440px); display: flex; flex-direction: column; justify-content: center; padding: 40px 36px; transition: border-color .4s, box-shadow .4s; }
  .story-panel.is-active { border-color: var(--teal); box-shadow: 0 30px 60px -44px rgba(11, 42, 91, .5); }
}
@media (min-width: 1000px) {
  .site-nav { display: block; }
  .menu-toggle { display: none; }
  .header-book { display: inline-flex; }
  .header-tel { display: inline-flex; }
  .brand img { height: 66px; }
  .header-inner { min-height: 84px; }
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  body { transition: none; }
  .fluid canvas { display: none; }
  .fluid-toggle { display: none; }
}
@media (forced-colors: active) {
  .btn, .tile, .card, .faq-item, .form-card { border: 1px solid CanvasText; }
  .ticks li::before, .faq-item summary::after { forced-color-adjust: none; }
}
@media print {
  .site-header, .mobile-bar, .fluid, .band-wrap, .site-footer nav { display: none; }
  body { background: #fff; padding: 0; }
}
