@font-face { font-family: "Bricolage"; src: url(../assets/fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../assets/fonts/figtree.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  /* two grounds only: pale glass and deep forest. Pink is the fittonia vein, used sparingly. */
  --paper: #eef1ea;  --paper-2: #e3e8de;  --card: #f9fbf6;
  --ink: #0f2419;    --ink-2: rgb(15 36 25 / .64);  --line: rgb(15 36 25 / .1);
  --forest: #0f2a1c; --forest-2: #17392a; --forest-3: #1f4533;
  --on-dark: #e8efe4; --on-dark-2: rgb(232 239 228 / .66);
  --pink: #c9496a;   --pink-soft: #f2b4c3;
  --leaf: #a9d08a;

  --f-display: "Bricolage", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, sans-serif;
  --r-sm: 14px; --r-md: 20px; --r-lg: 28px; --r-xl: 44px;
  --shadow: 0 1px 2px rgb(15 36 25 / .05), 0 22px 50px -28px rgb(15 36 25 / .4);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  --gutter: clamp(20px, 4.5vw, 72px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { font: 400 1.0625rem/1.6 var(--f-body); color: var(--ink); background: var(--paper); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }
.skip { position: fixed; left: -999px; top: 8px; z-index: 100; background: var(--card); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 16px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 760; letter-spacing: -.04em; line-height: .95; text-wrap: balance; }
h2 { font-size: clamp(2.8rem, 6.2vw, 6.4rem); }
h3 { font-size: clamp(1.45rem, 2vw, 1.9rem); font-weight: 720; letter-spacing: -.025em; line-height: 1.08; }
.split .line { padding-bottom: .08em; margin-bottom: -.08em; }
.wrap { width: min(1360px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fine { font-size: .9375rem; color: var(--ink-2); }
.dark .fine { color: var(--on-dark-2); }

/* ---------- pills ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font-weight: 650; font-size: 1rem; white-space: nowrap; transition: transform .45s var(--spring), background-color .25s, box-shadow .25s, color .25s; }
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: scale(.97); }
.pill-ink { background: var(--ink); color: var(--card); }
.pill-ink:hover { background: var(--forest-3); }
.pill-pink { background: var(--pink); color: #fff; box-shadow: 0 12px 28px -14px rgb(201 73 106 / .95); }
.pill-ghost { background: rgb(255 255 255 / .55); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); backdrop-filter: blur(8px); }
.pill-ghost:hover { background: var(--card); }
.pill-ghost-light { background: rgb(255 255 255 / .06); color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .2); }

.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%230f2419' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px; }

.seg { position: relative; display: flex; padding: 4px; border-radius: 999px; background: rgb(15 36 25 / .07); gap: 2px; }
.seg button { position: relative; z-index: 1; flex: 1; border: 0; background: none; padding: 10px 12px; border-radius: 999px; cursor: pointer; font-weight: 650; font-size: .95rem; white-space: nowrap; color: var(--ink-2); transition: color .25s; }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--card); box-shadow: 0 4px 12px -4px rgb(0 0 0 / .3); transition: transform .5s var(--spring), width .5s var(--spring); }
.seg-dark { background: rgb(0 0 0 / .18); }
.seg-dark button { color: var(--on-dark-2); }
.seg-dark button[aria-selected="true"] { color: var(--ink); }

/* ---------- header ---------- */
.bar { position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%); width: min(1200px, calc(100% - 24px)); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 24px; border-radius: 999px; background: rgb(249 251 246 / .78); backdrop-filter: blur(18px) saturate(1.4); box-shadow: var(--shadow); transition: transform .6s var(--ease); }
.bar.hide { transform: translate(-50%, -130%); }
.bar-logo img { height: 36px; width: auto; }
.bar-nav { display: flex; gap: 2px; margin-left: auto; }
.bar-nav a { text-decoration: none; padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: background-color .2s; }
.bar-nav a:hover, .bar-nav a[aria-current="true"] { background: rgb(15 36 25 / .07); }
.bar-book { min-height: 46px; padding: 0 22px; }
.bar-menu { display: none; margin-left: auto; border: 0; background: rgb(15 36 25 / .07); border-radius: 999px; padding: 11px 18px; font-weight: 650; cursor: pointer; }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(96px, 11vw, 168px) 0; }
.sec.dark { background: var(--forest); color: var(--on-dark); margin: 0 12px; border-radius: var(--r-xl); }
.sec.dark.first { margin: 0; border-radius: 0 0 var(--r-xl) var(--r-xl); }
.sec.tint { background: var(--paper-2); margin: 12px; border-radius: var(--r-xl); padding-bottom: clamp(48px, 6vw, 80px); }
.head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 80px); }
.head p { margin-top: 24px; font-size: clamp(1.1rem, 1.35vw, 1.28rem); max-width: 44ch; color: var(--ink-2); }
.dark .head p { color: var(--on-dark-2); }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 68px); }
.reveal { clip-path: inset(var(--ci, 0%) round var(--r-lg)); }

