/* Ironline — design system.
 *
 * Chrome, silver, black and white. No orange: the master brief's latest
 * direction supersedes the PDF's Ember palette. Three page treatments, so the
 * site is not one card stacked on another: the cinematic dark hero, light paper
 * information panels, and monochrome workflow proofs in mono type.
 *
 * Silver gradients are decoration on display type only, never on body copy, and
 * never where they would cost contrast.
 */

/* Self-hosted, SIL Open Font License (licences in /fonts). Each file is cut
   to the one width and weight range the site uses, so the three families
   weigh 90 KB together and nothing waits on a third-party stylesheet. */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-112.woff2") format("woff2"); font-weight: 600 800; font-stretch: 112%; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-400-600.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/plexmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #090b0f;
  --charcoal: #12161d;
  --panel: #1a1f27;
  --steel: #2a313c;
  --chrome-deep: #7f8c9c;
  --chrome-light: #d3d9e2;
  --frost: #edf1f5;
  --paper: #f6f8fa;
  --white: #ffffff;
  --hairline: rgba(218, 225, 234, 0.18);
  --hairline-strong: rgba(218, 225, 234, 0.32);
  --rule-light: #d3d9e2;
  --on-dark: #f1f4f8;
  --muted-dark: #b8c3d1;
  --on-light: #151922;
  --muted-light: #4a5361;      /* 7.4:1 on --frost */
  --focus: #d9e8ff;

  --chrome: linear-gradient(180deg, #ffffff 0%, #d3d9e2 42%, #8a96a6 58%, #e6ebf1 100%);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --t-hero: clamp(3.2rem, 11vw, 9.5rem);
  --t-h1: clamp(2.2rem, 5.2vw, 4.4rem);
  --t-h2: clamp(1.8rem, 3.6vw, 3rem);
  --t-h3: clamp(1.15rem, 1.6vw, 1.4rem);
  --t-lead: clamp(1.08rem, 1.5vw, 1.3rem);
  --t-body: 1rem;
  --t-small: 0.875rem;
  --t-label: 0.75rem;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px;
  --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px; --s32: 128px;
  --gutter: clamp(16px, 4.5vw, 72px);
  --max: 1240px;
  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-pill: 999px;
  --tap: 44px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --hdr-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; background: var(--ink); color: var(--on-dark);
  font: 400 var(--t-body)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible { outline-color: var(--on-light); }

.skip { position: absolute; left: var(--s4); top: -100px; z-index: 100; padding: var(--s3) var(--s4); background: var(--white); color: var(--ink); border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: var(--s4); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 18px; height: 18px; flex: none; }
.kicker { font: 500 var(--t-label)/1.3 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: var(--s4); }
.light .kicker { color: var(--muted-light); }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--muted-dark); max-width: 60ch; text-wrap: pretty; }
.light .lead { color: var(--muted-light); }
.mono { font-family: var(--f-mono); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: var(--tap); padding: 0 var(--s6); border-radius: var(--r-pill);
  font: 600 0.95rem/1 var(--f-body); letter-spacing: -0.005em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .ic { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover .ic { transform: translateX(2px); }
/* The primary action: a white button, dark text. 18.8:1. */
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--chrome-light); }
.btn--ghost { background: rgba(9, 11, 15, 0.35); color: var(--on-dark); border-color: var(--hairline-strong); }
.btn--ghost:hover { border-color: var(--chrome-light); background: rgba(255, 255, 255, 0.06); }
/* On light sections the primary inverts. */
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--steel); }
.btn--outline-dark { background: transparent; color: var(--on-light); border-color: #9aa5b3; }
.btn--outline-dark:hover { border-color: var(--on-light); }
.btn--full { width: 100%; }
.btn--lg { min-height: 54px; padding-inline: var(--s8); font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
/* A standalone "more" link: text-sized, but a full 44px to tap. */
.more { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 600; text-underline-offset: 4px; }

/* ------------------------------------------------------------- header */

.hdr { position: sticky; top: 0; z-index: 50; background: rgba(9, 11, 15, 0.92); border-bottom: 1px solid var(--hairline); }
@supports (backdrop-filter: blur(1px)) { .hdr { background: rgba(9, 11, 15, 0.78); backdrop-filter: blur(16px) saturate(140%); } }
/* Transparent only while sitting on the hero, and only when JS can switch it
   back; without JS the header is solid everywhere and always readable. */
.js .hdr.is-top { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.hdr__in { display: flex; align-items: center; gap: var(--s6); height: var(--hdr-h); max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.hdr__logo { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); color: var(--on-dark); margin-right: auto; }
.mark { flex: none; }
.wordmark { width: auto; }
.hdr__nav { display: flex; align-items: center; gap: var(--s2); }
.hdr__nav > a, .dd > summary {
  display: inline-flex; align-items: center; gap: var(--s1); min-height: var(--tap); padding: 0 var(--s3);
  font: 500 0.92rem/1 var(--f-body); color: var(--muted-dark); text-decoration: none; border-radius: var(--r-sm); cursor: pointer;
}
.hdr__nav > a:hover, .dd > summary:hover, .hdr__nav > a[aria-current] { color: var(--on-dark); }
.dd { position: relative; }
.dd > summary { list-style: none; }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary .ic { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.dd[open] > summary .ic { transform: rotate(180deg); }
.dd__menu { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px; list-style: none; padding: var(--s2); background: var(--charcoal); border: 1px solid var(--hairline-strong); border-radius: var(--r-md); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.dd__menu a { display: grid; gap: 2px; padding: var(--s3) var(--s4); border-radius: var(--r-sm); text-decoration: none; }
.dd__menu a:hover, .dd__menu a[aria-current] { background: var(--panel); }
.dd__menu span { font-weight: 600; color: var(--on-dark); }
.dd__menu small { font-size: var(--t-small); color: var(--muted-dark); }
.hdr__cta { padding-inline: var(--s5); }
.mnav { display: none; }

@media (max-width: 900px) {
  /* The nav folds into the menu; the booking button never does. On a phone the
     pricing page runs to ten screens, and a header with only a menu left three
     of them in a row without a single way to book in view. */
  .hdr__nav { display: none; }
  .hdr__in { gap: var(--s3); }
  .hdr__cta { padding-inline: var(--s4); font-size: 0.88rem; }
  .hdr__cta .ic { display: none; }
  .mnav { display: block; position: relative; }
  .mnav > summary { list-style: none; display: grid; place-items: center; width: var(--tap); height: var(--tap); border-radius: var(--r-sm); border: 1px solid var(--hairline-strong); cursor: pointer; }
  .mnav > summary::-webkit-details-marker { display: none; }
  .mnav__panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 32px)); display: grid; gap: 2px; padding: var(--s3); background: var(--charcoal); border: 1px solid var(--hairline-strong); border-radius: var(--r-md); box-shadow: 0 24px 60px rgba(0,0,0,.55); }
  .mnav__panel a:not(.btn) { display: flex; align-items: center; min-height: var(--tap); padding: 0 var(--s3); text-decoration: none; border-radius: var(--r-sm); font-weight: 500; }
  .mnav__panel a:not(.btn):hover, .mnav__panel a[aria-current] { background: var(--panel); }
  .mnav__panel .btn { margin-top: var(--s2); }
}

/* --------------------------------------------------------------- hero */

.hero { position: relative; min-height: calc(100svh - var(--hdr-h)); display: grid; place-items: center; overflow: hidden; isolation: isolate; margin-top: calc(var(--hdr-h) * -1); padding-top: var(--hdr-h); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media video { opacity: 0; transition: opacity 0.8s ease; }
.hero__media video.is-playing { opacity: 1; }
/* The scrim: dark where the words sit, so the copy is readable on every frame
   of the footage rather than on the poster alone. */
.hero__scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 46% at 50% 47%, rgba(9,11,15,.82) 0%, rgba(9,11,15,.55) 55%, rgba(9,11,15,0) 100%),
    linear-gradient(180deg, rgba(9,11,15,.55) 0%, rgba(9,11,15,0) 22%, rgba(9,11,15,0) 70%, rgba(9,11,15,.95) 100%); }
.hero__in { position: relative; text-align: center; padding: var(--s16) var(--gutter) var(--s24); max-width: 900px; display: grid; justify-items: center; gap: var(--s5); }
.hero__eyebrow { font: 500 var(--t-label)/1.4 var(--f-mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--chrome-light); text-wrap: balance; }
.hero__eyebrow span { white-space: nowrap; }
.hero__mark { font-family: var(--f-display); font-weight: 600; font-stretch: 112%; font-size: var(--t-hero); line-height: 0.9; letter-spacing: 0.06em; text-indent: 0.06em;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__mark .wordmark { height: clamp(44px, 10.5vw, 132px); width: auto; color: var(--white); filter: drop-shadow(0 2px 30px rgba(0,0,0,.6)); }
.hero h1 { font-size: var(--t-h1); color: var(--white); }
.hero__sub { font-size: var(--t-lead); color: #dfe5ec; max-width: 54ch; line-height: 1.5; text-wrap: pretty; }
.hero__note { font-size: var(--t-small); color: var(--muted-dark); }
.hero__ctrl { position: absolute; right: var(--gutter); bottom: var(--s6); display: flex; align-items: center; gap: var(--s3); z-index: 2; }
.hero__ctrl button { display: inline-grid; place-items: center; width: var(--tap); height: var(--tap); border-radius: var(--r-pill); background: rgba(9,11,15,.55); border: 1px solid var(--hairline-strong); color: var(--on-dark); cursor: pointer; }
.hero__ctrl button:hover { border-color: var(--chrome-light); }
.hero__ctrl small { font: 500 0.7rem/1.3 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); max-width: 22ch; text-align: right; }
.hero__strip { position: absolute; left: 0; right: 0; bottom: var(--s6); display: flex; justify-content: center; gap: var(--s6); font: 500 var(--t-label)/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); pointer-events: none; }
.hero__strip span + span::before { content: "/"; margin-right: var(--s6); color: var(--chrome-deep); }
@media (max-width: 760px) {
  .hero { min-height: calc(100svh - var(--hdr-h)); align-items: start; }
  .hero__in { padding-top: var(--s12); padding-bottom: var(--s20); gap: var(--s4); }
  .hero__scrim { background:
    linear-gradient(180deg, rgba(9,11,15,.7) 0%, rgba(9,11,15,.6) 55%, rgba(9,11,15,.25) 75%, rgba(9,11,15,.92) 100%); }
  .hero .btn-row { width: 100%; flex-direction: column; }
  .hero .btn-row .btn { width: 100%; }
  .hero__strip { display: none; }
  .hero__ctrl { left: var(--gutter); right: var(--gutter); justify-content: space-between; flex-direction: row-reverse; }
  .hero__ctrl small { text-align: left; }
}

/* ------------------------------------------------------------ sections */

.sec { padding-block: clamp(var(--s16), 9vw, var(--s32)); position: relative; }
.sec--tight { padding-block: clamp(var(--s12), 6vw, var(--s20)); }
.sec__head { display: grid; gap: var(--s4); max-width: 760px; margin-bottom: clamp(var(--s10), 5vw, var(--s16)); }
.sec__head h2 { font-size: var(--t-h2); }
.sec__head--center { margin-inline: auto; text-align: center; justify-items: center; }
/* The perspective lines of the corridor become single horizontal rules. */
.rule { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--hairline-strong) 20%, var(--hairline-strong) 80%, transparent); }

