:root {
  --noir: #0b0c10;
  --noir-soft: #13151b;
  --card: #1a1d25;
  --card-line: rgba(255, 255, 255, .12);
  --gold: #ffb81c;
  --gold-deep: #e8a200;
  --gold-wash: rgba(255, 184, 28, .55);
  --bronze: #8a5a00;
  --ivory: #f6f4ef;
  --paper: #ffffff;
  --ink: #1b1d23;
  --ink-muted: #555963;
  --on-dark-muted: #c4c6cc;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  --section: clamp(64px, 10vw, 128px);
  --arc: clamp(26px, 5vw, 72px);
  --tilt: clamp(16px, 3vw, 44px);
  --radius: 16px;
  --lift: 0 18px 44px rgba(11, 12, 16, .09);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 68px; }
html.ready { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--paper);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); letter-spacing: -0.01em; }
h2 em { font-style: italic; font-weight: 500; color: var(--gold); }
h3 { font-size: 1.375rem; }
p { margin: 0; }
a { color: inherit; }
img, video { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible, .band :focus-visible { outline-color: var(--noir); }

.sprite { position: absolute; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 30; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 16px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.eyebrow::before { content: ""; flex: 0 0 28px; height: 2px; background: currentColor; }
.light .eyebrow { color: var(--bronze); }
.lead { max-width: 620px; margin-top: 24px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--on-dark-muted); }
.light .lead, .light .muted { color: var(--ink-muted); }
.muted { color: var(--on-dark-muted); }
/* A highlighter stroke behind the one phrase each heading is really about. */
.mark { background: linear-gradient(transparent 62%, var(--gold-wash) 62%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.section-head { display: grid; justify-items: center; text-align: center; max-width: 760px; margin: 0 auto; }
.section-intro { margin-top: 18px; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: var(--ink-muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px;
  padding: 14px 34px; border: 1px solid transparent; border-radius: 12px; background: var(--gold); color: var(--noir);
  font-weight: 700; line-height: 1.25; text-decoration: none; text-align: center;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:active { background: var(--gold-deep); }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid rgba(255, 255, 255, .45); }
.btn-ghost:active { background: rgba(255, 255, 255, .08); }
/* Hover stays off touch screens, where it would stick after a tap. */
@media (hover: hover) {
  .btn:hover { background: var(--gold-deep); transform: translateY(-1px); }
  .btn-ghost:hover { background: rgba(255, 255, 255, .08); }
}
.btn-small { min-height: 44px; padding: 8px 20px; font-size: .9375rem; line-height: 1.2; white-space: nowrap; border-radius: 10px; }
.text-link { font-weight: 600; text-underline-offset: 5px; }

.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px var(--gutter); background: rgba(11, 12, 16, .9); border-bottom: 1px solid var(--card-line);
  backdrop-filter: blur(10px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.1875rem var(--serif); text-decoration: none; min-width: 44px; min-height: 44px; }
.brand-mark { width: 34px; height: 34px; fill: var(--gold); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 10px; color: var(--paper); font-size: .875rem; font-weight: 600;
  text-decoration: none; transition: background-color .2s ease;
}
.lang:hover { background: rgba(255, 255, 255, .1); }
.cta-short { display: none; }

/* The photo runs to the right and top edges and melts into the page, so a portrait file stays sharp on wide screens. */
.hero { position: relative; overflow: hidden; min-height: min(760px, calc(100svh - 69px)); display: grid; align-items: center; padding: clamp(56px, 7vw, 96px) 0; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: min(54vw, 900px); margin: 0; background: var(--card); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--noir) 0%, rgba(11, 12, 16, .55) 26%, rgba(11, 12, 16, 0) 58%), linear-gradient(0deg, rgba(11, 12, 16, .72) 0%, rgba(11, 12, 16, 0) 26%); }
.hero-photo figcaption { position: absolute; z-index: 1; right: 20px; bottom: 16px; font-size: .8125rem; color: var(--ivory); }
.hero .wrap { position: relative; width: 100%; }
.hero-copy { max-width: min(620px, 52vw); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.04; letter-spacing: -0.02em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold); }
.hero .lead { color: var(--ivory); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 34px; }

.proof { border-top: 1px solid var(--card-line); padding: 26px 0 calc(26px + var(--arc)); }
.proof dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px clamp(24px, 5vw, 64px); margin: 0; }
.proof dt { font: 700 clamp(1.75rem, 2.8vw, 2.5rem)/1.1 var(--serif); color: var(--gold); }
.proof dd { margin: 4px 0 0; font-size: .9375rem; color: var(--on-dark-muted); }