/* ---------- hero ---------- */
.hero { background: #07120b; color: var(--on-dark); }
.hero .lede { color: var(--on-dark-2); }
.hero .pill-ink { background: var(--on-dark); color: var(--ink); }
.hero .pill-ink:hover { background: #fff; }
.hero .pill-ghost { background: rgb(255 255 255 / .06); color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .22); }
.hero .pill-ghost:hover { background: rgb(255 255 255 / .12); }
.hero .hero-proof span, .hero .scroll-cue { color: var(--on-dark-2); }
.hero .scroll-cue::after { background: linear-gradient(var(--on-dark), transparent); }
.hero .strata-labels li::before { background: var(--on-dark); }
.hero .strata-labels span { color: var(--on-dark-2); }
.hero-stage { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fallback { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); height: 60%; width: auto; }
.gl .hero-fallback { display: none; }
.gl.hero-lost .hero-fallback { display: block; }
.hero-lost .hero-canvas { visibility: hidden; }
.hero-h1 { position: absolute; left: var(--gutter); right: var(--gutter); top: 14%; font-size: clamp(3.4rem, 11vw, 10rem); text-align: center; z-index: 1; }
.gl-on .hero.text3d .hero-h1 { width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero-foot { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(32px, 6vh, 64px); max-width: 430px; }
.lede { font-size: clamp(1.05rem, 1.2vw, 1.15rem); line-height: 1.55; margin-bottom: 22px; color: var(--ink-2); }
.hero-proof { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(32px, 6vh, 64px); display: grid; text-align: right; gap: 4px; }
.hero-proof strong { font-family: var(--f-display); font-weight: 760; font-size: clamp(2.6rem, 4vw, 3.8rem); letter-spacing: -.045em; line-height: 1; }
.hero-proof span { color: var(--ink-2); }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: clamp(32px, 6vh, 64px); transform: translateX(-50%); font-size: .9375rem; font-weight: 600; color: var(--ink-2); display: grid; justify-items: center; gap: 10px; }
.scroll-cue::after { content: ""; width: 2px; height: 34px; border-radius: 2px; background: linear-gradient(var(--ink), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.strata-labels { list-style: none; position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.strata-labels li { position: absolute; left: 0; top: 0; opacity: 0; display: grid; gap: 3px; padding-left: 48px; margin-top: -1.2em; width: 280px; will-change: transform; }
.strata-labels li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 36px; height: 1.5px; background: var(--ink); opacity: .45; }
.strata-labels b { font-family: var(--f-display); font-weight: 720; font-size: 1.4rem; letter-spacing: -.02em; }
.strata-labels span { font-size: .95rem; color: var(--ink-2); }
.no-gl .strata-labels, .no-gl .scroll-cue { display: none; }
.hero-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(120% 90% at 50% 42%, transparent 55%, rgb(3 9 5 / .55) 100%); }
.hero-veil { position: absolute; inset: 0; background: var(--forest); opacity: 0; pointer-events: none; z-index: 3; }

/* ---------- builder: a workbench ---------- */
.bench { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(340px, 1fr); gap: 16px; align-items: stretch; }
.stage-view { position: relative; min-height: 640px; border-radius: 34px; overflow: hidden; --skyA: #f6f9f3; --skyB: #c9d6c3; background: radial-gradient(110% 85% at 50% 12%, var(--skyA) 0%, var(--skyB) 100%); cursor: grab; touch-action: pan-y; }
.stage-view:active { cursor: grabbing; }
#builderCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-fallback { display: none; position: absolute; inset: 8% 14%; width: 72%; height: 84%; object-fit: contain; }
.no-gl .stage-fallback, .lost .stage-fallback { display: block; }
.no-gl #builderCanvas, .no-gl .stage-tools, .lost #builderCanvas, .lost .stage-tools { display: none; }
.stage-depth, .stage-clock { position: absolute; left: 20px; top: 20px; font-size: .9375rem; font-weight: 650; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / .74); color: var(--ink); backdrop-filter: blur(8px); }
.stage-clock { left: auto; right: 20px; font-family: var(--f-display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.stage-depth:empty, .stage-clock:empty { display: none; }
.stage-tools { position: absolute; right: 20px; bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.stage-hint { position: absolute; left: 22px; bottom: 30px; font-size: .9375rem; font-weight: 600; color: var(--ink-2); pointer-events: none; }
.tool { border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 650; cursor: pointer; background: rgb(255 255 255 / .8); color: var(--ink); backdrop-filter: blur(8px); box-shadow: 0 8px 20px -12px rgb(0 0 0 / .45); transition: transform .45s var(--spring), opacity .3s, background-color .25s; }
.tool:hover:not(:disabled) { transform: translateY(-2px); }
.tool:disabled { opacity: .45; cursor: not-allowed; }
.tool.go { background: var(--ink); color: #fff; }

.panel { border-radius: 34px; background: var(--forest-2); padding: 22px; display: flex; flex-direction: column; gap: 26px; }
.panel-label { font-weight: 650; color: var(--on-dark-2); margin: 0 4px 12px; }
.vessels { list-style: none; margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vessels input { position: absolute; opacity: 0; pointer-events: none; }
.vessels label { display: grid; grid-template-rows: 62px auto auto; justify-items: center; gap: 3px; padding: 12px 6px 12px; border-radius: var(--r-md); cursor: pointer; text-align: center; background: rgb(255 255 255 / .04); transition: background-color .25s, box-shadow .25s, transform .45s var(--spring); }
.vessels label:hover { background: rgb(255 255 255 / .08); transform: translateY(-2px); }
.vessels input:checked + label { background: rgb(169 208 138 / .14); box-shadow: inset 0 0 0 2px var(--leaf); }
.vessels input:focus-visible + label { outline: 3px solid var(--pink); outline-offset: 1px; }
.vessels svg { align-self: end; overflow: visible; }
.vessels svg * { fill: rgb(232 239 228 / .07); stroke: var(--on-dark); stroke-width: 1.6; stroke-linejoin: round; }
.vessels input:checked + label svg * { fill: rgb(169 208 138 / .28); stroke: var(--leaf); }
.v-name { font-weight: 650; font-size: .9375rem; line-height: 1.2; margin-top: 8px; }
.v-price { font-weight: 650; font-size: .9375rem; color: var(--leaf); font-variant-numeric: tabular-nums; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.steps button { width: 100%; min-height: 54px; border: 0; border-radius: var(--r-md); background: rgb(255 255 255 / .05); color: var(--on-dark); cursor: pointer; font-weight: 650; display: flex; align-items: center; gap: 12px; padding: 8px 14px; text-align: left; transition: background-color .25s, transform .45s var(--spring), opacity .25s; }
.steps .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: .85rem; background: rgb(255 255 255 / .12); flex: none; }
.steps button.current { background: var(--pink); color: #fff; box-shadow: 0 12px 26px -14px rgb(201 73 106 / .95); }
.steps button.current .n { background: rgb(255 255 255 / .25); }
.steps button.current:hover { transform: translateY(-2px); }
.steps button.done .n { background: var(--leaf); color: var(--ink); }
.steps button:disabled:not(.done) { opacity: .4; cursor: not-allowed; }
.steps button.done { cursor: default; }
.steps button.busy { cursor: progress; animation: busy 1s ease-in-out infinite alternate; }
@keyframes busy { to { opacity: .75; } }
.step-note { margin: 14px 4px 0; min-height: 3.2em; color: var(--on-dark-2); }
.step-note button { background: none; border: 0; color: var(--pink-soft); font-weight: 650; text-decoration: underline; cursor: pointer; margin-left: 6px; }

.ticket { margin-top: 16px; border-radius: 34px; background: var(--card); color: var(--ink); padding: 22px 22px 22px 30px; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr) auto; gap: 24px; align-items: center; box-shadow: var(--shadow); }
.ticket-name { font-family: var(--f-display); font-weight: 760; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.05; }
.ticket-size { color: var(--ink-2); font-size: .9375rem; margin-top: 2px; }
.ticket-layers { margin-top: 8px; font-size: .9375rem; color: var(--ink-2); line-height: 1.45; }
.fields { display: grid; grid-template-columns: 1.4fr 1.1fr .8fr .9fr 1fr; gap: 10px; }
.fields label { display: grid; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.fields input, .fields select { width: 100%; min-height: 50px; border-radius: var(--r-sm); border: 0; background: var(--paper); color: var(--ink); padding: 0 12px; font-size: 1rem; font-weight: 550; box-shadow: inset 0 0 0 1px var(--line); }
.fields input:focus, .fields select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--forest-3); }
.fields [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--pink); }
.stepper { display: grid; grid-template-columns: 38px 1fr 38px; border-radius: var(--r-sm); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.stepper input { box-shadow: none !important; background: none; text-align: center; padding: 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper button { border: 0; background: none; font-size: 1.3rem; font-weight: 600; cursor: pointer; border-radius: var(--r-sm); color: var(--ink); }
.stepper button:hover { background: rgb(15 36 25 / .06); }
.ticket-go { display: grid; gap: 10px; justify-items: end; }
.ticket-total { display: grid; justify-items: end; line-height: 1.1; }
.ticket-total strong { font-family: var(--f-display); font-weight: 760; font-size: 1.9rem; letter-spacing: -.035em; }
.ticket-total span { font-size: .875rem; color: var(--ink-2); }
.form-msg { grid-column: 1 / -1; color: var(--pink); font-weight: 600; }
.form-msg:empty { display: none; }

.included { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); margin-top: clamp(88px, 10vw, 150px); align-items: center; }
.inc-video { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--forest-2); }
.inc-video video { width: 100%; height: 100%; object-fit: cover; }
.inc-copy { display: grid; gap: 22px; }
.inc-copy p { color: var(--on-dark-2); }
.frames strong { color: var(--pink-soft); }

/* ---------- collection shelf ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { border: 0; border-radius: 999px; padding: 12px 20px; background: rgb(15 36 25 / .06); font-weight: 650; cursor: pointer; transition: background-color .25s, color .25s, transform .45s var(--spring); }
.chips button:hover { transform: translateY(-2px); background: rgb(15 36 25 / .1); }
.chips button.on { background: var(--ink); color: var(--card); }
#collection { overflow: hidden; padding: clamp(72px, 8vw, 120px) 0; }
.shelf { padding-left: var(--gutter); --hs: min(54vh, 540px); }
.shelf-track { display: flex; gap: 24px; width: max-content; padding-right: var(--gutter); align-items: flex-end; }
.shelf figure { width: calc(var(--hs) * var(--ratio, .75)); flex: none; }
.shelf button { display: block; border: 0; padding: 0; background: none; text-align: left; cursor: zoom-in; width: 100%; border-radius: var(--r-lg); }
.shelf .ph { border-radius: var(--r-lg); overflow: hidden; height: var(--hs); background: var(--paper-2); }
.shelf .ph img { width: 118%; max-width: none; height: 100%; object-fit: cover; margin-left: -9%; transition: scale 1.1s var(--ease); }
.shelf .cut .ph { background: radial-gradient(90% 80% at 50% 40%, #fbfdf9, #dde3d8); }
.shelf .cut .ph img { object-fit: contain; width: 86%; margin: 0 7%; }
.shelf button:hover img { scale: 1.04; }
.shelf figcaption { padding: 16px 4px 0; display: grid; gap: 2px; }
.shelf figcaption b { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: -.025em; font-weight: 720; }
.shelf figcaption span { color: var(--ink-2); }
.shelf-progress { margin-top: 44px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.shelf-progress span { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ---------- teams ---------- */
.madlib { border-radius: 40px; background: var(--forest); color: var(--on-dark); padding: clamp(28px, 4.5vw, 64px); }
.madlib-text { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 3.3rem); line-height: 1.32; letter-spacing: -.03em; max-width: 25ch; }
.madlib select, .madlib .ml-num input { font: inherit; letter-spacing: inherit; color: var(--pink-soft); background: transparent; border: 0; border-bottom: 3px solid rgb(242 180 195 / .4); padding: 0 .08em; cursor: pointer; border-radius: 0; -webkit-appearance: none; appearance: none; transition: border-color .2s; }
.madlib select:hover, .madlib input:hover, .madlib select:focus, .madlib input:focus { border-bottom-color: var(--pink-soft); outline: none; }
.madlib select option { color: var(--ink); font-size: 1rem; }
.nowrap { white-space: nowrap; }
.ml-num input { width: 2.6ch; text-align: center; -moz-appearance: textfield; }
.ml-num input::-webkit-inner-spin-button { -webkit-appearance: none; }
.madlib input[type="range"] { width: 100%; max-width: 620px; margin: 32px 0 8px; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--pink) var(--p, 10%), rgb(255 255 255 / .14) var(--p, 10%)); cursor: pointer; }
.madlib input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 2px 12px rgb(0 0 0 / .4); transition: transform .3s var(--spring); }
.madlib input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.madlib input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; }
.madlib-out { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin: 30px 0 20px; padding-top: 30px; border-top: 1px solid rgb(255 255 255 / .1); }
.q-label { font-weight: 600; color: var(--on-dark-2); }
.q-big { font-family: var(--f-display); font-weight: 760; font-size: clamp(3.4rem, 7.5vw, 7rem); letter-spacing: -.05em; line-height: .95; font-variant-numeric: tabular-nums; }
.q-sub { color: var(--on-dark-2); margin-top: 8px; }