.light { background: var(--frost); color: var(--on-light); }
.light .rule { background: var(--rule-light); }
.paper { background: var(--paper); }

/* Arriving at the vanishing point: two lines resolve into two paths. */
.split { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--s4), 2.4vw, var(--s8)); }
.split::before { content: ""; position: absolute; left: 50%; top: -72px; height: 72px; width: 1px; background: linear-gradient(180deg, transparent, var(--chrome-deep)); }
.path { position: relative; display: grid; gap: var(--s5); align-content: start; padding: clamp(var(--s6), 3vw, var(--s10)); background: var(--charcoal); border: 1px solid var(--hairline); border-radius: var(--r-lg); text-decoration: none; overflow: hidden; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.path::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); }
.path:hover { border-color: var(--hairline-strong); transform: translateY(-2px); }
.path__ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--hairline-strong); color: var(--chrome-light); }
.path__ic .ic { width: 22px; height: 22px; }
.path h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.path p { color: var(--muted-dark); max-width: 42ch; }
.path__go { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; color: var(--on-dark); margin-top: var(--s2); }
.split--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split--3::before { display: none; }
@media (max-width: 960px) { .split--3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split::before { display: none; } }

/* The problem, beside a chrome shard. */
.problem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(var(--s8), 5vw, var(--s16)); align-items: center; }
.problem h2 { font-size: var(--t-h2); margin-bottom: var(--s6); }
.problem > div > p:not(.kicker) { color: var(--muted-dark); font-size: var(--t-lead); line-height: 1.6; max-width: 54ch; }
.problem__art { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); aspect-ratio: 4 / 3; box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.problem__art img { width: 100%; height: 100%; object-fit: cover; object-position: 25% 50%; }
.tags { display: grid; gap: var(--s2); margin-top: var(--s8); }
.tag { display: flex; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5); background: rgba(26,31,39,.7); border: 1px solid var(--hairline-strong); border-radius: var(--r-md); font-weight: 600; }
.tag .ic { color: var(--chrome-light); }
.tag span { font: 500 var(--t-label)/1 var(--f-mono); color: var(--muted-dark); margin-left: auto; letter-spacing: 0.1em; }
@media (max-width: 860px) { .problem { grid-template-columns: 1fr; } .problem__art { order: -1; aspect-ratio: 16 / 10; } }