section.light { background: var(--ivory); color: var(--ink); }
section.light.paper { background: var(--paper); }

/* A shallow curve where a section rises over the one before it. */
.arc { position: relative; }
.arc::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--arc) * -1 + 1px); height: var(--arc);
  background: var(--ivory); clip-path: ellipse(72% 100% at 50% 100%); pointer-events: none;
}
.arc-dark::before { background: var(--noir-soft); }

.stories, .results, .work, .first-step, .about, .live, .fit, .faq { padding: var(--section) 0; }
.stories { padding-top: clamp(40px, 6vw, 72px); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 7vw, 96px); align-items: center; }
.split > img { border-radius: var(--radius); width: 100%; }

/* Testimonials sit in one row that scrolls sideways: a picture on top, a short story under it.
   The next card peeks in at the edge, so it is clear there is more. */
/* The row runs to both screen edges while its first card lines up with the text above. */
.story-track {
  --inset: calc(max(0px, 50vw - 590px) + var(--gutter));
  display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, calc(100vw - 2 * var(--gutter) - 28px)); gap: clamp(16px, 2vw, 24px);
  margin: clamp(32px, 5vw, 48px) calc(-1 * var(--inset)) 0; padding: 6px var(--inset) 44px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--inset);
  scrollbar-width: none;
}
.story-track::-webkit-scrollbar { display: none; }
.story-track:focus-visible { outline: 2px solid var(--bronze); outline-offset: -2px; }
.story { display: flex; flex-direction: column; scroll-snap-align: start; overflow: hidden; border-radius: var(--radius); background: var(--paper); box-shadow: 0 10px 28px rgba(11, 12, 16, .08); }
.story-zoom { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.zoom-badge { position: absolute; right: 4px; bottom: 4px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--noir); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.zoom-badge svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lightbox-close { position: fixed; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; }
.lightbox-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.lightbox { max-width: min(92vw, 720px); max-height: 92vh; padding: 0; border: 0; border-radius: 14px; background: var(--noir); overflow: auto; cursor: zoom-out; }
.lightbox::backdrop { background: rgba(11, 12, 16, .82); }
.lightbox img { display: block; width: 100%; height: auto; }
.story-shot { margin: 0; height: clamp(250px, 26vw, 300px); padding: 12px; background: var(--noir); }
.story-shot img { width: 100%; height: 100%; object-fit: contain; }
.story-photo { padding: 0; }
.story-photo img { object-fit: cover; object-position: 50% 30%; }
.story-feature .story-photo { position: relative; flex: 1 1 0; height: auto; min-height: clamp(250px, 26vw, 300px); }
.story-feature .story-photo img { position: absolute; inset: 0; }
.story-body { padding: 22px 24px 26px; }
.story-tag { font-size: .875rem; font-weight: 700; color: var(--bronze); }
.story-body h3 { margin-top: 6px; font-size: 1.375rem; line-height: 1.2; }
.shift { display: grid; gap: 12px; margin: 16px 0 0; }
.shift dt { font: 700 .9375rem/1.3 var(--sans); color: var(--ink); }
.shift dd { margin: 2px 0 0; font-size: .9375rem; line-height: 1.5; color: var(--ink-muted); }
.story-body blockquote { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(11, 12, 16, .14); font: italic 500 1.0625rem/1.45 var(--serif); color: var(--ink); }
/* Valentinos opens the row on a dark card, styled as a quote: his words, then his face and name. */
.story-feature { background: var(--noir-soft); color: var(--paper); }
.story-feature .story-tag { color: var(--gold); }
.quote-card { margin: 0; }
.story-body .quote-card blockquote { margin: 0; padding: 0; border: 0; font: 400 1.0625rem/1.6 var(--sans); color: var(--paper); }
.quote-card blockquote p { margin: 0; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote-card figcaption img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--paper); }
.quote-card figcaption strong { display: block; font: 700 1rem/1.25 var(--sans); }
.quote-card figcaption span span { display: block; font-size: .875rem; color: var(--on-dark-muted); }
.story-controls { display: flex; justify-content: center; gap: 12px; margin-top: -12px; }
.story-controls[hidden] { display: none; }
.story-arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(11, 12, 16, .2); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; transition: opacity .2s, border-color .2s; }
.story-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.story-arrow:disabled { opacity: .35; cursor: default; }
@media (hover: hover) { .story-arrow:not(:disabled):hover { border-color: var(--ink); } }
.story-cta { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 40px); }