.marquee { margin: clamp(80px, 9vw, 128px) 0 clamp(48px, 6vw, 72px); overflow: hidden; }
.mq-row { display: flex; width: max-content; align-items: center; font-family: var(--f-display); font-weight: 720; font-size: clamp(2.2rem, 4.6vw, 4.4rem); letter-spacing: -.035em; line-height: 1.1; white-space: nowrap; will-change: transform; color: var(--ink); }
.mq-row span { display: inline-flex; align-items: center; gap: .55em; padding-right: .55em; }
.mq-row svg { width: .5em; height: .5em; flex: none; }
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.clients figure { display: grid; gap: 12px; }
.clients .ph { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper); }
.clients img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease); }
.clients figure:hover img { scale: 1.05; }
.clients figcaption { display: grid; gap: 1px; padding: 0 4px; }
.clients figcaption b { font-family: var(--f-display); font-weight: 720; font-size: 1.3rem; letter-spacing: -.02em; }
.clients figcaption span { color: var(--ink-2); font-size: .9375rem; }
.timeline { margin-top: clamp(48px, 6vw, 72px); border-radius: var(--r-lg); background: var(--card); padding: 6px 26px; }
.timeline summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 650; font-size: 1.1rem; }
.timeline summary::-webkit-details-marker { display: none; }
.timeline summary::after { content: "+"; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2); font-size: 1.3rem; transition: transform .45s var(--spring); }
.timeline[open] summary::after { transform: rotate(45deg); }
.timeline ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 28px; padding-bottom: 20px; }
.timeline li { padding: 12px 0; border-top: 1px solid var(--line); display: grid; gap: 1px; }
.timeline time { font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.timeline span { font-weight: 600; }

/* ---------- care ---------- */
.clinic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; align-items: stretch; }
.symptoms { list-style: none; display: grid; gap: 8px; }
.symptoms button { width: 100%; text-align: left; border: 0; border-radius: var(--r-md); padding: 18px 22px; background: var(--forest-2); color: inherit; cursor: pointer; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 12px; align-items: center; transition: background-color .25s, padding .45s var(--ease); }
.symptoms button::after { content: ""; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .3); flex: none; }
.symptoms button:hover { background: var(--forest-3); padding-left: 28px; }
.symptoms button[aria-pressed="true"] { background: var(--card); color: var(--ink); }
.symptoms button[aria-pressed="true"]::after { background: var(--pink); box-shadow: none; }
.answer { padding: clamp(28px, 3.5vw, 48px); border-radius: 34px; background: var(--card); color: var(--ink); }
.answer h3 { font-size: clamp(1.9rem, 3vw, 2.7rem); margin-bottom: 14px; }
.answer .why { color: var(--ink-2); margin-bottom: 26px; font-size: 1.12rem; }
.answer ol { list-style: none; counter-reset: s; display: grid; gap: 16px; }
.answer li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: start; font-size: 1.06rem; }
.answer li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pink); color: #fff; font-weight: 700; font-size: .9rem; }
.crew { display: grid; grid-template-columns: .9fr 1.2fr .75fr; gap: clamp(20px, 3vw, 40px); align-items: center; margin-top: clamp(88px, 10vw, 140px); }
.crew figure { border-radius: var(--r-lg); overflow: hidden; }
.crew img { width: 100%; object-fit: cover; aspect-ratio: 1; }
.crew-copy p { margin-top: 16px; color: var(--on-dark-2); }