/* ---------------------------------------------------- workflow (mono) */

.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(var(--s8), 5vw, var(--s20)); align-items: start; }
.flow__copy h2 { font-size: var(--t-h2); margin-bottom: var(--s5); }
.thread { background: var(--charcoal); border: 1px solid var(--hairline-strong); border-radius: var(--r-lg); padding: var(--s6); display: grid; gap: var(--s4); position: relative; }
.thread__label { position: absolute; top: calc(var(--s3) * -1); left: var(--s6); padding: var(--s1) var(--s3); background: var(--ink); border: 1px solid var(--hairline-strong); border-radius: var(--r-pill); font: 500 0.7rem/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--chrome-light); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: var(--s4); align-items: start; padding-top: var(--s3); }
.step + .step { border-top: 1px dashed var(--hairline); }
.step__t { font: 500 0.8rem/1.6 var(--f-mono); color: var(--muted-dark); }
.step__k { font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--chrome-light); margin-bottom: var(--s2); display: flex; align-items: center; gap: var(--s2); }
.step__k .ic { width: 14px; height: 14px; }
.bubble { background: var(--panel); border: 1px solid var(--hairline); border-radius: 14px 14px 14px 4px; padding: var(--s3) var(--s4); color: var(--on-dark); font-size: 0.95rem; line-height: 1.5; max-width: 46ch; }
.bubble--out { border-radius: 14px 14px 4px 14px; background: #232a35; }
.bubble--human { border-color: var(--chrome-deep); }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- pricing */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(var(--s3), 1.6vw, var(--s6)); }
.plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.plan { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: var(--s5); padding: clamp(var(--s6), 2.4vw, var(--s8)); background: var(--white); color: var(--on-light); border: 1px solid var(--rule-light); border-radius: var(--r-lg); }
.plan--standard { border-color: var(--on-light); box-shadow: 0 0 0 1px var(--on-light); }
.plan__flag { position: absolute; top: calc(var(--s3) * -1); left: var(--s6); padding: var(--s1) var(--s3); background: var(--on-light); color: var(--white); border-radius: var(--r-pill); font: 500 0.7rem/1.5 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.plan h3 { font-size: 1.5rem; }
.plan__problem { color: var(--muted-light); }
.price { display: grid; gap: var(--s3); margin: 0; padding: var(--s4) 0; border-block: 1px solid var(--rule-light); }
.price__row { display: grid; gap: var(--s1); }
.price dt { font: 500 var(--t-label)/1.2 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-light); }
.price dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s2); }
.price strong { font: 800 clamp(1.6rem, 2.6vw, 2.1rem)/1 var(--f-display); font-stretch: 112%; letter-spacing: -0.02em; }
.price__per { color: var(--muted-light); font-size: var(--t-small); }
.price__basis { width: 100%; font-size: var(--t-small); color: var(--muted-light); }
.list { list-style: none; display: grid; gap: var(--s3); }
.list li { display: grid; grid-template-columns: 20px 1fr; gap: var(--s3); font-size: 0.95rem; line-height: 1.45; }
.list .ic { width: 18px; height: 18px; margin-top: 1px; }
.list--x li { color: var(--muted-light); }
.plan__sub { font: 500 var(--t-label)/1.2 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-light); margin-bottom: var(--s3); }
.plan__foot { display: grid; gap: var(--s3); }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .plans--2 { grid-template-columns: 1fr; } }