.results-video { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: 0 24px 54px rgba(11, 12, 16, .2); }
.results-video video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 1.0625rem; }
.checks svg { width: 26px; height: 26px; color: var(--bronze); margin-top: 2px; }

/* Full-colour bands break the page and carry the ask. The pale wedge behind each one softens the cut. */
.band { --from: var(--paper); --to: var(--ivory); position: relative; background: linear-gradient(var(--from) 50%, var(--to) 50%); }
.band-second { --from: var(--ivory); --to: var(--paper); }
.band::before { content: ""; position: absolute; inset: 0; background: var(--gold); opacity: .32; clip-path: polygon(0 0, 100% var(--tilt), 100% 100%, 0 calc(100% - var(--tilt))); }
.band-inner {
  position: relative; padding: calc(var(--tilt) + clamp(48px, 7vw, 84px)) 0; background: var(--gold); color: var(--noir); text-align: center;
  clip-path: polygon(0 var(--tilt), 100% 0, 100% calc(100% - var(--tilt)), 0 100%);
}
.band .wrap { display: grid; justify-items: center; max-width: 860px; }
.band h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
.band .eyebrow { color: var(--noir); }
.band .btn { margin-top: 32px; background: var(--noir); color: var(--paper); }
.band .btn:active { background: var(--card); }
@media (hover: hover) { .band .btn:hover { background: var(--card); } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.step { position: relative; display: grid; align-content: start; background: var(--paper); border-radius: var(--radius); padding: 28px clamp(22px, 2.6vw, 32px) 34px; box-shadow: var(--lift); }
.step-no { justify-self: start; padding: 8px 14px; line-height: 1.2; border-radius: 8px; background: var(--noir); color: var(--gold); font-size: .8125rem; font-weight: 700; }
.step-icon { position: absolute; top: 24px; right: clamp(22px, 2.6vw, 32px); color: var(--bronze); }
.step-icon svg { display: block; width: 34px; height: 34px; }
.step h3 { font-size: 1.3125rem; margin: 26px 0 12px; }
.step p { color: var(--ink-muted); }

.first-step-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 7vw, 96px); align-items: center; }
.first-step-intro .lead { margin-top: 18px; text-wrap: balance; }
.first-step-intro .btn { margin-top: 30px; }
.flow { list-style: none; margin: 0; padding: clamp(28px, 3.4vw, 44px); display: grid; gap: 36px; background: var(--ivory); border-radius: var(--radius); }
.flow li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: start; }
.flow li:not(:last-child)::before { content: ""; position: absolute; top: 52px; bottom: -36px; left: 25px; width: 2px; background: var(--gold); }
.flow-no { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--noir); color: var(--gold); font: 700 1.3125rem/1 var(--serif); font-variant-numeric: lining-nums; }
.flow h3 { font-size: 1.3125rem; }
.flow p { margin-top: 6px; color: var(--ink-muted); }

.about { background: var(--noir-soft); }
.about .split { align-items: center; }
.about .split > img { max-width: 440px; justify-self: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.about h3 { margin: 26px 0 0; font: 700 1.125rem var(--sans); color: var(--gold); }
.about .lead { margin-top: 10px; color: var(--ivory); }
.about p + p { margin-top: 16px; }
.about h3 + p { margin-top: 10px; }

.proof-card { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 40px; padding: clamp(20px, 3vw, 36px); background: var(--paper); border-radius: var(--radius); box-shadow: var(--lift); }
.proof-card-wide { grid-template-columns: 1fr 1.1fr; margin-top: 24px; }
.proof-card > img { width: 100%; border-radius: 12px; }
.proof-card h3 { font-size: clamp(1.625rem, 2.8vw, 2.25rem); }
.proof-card p { margin-top: 14px; max-width: 68ch; color: var(--ink-muted); }
.gallery-clip { aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: var(--card); }
.gallery-clip video { width: 100%; height: 100%; object-fit: cover; }

/* Two cards so a visitor sorts himself before the final ask. The amber edge marks the yes. */
.fit { background: var(--noir-soft); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(32px, 5vw, 48px); }
.fit-card { padding: clamp(24px, 3vw, 36px); background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius); }
.fit-yes { border-color: var(--gold-wash); }
.fit-icon { display: block; width: 28px; height: 28px; color: var(--gold); }
.fit-dash { display: flex; align-items: center; }
.fit-dash::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.fit-card h3 { margin-top: 14px; font-size: 1.5rem; }
.fit-card ul { display: grid; gap: 12px; margin: 16px 0 0; padding-left: 20px; color: var(--on-dark-muted); }
.fit-card li::marker { color: var(--gold); }

