/* Hallmark · shape: Bento Grid · genre: modern-minimal · theme: Furrow (by request; colour and type from Sonar v2) · job: sign up · draw: f1649c · hero: Poster (swapped from Corridor for the user's sonar_main_idea concept) · nav: edge-aligned · footer: letter close · signature: the nautical chart of searched stay dates, shoals for the dates nobody could book · imagery: user photo 1, screenshots 4 (capture.mjs) */
/* Hallmark · posture: committed, the price set on the signal-orange field as Furrow sets its bill on the tangerine field */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, a launch page argues mostly through its one chart; the chart carries the argument that reports show sales, never refusals */
/* Hallmark · waive 26b · no disabled control and no aria-disabled anywhere on the page · every live key here is always live: pricing, log in, the chart pins; "Coming soon" is a label, not a control */
/* Hallmark · dismissed 41 · .hero__sea holds only the sea photograph; the hero text sits on the paper sky above it with its own ink */
/* Hallmark · hero-review: skipped (hero built with the page) · finish-review: subagent · 8 findings · 7 resolved 1 partial (pinned panels still carry 44dvh of air beside the sticky frame) · gap: none */
/* Hallmark · revision: hero water ported from app/login/WaterRipples.tsx (WebGL2, still image fallback) · entrance on head, lead and keys (CSS only, reduced-motion off) · type TT Commons Pro via Typekit, Hanken Grotesk fallback, display 700 */
/* Hallmark · dismissed 23 · the orange field is the offer panel, the declared committed posture, not a viewport flood */

@import url("tokens.css");
@import url("base.css");