.tabs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s10); }
.tabs a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--s5); border-radius: var(--r-pill); border: 1px solid #b9c2ce; text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.tabs a:hover { border-color: var(--on-light); }
.group { scroll-margin-top: calc(var(--hdr-h) + 24px); }
.group + .group { margin-top: clamp(var(--s16), 7vw, var(--s24)); }
.group__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s8); }
.group__head h2 { font-size: var(--t-h2); }
.group__head p { color: var(--muted-light); max-width: 52ch; }

.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s8); }
.note { padding: var(--s6); border-radius: var(--r-md); background: var(--white); border: 1px solid var(--rule-light); }
.note h3 { font-size: 1.05rem; margin-bottom: var(--s2); }
.note p { color: var(--muted-light); font-size: 0.95rem; }
@media (max-width: 900px) { .notes { grid-template-columns: 1fr; } }

.extra { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.extra__item { display: grid; gap: var(--s3); padding: var(--s6); border: 1px solid var(--rule-light); border-radius: var(--r-md); background: var(--white); }
.extra__item h3 { font-size: 1.15rem; }
.extra__item p { color: var(--muted-light); font-size: 0.95rem; }
.extra__price { font: 600 1rem/1.4 var(--f-mono); }
@media (max-width: 760px) { .extra { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- process */

.stages { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); counter-reset: st; }
.stages--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stage { counter-increment: st; padding: var(--s6); border-top: 1px solid var(--hairline-strong); display: grid; gap: var(--s3); align-content: start; }
.light .stage { border-top-color: var(--on-light); }
.stage::before { content: counter(st, decimal-leading-zero); font: 500 0.8rem/1 var(--f-mono); color: var(--muted-dark); letter-spacing: 0.1em; }
.light .stage::before { color: var(--muted-light); }
.stage h3 { font-size: var(--t-h3); }
.stage p { color: var(--muted-dark); font-size: 0.95rem; }
.light .stage p { color: var(--muted-light); }
@media (max-width: 980px) { .stages, .stages--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stages, .stages--6 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- screen frames */

.screen { margin: 0; position: relative; border: 1px solid var(--steel); border-radius: var(--r-md); overflow: hidden; background: var(--charcoal); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 30px 70px rgba(0,0,0,.45); }
.screen::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(211,217,226,.12); pointer-events: none; z-index: 1; }
.screen img { width: 100%; height: auto; }
.screen__label { position: absolute; left: var(--s3); top: var(--s3); z-index: 2; padding: var(--s1) var(--s3); border-radius: var(--r-pill); background: rgba(9,11,15,.82); border: 1px solid var(--hairline-strong); font: 500 0.68rem/1.5 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark); }
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(var(--s4), 2.4vw, var(--s8)); }
.work { display: grid; gap: var(--s4); }
.work h3 { font-size: 1.25rem; }
.work p { color: var(--muted-dark); font-size: 0.95rem; }
.work__meta { font: 500 var(--t-label)/1.3 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }
@media (max-width: 760px) { .works { grid-template-columns: 1fr; } }