/* Native accordion: it works without scripts, and name="faq" keeps one answer open at a time.
   It follows the fit cards on the same dark, so their bottom padding is the gap between them. */
.faq { padding-top: 0; background: var(--noir-soft); }
.faq-list { display: grid; gap: 14px; max-width: 900px; margin: clamp(32px, 5vw, 48px) auto 0; }
.faq-item { background: var(--card); border: 1px solid var(--card-line); border-radius: 12px; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 18px 22px;
  border-radius: 12px; font-size: 1.0625rem; font-weight: 700; line-height: 1.35; cursor: pointer; list-style: none;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* The plus turns into a cross when the answer is open. */
.faq-item summary::after {
  content: ""; flex: 0 0 18px; height: 18px;
  background: linear-gradient(var(--gold), var(--gold)) center / 100% 2px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 2px 100% no-repeat;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) { .faq-item summary:hover { color: var(--gold); } }
.faq-answer { padding: 0 22px 22px; color: var(--on-dark-muted); }
.faq-answer p, .faq-answer ul { max-width: 68ch; }
.faq-answer ul { display: grid; gap: 8px; margin: 12px 0 0; padding-left: 20px; }
.faq-answer li::marker { color: var(--gold); }
.faq-answer a { color: var(--gold); }

.cta {
  padding: var(--section) 0; text-align: center;
  background: linear-gradient(rgba(11, 12, 16, .84), rgba(11, 12, 16, .9)), url("media/cta-room-2.jpg") 50% 40% / cover no-repeat, var(--noir);
}
.cta .wrap { display: grid; justify-items: center; max-width: 1040px; }
.cta p { margin: 18px auto 0; max-width: 620px; color: var(--ivory); }
.cta p + p { margin-top: 12px; }
.cta .eyebrow { margin: 0 0 18px; color: var(--gold); }
/* The two futures sit side by side, so the choice is what he reads just above the last button. */
.future-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; width: 100%; margin-top: clamp(32px, 5vw, 48px); text-align: left; }
.future-card { padding: clamp(24px, 3vw, 36px); background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius); }
.future-yes { border-color: var(--gold-wash); }
.future-card h3 { font-size: 1.5rem; }
.future-yes h3 { color: var(--gold); }
.cta .future-card p { margin: 12px 0 0; max-width: none; color: var(--on-dark-muted); }
.cta .future-yes p { color: var(--ivory); }
.cta .future-or { align-self: center; margin: 0; font: italic 500 1.5rem var(--serif); color: var(--gold); }
.cta .future-close { margin-top: clamp(32px, 5vw, 44px); max-width: none; font: 700 clamp(1.5rem, 3vw, 2rem)/1.25 var(--serif); color: var(--paper); text-wrap: balance; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 20px; margin-top: 34px; }