/* ---------- type ---------- */
body { font-weight: 400; font-feature-settings: var(--font-features); }
h1, h2, h3 { color: var(--color-ink); }
h3 { letter-spacing: -0.015em; }
.lead { color: var(--color-ink-2); }
p { color: var(--color-muted); }
strong, b { font-weight: 500; }
code, pre { font-family: var(--font-outlier); font-size: 0.875em; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-modal); padding: var(--space-xs) var(--space-md); background: var(--color-paper-2); color: var(--color-ink); border-radius: var(--radius-tag); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- keys (Furrow's moulded keys, v2's pill and signal orange) ---------- */
.key {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  min-height: 48px; padding: 0 var(--space-lg);
  border: var(--rule-hair) solid var(--color-rule-input); border-radius: var(--radius-pill);
  background: var(--color-paper-2); color: var(--color-ink);
  font-weight: 500; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 1px 0 var(--color-sheet), 0 1px 1px color-mix(in srgb, var(--color-ink) 8%, transparent);
  transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
  cursor: pointer;
}
.key:hover { border-color: var(--color-ink-2); }
.key:active { transform: translateY(1px); }
.key:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.key--primary {
  background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent-deep);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--color-paper-2) 30%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--color-ink) 18%, transparent);
}
.key--primary:hover { background: var(--color-accent-deep); border-color: var(--color-accent-press); color: var(--color-accent-ink); }
.key--primary:active { background: var(--color-accent-press); }
.key--sm { min-height: 40px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.key--wide { width: 100%; }
.key--soon { pointer-events: none; cursor: default; }

/* ---------- nav ---------- */
.nav { position: absolute; inset: 0 0 auto; z-index: var(--z-sticky-nav); }
.nav__row { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.nav__brand { display: block; border-radius: var(--radius-tag); }
.nav__brand img { height: 28px; width: auto; }
.nav__brand:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.nav__links { display: flex; align-items: center; gap: var(--space-lg); }
.nav__link { color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 400; text-decoration: none; border-radius: var(--radius-tag); padding: var(--space-2xs) 0; }
.nav__link:hover { color: var(--color-ink); text-decoration: underline; }
.nav__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- hero: the surface ---------- */
.hero { position: relative; min-height: max(100dvh, 760px); background: var(--color-paper); isolation: isolate; display: flex; }
.hero__sea { position: absolute; inset: auto 0 0 0; height: 80%; z-index: -1; background: var(--color-deep); }
.hero__sea > img { object-position: 50% 0; }
.hero__sea::before, .hero__sea::after { content: ""; position: absolute; inset-inline: 0; z-index: 2; pointer-events: none; }
.hero__sea::before { top: 0; height: 34%; background: linear-gradient(var(--color-paper), color-mix(in srgb, var(--color-paper) 0%, transparent)); }
.hero__sea::after { bottom: 0; height: 42%; background: linear-gradient(color-mix(in srgb, var(--color-deep) 0%, transparent), var(--color-deep) 92%); }
.hero__text { position: relative; padding-top: calc(76px + var(--space-2xl)); padding-bottom: var(--space-3xl); }
.hero h1 { font-size: var(--text-hero); line-height: 0.92; letter-spacing: -0.045em; max-width: none; }
.hero__lead { margin-top: var(--space-lg); font-size: clamp(1.25rem, 0.6vw + 1rem, 1.625rem); color: var(--color-ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
/* The login screen's water, the same height field ported from app/login/WaterRipples.tsx: it draws the sea photograph bent, and only covers the still once it runs. */
.hero__ripples { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0; transition: opacity var(--dur-entrance) linear; pointer-events: none; filter: contrast(1.08) saturate(0.94); }
.hero__ripples[data-running] { opacity: 1; }
/* The entrance: each word rises out of its own line, then the sentence and the keys follow. CSS only, so it plays and ends visible with scripting off; fill is backwards so a key's hover transform is never held by the animation. */
/* The clip box is padded well past the glyphs on every side: line-height 0.92 puts the overshoot of round letters (the s, the o) outside the line box, and a tight clip shaved their bowls. */
.hero__word { display: inline-block; overflow: clip; padding: 0.2em 0.06em 0.28em; margin: -0.2em -0.06em -0.28em; vertical-align: top; }
.hero__word > span { display: inline-block; animation: hero-rise var(--dur-entrance) var(--ease-entrance) backwards; animation-delay: calc(var(--i, 0) * var(--dur-entrance-step) + 120ms); }
.hero__word:nth-child(2) > span { --i: 1; }
.hero__word:nth-child(3) > span { --i: 2; }
.hero__lead { animation: hero-lift var(--dur-entrance) var(--ease-entrance) backwards; animation-delay: calc(4 * var(--dur-entrance-step) + 120ms); }
.hero__actions > .key { animation: hero-lift var(--dur-entrance) var(--ease-entrance) backwards; animation-delay: calc(6 * var(--dur-entrance-step) + 120ms); }
.hero__actions > .key + .key { animation-delay: calc(7 * var(--dur-entrance-step) + 120ms); }
/* The old page's scroll cue: a sonar ping over the water, rings pulsing out, the arrow sinking towards what is below. */
/* Held on the first screen: the hero is at least 760px tall, so on a short window its bottom edge would put the cue below the fold it is pointing past. 64px is the cue's own height. */
.dive { position: absolute; left: 50%; top: calc(min(100dvh, 100%) - 64px - var(--space-xl)); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: var(--space-2xs); min-width: 44px; padding: var(--space-xs); color: var(--color-on-deep); text-decoration: none; border-radius: var(--radius-tag); transform: translateX(-50%); animation: hero-lift var(--dur-entrance) var(--ease-entrance) backwards; animation-delay: calc(9 * var(--dur-entrance-step) + 120ms); }
.dive:focus-visible { outline: 2px solid var(--color-on-deep); outline-offset: 2px; }
.dive__ping { position: relative; width: 14px; height: 14px; margin-bottom: var(--space-xs); }
.dive__ping::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--color-accent); }
.dive__ping span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--color-accent); animation: dive-ping 2.4s var(--ease-out) infinite; }
.dive__ping span:nth-child(2) { animation-delay: 0.8s; }
.dive__ping span:nth-child(3) { animation-delay: 1.6s; }
.dive__arrow { animation: dive-sink 1.8s var(--ease-in-out) infinite; }
@keyframes dive-ping { from { transform: scale(1); opacity: 0.9; } to { transform: scale(5); opacity: 0; } }
@keyframes dive-sink { 0%, 100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(6px); opacity: 1; } }
@keyframes hero-rise { from { transform: translateY(108%); } }
@keyframes hero-lift { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) {
  .hero__word > span, .hero__lead, .hero__actions > .key, .dive, .dive__ping span, .dive__arrow { animation: none; }
  .hero__ripples { display: none; }
}