/* ---------- visit ---------- */
.live { font-weight: 600; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); }
.live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9aa39c; }
.live.open::before { background: #3fae5b; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(63 174 91 / .55); } 70% { box-shadow: 0 0 0 9px rgb(63 174 91 / 0); } 100% { box-shadow: 0 0 0 0 rgb(63 174 91 / 0); } }
.branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.branch { border-radius: 36px; background: var(--card); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.branch .ph { aspect-ratio: 16 / 10; overflow: hidden; margin: 12px 12px 0; border-radius: 26px; }
.branch .ph img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.branch:hover .ph img { scale: 1.04; }
.branch-body { padding: 28px 32px 32px; display: grid; gap: 10px; }
.branch-city { font-weight: 650; color: var(--ink-2); }
.branch h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); letter-spacing: -.04em; line-height: .98; }
.branch address { font-style: normal; color: var(--ink-2); max-width: 42ch; }
.branch .row { margin-top: 10px; }

.foot { margin: 12px; padding: clamp(64px, 8vw, 110px) 0 32px; }
.foot-in { display: grid; gap: 44px; }
.foot-logo { width: min(320px, 60%); height: auto; filter: invert(1); }
.foot-cols { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: start; }
.foot-cols p { line-height: 2; }
.foot-cols a { text-decoration: none; color: var(--on-dark); opacity: .85; }
.foot-cols a:hover { opacity: 1; text-decoration: underline; }
.foot-brochures { display: flex; gap: 10px; margin-left: auto; }
.foot-brochures img { width: 76px; border-radius: 10px; opacity: .85; transition: transform .45s var(--spring), opacity .3s; }
.foot-brochures img:hover { transform: translateY(-4px) rotate(-2deg); opacity: 1; }
.copy { font-size: .9375rem; color: var(--on-dark-2); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgb(10 22 15 / .88); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1000px, 100%); display: grid; gap: 16px; }
.lightbox img { max-height: 74vh; width: auto; margin: 0 auto; border-radius: var(--r-lg); }
.lightbox figcaption { color: var(--on-dark); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: center; }
.lightbox figcaption span { color: var(--on-dark-2); }
.lb-close { position: absolute; top: 18px; right: 18px; border: 0; border-radius: 999px; padding: 12px 20px; background: rgb(255 255 255 / .14); color: #fff; font-weight: 650; cursor: pointer; }

/* ---------- responsive recomposition ---------- */
@media (max-width: 1200px) {
  .ticket { grid-template-columns: 1fr auto; }
  .fields { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(3, 1fr); }
  .ticket-go { grid-column: 2; grid-row: 1; }
  .clients { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .bar-nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; padding: 8px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); }
  .bar-nav.open { display: flex; }
  .bar-nav a { padding: 14px 16px; }
  .bar-menu { display: block; }
  .bar-book { display: none; }
  .bench { grid-template-columns: minmax(0, 1fr); }
  .stage-view { min-height: 0; height: min(66vh, 520px); border-radius: var(--r-lg); }
  .stage-hint { display: none; }
  .panel { border-radius: var(--r-lg); padding: 16px; }
  .vessels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 124px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .vessels li { scroll-snap-align: start; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ticket { grid-template-columns: 1fr; padding: 22px; border-radius: var(--r-lg); }
  .fields { grid-row: auto; grid-template-columns: 1fr 1fr; }
  .fields label:first-child { grid-column: 1 / -1; }
  .ticket-go { grid-column: 1; grid-row: auto; justify-items: stretch; }
  .ticket-total { justify-items: start; }
  .included, .clinic, .crew, .branches { grid-template-columns: minmax(0, 1fr); }
  .timeline ol { grid-template-columns: 1fr 1fr; }
  .shelf { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; --hs: min(96vw, 420px); }
  .shelf figure { width: min(80vw, calc(var(--hs) * var(--ratio, .75))); scroll-snap-align: start; }
  .shelf-progress { display: none; }
  .hero-proof, .scroll-cue { display: none; }
  .hero-foot { right: var(--gutter); max-width: none; }
  .gl-on .hero-h1 { top: 104px; font-size: clamp(2.9rem, 13vw, 4.4rem); text-align: left; }
  .strata-labels li { width: 150px; padding-left: 26px; }
  .strata-labels li::before { width: 20px; }
  .strata-labels b { font-size: 1.05rem; }
  .foot-brochures { margin-left: 0; }
  .sec.dark, .sec.tint, .foot { margin-left: 8px; margin-right: 8px; border-radius: 32px; }
  .sec.dark.first { margin: 0; border-radius: 0 0 32px 32px; }
}
@media (max-width: 560px) {
  .clients { grid-template-columns: 1fr 1fr; gap: 12px; }
  .clients figcaption span { display: none; }
  .timeline ol { grid-template-columns: 1fr; }
  .madlib-text { font-size: 1.6rem; }
  .strata-labels span { display: none; }
  .crew figure:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}