.footer { background: var(--noir); color: var(--on-dark-muted); padding: clamp(40px, 6vw, 64px) 0 28px; font-size: .9375rem; border-top: 1px solid var(--card-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--card-line); }
.footer h3 { font: 600 .8125rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; }
.footer a { text-decoration: none; display: inline-block; padding: 10px 0; }
.footer ul a { display: block; }
.footer a.brand { display: inline-flex; padding: 0; color: var(--paper); }
.footer a:hover { color: var(--gold); }
.footer-brand p { margin-top: 12px; max-width: 320px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; padding-top: 18px; font-size: .875rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer-bottom a { padding: 12px 0; }
.footer-note { flex-basis: 100%; max-width: 68ch; }

.legal { background: var(--ivory); color: var(--ink); padding: clamp(40px, 7vw, 88px) 0 var(--section); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); letter-spacing: -0.01em; }
.legal h2 { margin-top: 44px; font-size: 1.5rem; }
.legal h3 { margin-top: 28px; font: 600 1.125rem/1.3 var(--sans); }
.legal p, .legal ul { margin-top: 12px; }
.legal ul { display: grid; gap: 6px; padding-left: 22px; }
.legal a { color: var(--bronze); text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: 104px 1fr; gap: 6px 16px; margin: 10px 0 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
.legal-date { font-size: .9375rem; color: var(--ink-muted); }
.legal :focus-visible { outline-color: var(--noir); }

/* The application page is one screen: the top bar, then the form filling the rest. */
.apply-page { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
.apply-page .nav { flex: none; }
.apply { flex: 1; min-height: 0; display: flex; justify-content: center; padding: clamp(16px, 3vw, 32px); background: var(--ivory); }
.apply-frame { display: block; width: 100%; max-width: 780px; height: 100%; border: 0; border-radius: var(--radius); background: var(--paper); box-shadow: var(--lift); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.not-found { min-height: 70vh; display: grid; align-items: center; padding: var(--section) 0; }

@media (max-width: 1100px) {
  .proof-card-wide { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  /* Three cards in two columns: the last one takes the full row instead of leaving a hole. */
  .steps > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .first-step-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .split, .fit-grid { grid-template-columns: 1fr; }
  /* On phones the photo opens the page edge to edge, with Ilias kept in frame. */
  .hero { display: block; min-height: 0; padding: 0 0 36px; }
  .hero-photo { position: relative; width: 100%; height: min(112vw, 58vh); height: min(112vw, 58svh); }
  .hero-photo::after { background: linear-gradient(0deg, var(--noir) 0%, rgba(11, 12, 16, 0) 34%); }
  .hero-photo figcaption { right: auto; left: var(--gutter); bottom: 10px; }
  .hero-copy { max-width: none; padding-top: 24px; }
  .about .split > img { justify-self: center; }
  .proof-card { grid-template-columns: 1fr; }
  .proof-card .gallery-clip { order: 1; }
  .proof-card > img { order: 1; }
  .future-grid { grid-template-columns: 1fr; gap: 10px; }
  .cta .future-or { text-align: center; }
}
@media (max-width: 680px) {
  .cta-actions { width: 100%; }
  .hero-actions .btn, .cta-actions .btn, .band .btn, .story-cta .btn { width: 100%; }
  .band .wrap { justify-items: stretch; }
  .band .eyebrow { justify-content: center; }
}
@media (max-width: 600px) {
  /* On phones the three steps sit in one sideways row, like the testimonials, with the next card peeking in. */
  .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc(100vw - 2 * var(--gutter) - 28px); gap: 14px; margin: 36px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) 28px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .steps > .step, .steps > :last-child:nth-child(odd) { grid-column: auto; scroll-snap-align: start; }
  /* The room is in the lower part of this clip, so the phone crop keeps the bottom. */
  .gallery-clip { aspect-ratio: 4 / 5; }
  .gallery-clip video { object-position: 50% 100%; }
  /* Stats become rows, so every number and label sits on the same two straight edges. */
  .proof { padding: 6px 0 calc(10px + var(--arc)); }
  .apply { padding: 0; }
  .apply-frame { max-width: none; border-radius: 0; box-shadow: none; }
  .proof dl { grid-template-columns: 1fr; gap: 0; }
  .proof dl div { display: grid; grid-template-columns: 84px 1fr; align-items: baseline; gap: 12px; padding: 14px 0; }
  .proof dl div + div { border-top: 1px solid var(--card-line); }
  .proof dd { margin: 0; }
  .about .split > img { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:nth-child(2) { grid-row: span 2; }
}
@media (max-width: 420px) {
  .nav { gap: 10px; }
  .brand span { font-size: 1.0625rem; }
  .brand-mark { width: 28px; height: 28px; }
  .btn { padding: 14px 18px; }
  .btn-small { padding: 8px 14px; font-size: .875rem; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .fit-card, .future-card { padding: 24px 16px; }
  .faq-item summary { padding: 16px; }
  .faq-answer { padding: 0 16px 20px; }
  .flow { padding: 24px 18px; gap: 30px; }
  .flow li { grid-template-columns: 44px 1fr; gap: 14px; }
  .flow li:not(:last-child)::before { top: 44px; bottom: -30px; left: 21px; }
  .flow-no { width: 44px; height: 44px; font-size: 1.125rem; }
  .legal dl { grid-template-columns: 1fr; gap: 0; }
  .legal dd { margin-bottom: 8px; }
}
@media (max-width: 340px) {
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.ready { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