/* ---------- the deep: the chart ---------- */
.deep { position: relative; background: var(--color-deep); color: var(--color-on-deep); padding-block: var(--space-3xl) var(--section-gap); overflow: clip; isolation: isolate; }
.rings { position: absolute; left: 50%; top: -420px; width: 1600px; height: 1600px; translate: -50% 0; z-index: -1; fill: none; stroke: var(--color-on-deep-rule); stroke-width: 1; }
.deep h2 { color: var(--color-on-deep); }
.deep .lead { color: var(--color-on-deep-muted); margin-top: var(--space-lg); }
.deep__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }
.deep__head h2 { grid-column: 1 / span 6; }
.deep__head .lead { grid-column: 8 / span 5; }

.chart { margin: var(--space-2xl) 0 0; }
.chart__sheet {
  position: relative; border-radius: var(--radius-card);
  background: var(--color-paper-3);
  box-shadow: 0 0 0 1px var(--color-ink), var(--shadow-lift);
  overflow: hidden;
}
.chart__field { position: relative; aspect-ratio: 1312 / 640; }
.chart__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart__scale {
  position: absolute; inset: 0 0 auto; z-index: 2; margin: 0; padding: 0 var(--space-lg); list-style: none;
  display: flex; justify-content: space-between; height: 32px; align-items: center;
  border-bottom: var(--rule-hair) solid var(--color-sounding);
  font-size: var(--text-xs); font-variant-numeric: tabular-nums; color: var(--color-sounding); font-weight: 400;
  background: color-mix(in srgb, var(--color-paper-3) 88%, transparent);
}
.chart__route { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.chart__route path { fill: none; stroke: var(--color-ink); stroke-width: 1.5; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }

.chart__pins { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; z-index: 3; }
.pin {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  display: flex; align-items: center; gap: var(--space-xs);
  min-height: 44px; translate: -9px -50%; padding: 0 var(--space-2xs) 0 0; border: 0; background: none; cursor: pointer; color: var(--color-ink); border-radius: var(--radius-tag);
}
.pin__mark { width: 18px; height: 18px; flex: none; background: var(--color-ink); box-shadow: 0 0 0 3px var(--color-paper-2); transition: transform var(--dur-micro) var(--ease-out); }
.pin--booked .pin__mark { border-radius: 50%; background: var(--color-accent); }
.pin--shoal .pin__mark { rotate: 45deg; scale: 0.82; border-radius: 2px; background: var(--color-shoal); }
.pin--chose .pin__mark { clip-path: polygon(50% 4%, 100% 96%, 0 96%); box-shadow: none; background: var(--color-chose); }
.pin__tag {
  padding: var(--space-3xs) var(--space-xs); border-radius: var(--radius-tag);
  background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-xs); font-weight: 500; white-space: nowrap;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-ink) 18%, transparent);
  transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out);
}
.pin--flip { flex-direction: row-reverse; translate: calc(-100% + 9px) -50%; padding: 0 0 0 var(--space-2xs); }
.pin:hover .pin__mark { transform: scale(1.15); }
.pin[aria-pressed="true"] .pin__tag { background: var(--color-ink); color: var(--color-on-deep); box-shadow: none; }
.pin:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.deep .chart__sheet :focus-visible { outline-color: var(--color-focus); }