/* The rail that stands in for a review marquee until real reviews exist:
   steps of the work, not endorsements. */
.rail { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rail__row { display: flex; gap: var(--s3); width: max-content; animation: rail 48s linear infinite; }
.rail__row--rev { animation-direction: reverse; margin-top: var(--s3); }
.rail__item { display: inline-flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s5); border: 1px solid var(--hairline); border-radius: var(--r-pill); font: 500 0.8rem/1 var(--f-mono); color: var(--muted-dark); white-space: nowrap; }
.rail__item b { color: var(--on-dark); font-weight: 500; }
.rail:hover .rail__row { animation-play-state: paused; }
@keyframes rail { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ details */

.faq { display: grid; gap: var(--s3); max-width: 860px; }
.faq details { border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--charcoal); }
.light .faq details { border-color: var(--rule-light); background: var(--white); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 60px; padding: var(--s4) var(--s6); font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform 0.2s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details > div { padding: 0 var(--s6) var(--s6); color: var(--muted-dark); display: grid; gap: var(--s3); }
.light .faq details > div { color: var(--muted-light); }

/* --------------------------------------------------------------- page head */

.phead { padding-block: clamp(var(--s16), 9vw, var(--s24)) clamp(var(--s10), 5vw, var(--s16)); border-bottom: 1px solid var(--hairline); position: relative; overflow: hidden; }
.phead::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent); }
.phead h1 { font-size: var(--t-h1); max-width: 18ch; margin-bottom: var(--s5); }
.phead .lead { max-width: 58ch; }
.phead .btn-row { margin-top: var(--s8); }

.cta { text-align: center; display: grid; justify-items: center; gap: var(--s5); }
.cta h2 { font-size: var(--t-h2); }
.cta p { color: var(--muted-dark); max-width: 52ch; font-size: var(--t-lead); }

.prose { max-width: 72ch; display: grid; gap: var(--s5); }
.prose h2 { font-size: 1.6rem; margin-top: var(--s8); }
.prose h3 { font-size: 1.15rem; margin-top: var(--s4); }
.prose p, .prose li { color: var(--muted-light); }
.prose ul { padding-left: 1.2rem; display: grid; gap: var(--s2); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(var(--s8), 5vw, var(--s16)); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

.callout { padding: var(--s6) var(--s8); border-radius: var(--r-lg); border: 1px solid var(--hairline-strong); background: var(--charcoal); display: grid; gap: var(--s3); }
.light .callout { background: var(--white); border-color: var(--rule-light); }

/* --------------------------------------------------------- need chips */

/* A missing fact, shown loudly in a preview build. Never rendered in production. */
.need { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; margin: 0 2px; border-radius: 6px; background: #fff3c4; color: #3d2f00; border: 1px solid #e0b100; font: 500 0.72rem/1.5 var(--f-mono); letter-spacing: 0.02em; vertical-align: middle; white-space: normal; text-transform: none; }
.need__k { font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.pv { position: relative; z-index: 60; padding: 0 var(--gutter); background: #fff3c4; color: #3d2f00; font-size: var(--t-small); text-align: center; border-bottom: 1px solid #e0b100; }
.pv a { color: inherit; font-weight: 600; display: inline-flex; align-items: center; min-height: var(--tap); padding-inline: var(--s2); }

/* --------------------------------------------------------------- footer */

.ftr { border-top: 1px solid var(--hairline); padding-block: var(--s16) var(--s8); background: var(--ink); }
.ftr__in { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: var(--s8); }
.ftr__brand { display: grid; gap: var(--s4); align-content: start; }
.ftr__brand > a { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); justify-self: start; }
.ftr__brand p { color: var(--muted-dark); max-width: 34ch; font-size: 0.95rem; }
.ftr__col { display: grid; gap: var(--s1); align-content: start; }
.ftr__col h2 { font: 500 var(--t-label)/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: var(--s3); }
.ftr__col a { display: flex; align-items: center; min-height: var(--tap); color: var(--on-dark); text-decoration: none; font-size: 0.95rem; }
.ftr__col a:hover { text-decoration: underline; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); margin-top: var(--s12); padding-top: var(--s6); border-top: 1px solid var(--hairline); color: var(--muted-dark); font-size: var(--t-small); }
.ftr__legal a { color: var(--muted-dark); display: inline-flex; align-items: center; min-height: var(--tap); padding-inline: 4px; }
.ftr__legal { align-items: center; }
@media (max-width: 860px) { .ftr__in { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }

/* ============================================================ CINEMATIC
 *
 * The scenes below the hero. Three kinds of picture, never mixed up:
 *   real screenshots (demos, labelled)  ->  .browser
 *   original text-free scenery          ->  .scene__art, .phead__art, art()
 *   diagrams built from HTML            ->  .thread, .stages, .gate__chips
 * Words always sit on a solid panel or a scrim, never on raw imagery.
 */

/* ------------------------------------------------------- browser frame */

.browser { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: #0d1015;
  border: 1px solid var(--steel);
  box-shadow: 0 1px 0 rgba(255,255,255,.10) inset, 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.6); }
.browser::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.07), transparent 28%); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  background: linear-gradient(180deg, #1d222b, #151920); border-bottom: 1px solid #262c36; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a424e; flex: none; }
.browser__bar span { margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: #0d1015; border: 1px solid #2b323d;
  font: 500 0.66rem/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--chrome-light);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; }