/* the notebook card */
.entry {
  position: absolute; z-index: 4; right: var(--space-xl); bottom: var(--space-xl); width: min(340px, 34%);
  border-radius: var(--radius-entry); background: var(--color-paper-2); overflow: hidden;
  box-shadow: 0 0 0 1px var(--color-ink), var(--shadow-lift);
}
.entry__head { display: grid; grid-template-columns: 1fr auto; row-gap: var(--space-2xs); padding: var(--space-md) var(--space-lg) var(--space-lg); background: var(--color-ink); color: var(--color-on-deep); }
.entry__kind { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: var(--text-sm); font-weight: 400; }
.entry__mark { width: 10px; height: 10px; rotate: 45deg; border-radius: 1px; background: var(--color-shoal); }
.entry[data-kind="booked"] .entry__mark { rotate: 0deg; border-radius: 50%; background: var(--color-accent); }
.entry[data-kind="chose"] .entry__mark { rotate: 0deg; border-radius: 0; clip-path: polygon(50% 4%, 100% 96%, 0 96%); background: var(--color-water); }
.entry__day { font-size: var(--text-sm); color: var(--color-on-deep-muted); }
.entry__date { grid-column: 1 / -1; color: var(--color-on-deep); font-size: 2.75rem; line-height: 1; letter-spacing: -0.03em; font-weight: var(--display-weight); font-family: var(--font-display); }
.entry__cells { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.entry__cells > div { padding: var(--space-sm) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-ink); }
.entry__cells > div:nth-child(odd):not(.entry__wide) { border-right: var(--rule-hair) solid var(--color-ink); }
.entry__wide { grid-column: 1 / -1; }
.entry dt { font-size: var(--text-xs); color: var(--color-muted); font-weight: 400; }
.entry dd { margin: 0; color: var(--color-ink); font-weight: 400; }
.entry__foot { padding: var(--space-sm) var(--space-lg); font-size: var(--text-sm); color: var(--color-ink-2); }
.notebook { background: linear-gradient(var(--color-grid) 1px, transparent 1px) 0 0 / 8px 8px, linear-gradient(90deg, var(--color-grid) 1px, transparent 1px) 0 0 / 8px 8px, var(--color-paper-2); }

.chart__caption { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-xl); margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-on-deep-muted); }
.legend { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-on-deep); }
.legend__mark { width: 12px; height: 12px; background: var(--color-on-deep); }
.legend__mark--booked { border-radius: 50%; background: var(--color-accent); }
.legend__mark--shoal { rotate: 45deg; scale: 0.82; border-radius: 1px; background: var(--color-shoal); }
.legend__mark--chose { clip-path: polygon(50% 4%, 100% 96%, 0 96%); background: var(--color-water); }
.chart__note { margin-left: auto; }

/* ---------- the cube: every number is a filter ---------- */
.cube { padding-block: var(--section-gap) var(--section-gap-s); background: var(--color-paper); }
.cube__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }
.cube__head h2 { grid-column: 1 / span 6; }
.cube__head .lead { grid-column: 8 / span 5; }

.bench { margin-top: var(--space-2xl); border-radius: var(--radius-entry); background: var(--color-paper-2); box-shadow: 0 0 0 1px var(--color-ink), var(--shadow-lift); overflow: hidden; }
.bench__bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); min-height: 84px; padding: var(--space-md) var(--space-xl); background: var(--color-bar); color: var(--color-on-bar); }
.bench__title { color: var(--color-on-bar); font-size: var(--text-lg); font-weight: 500; margin-right: var(--space-lg); }
.bench__chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; flex: 1; min-height: 44px; }
.chip { white-space: nowrap; display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding-left: var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); }
.chip__dim { color: var(--color-muted); font-size: var(--text-sm); }
.chip__val { font-weight: 500; }
.chip__x { position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-pill); background: none; cursor: pointer; color: var(--color-ink-2); }
.chip__x::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--color-paper-3); transition: background-color var(--dur-micro) var(--ease-out); }
.chip__x::after { content: "×"; position: relative; font-size: 1.125rem; line-height: 1; }
.chip__x:hover::before { background: var(--color-rule); }
.chip__x:focus-visible { outline: 2px solid var(--color-ink); outline-offset: -4px; }
.bench__clear { min-height: 44px; padding: 0 var(--space-sm); border: 0; border-radius: var(--radius-tag); background: none; color: var(--color-on-bar); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.bench__clear:hover { color: var(--color-on-bar-muted); }
.bench__clear:focus-visible { outline: 2px solid var(--color-on-bar); outline-offset: 2px; }

.bench__body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.bench__panels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl); padding: var(--space-xl); }
.panel__title { font-size: var(--text-lg); letter-spacing: -0.01em; padding-bottom: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-ink); }
.panel__rows { margin: 0; padding: 0; list-style: none; }
.panel__rows li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.panel__row {
  display: flex; align-items: center; width: 100%; min-height: 48px; padding: 0 var(--space-sm);
  border: 0; border-radius: var(--radius-tag); background: none; color: var(--color-ink-2); font-weight: 400; text-align: left;
  text-decoration: underline; text-decoration-color: var(--color-rule-input); text-underline-offset: 0.22em; cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out);
}
.panel__row:hover { background: var(--color-paper); color: var(--color-ink); text-decoration-color: currentColor; }
.panel__row[aria-pressed="true"] { background: var(--color-accent); color: var(--color-accent-ink); text-decoration: none; }
.panel__row:active { transform: translateY(1px); }
.panel__row:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }

.audience { position: static; width: auto; margin: var(--space-xl) var(--space-xl) var(--space-xl) 0; align-self: start; }
.entry__head .audience__name { grid-column: 1 / -1; max-width: none; margin-top: var(--space-xs); color: var(--color-on-deep); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-xl); line-height: 1.15; letter-spacing: -0.02em; min-height: 1.15em; }
.audience__conds { margin: 0; }
.audience__conds > div { display: flex; justify-content: space-between; gap: var(--space-md); padding: var(--space-sm) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-ink); }
.audience__conds dt { color: var(--color-muted); font-size: var(--text-sm); }
.audience__conds dd { margin: 0; color: var(--color-ink); text-align: right; }
.audience__empty { padding: var(--space-md) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-ink); color: var(--color-muted); }
.audience__use { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-sm); padding: var(--space-md) var(--space-lg); }
.audience__use p { font-size: var(--text-sm); color: var(--color-ink-2); }
.audience__use ul { display: flex; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.audience__use li { padding: var(--space-3xs) var(--space-sm); border-radius: var(--radius-tag); background: var(--color-accent-wash); color: var(--color-ink); font-size: var(--text-sm); }

.cube__proof { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); margin-top: var(--space-3xl); }
.proof { margin: 0; }
.proof figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); }
.proof__shot { border-radius: var(--radius-card); background: var(--color-paper-3); outline: 1px solid color-mix(in srgb, var(--color-ink) 10%, transparent); outline-offset: -1px; }
.proof__shot > img { object-fit: contain; filter: none; }
.proof--bar { grid-column: 1 / -1; }
.proof--bar .proof__shot { aspect-ratio: 1880 / 212; }
.proof--editor { grid-column: 1 / span 8; }
.proof--editor .proof__shot { aspect-ratio: 1784 / 880; }
.proof--panel { grid-column: 9 / span 4; }
.proof--panel .proof__shot { aspect-ratio: 924 / 812; }
.proof--panel .proof__shot > img { object-fit: contain; object-position: 50% 0; }

@media (max-width: 75rem) { .bench__panels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- read the water: pinned ---------- */
.watch { padding-block: var(--section-gap) var(--section-gap-s); background: var(--color-paper); }
.watch__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.watch__stage { grid-column: 1 / span 7; position: sticky; top: max(var(--space-2xl), calc(50dvh - 280px)); }
.watch__frame { aspect-ratio: 1680 / 702; border-radius: var(--radius-card); background: var(--color-paper-3); outline: 1px solid color-mix(in srgb, var(--color-ink) 10%, transparent); outline-offset: -1px; box-shadow: var(--shadow-card); }
.watch__frame > img { object-fit: contain; object-position: 50% 50%; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); filter: none; }
.watch__frame > img.is-shown { opacity: 1; }
.watch__panels { grid-column: 9 / span 4; }
.watch__head { margin-bottom: var(--space-2xl); }
.watch__panel { min-height: 44dvh; padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-ink); }
.watch__panel + .watch__panel { margin-top: var(--space-xl); }
.watch__panel p { margin-top: var(--space-sm); }
.watch__panel .watch__screen { margin: 0 0 var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); font-weight: 500; }
.watch__panel h3 { font-size: var(--text-2xl); }
.watch__inline { display: none; }

/* ---------- then act: the bento ---------- */
.plan { padding-block: var(--section-gap-s) var(--section-gap); background: var(--color-paper); }
.plan__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--gap-columns); padding-bottom: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-ink); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); gap: var(--gap-columns); margin-top: var(--space-2xl); }
.tile { grid-column: span 4; display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-2); box-shadow: 0 0 0 1px var(--color-rule); overflow: hidden; }
.tile h3 { font-size: var(--text-xl); }
.tile__text { display: grid; gap: var(--space-sm); }
.tile--lead { grid-column: span 8; padding-bottom: 0; }
.tile--lead h3 { font-size: var(--text-2xl); }
.tile--half { grid-column: span 6; padding-bottom: 0; }
.tile__shot { margin-top: auto; aspect-ratio: var(--shot-ratio, 1680 / 605); border-radius: var(--radius-card) var(--radius-card) 0 0; background: var(--color-paper-3); outline: 1px solid color-mix(in srgb, var(--color-ink) 10%, transparent); outline-offset: -1px; }
.tile--lead .tile__shot { margin-top: var(--space-lg); }
.tile--half .tile__shot { --shot-ratio: 1176 / 684; margin-top: var(--space-lg); }
.tile__shot > img { object-fit: cover; object-position: 50% 0; filter: none; }
.tile--list { justify-content: flex-start; }
.tile__list { margin-top: var(--space-lg); }
.tile__list li { padding: var(--space-md) 0; color: var(--color-ink-2); font-size: var(--text-lg); line-height: 1.3; }
.tile--quiet { justify-content: flex-end; padding-bottom: var(--space-xl); background: var(--color-deep); box-shadow: none; }
.tile--quiet h3 { color: var(--color-on-deep); font-size: var(--text-2xl); }
.tile--quiet p { color: var(--color-on-deep-muted); max-width: 40ch; }

/* ---------- the tag ---------- */
.tag { padding-block: var(--section-gap); background: var(--color-paper-3); }
.tag__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }
.tag__text { grid-column: 1 / span 5; }
.tag__text .lead { margin-top: var(--space-lg); }
.ruled { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-ink); }
.ruled > li { border-bottom: var(--rule-hair) solid color-mix(in srgb, var(--color-ink) 14%, transparent); }
.tag__facts { margin-top: var(--space-xl); }
.tag__facts li { display: flex; justify-content: space-between; gap: var(--space-md); padding: var(--space-sm) 0; color: var(--color-ink-2); }
.tag__facts li > span:first-child { color: var(--color-ink-2); font-size: var(--text-sm); }
.tag__facts code { color: var(--color-ink); }
.sheet {
  grid-column: 7 / span 6; margin: 0; position: relative;
  border-radius: 3px; background: var(--color-sheet);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-ink) 12%, transparent), var(--shadow-lift);
  background-image: linear-gradient(180deg, transparent 33.2%, color-mix(in srgb, var(--color-ink) 5%, transparent) 33.3%, transparent 34.5%), linear-gradient(180deg, transparent 66.5%, color-mix(in srgb, var(--color-ink) 5%, transparent) 66.6%, transparent 67.8%);
}
.sheet__head { padding: var(--space-md) var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-ink); font-size: var(--text-sm); color: var(--color-ink-2); font-weight: 400; }
.sheet__code { margin: 0; padding: var(--space-xl); overflow-x: auto; color: var(--color-ink); font-size: 0.9375rem; line-height: 1.8; tab-size: 2; }
.sheet__foot { padding: var(--space-md) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); }

/* ---------- price ---------- */
.price { padding-block: var(--section-gap) var(--section-gap-s); background: var(--color-paper); }
.price__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }
.price__text { grid-column: 1 / span 5; }
.price__text .lead { margin-top: var(--space-lg); }
.offer { grid-column: 6 / span 7; position: relative; min-height: 560px; display: grid; place-items: center; border-radius: var(--radius-card); background: var(--color-accent); overflow: hidden; isolation: isolate; }
.offer__chart { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.offer__sheet { width: min(420px, 86%); padding: var(--space-xl); border-radius: var(--radius-entry); background: var(--color-paper-2); box-shadow: 0 0 0 1px var(--color-ink), var(--shadow-lift); }
.offer__name { color: var(--color-ink-2); font-weight: 400; }
.offer__price { display: flex; align-items: baseline; gap: var(--space-sm); margin-top: var(--space-xs); }
.offer__amount { font-size: var(--text-display); line-height: 1; letter-spacing: -0.04em; color: var(--color-ink); font-weight: var(--display-weight); font-family: var(--font-display); }
.offer__per { color: var(--color-muted); }
.offer__list { margin: var(--space-lg) 0 var(--space-xl); }
.offer__list li { padding: var(--space-sm) 0; color: var(--color-ink-2); }

/* ---------- questions ---------- */
.faq { padding-block: var(--section-gap-s) var(--section-gap); background: var(--color-paper); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.faq__grid h2 { grid-column: 1 / span 5; }
.faq__rows { grid-column: 7 / span 6; margin: 0; border-top: var(--rule-hair) solid var(--color-ink); }
.faq__row { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap-columns); padding: var(--space-xl) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq__row dt { font-size: var(--text-title); color: var(--color-ink); font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.faq__row dd { margin: 0; color: var(--color-muted); }

/* ---------- footer: letter close ---------- */
.foot { background: var(--color-deep); color: var(--color-on-deep); padding-block: var(--space-3xl) var(--space-xl); }
.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); }
.foot__close { grid-column: 1 / span 8; color: var(--color-on-deep); font-size: var(--text-section); line-height: 1.05; letter-spacing: var(--tracking-display); font-weight: var(--display-weight); font-family: var(--font-display); }
.foot__sign { grid-column: 1 / span 6; color: var(--color-on-deep-muted); }
.foot__base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-lg); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-on-deep-rule); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.foot__links a { color: var(--color-on-deep); font-size: var(--text-sm); text-decoration: none; border-radius: var(--radius-tag); }
.foot__links a:hover { text-decoration: underline; }
.foot__links a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.foot__legal { color: var(--color-on-deep-muted); font-size: var(--text-sm); }
.deep :focus-visible, .foot :focus-visible { outline-color: var(--color-accent); }