.browser--lg { border-radius: 18px; }
.browser--lg .browser__bar { height: 40px; }

/* ------------------------------------------------------------ gateways */

.gates__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(var(--s4), 2vw, var(--s6)); }
.gate { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; text-decoration: none;
  background: var(--charcoal); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  transition: border-color .3s var(--ease), transform .3s var(--ease); }
.gate::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); }
.gate:hover { border-color: var(--hairline-strong); transform: translateY(-3px); }
.gate__media { position: relative; padding: clamp(var(--s5), 3vw, var(--s10)) clamp(var(--s5), 3vw, var(--s10)) 0;
  background: radial-gradient(80% 90% at 50% 0%, #252c37 0%, #12161d 70%); }
.gate--web .gate__media .browser { transform: translateY(8px); transition: transform .5s var(--ease); }
.gate--web:hover .gate__media .browser { transform: translateY(0); }
.gate__media--art { padding: 0; min-height: 300px; display: grid; }
.gate__art { width: 100%; height: 100%; object-fit: cover; grid-area: 1 / 1; transition: transform 1.2s var(--ease); }
.gate--ai:hover .gate__art { transform: scale(1.04); }
.gate__chips { grid-area: 1 / 1; align-self: end; list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); padding: var(--s5); margin: 0; }
.gate__chips li { display: inline-flex; align-items: center; gap: var(--s2); padding: 7px 12px; border-radius: 999px;
  background: rgba(9,11,15,.72); border: 1px solid var(--hairline-strong); font: 500 0.74rem/1.2 var(--f-mono); color: var(--on-dark); }
@supports (backdrop-filter: blur(1px)) { .gate__chips li { backdrop-filter: blur(10px); } }
.gate__chips li + li::before { content: "→"; margin-right: 4px; color: var(--chrome-deep); }
.gate__chips .ic { width: 14px; height: 14px; color: var(--chrome-light); }
.gate__body { display: grid; gap: var(--s3); align-content: start; padding: clamp(var(--s6), 3vw, var(--s10)); }
.gate__n { font: 500 var(--t-label)/1 var(--f-mono); letter-spacing: .14em; color: var(--muted-dark); }
.gate h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.gate p { color: var(--muted-dark); max-width: 42ch; }
/* The automation card shows a real workflow editor screenshot, whole, on its own dark canvas. */
.gate__media--flow { position: relative; display: grid; place-items: center; padding: clamp(var(--s4), 2.4vw, var(--s8)); background: #171717; min-height: 300px; }
.gate__flow { width: 100%; height: auto; border-radius: 8px; }
.gate__label { position: absolute; left: var(--s4); top: var(--s4); padding: 3px 10px; border-radius: 999px; background: rgba(9,11,15,.82); border: 1px solid var(--hairline-strong); font: 500 0.68rem/1.5 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark); }
@media (max-width: 900px) { .gates__grid { grid-template-columns: 1fr; } .gate__media--art, .gate__media--flow { min-height: 240px; } }

/* --------------------------------------------------------------- scenes */

.problem-scene { background:
  radial-gradient(60% 70% at 85% 40%, rgba(127,140,156,.10), transparent 70%), var(--ink); }

/* A section with a full-bleed photograph behind it, scrimmed to near-black
   wherever words sit. The image is decoration (empty alt, aria-hidden). */
.scene { isolation: isolate; overflow: hidden; }
.scene__art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.scene__art img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.scene__art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(9,11,15,.35) 20%, rgba(9,11,15,.35) 80%, var(--ink) 100%),
              linear-gradient(90deg, rgba(9,11,15,.8) 0%, rgba(9,11,15,.15) 55%, rgba(9,11,15,.45) 100%); }
.scene--stair .scene__art img { opacity: .7; object-position: 70% 50%; }