/* ---------- one reveal: the chart settles once ---------- */
.js .pin { opacity: 0; transition: opacity var(--dur-long) var(--ease-out) calc(var(--i, 0) * 60ms); }
.js .chart.is-in .pin { opacity: 1; }

/* ---------- small screens ---------- */
@media (max-width: 60rem) {
  .cube__head h2, .cube__head .lead { grid-column: 1 / -1; }
  .bench__body { grid-template-columns: minmax(0, 1fr); }
  .bench__panels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); padding: var(--space-lg); }
  .audience { margin: 0 var(--space-lg) var(--space-lg); }
  .bench__bar { padding: var(--space-md) var(--space-lg); }
  .proof--editor, .proof--panel { grid-column: 1 / -1; }
  .proof--bar .proof__shot { aspect-ratio: auto; }
  .proof--bar .proof__shot > img { position: static; height: auto; }
  /* Pricing gives way on a phone; Log in stays, since a returning hotel has no other way in. */
  .nav__link:not(.nav__link--login) { display: none; }
  .nav__links { gap: var(--space-md); }
  .nav__link--login { display: inline-flex; align-items: center; min-height: 44px; }
  .hero__sea { height: 62%; }
  .deep__head h2, .deep__head .lead { grid-column: 1 / -1; }
  .chart__field { aspect-ratio: 4 / 5; }
  .chart__scale li:nth-child(even) { display: none; }
  .entry { position: relative; right: auto; bottom: auto; width: auto; border-radius: 0; box-shadow: 0 -1px 0 var(--color-ink); }
  .chart__note { margin-left: 0; }
  .watch__stage { display: none; }
  .watch__panels { grid-column: 1 / -1; }
  .watch__panel { min-height: 0; }
  .watch__inline { display: block; margin-top: var(--space-lg); border-radius: var(--radius-card); outline: 1px solid color-mix(in srgb, var(--color-ink) 10%, transparent); outline-offset: -1px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile--lead, .tile--half { grid-column: span 2; }
  .tag__text, .sheet, .price__text, .offer, .faq__grid h2, .faq__rows { grid-column: 1 / -1; }
  .sheet, .offer, .faq__rows { margin-top: var(--space-2xl); }
  .faq__row { grid-template-columns: 1fr; gap: var(--space-xs); }
  .foot__close, .foot__sign { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .proof--bar { display: none; }
  .bench__title { flex-basis: 100%; }
  .bench__panels { gap: var(--space-lg) var(--space-md); padding: var(--space-lg) var(--space-md); }
  .panel__row { padding: 0 var(--space-xs); font-size: var(--text-sm); }
  .plan__head { flex-direction: column; }
  .tile { grid-column: 1 / -1; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile--lead, .tile--half { grid-column: 1 / -1; }
  .hero__actions .key { width: 100%; }
  .tile { padding: var(--space-lg); }
  .tile--quiet { padding-bottom: var(--space-lg); }
  .offer { min-height: 0; padding: var(--space-2xl) 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .pin { opacity: 1; transition: none; }
  .watch__frame > img { transition: none; }
}