/* Pricing stays solid; a cut of chrome runs down both outer edges only. */
.chrome-edge { overflow: hidden; }
.chrome-edge::before, .chrome-edge::after { content: ""; position: absolute; top: 12%; bottom: 12%; width: 3px; pointer-events: none;
  background: linear-gradient(180deg, transparent, #ffffff 18%, #8a96a6 50%, #e6ebf1 82%, transparent);
  box-shadow: 0 0 24px rgba(138,150,166,.45); }
.chrome-edge::before { left: 0; }
.chrome-edge::after { right: 0; }

/* -------------------------------------------------------- demo showcase */

.showcase { display: grid; gap: clamp(var(--s4), 2vw, var(--s6)); }
.stage-w { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(var(--s12), 7vw, var(--s24)); }
.stage-w__art { position: absolute; inset: 0; z-index: -1; }
.stage-w__art img { width: 100%; height: 100%; object-fit: cover; }
.stage-w--steel .stage-w__art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,11,15,.15) 0%, rgba(9,11,15,.25) 55%, rgba(9,11,15,.88) 100%); }
.stage-w--dark .stage-w__art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(9,11,15,.1) 0%, rgba(9,11,15,.3) 50%, rgba(9,11,15,.85) 100%); }
.stage-w__in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(var(--s8), 4vw, var(--s16)); align-items: center; }
.stage-w--dark .stage-w__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.stage-w--dark .stage-w__copy { order: -1; }
.stage-w__copy { display: grid; gap: var(--s3); padding: var(--s6); border-radius: var(--r-lg);
  background: rgba(9,11,15,.78); border: 1px solid var(--hairline-strong); }
@supports (backdrop-filter: blur(1px)) { .stage-w__copy { backdrop-filter: blur(14px); background: rgba(9,11,15,.62); } }
.stage-w__copy h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.stage-w__copy p:not(.work__meta) { color: #d3d9e2; }
@media (max-width: 860px) {
  .stage-w__in, .stage-w--dark .stage-w__in { grid-template-columns: 1fr; }
  .stage-w--dark .stage-w__copy { order: 0; }
  .stage-w__art img { object-position: 50% 50%; }
  .stage-w--steel .stage-w__art::after, .stage-w--dark .stage-w__art::after { background: linear-gradient(180deg, rgba(9,11,15,.2), rgba(9,11,15,.85)); }
}

/* Large demo under a service page header. */
.stage-hero { padding-top: 0; margin-top: calc(clamp(var(--s10), 5vw, var(--s16)) * -0.5); }
.stage-hero__cap { margin-top: var(--s4); font-size: var(--t-small); color: var(--muted-dark); max-width: 70ch; }

/* --------------------------------------------- process bridge + progress */

.stages--bridge .stage { background: rgba(18,22,29,.86); border: 1px solid var(--hairline-strong); border-radius: var(--r-md); }
@supports (backdrop-filter: blur(1px)) { .stages--bridge .stage { background: rgba(18,22,29,.7); backdrop-filter: blur(12px); } }
.light .stages--bridge .stage { background: var(--white); }
[data-progress] { position: relative; }
/* The line under the steps fills as they come into view. Without JS, or with
   reduced motion, it is simply full. */
[data-progress]::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 2px; border-radius: 2px; background: var(--hairline); }
[data-progress]::after { content: ""; position: absolute; left: 0; top: -14px; height: 2px; border-radius: 2px;
  width: var(--fill, 100%); background: linear-gradient(90deg, #8a96a6, #ffffff); transition: width .6s var(--ease); }
.light [data-progress]::before { background: var(--rule-light); }
.light [data-progress]::after { background: linear-gradient(90deg, var(--steel), var(--on-light)); }

/* ---------------------------------------------------------------- who */

.who__in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(var(--s8), 5vw, var(--s20)); align-items: center; }
.who__art { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); aspect-ratio: 4 / 5; }
.who__art img { width: 100%; height: 100%; object-fit: cover; }
.who h2 { font-size: var(--t-h2); margin-bottom: var(--s8); }
.halves { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--hairline-strong); border-radius: var(--r-md); overflow: hidden; }
.halves > div { padding: var(--s6); display: grid; gap: var(--s2); align-content: start; }
.halves > div + div { border-left: 1px solid var(--hairline-strong); }
.halves h3 { font-size: 1.1rem; }
.halves p { color: var(--muted-dark); font-size: .95rem; }
.who__note { margin-top: var(--s6); color: var(--muted-dark); max-width: 56ch; }
@media (max-width: 860px) { .who__in { grid-template-columns: 1fr; } .who__art { aspect-ratio: 16 / 11; } }
@media (max-width: 520px) { .halves { grid-template-columns: 1fr; } .halves > div + div { border-left: 0; border-top: 1px solid var(--hairline-strong); } }

/* ---------------------------------------------------- quiet (questions) */

.quiet { background:
  repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 1px, transparent 1px 14px),
  linear-gradient(180deg, var(--charcoal), var(--ink)); border-block: 1px solid var(--hairline); }

/* --------------------------------------------------------------- finale */

.finale { isolation: isolate; overflow: hidden; min-height: min(86vh, 760px); display: grid; align-items: center; }
.finale__art { position: absolute; inset: -16px 0; z-index: -1; transform: translate3d(0, var(--py, 0px), 0); }
.finale__art img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.finale__art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,11,15,.94) 0%, rgba(9,11,15,.75) 38%, rgba(9,11,15,.1) 70%),
              linear-gradient(180deg, var(--ink) 0%, transparent 18%, transparent 82%, var(--ink) 100%); }
.finale__in { display: grid; gap: var(--s5); justify-items: start; max-width: calc(var(--max) + var(--gutter) * 2); }
.finale h2 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 14ch; }
.finale__in > p:not(.kicker) { color: #d3d9e2; max-width: 48ch; font-size: var(--t-lead); }
.finale__fit { font: 500 .8rem/1.5 var(--f-mono) !important; letter-spacing: .04em; color: var(--muted-dark) !important; }
@media (max-width: 760px) {
  .finale { min-height: 0; padding-top: 52vw; }
  .finale__art img { object-position: 80% 30%; }
  .finale__art::after { background: linear-gradient(180deg, rgba(9,11,15,.05) 0%, rgba(9,11,15,.7) 40%, var(--ink) 62%); }
  .finale .btn-row { width: 100%; flex-direction: column; } .finale .btn-row .btn { width: 100%; }
}

/* ---------------------------------------------------- page heads with art */

.phead--art { isolation: isolate; min-height: clamp(380px, 52vh, 560px); display: grid; align-items: end; }
.phead__art { position: absolute; inset: 0; z-index: -1; }
.phead__art img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.phead__art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,11,15,.95) 0%, rgba(9,11,15,.8) 42%, rgba(9,11,15,.25) 100%),
              linear-gradient(180deg, rgba(9,11,15,.4), transparent 30%, transparent 70%, var(--ink)); }
.phead--right .phead__art { left: 45%; }
.phead--right .phead__art img { object-position: 50% 50%; }
.phead--right .phead__art::after { background: linear-gradient(90deg, var(--ink) 0%, rgba(9,11,15,.4) 35%, rgba(9,11,15,.1) 100%),
  linear-gradient(180deg, transparent 70%, var(--ink)); }
@media (max-width: 760px) {
  .phead--art { min-height: 0; padding-top: 46vw; }
  .phead--right .phead__art { left: 0; }
  .phead__art::after, .phead--right .phead__art::after { background: linear-gradient(180deg, rgba(9,11,15,.15) 0%, rgba(9,11,15,.75) 45%, var(--ink) 72%); }
}

/* ------------------------------------------------------------------ book */

.phead--book { padding-bottom: clamp(var(--s8), 4vw, var(--s12)); }
.cals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(var(--s4), 2vw, var(--s6)); }
.cal { position: relative; display: grid; gap: var(--s4); align-content: start; grid-template-rows: auto auto auto 1fr auto auto;
  padding: clamp(var(--s6), 3vw, var(--s10)); border-radius: var(--r-lg); background: var(--charcoal); border: 1px solid var(--hairline-strong); }
.cal::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); }
.cal.is-match { border-color: var(--chrome-light); box-shadow: 0 0 0 1px var(--chrome-light), 0 30px 80px rgba(0,0,0,.4); }
.cal__len { justify-self: start; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--hairline-strong); font: 500 .74rem/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--chrome-light); }
.cal h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cal__who { color: var(--muted-dark); }
.cal__prices li { color: var(--on-dark); }
.cal__prices strong { font-weight: 600; }
.cal__note { font-size: var(--t-small); color: var(--muted-dark); }
.cal--main { max-width: 760px; grid-template-rows: none; gap: var(--s6); }
.cal__top { display: grid; gap: var(--s3); }
.cal-pick { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s6); max-width: 760px; margin-top: var(--s5); color: var(--muted-dark); }
.cal-pick p { margin-right: var(--s2); }
.cal-pick .more { gap: var(--s2); color: var(--on-dark); text-decoration: underline; }
.cal-pick .ic { width: 14px; height: 14px; }
.book-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(var(--s6), 4vw, var(--s16)); margin-top: clamp(var(--s12), 6vw, var(--s20)); padding-top: var(--s10); border-top: 1px solid var(--hairline); }
.book-info h2 { font-size: 1.25rem; margin-bottom: var(--s4); }
.book-info p { color: var(--muted-dark); }
.book-info p + p { margin-top: var(--s3); }
.book-info a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .cals, .book-info { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- footer finish */

.ftr__big { margin: var(--s12) 0 0; padding-inline: var(--gutter); overflow: hidden; display: flex; justify-content: center; pointer-events: none; }
.ftr__big .wordmark { width: min(100%, 1240px); height: auto; color: transparent; }
.ftr__big .wordmark g { stroke: url(#ftr-chrome); stroke: rgba(211,217,226,.13); }


/* ---------------------------------------------------------------- motion */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Scroll moment one: as the hero leaves, the corridor narrows into a frame.
   Scroll-driven where the browser supports it; otherwise nothing moves. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero__media { animation: hero-frame linear both; animation-timeline: view(); animation-range: exit 0% exit 90%; }
    @keyframes hero-frame { to { clip-path: inset(0 5% 10% 5% round 28px); opacity: .55; } }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .rail__row { animation: none; flex-wrap: wrap; width: auto; }
  .rail__row--rev { display: none; }
  .hero__media video { display: none; }
}
