/* Reel Visits. Brand Sheet V1: black and white, Warm Stone accent, Montserrat only. */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --stone: #BFA58A;
  --charcoal: #3A3734;
  --stone-light: #F2EDE6;

  /* 8px spacing scale */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px;
  --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px; --s16: 128px;

  /* Type scale */
  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-base: 1rem;
  --t-md: 1.125rem;
  --t-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --t-xl: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
  --t-2xl: clamp(2.25rem, 1.1rem + 4.6vw, 5rem);
  --t-3xl: clamp(2.75rem, 0.6rem + 9vw, 8.5rem);
  --t-mega: clamp(5.5rem, 1rem + 15vw, 14rem);

  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 11vw, 176px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Theme (dark by default) */
  --bg: var(--black);
  --fg: var(--white);
  --fg-soft: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.16);
  --label: var(--stone);
  --ph-bg: #161514;
  --surface: #181716;
  /* Borders of form fields and outline buttons: at least 3:1 against the background (WCAG 1.4.11). */
  --control: #706E6C;
  --placeholder: #9D9D9D;
  /* Form error messages (Alex's choice, 2 Dec 2026). */
  --error: #FF8A80;
  /* Header height; site.js corrects it to the exact pixel. */
  --header-h: 97px;
  --header-full: 97px;
}
@media (min-width: 1000px) { :root { --header-h: 105px; --header-full: 105px; } }

.theme-stone, .theme-white {
  --fg: var(--black);
  --fg-soft: var(--charcoal);
  --line: rgba(10, 10, 10, 0.14);
  --label: var(--charcoal);
  --ph-bg: #E6DFD5;
  --surface: var(--white);
  --control: #7E7973;
  --placeholder: #6B6662;
  --error: #B3261E;
}
.theme-stone { --bg: var(--stone-light); }
.theme-white { --bg: var(--white); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--t-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, blockquote, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--stone); outline-offset: 3px; }
.theme-stone :focus-visible, .theme-white :focus-visible { outline-color: var(--black); }

.skip {
  position: absolute; left: var(--s2); top: -100px; z-index: 100;
  background: var(--white); color: var(--black); padding: var(--s1) var(--s2);
  font-weight: 600; border-radius: var(--radius);
}
.skip:focus { top: var(--s2); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.section { background: var(--bg); color: var(--fg); padding-block: var(--section); }
.section--tight-top { padding-top: 0; }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
.h-hero { font-size: var(--t-3xl); letter-spacing: -0.045em; line-height: 0.96; }
.h-section { font-size: var(--t-2xl); letter-spacing: -0.04em; line-height: 1; max-width: 16ch; }
.h-sub { font-size: var(--t-lg); letter-spacing: -0.015em; line-height: 1.25; }
.lead { font-size: var(--t-md); color: var(--fg-soft); max-width: 58ch; }
.body { color: var(--fg-soft); max-width: 66ch; }
.small { font-size: var(--t-sm); color: var(--fg-soft); max-width: 70ch; }

.label {
  font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--label); line-height: 1.5;
}
.label--rule { display: flex; align-items: center; gap: var(--s2); }
.label--rule::before { content: ""; width: var(--s5); height: 1px; background: var(--stone); flex: none; }

.section-head { display: grid; gap: var(--s4); margin-bottom: clamp(48px, 6vw, 96px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 14px 28px; border: 1px solid transparent; border-radius: var(--radius);
  font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.01em; line-height: 1.3;
  text-decoration: none; cursor: pointer;
  transition: background-color 240ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease);
}
.btn--small { min-height: 44px; padding: 10px 20px; }
.btn--light { background: var(--stone-light); color: var(--black); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--ghost { border-color: var(--control); color: var(--fg); background: transparent; }
.btn__free { font-weight: 800; text-decoration: underline 2px var(--stone); text-underline-offset: 0.25em; }
.btn--light .btn__free { text-decoration-color: #8F7B67; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-header__bar { display: flex; align-items: center; gap: var(--s4); min-height: 72px; }
.site-header__logo { flex: none; display: block; padding-block: var(--s1); }
.site-header__logo img { width: 120px; height: auto; transition: width 240ms var(--ease); }
/* Scrolled: the header shrinks to 73px (72px bar and its 1px line); the margin keeps the page from moving (see site.js). */
.site-header { transition: margin-bottom 240ms var(--ease); }
.site-header.is-compact { margin-bottom: calc(var(--header-full) - 73px); }
.site-header.is-compact .site-header__logo img { width: 84px; }
.nav { margin-left: auto; display: none; }
.nav__links { display: flex; gap: var(--s4); }
.nav__links a, .menu__panel li a {
  font-size: var(--t-sm); font-weight: 500; text-decoration: none; color: rgba(255, 255, 255, 0.82);
  padding-block: var(--s1); border-bottom: 1px solid transparent;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.site-header__cta { display: none; }

/* Phones and tablets: "Free first video" and the menu button sit at the bar's right (Gallery is in the menu, Alex, 2 Dec 2026). */
.site-header__free { margin-left: auto; flex: none; white-space: nowrap; padding-inline: var(--s2); min-height: 48px; }
.site-header__bar .site-header__free ~ .menu { margin-left: calc(var(--s1) - var(--s4)); } /* 8px from the button */
@media (max-width: 479px) {
  .site-header__bar { gap: var(--s2); }
  .site-header__free { padding-inline: 14px; }
  .site-header__bar .site-header__free ~ .menu { margin-left: calc(var(--s1) - var(--s2)); }
}
.menu { margin-left: auto; }
.menu summary {
  transition: border-color 200ms var(--ease);
  list-style: none; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--control); border-radius: var(--radius);
}
.menu summary::-webkit-details-marker { display: none; }
.menu__icon, .menu__icon::before {
  display: block; width: 20px; height: 2px; background: var(--white); content: "";
  transition: transform 240ms var(--ease);
}
.menu__icon { transform: translateY(-4px); }
.menu__icon::before { transform: translateY(8px); }
.menu[open] .menu__icon { transform: rotate(45deg); }
.menu[open] .menu__icon::before { transform: rotate(-90deg); }
.menu__panel {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: var(--s2) var(--gutter) var(--s4); display: grid; gap: var(--s2);
}
.menu__panel ul { display: grid; margin-bottom: var(--s2); }
.menu__panel li a { display: block; padding-block: var(--s2); font-size: var(--t-md); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }

@media (min-width: 1000px) {
  .nav, .site-header__cta { display: block; }
  .site-header__cta { display: inline-flex; }
  .menu, .site-header__free { display: none; }
  .site-header__logo img { width: 132px; }
  .site-header.is-compact .site-header__logo img { width: 84px; }
  /* Every label stays on one line. The gaps tighten a little on narrower desktop windows
     (24px at 1000px, the full 32px from about 1330px) so the bar always fits without wrapping. */
  .nav__links a, .site-header__cta { white-space: nowrap; }
  .nav__links { gap: clamp(20px, 2.4vw, var(--s4)); }
  .site-header__bar { gap: clamp(24px, 2.4vw, var(--s4)); }
  .site-header__cta { flex: none; }
}

/* ---------- Media placeholders ----------
   Each placeholder reserves the exact space of the real photo or video.
   To swap in real media, replace the .ph element with an <img> or <video>
   inside the same .frame. */
.frame { position: relative; }
.frame--offset::before {
  /* The thin offset frame from the logo. */
  content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, 0.34);
  transform: translate(var(--s2), var(--s2)); pointer-events: none;
}
.theme-stone .frame--offset::before, .theme-white .frame--offset::before { border-color: rgba(10, 10, 10, 0.3); }
.ph {
  position: relative; width: 100%; aspect-ratio: var(--ar, 16 / 9); background: var(--ph-bg);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: grid; place-content: center; justify-items: center; gap: var(--s1);
  padding: var(--s2); text-align: center;
  background-image: linear-gradient(135deg, rgba(191, 165, 138, 0.1), transparent 55%);
}
.ph__label { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg); }
.ph__spec { font-size: var(--t-xs); color: var(--fg-soft); }
.ph--fill { aspect-ratio: auto; height: 100%; min-height: 96px; }
.caption { margin-top: var(--s2); font-size: var(--t-sm); color: var(--fg-soft); }
.caption strong { color: var(--fg); font-weight: 600; }

/* ---------- Hero ---------- */
/* Full-bleed footage behind the headline, with the four source photos beside it. */
.hero { position: relative; isolation: isolate; background: var(--black); min-height: calc(100svh - var(--header-full) - var(--topbar-h, 0px)); display: grid; align-items: end; padding-block: clamp(72px, 9vh, 112px) clamp(32px, 4vw, 64px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero__bg .ph, .hero__bg video, .hero__bg img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border: 0; border-radius: 0; }
.hero__bg .hero__still { position: absolute; inset: 0; pointer-events: none; }
.hero__bg .hero__still.is-gone { visibility: hidden; } /* removed instantly: it matches the frame exactly */
.hero__bg .ph { place-content: start end; justify-items: end; text-align: right; padding: var(--s3) var(--gutter); }
.hero__bg .ph__spec { display: none; }
/* The pause button and the sound switch sit together in the top right corner of the video. */
.hero__controls { position: absolute; z-index: 2; top: var(--s3); right: var(--gutter); display: flex; align-items: center; gap: var(--s1); }
.hero__sound, .hero__pause {
  position: relative;
  display: inline-flex; align-items: center; gap: var(--s1); min-height: 44px; padding: 10px 16px;
  background: rgba(10, 10, 10, 0.55); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px;
  font-size: var(--t-sm); font-weight: 600; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color 250ms var(--ease), background-color 250ms var(--ease);
  -webkit-tap-highlight-color: transparent; /* no grey flash when tapped on a phone */
}
/* Only devices with a real mouse get the hover look; on phones it would stick after a tap and flash dark. */
.hero__pause { gap: 6px; }
.hero__pause[hidden] { display: none; }
.hero__pause .hero__play-icon { display: none; }
.hero__pause[aria-pressed="true"] .hero__pause-icon { display: none; }
.hero__pause[aria-pressed="true"] .hero__play-icon { display: inline; }
@media (hover: hover) { .hero__pause:hover { border-color: var(--stone); background: rgba(10, 10, 10, 0.75); } }
@media (hover: hover) { .hero__sound:hover { border-color: var(--stone); background: rgba(10, 10, 10, 0.75); } }
.hero__sound[hidden] { display: none; }
/* The speaker icon and the switch change together in about a third of a second, as the words roll over. */
.hero__sound .hero__sound-waves, .hero__sound .hero__sound-off { transition: opacity 250ms var(--ease); }
.hero__sound .hero__sound-waves { opacity: 0; }
.hero__sound[aria-checked="true"] .hero__sound-waves { opacity: 1; }
.hero__sound[aria-checked="true"] .hero__sound-off { opacity: 0; }
/* The words roll over like a counter: both wordings share one line and the label hides what is outside it. */
.hero__sound-label { display: inline-grid; overflow: hidden; text-align: left; }
.hero__roll { grid-area: 1 / 1; white-space: nowrap; transition: transform 320ms var(--ease), opacity 320ms var(--ease); }
.hero__roll.from-below { transform: translateY(100%); opacity: 0; transition: none; }
.hero__roll.from-above { transform: translateY(-100%); opacity: 0; transition: none; }
.hero__roll.to-above { transform: translateY(-100%); opacity: 0; }
.hero__roll.to-below { transform: translateY(100%); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .hero__roll { transition: none; } }
/* The switch: a dark track with a white knob when the sound is off; Warm Stone with the knob on the right when it is on. */
.hero__switch { position: relative; flex: none; width: 34px; height: 20px; margin-left: 2px; border-radius: 999px; background: rgba(255, 255, 255, 0.22); transition: background-color 250ms var(--ease); }
.hero__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); transition: transform 250ms var(--ease), background-color 250ms var(--ease); }
.hero__sound[aria-checked="true"] .hero__switch { background: var(--stone); }
.hero__sound[aria-checked="true"] .hero__switch::after { transform: translateX(14px); background: var(--black); }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.62) 42%, rgba(10, 10, 10, 0.18) 100%); }
.hero__inner { display: grid; gap: var(--s6); }
.hero__copy { display: grid; gap: var(--s3); }
.hero__copy .h-hero { max-width: 16ch; font-size: clamp(2.75rem, min(0.6rem + 7.4vw, 12vh), 8rem); }
.hero__copy .lead { font-size: var(--t-lg); line-height: 1.45; max-width: 40ch; color: rgba(255, 255, 255, 0.86); }
.hero__copy .btn-row { margin-top: var(--s1); }
/* Tablets and desktop: the gold label sits on a solid dark backing so it reads over any frame. */
@media (min-width: 600px) {
  .hero__copy > .label { justify-self: start; padding: 7px 12px; background: rgba(10, 10, 10, 0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: var(--radius); }
}
.hero__source { display: grid; gap: var(--s2); }
.hero__card { display: contents; } /* desktop: its children sit in the column as before */
.hero__now { margin: 0; display: grid; gap: var(--s1); }
.hero__now-img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius);
  outline: 2px solid var(--stone); outline-offset: -2px; box-shadow: 0 18px 40px rgba(10, 10, 10, 0.55);
  transition: opacity 260ms var(--ease);
}
.hero__now-img.is-swapping { opacity: 0.25; }
.hero__now figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); font-size: var(--t-sm); }
.hero__now-room { font-weight: 600; color: var(--white); }
.hero__now-count { color: rgba(255, 255, 255, 0.72); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero__photos { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.hero__photos li { position: relative; border-radius: var(--radius); overflow: hidden; outline: 1px solid rgba(255, 255, 255, 0.18); outline-offset: -1px; transition: opacity 360ms var(--ease), outline-color 360ms var(--ease); }
.hero__photos img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
/* Any listing photo can be tapped to show it in the large photo for 2 seconds (the video keeps playing). */
.hero__photos li { cursor: pointer; }
.hero__photos li:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.hero__photos.is-holding li { opacity: 0.38; }
.hero__photos.is-holding li.is-now { opacity: 1; outline: 2px solid var(--stone); outline-offset: -2px; }
/* While the video plays, the photo it is showing lights up and the rest step back. */
.hero__photos.is-syncing li { opacity: 0.38; }
.hero__photos.is-syncing li.is-now { opacity: 1; outline: 2px solid var(--stone); outline-offset: -2px; }
@media (max-width: 999px) {
  /* Phones and tablets: the finished video gets its own space at the top, whole and unshaded, and the
     text and listing photos stack below it on black (as the brief asks), instead of the text sitting
     over a darkened video. */
  .hero { min-height: 0; align-items: start; padding-top: 0; }
  .hero__bg { position: relative; inset: auto; z-index: 0; aspect-ratio: 3 / 2; will-change: auto; }
  .hero__shade { display: none; }
  .hero__inner { padding-top: var(--s4); }
  /* Buttons straight under the headline, so the main call to action is on the first screen. */
  .hero__copy > .label { order: 1; }
  .hero__copy > .h-hero { order: 2; }
  .hero__copy > .btn-row { order: 3; margin-top: 0; }
  .hero__copy > .lead { order: 4; }
  /* "Made from these 16 listing photos": a compact card floating over the bottom-left corner of the
     video: the listing photo the video is using right now on the left, the words on the right. The
     bottom of the video is the screen width times its shape (2 / 3, the video's own shape). */
  .hero__card {
    position: absolute; z-index: 2; left: var(--gutter);
    top: calc(100vw * 2 / 3 - var(--s3)); transform: translateY(-100%);
    width: min(360px, calc(100vw - var(--gutter) * 2));
    display: grid; grid-template-columns: 132px minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-items: center;
    padding: 8px; background: rgba(10, 10, 10, 0.38); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  }
  .hero__card .hero__now { display: contents; }
  .hero__card .hero__now-img { grid-column: 1; grid-row: 1 / span 2; box-shadow: none; }
  .hero__card .label { grid-column: 2; grid-row: 1; align-self: end; font-size: 11px; letter-spacing: 0.14em; line-height: 1.35; }
  .hero__card figcaption { grid-column: 2; grid-row: 2; align-self: start; display: grid; gap: 2px; justify-content: start; font-size: 12px; line-height: 1.3; }
  /* All 16 listing photos, under the one showing now. */
  .hero__card .hero__photos { grid-column: 1 / -1; grid-row: 3; margin-top: 4px; grid-template-columns: repeat(8, 1fr); }
  /* The card fades in on its own (the column's rise animation would move it off the video). */
  .js .hero .hero__source { animation: none; transform: none; }
}
@media (max-width: 999px) and (prefers-reduced-motion: no-preference) {
  .js .hero__card { animation: card-in 600ms var(--ease) 400ms both; }
}
@keyframes card-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 599px) {
  /* Phones: a smaller, more see-through sound switch, so it covers less of the video. */
  .hero__controls { top: 10px; right: 10px; gap: 6px; }
  /* Phones: the pause button shows just its icon (its name is still read out). */
  .hero__pause { min-height: 32px; min-width: 32px; padding: 5px 8px; justify-content: center; font-size: 11px; background: rgba(10, 10, 10, 0.28); border-color: rgba(255, 255, 255, 0.2); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
  .hero__pause::before { content: ""; position: absolute; inset: -6px; }
  .hero__pause svg { width: 14px; height: 14px; }
  .hero__pause-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero__sound { min-height: 32px; padding: 5px 8px 5px 10px; gap: 6px; font-size: 11px; background: rgba(10, 10, 10, 0.28); border-color: rgba(255, 255, 255, 0.2); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
  .hero__sound::before { content: ""; position: absolute; inset: -6px; } /* keeps a comfortable area to tap */
  .hero__sound svg { width: 14px; height: 14px; }
  .hero__switch { width: 26px; height: 15px; }
  .hero__switch::after { top: 2px; left: 2px; width: 11px; height: 11px; }
  .hero__sound[aria-checked="true"] .hero__switch::after { transform: translateX(11px); }
  /* Phones: "Done for you · Human-edited · AI-enhanced" runs along the bottom of the video, on a soft
     dark fade so it reads over any frame. The video's bottom edge is the screen width times 2 / 3
     (the video's own 3:2 shape, so its full height shows). */
  .hero__copy > .label {
    position: absolute; z-index: 1; left: 0; right: 0; top: calc(100vw * 2 / 3); transform: translateY(-100%);
    margin: 0; padding: 22px var(--gutter) 9px; font-size: 9.5px; letter-spacing: 0.13em; line-height: 1.2; white-space: nowrap; text-align: center;
  }
  /* A tall, eased fade (many small steps) rising from solid black at the video's bottom edge, so there
     is no visible line where it starts, even as the video slides behind it. */
  .hero__copy > .label::before {
    content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 100px; pointer-events: none;
    background: linear-gradient(to top,
      rgb(10 10 10 / 1) 0%, rgb(10 10 10 / 0.94) 10%, rgb(10 10 10 / 0.83) 20%, rgb(10 10 10 / 0.69) 30%,
      rgb(10 10 10 / 0.54) 40%, rgb(10 10 10 / 0.4) 50%, rgb(10 10 10 / 0.27) 60%, rgb(10 10 10 / 0.16) 70%,
      rgb(10 10 10 / 0.08) 80%, rgb(10 10 10 / 0.03) 90%, rgb(10 10 10 / 0) 100%);
  }
  /* The fade carries on as solid black down to the end of the hero. As you scroll, the video slides
     down behind it (the same slow slide as on desktop), so this hides the part that slides below the
     tagline and the text scrolls up over the video with no visible edge. */
  .hero__copy > .label::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: var(--black); pointer-events: none; }
  .hero__copy > :not(.label), .hero__source { position: relative; z-index: 2; }
  /* The video stays pinned under the header from the very first scroll, and the page (the tagline's
     fade, then the photo card, headline and buttons) slides up over it. "clip" rather than "hidden"
     on the hero, because "hidden" would stop the video from sticking. */
  .hero { overflow: clip; }
  .hero__bg { position: sticky; top: var(--header-h); }
  .js .hero__copy > .label { animation: none; }
  /* Phones: the listing photos card sits just below the video, on the black, before the headline.
     The photo showing now on the left; on its right the label, the room and "Photo 5 of 16",
     then all 16 photos in two rows of eight. */
  .hero__source { order: -1; }
  .hero__inner { gap: var(--s3); padding-top: 12px; }
  .hero__card {
    position: static; transform: none; width: auto; max-width: none;
    grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 10px; row-gap: 3px; align-items: start;
    padding: 6px; background: var(--surface); border-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  /* Phones: the headline and the two buttons are centred; the paragraph stays left-aligned. */
  .hero__copy > .h-hero { text-align: center; margin-inline: auto; }
  .hero__copy > .btn-row { justify-content: center; }
  .hero { padding-bottom: var(--s6); }
  .hero__card .hero__now-img { grid-row: 1 / span 3; align-self: center; }
  .hero__card .label { grid-row: 1; align-self: start; font-size: 8px; letter-spacing: 0.12em; line-height: 1.2; }
  .hero__card figcaption { grid-row: 2; display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 11px; line-height: 1.2; }
  .hero__card .hero__now-count { font-size: 10px; }
  .hero__card .hero__photos { grid-column: 2; grid-row: 3; align-self: end; margin-top: 0; grid-template-columns: repeat(8, 1fr); gap: 2px; }
}
@media (min-width: 1000px) {
  /* Desktop screens are wider than the video's 3:2 shape, so some of the frame is trimmed. About three
     quarters of it comes off the top and a quarter off the bottom, so more of the floor stays in view. */
  .hero__bg video, .hero__bg .hero__still { object-position: 50% 75%; }
  /* Headline runs the full width; the photos sit beside the text and buttons below it. */
  .hero__inner { grid-template-columns: minmax(0, 1fr) 320px; column-gap: var(--s8); row-gap: var(--s3); align-items: end; }
  .hero__copy { display: contents; }
  .hero__copy > .label { grid-column: 1 / -1; grid-row: 1; }
  .hero__copy > .h-hero { grid-column: 1 / -1; grid-row: 2; }
  .hero__copy > .lead { grid-column: 1; grid-row: 3; }
  .hero__copy > .btn-row { grid-column: 1; grid-row: 4; }
  .hero__source { grid-column: 2; grid-row: 2 / span 3; align-self: end; position: relative; z-index: 1; }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) 248px; }
  .hero__photos { grid-template-columns: repeat(9, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero__copy > *, .js .hero__source { animation: rise 700ms var(--ease) both; }
  .js .hero__copy > :nth-child(2) { animation-delay: 90ms; }
  .js .hero__copy > :nth-child(3) { animation-delay: 180ms; }
  .js .hero__copy > :nth-child(4) { animation-delay: 270ms; }
  .js .hero__source { animation-delay: 420ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

/* ---------- Proof ---------- */
/* The testimonial sits on its own white band straight after the black hero, so it stands apart. */
.proof { background: var(--bg); color: var(--fg); padding-block: var(--section); }
@media (max-width: 599px) { .proof { padding-block: var(--s8); } }
.proof__inner { display: grid; gap: var(--s6); }
/* Text reveal (see site.js). Headings reveal by letter (.tw-letters), other text by word (.tw-words).
   Words and letters stay inline, so kerning is kept and find-in-page matches across words; the hidden
   copy is for screen readers and is not copied. */
.tw-word { display: inline; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.tw-char { display: inline; }
.tw-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; user-select: none; }
.tw-sr::before { content: attr(data-text); }
@media (prefers-reduced-motion: no-preference) {
  .js .tw-letters:not(.is-done) .tw-char, .js .tw-words:not(.is-done) .tw-word { opacity: 0; filter: blur(var(--tw-blur)); }
  /* Blur scales with the type size, as on the reference: about 8px on a large headline. */
  .js .tw-letters { --tw-blur: clamp(3px, 0.13em, 8px); --tw-time: 500ms; }
  .js .tw-words { --tw-blur: clamp(1.5px, 0.1em, 3px); --tw-time: 450ms; }
  /* Dark letters on the cream sections blur into grey, so the blur there is lighter. */
  .js .theme-stone .tw-letters { --tw-blur: clamp(2px, 0.08em, 5px); }
  .js .theme-stone .tw-words { --tw-blur: clamp(1.5px, 0.1em, 3px); }
  .js .tw-letters.is-shown:not(.is-done) .tw-char, .js .tw-words.is-shown:not(.is-done) .tw-word {
    opacity: 1; filter: blur(0);
    transition: opacity var(--tw-time) cubic-bezier(0.215, 0.61, 0.355, 1), filter var(--tw-time) cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: calc(var(--base, 0ms) + var(--cd, 0ms));
  }
}
@media print {
  .js .is-split .tw-char, .js .is-split .tw-word { opacity: 1 !important; filter: none !important; transition: none !important; }
  .js .proof__inner .cite > * { opacity: 1 !important; transform: none !important; }
  .js .proof__inner .cite::before { transform: scaleX(1) !important; }
}
.quote-lg { font-size: clamp(2.25rem, 0.9rem + 5.6vw, 6.25rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; max-width: 17ch; text-wrap: balance; }
.cite { font-style: normal; font-size: var(--t-sm); color: var(--fg-soft); display: grid; gap: 2px; }
.cite strong { color: var(--fg); font-weight: 600; font-size: var(--t-base); }
.proof .cite { position: relative; padding-top: var(--s3); max-width: 360px; }
.proof .cite::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--stone); transform-origin: left center; }

/* ---------- Transformations ---------- */
/* Three short vertical videos. Phones: video and text side by side, alternating. Desktop: three across. */
.features { display: grid; gap: var(--s6); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s3); align-items: center; }
.feature:nth-child(even) .feature__media { order: 2; }
.feature__video {
  display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ph-bg);
  border-radius: var(--radius); outline: 1px solid var(--line); outline-offset: -1px;
}
.feature__media { overflow: hidden; border-radius: var(--radius); }
.feature__text { display: grid; gap: var(--s1); align-content: center; }
.feature__text h3 { font-size: var(--t-xl); letter-spacing: -0.03em; }
.feature__text p { color: var(--fg-soft); max-width: 36ch; }
@media (min-width: 900px) {
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
  .feature { grid-template-columns: minmax(0, 1fr); align-items: start; gap: var(--s3); }
  /* Keep each video and its title on one screen. */
  .feature__media { justify-self: start; width: min(100%, calc((100svh - var(--header-h) - 200px) * 9 / 16)); }
  .feature:nth-child(even) .feature__media { order: 0; }
  .feature__text { align-content: start; }
}
.note {
  position: relative; margin-top: clamp(56px, 8vw, 128px); padding-left: var(--s3);
  font-size: var(--t-xl); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; max-width: 34ch; color: var(--fg);
  text-shadow: 0 0 16px rgba(191, 165, 138, 0.32), 0 0 40px rgba(191, 165, 138, 0.12);
}
.note::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--stone); transform-origin: top; }
.note { transform-origin: left center; }

/* ---------- Middle ground ---------- */
.compare { display: grid; gap: var(--s2); }
.compare__col { background: var(--surface); border-radius: var(--radius); padding: var(--s4); display: grid; gap: var(--s3); align-content: start; }
.compare__col h3 { font-size: var(--t-lg); color: var(--fg-soft); }
.compare__col li { padding-block: var(--s2); border-top: 1px solid var(--line); color: var(--fg-soft); display: grid; gap: 4px; align-content: start; }
.compare__key { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); }
.compare__col--us .compare__key { color: var(--charcoal); }
.compare__col--us { position: relative; background: var(--stone-light); color: var(--black); --line: rgba(10, 10, 10, 0.16); outline: 2px solid var(--stone); outline-offset: -2px; } /* thin Warm Stone edge marks it as the one to pick */
.compare__badge {
  /* Sits across the panel's top edge, clear of the title at every size. */
  position: absolute; top: 0; right: var(--s3); transform: translateY(-50%);
  padding: 6px 12px; border-radius: 999px; background: var(--stone); color: var(--black); /* Warm Stone, so it shows against the black section and the light card */
  font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.3;
}
.compare__col--us h3 { color: var(--black); font-size: var(--t-xl); letter-spacing: -0.03em; }
.compare__col--us li { color: var(--black); font-weight: 600; font-size: var(--t-md); }
@media (min-width: 900px) {
  .compare { grid-template-columns: 1fr 1fr 1.3fr; grid-template-rows: auto auto auto auto; gap: 0 var(--s2); align-items: stretch; }
  /* Cost, Effort and Result line up across all three columns. */
  .compare__col { grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .compare__col h3 { padding-bottom: var(--s3); }
  .compare__col ul { display: contents; }
  .compare__col { padding: var(--s5); }
  .compare__col--us { padding: var(--s6); }
}

/* ---------- How it works ---------- */
.steps { display: grid; gap: var(--s8); }
.step { display: grid; gap: var(--s2); align-content: start; }
/* Photo first, then the step number on a rule, then the title and text. */
.step__img {
  order: -1; overflow: hidden; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); margin-bottom: var(--s2); background: var(--ph-bg);
}
.step::before { content: ""; display: block; height: 1px; background: var(--black); transform-origin: left center; }
/* The number rises from behind the line, so it sits in a frame that hides its overflow. */
.step__num {
  overflow: hidden; padding-top: var(--s3); margin-bottom: var(--s2);
  font-size: var(--t-3xl); font-weight: 700; letter-spacing: -0.06em; line-height: 0.82; color: var(--black);
}
.step__num span { display: inline-block; padding-bottom: 0.08em; }
.step h3 { font-size: var(--t-xl); letter-spacing: -0.03em; }
.step p { color: var(--fg-soft); max-width: 40ch; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } }

/* ---------- Gallery ---------- */
/* The gallery walk. By default (no JavaScript, or reduced motion) the videos sit in a plain grid.
   The head script adds .g3d to <html> before first paint, which turns the section into a curved corridor
   you walk down by scrolling: the inner wall on the left curves away round the bend, the outer wall sweeps
   round on the right. gallery.js drives the walk. */
.gwalk { position: relative; background: var(--black); color: var(--white); padding-block: var(--section); }
.gwalk__skip { position: absolute; left: var(--gutter); top: var(--s2); z-index: 5; }
/* Hidden until a keyboard user tabs to it. */
.gwalk__skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; white-space: nowrap; border: 0; }
.gwalk__head { display: grid; gap: var(--s3); margin-bottom: clamp(48px, 6vw, 96px); }
.gwalk__hint { display: none; font-size: var(--t-sm); color: var(--fg-soft); max-width: 36ch; text-wrap: pretty; }
.gwalk__ring { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 700px) { .gwalk__ring { grid-template-columns: repeat(4, 1fr); gap: var(--s3); } }
.gwalk__panel--blank, .gwalk__panel--extra { display: none; }
.gframe { display: grid; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: center; }
/* The still picture and the video share one spot: the picture shows until the video is playing. */
.gframe > .gframe__still, .gframe > video { grid-area: 1 / 1; }
.gframe > .gframe__still + video { opacity: 0; transition: opacity 300ms var(--ease); }
.gframe > .gframe__still + video.is-live { opacity: 1; }
/* The full-quality video for an opened frame sits on top and shows once it has drawn its first frame. */
.gframe > .gframe__full { grid-area: 1 / 1; opacity: 0; }
.gframe > .gframe__full.is-live { opacity: 1; }
/* Safari and iPhone, canvas route (gallery.js): the nearest videos are copied onto a canvas, which
   Safari can draw in the 3D corridor; the video itself stays invisible but must stay "on screen"
   (not hidden) or an iPhone pauses it. */
.gframe > .gframe__canvas { grid-area: 1 / 1; display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; opacity: 0; transition: opacity 300ms var(--ease); pointer-events: none; }
.gframe > .gframe__canvas.is-live { opacity: 1; }
.is-canvas .gframe > .gframe__still + video, .is-canvas.is-ios.g3d .gwalk__panel--inner .gframe > video { visibility: visible; opacity: 0; }
.gframe .ph, .gframe video, .gframe img { --ar: 9 / 16; display: grid; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.gframe:hover .ph { border-color: var(--stone); }
.gframe video { pointer-events: none; background: var(--ph-bg); }

.g3d .gwalk { padding-block: 0; height: calc(150svh + 100svh); }
.g3d .gwalk__skip:focus { position: fixed; top: calc(var(--header-h) + var(--s2)); }
.g3d .gwalk__stage {
  position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h));
  overflow: hidden; overflow: clip;
  /* Everything in the corridor is measured in frame widths (--fw). */
  --fw: min(30svh, 30vw); --fh: calc(var(--fw) * 16 / 9);
  --ro: calc(var(--fw) * 9); --ri: calc(var(--fw) * 6); --rc: calc(var(--fw) * 7.7);
  --up: calc(var(--fw) * 3.6); --down: calc(var(--fw) * 1.5);
  --eye: 88svh; --yaw: -104; --horizon: 44%;
  /* Warm near-blacks: tints of #0A0A0A towards Charcoal #3A3734. */
  --wall-hi: #2A2622; --wall-lo: #161412;
  --frame-line: rgba(255, 255, 255, 0.38);
}
@media (max-width: 699px) {
  .g3d .gwalk__stage { --fw: min(24svh, 54vw); --eye: 70svh; --yaw: -93; --horizon: 50%; }
}
/* Tall screens (a phone, or a monitor turned on its side). The view is set by the screen height, so a
   narrow screen would only see the outer wall. Widen the view (a shorter --eye), turn a little further
   towards the bend, and raise the walls so they still fill the taller view. */
@media (min-width: 700px) and (max-aspect-ratio: 4 / 5) {
  .g3d .gwalk__stage { --eye: 62vw; --yaw: -117; --up: calc(var(--fw) * 6); }
}
@media (max-width: 699px) and (orientation: portrait) {
  .g3d .gwalk__stage { --fw: min(24svh, 42vw); --eye: 92vw; --yaw: -114; --up: calc(var(--fw) * 6); }
}
/* Soft black under the header, and a scrim low down so the caption sits on black and the floor still shows. */
.g3d .gwalk__stage::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(var(--black), rgba(10, 10, 10, 0.6) 10%, transparent 26%, transparent 62%, rgba(10, 10, 10, 0.86) 82%, var(--black) 96%); }
@media (min-width: 900px) {
  .g3d .gwalk__stage::before {
    background:
      radial-gradient(60% 45% at 0% 100%, var(--black) 30%, transparent 75%),
      linear-gradient(var(--black), rgba(10, 10, 10, 0.6) 10%, transparent 26%, transparent 62%, rgba(10, 10, 10, 0.86) 82%, var(--black) 96%);
  }
}
@media (max-width: 699px) {
  .g3d .gwalk__stage::before { background: linear-gradient(var(--black) 8%, rgba(10, 10, 10, 0.75) 18%, transparent 30%, transparent 74%, rgba(10, 10, 10, 0.85) 84%, var(--black) 92%); }
}
.g3d .gwalk__head {
  position: absolute; inset: auto 0 clamp(20px, 4vh, 48px) 0; margin: 0; z-index: 2;
  grid-template-columns: minmax(0, 1fr); align-items: end; gap: var(--s3);
}
.g3d .gwalk__head::before { content: ""; width: var(--s5); height: 1px; background: var(--stone); }
.g3d .gwalk__head .h-section { max-width: 12ch; }
.g3d .gwalk__hint { display: block; }
@media (min-width: 900px) {
  .g3d .gwalk__head { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s8); }
  .g3d .gwalk__head::before, .g3d .gwalk__head .h-section, .g3d .gwalk__head .btn-row { grid-column: 1; }
  .g3d .gwalk__hint { grid-column: 2; grid-row: 2 / span 2; align-self: end; text-align: right; max-width: 26ch; padding-bottom: 14px; }
}
@media (max-width: 899px) {
  .g3d .gwalk__head { gap: var(--s2); }
  .g3d .gwalk__head .h-section { font-size: clamp(1.875rem, 1rem + 4vw, 2.75rem); }
}
@media (max-width: 699px) {
  .g3d .gwalk__head { inset: 0; padding-block: var(--s3) var(--s3); align-content: space-between; grid-template-rows: auto auto auto 1fr auto; pointer-events: none; }
  .g3d .gwalk__head > * { pointer-events: auto; }
  .g3d .gwalk__hint { display: block; grid-row: 3; font-size: var(--t-xs); }
  .g3d .gwalk__head .btn-row { grid-row: 5; }
  .g3d .gwalk__head .btn-row { display: grid; gap: var(--s1); }
  .g3d .gwalk__head .btn-row .btn { min-height: 48px; padding: 10px 16px; }
}
.g3d .gwalk__scene { position: absolute; inset: 0; perspective: var(--eye); perspective-origin: 50% var(--horizon); }
/* The floor is painted flat behind the corridor, not built as a 3D surface. A 3D floor is one huge
   surface running under and behind the camera, and redrawing it on every scroll frame made wall
   sections and distant videos flash black on large screens (version 57). The walls stand in front of
   it, so it only shows between them, as a faint warm floor fading into the dark. */
.g3d .gwalk__scene::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(transparent var(--horizon), #0E0C0A calc(var(--horizon) + 12%), #161411 72%, #0C0B0A 90%); }
.g3d .gwalk__ring {
  display: block; position: absolute; left: 50%; top: var(--horizon); width: 0; height: 0; max-width: none; padding: 0; margin: 0;
  transform-style: preserve-3d; will-change: transform;
  /* Put the eye one frame-width behind the path (--k), turn slightly towards the inner wall (--yaw), then walk.
     gallery.js animates --angle, --yaw and --k to glide the camera up to a chosen video. */
  transform: translateZ(calc(var(--eye) - var(--k, var(--fw)))) rotateY(calc(var(--yaw) * 1deg)) translateZ(var(--rc)) rotateY(calc(var(--angle, -10) * -1deg));
}
.g3d .gwalk__panel {
  /* The walls are made only of flat sections, joined edge to edge: one with each video and plain
     ones between. A video, its light and its piece of wall are a single surface, and no two
     sections overlap, so there is nothing for the browser to sort while you scroll (which is what
     made distant videos flicker). Outer sections turn 7 degrees each, inner ones 10.5 degrees.
     No `contain` here: it stops clicks reaching frames inside a 3D scene. */
  display: block; position: absolute; top: calc(var(--up) * -1); height: calc(var(--up) + var(--down));
  /* Each section reaches a hair (0.02 frame widths) into its neighbours, so no join can open. That
     strip is plain wall on both sides, so whichever the browser draws on top looks the same. */
  width: calc(var(--fw) * 1.1393); left: calc(var(--fw) * -0.56965);
  backface-visibility: hidden; pointer-events: none;
  /* Distance fog runs from --fa (left edge) to --fb (right edge), so it carries on smoothly from one
     section to the next. The warm pool of light from the uplighter is painted on the wall itself. */
  background:
    linear-gradient(to right, rgba(10, 10, 10, var(--fa, 0)), rgba(10, 10, 10, var(--fb, 0))),
    radial-gradient(ellipse calc(var(--fw) * 1.02) calc(var(--fw) * 1.76) at 50% calc(var(--up) + var(--fw) * 1.25),
      rgba(242, 214, 172, calc(0.34 * var(--glow, 1))), rgba(242, 214, 172, calc(0.1 * var(--glow, 1))) 55%, transparent 75%),
    linear-gradient(var(--wall-hi) 0%, var(--wall-hi) 40%, var(--wall-lo) 100%);
  box-shadow: inset 0 -1px 0 rgba(242, 237, 230, 0.1);
}
.g3d .gwalk__panel.is-far, .g3d .gwalk__panel.is-edge { --glow: 0; }
.g3d .gwalk__panel:focus-within { --glow: 1; }
.g3d .gwalk__panel .gframe { pointer-events: auto; }
.g3d .gwalk__panel--inner { width: calc(var(--fw) * 1.138); left: calc(var(--fw) * -0.569); }
/* iPhone and iPad: videos on the left-hand wall show their still picture while you walk, because
   Safari draws them black there. A tapped video plays as a flat video laid over its frame (gallery.js). */
.is-ios.g3d .gwalk__panel--inner .gframe > video { visibility: hidden; }
.gwalk__flat {
  position: fixed; z-index: 40; object-fit: cover; background: transparent; pointer-events: none;
  /* The same slip as the frame's own picture (sized from the frame width, --fwp, set by gallery.js).
     Its dark outer ring also covers any rough edge of the picture underneath. */
  box-shadow:
    0 0 0 max(1px, calc(var(--fwp, 300px) * 0.006)) #0A0A0A,
    0 0 0 max(2px, calc(var(--fwp, 300px) * 0.014)) #8F7B67,
    0 0 0 max(3px, calc(var(--fwp, 300px) * 0.018)) #0A0A0A;
  opacity: 0; visibility: hidden; transition: opacity 250ms var(--ease), visibility 0s linear 250ms;
}
.gwalk__flat.is-on { opacity: 1; visibility: visible; transition: opacity 250ms var(--ease), visibility 0s; }
/* A plain section beside a video carries on that video's pool of light (--gl from the left, --gr from the right). */
.g3d .gwalk__panel--blank {
  background:
    linear-gradient(to right, rgba(10, 10, 10, var(--fa, 0)), rgba(10, 10, 10, var(--fb, 0))),
    radial-gradient(ellipse calc(var(--fw) * 1.02) calc(var(--fw) * 1.76) at calc(var(--fw) * -0.5497) calc(var(--up) + var(--fw) * 1.25),
      rgba(242, 214, 172, calc(0.34 * var(--gl, 0))), rgba(242, 214, 172, calc(0.1 * var(--gl, 0))) 55%, transparent 75%),
    radial-gradient(ellipse calc(var(--fw) * 1.02) calc(var(--fw) * 1.76) at calc(100% + var(--fw) * 0.5497) calc(var(--up) + var(--fw) * 1.25),
      rgba(242, 214, 172, calc(0.34 * var(--gr, 0))), rgba(242, 214, 172, calc(0.1 * var(--gr, 0))) 55%, transparent 75%),
    linear-gradient(var(--wall-hi) 0%, var(--wall-hi) 40%, var(--wall-lo) 100%);
}
/* Far videos fade out, but their wall section stays solid. Only sections right out of sight (is-gone)
   are dropped, and that is instant, so the wall never fades while you scroll. Opacity keeps every
   video in the keyboard order. */
.g3d .gwalk__panel.is-gone { opacity: 0; }
.g3d .gwalk__panel.is-far .gframe { opacity: 0; }
.g3d .gwalk__panel.is-far .gframe, .g3d .gwalk__panel.is-edge .gframe { pointer-events: none; }
.g3d .gwalk__panel:focus-within { opacity: 1; visibility: visible; }
.g3d .gwalk__panel.is-edge .gframe { opacity: 0; transition: none; }
/* iPhone: a frame coming back into view waits until its picture is redrawn, then fades in gently. */
.g3d .gwalk__panel:focus-within .gframe { opacity: 1; }
.g3d .gwalk__panel--extra.is-gone, .g3d .gwalk__panel--blank.is-gone { visibility: hidden; }
.gwalk__pool { display: none; }
/* A pool of light on the floor in front of each lit frame (made in gallery.js). It
   stands where its wall section does, then folds down flat at the foot of the wall (rotateX), so it
   reaches out into the corridor at right angles to the wall. */
.g3d .gwalk__pool {
  display: block; position: absolute; top: var(--down); height: calc(var(--fw) * 1.1);
  width: calc(var(--fw) * 1.6); left: calc(var(--fw) * -0.8); transform-origin: 50% 0;
  backface-visibility: hidden; pointer-events: none;
  background: radial-gradient(ellipse 50% 100% at 50% 0, rgba(242, 214, 172, 0.34), rgba(242, 214, 172, 0.1) 45%, transparent 78%);
  opacity: calc(1 - var(--fog, 0) * 1.6);
}
.g3d .gwalk__pool.is-far, .g3d .gwalk__pool.is-edge, .g3d .gwalk__pool.is-gone { visibility: hidden; }
.g3d .gwalk__pool--outer { transform: rotateY(calc(var(--a) * 1deg)) translateZ(calc(var(--ro) * -1)) rotateX(90deg); }
.g3d .gwalk__pool--inner { transform: rotateY(calc(var(--a) * 1deg)) translateZ(calc(var(--ri) * -1)) rotateY(180deg) rotateX(90deg); }
.g3d .gwalk__panel--outer { transform: rotateY(calc(var(--a) * 1deg)) translateZ(calc(var(--ro) * -1)); }
.g3d .gwalk__panel--inner { transform: rotateY(calc(var(--a) * 1deg)) translateZ(calc(var(--ri) * -1)) rotateY(180deg); }
.g3d .gframe {
  /* A proper picture frame, sized in frame widths so it holds up at any distance:
     a bevelled outer moulding (lit from above, shadowed below), a flat dark face,
     then a fine Warm Stone slip around the video. */
  position: absolute; left: 50%; top: var(--up);
  box-sizing: border-box; width: var(--fw); padding: calc(var(--fw) * 0.06);
  border: max(2px, calc(var(--fw) * 0.022)) solid;
  border-color: #5A5249 #2A2622 #0C0B0A #2A2622;
  background: linear-gradient(170deg, #2E2A26 0%, #1C1A18 35%, #121110 100%);
  box-shadow:
    inset 0 0 0 1px rgba(10, 10, 10, 0.85),
    inset 0 max(2px, calc(var(--fw) * 0.014)) 0 rgba(242, 237, 230, 0.06),
    inset 0 -24px 26px -18px rgba(242, 215, 175, 0.32),
    0 0 0 1px rgba(10, 10, 10, 0.8),
    0 3px 6px rgba(10, 10, 10, 0.7);
  transform: translate(-50%, -50%);
  transition: border-color 240ms var(--ease), transform 240ms var(--ease), opacity 200ms var(--ease);
}
/* The slip: a fine stone line, then a shadow gap, so the video sits recessed in the frame. The still
   picture carries it too, so the line stays when the video is hidden (iPhone, or before it plays). */
.g3d .gframe video, .g3d .gframe .gframe__still, .g3d .gframe .gframe__canvas {
  box-shadow:
    0 0 0 max(1px, calc(var(--fw) * 0.006)) #0A0A0A,
    0 0 0 max(2px, calc(var(--fw) * 0.014)) #8F7B67,
    0 0 0 max(3px, calc(var(--fw) * 0.018)) #0A0A0A;
}
/* The brass uplighter itself. */
/* Distance darkening: a plain dark layer over the frame, not a filter. Changing a filter on a frame
   that holds a playing video makes the browser rebuild the video every scroll frame, which can make
   distant videos flicker while scrolling. A layer's opacity changes without touching the video. */
.g3d .gframe::before { content: ""; position: absolute; inset: -1px; z-index: 2; pointer-events: none; background: #0A0A0A; opacity: var(--fog, 0); }
.g3d .gframe::after { content: ""; position: absolute; left: 50%; top: calc(100% + var(--fw) * 0.1); width: 34%; height: max(4px, calc(var(--fw) * 0.035));
  transform: translateX(-50%); border-radius: 2px; pointer-events: none; opacity: calc(1 - var(--fog, 0));
  background: linear-gradient(#EAD9BF, #BFA58A 45%, #7A6754);
  box-shadow: 0 -2px 10px rgba(242, 214, 172, 0.55), 0 2px 3px rgba(10, 10, 10, 0.6); }
.g3d button.gframe:hover, .g3d button.gframe:focus-visible { border-color: #7A6E62 #3A3530 #141210 #3A3530; }
.g3d .gframe .ph { border: 0; }
.g3d .gwalk__stage::before, .g3d .gwalk__head { transition: opacity 400ms var(--ease); }
.g3d .gwalk.is-focus .gwalk__stage::before { opacity: 0.35; }
.g3d .gwalk.is-focus .gwalk__head { opacity: 0; pointer-events: none; }
.gwalk__back { display: none; }
.g3d .gwalk__back:not([hidden]) { display: inline-flex; position: absolute; z-index: 3; right: var(--gutter); top: var(--s3); }
@media (max-width: 699px) { .g3d .gwalk__back:not([hidden]) { top: auto; bottom: var(--s3); left: var(--gutter); right: var(--gutter); } }
html.is-player-open { overflow: hidden; }

.lightbox { border: 0; padding: 0; background: transparent; color: var(--white); max-width: none; max-height: none; width: 100vw; height: 100dvh; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(10, 10, 10, 0.92); }
.lightbox__media { height: min(86dvh, 150vw); aspect-ratio: 9 / 16; }
.lightbox__media > * { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; display: grid; }
.lightbox__close { position: absolute; top: var(--s4); right: var(--s4); }

/* ---------- Value ---------- */
.value { display: grid; gap: var(--s8); }
.value__points { display: grid; gap: var(--s5); align-content: start; }
.value__point { border-top: 1px solid var(--line); padding-top: var(--s3); display: grid; gap: var(--s1); }
.value__point h3 { font-size: var(--t-xl); letter-spacing: -0.03em; }
.value__point p { color: var(--fg-soft); max-width: 44ch; }
.value__quote { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 4.5vw, 72px); display: grid; gap: var(--s4); align-content: center; }
.value__quote blockquote { font-size: var(--t-xl); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }
@media (min-width: 900px) { .value { grid-template-columns: 5fr 7fr; gap: var(--s8); align-items: stretch; } }

/* ---------- Pricing ---------- */
.price-hero { border-top: 1px solid var(--stone); padding-top: var(--s4); display: grid; gap: var(--s5); }
.price { display: flex; align-items: baseline; gap: var(--s2); flex-wrap: wrap; }
/* Kerning off: Montserrat pulls the £ into the 3 at large sizes. */
.price__amount { font-size: var(--t-3xl); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-kerning: none; }
.price__amount--mega { font-size: var(--t-mega); letter-spacing: -0.02em; line-height: 0.86; }
.price__unit { font-size: var(--t-lg); color: var(--fg-soft); }
.price-hero__detail { display: grid; gap: var(--s4); }
.ticks { display: grid; gap: var(--s1); }
.ticks li { padding-left: var(--s3); position: relative; color: var(--fg-soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: var(--s1); height: 1px; background: var(--stone); }
.pricing__more { display: grid; gap: var(--s2); margin-top: clamp(48px, 6vw, 96px); }
.price-card { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: grid; gap: var(--s2); align-content: start; }
.price-card h3 { font-size: var(--t-md); letter-spacing: -0.01em; }
.price-card h3.label { font-size: var(--t-xs); letter-spacing: 0.2em; }
.price-card p, .price-card li { color: var(--fg-soft); }
.price-card .price__amount { font-size: var(--t-2xl); color: var(--fg); }
.price-card .price { color: var(--fg); }
.price-card .btn { justify-self: start; margin-top: var(--s2); }
@media (min-width: 900px) {
  .price-hero__detail { grid-template-columns: 7fr 5fr; align-items: end; gap: var(--s8); }
  .price-hero__detail .btn-row { display: grid; justify-content: end; }
  .pricing__more { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s6); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding-block: var(--s3); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: var(--t-md); font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.faq__item summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--black); border-bottom: 2px solid var(--black);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 240ms var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq__item.is-closing summary::after { transform: rotate(45deg) translate(-2px, -2px); }
.faq__item p { padding-bottom: var(--s3); color: var(--fg-soft); max-width: 66ch; }
@media (min-width: 900px) { .faq { grid-template-columns: 4fr 8fr; gap: var(--s8); } }

/* ---------- Final CTA and forms ---------- */
.apply { display: grid; gap: var(--s8); }
.apply__copy { display: grid; gap: var(--s3); align-content: start; }
@media (min-width: 1000px) {
  .apply { grid-template-columns: 5fr 7fr; gap: var(--s10); }
  .apply__copy { position: sticky; top: 120px; align-self: start; }
}

.form { display: grid; gap: var(--s3); }
.form__progress { display: grid; gap: 4px; }
.form__step-count { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
.form--panel { background: var(--surface); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 48px); }
.form__row { display: grid; gap: var(--s3); }
/* One field per row, at every width (Pete's review, Dec 2026). */
.field { display: grid; gap: var(--s1); align-content: start; }
.field > label, .field > legend, fieldset.field legend { font-size: var(--t-sm); font-weight: 600; padding: 0; }
.field .hint { font-size: var(--t-sm); color: var(--fg-soft); font-weight: 400; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { margin-bottom: var(--s1); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; background: transparent; color: var(--fg);
  border: 1px solid var(--control); border-radius: var(--radius);
  transition: border-color 200ms var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--placeholder); opacity: 1; }
.textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--fg); outline: 2px solid var(--stone); outline-offset: 1px; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.select option { color: var(--black); background: var(--white); }
.checks { display: grid; gap: var(--s1); }
@media (min-width: 640px) { .checks--2 { grid-template-columns: 1fr 1fr; } }
.checks--inline { display: flex; flex-wrap: wrap; gap: var(--s1); }
.check { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 16px; border: 1px solid var(--control); border-radius: var(--radius); cursor: pointer; font-size: var(--t-sm); font-weight: 500; transition: border-color 200ms var(--ease), background-color 200ms var(--ease); }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border: 1px solid var(--fg-soft); border-radius: var(--radius); display: grid; place-content: center; cursor: pointer; }
.check input[type="radio"] { border-radius: 50%; }
.check input::before { content: ""; width: 10px; height: 10px; background: var(--stone); transform: scale(0); transition: transform 160ms var(--ease); border-radius: 1px; }
.check input[type="radio"]::before { border-radius: 50%; }
.check input:checked::before { transform: scale(1); }
.check:has(input:checked) { border-color: var(--fg); }
.check:has(input:focus-visible) { outline: 2px solid var(--stone); outline-offset: 2px; }
.theme-stone .check input::before, .theme-white .check input::before { background: var(--black); }

.error { font-size: var(--t-sm); font-weight: 500; color: var(--error); display: flex; gap: var(--s1); align-items: baseline; }
.error::before { content: "!"; flex: none; display: inline-grid; place-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: var(--bg); font-size: 12px; font-weight: 700; }
.error[hidden] { display: none; }
[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
fieldset[aria-invalid="true"] { border: 0; }
fieldset[aria-invalid="true"] .check { border-color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: grid; gap: var(--s2); }
/* The two-step application form (forms.js adds .is-stepped; without JavaScript both steps show). */
.form__step { display: grid; gap: var(--s3); align-content: start; }
.form.is-stepped { align-content: start; align-self: start; }
.form__step[hidden] { display: none; }
.form:not(.is-stepped) .form__next, .form:not(.is-stepped) .form__back { display: none; }
.form__step-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); margin-block: calc(var(--s2) * -1) calc(var(--s1) * -1); }
.form__back { min-height: 44px; padding: 0; border: 0; background: none; color: var(--fg-soft); font: inherit; font-size: var(--t-sm); cursor: pointer; text-decoration: underline; text-underline-offset: 0.25em; }
/* "I'm an estate agent / I'm a developer" switch (forms.js adds .has-roles; without JavaScript the
   agent form shows on its own). */
.roles { display: none; }
.has-roles .roles { display: flex; gap: 4px; margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.roles__legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.roles__opt { position: relative; flex: 1; display: grid; place-items: center; min-height: 44px; padding: 8px 12px; border-radius: var(--radius); font-size: var(--t-sm); font-weight: 600; text-align: center; color: var(--fg-soft); cursor: pointer; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.roles__opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.roles__opt:has(input:checked) { background: var(--stone-light); color: var(--black); }
.roles__opt:has(input:focus-visible) { outline: 2px solid var(--stone); outline-offset: 2px; }
@media (max-width: 420px) { .roles__opt { padding: 8px 4px; font-size: 0.8125rem; white-space: nowrap; } }
.form__group { display: grid; gap: var(--s3); }
/* Required questions get a Warm Stone asterisk, worked out from the form itself (the required
   attribute), with a "* Required" key at the top. Screen readers already announce required fields. */
.field:has(> :is(.input, .select, .textarea)[required]) > label::after { content: "*"; margin-left: 0.25em; color: var(--stone); font-weight: 700; }
.form__key { color: var(--fg-soft); }
.form__key span { color: var(--stone); font-weight: 700; }
/* Labelled parts within a form step (the free video, then the agency). */
.form__part { display: grid; gap: var(--s3); }
.form__part--rule { padding-top: var(--s4); border-top: 1px solid var(--line); }
.form__part-title { font-size: var(--t-md); font-weight: 700; letter-spacing: -0.01em; }
.form__part-note { margin-top: calc(var(--s2) * -1); color: var(--fg-soft); }
.field[hidden], .form__group[hidden] { display: none; }
/* Whatever the switch turns off stays hidden, whatever its own layout. */
[data-role][hidden] { display: none !important; }
.form__divider { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-soft); }
.form__divider::before, .form__divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.form__section { display: grid; gap: var(--s3); padding-top: var(--s4); border-top: 1px solid var(--line); }
.form__section > h2 { font-size: var(--t-lg); }

/* Upload box */
.upload { border: 1px dashed var(--fg-soft); border-radius: var(--radius); padding: var(--s4) var(--s3); display: grid; gap: var(--s1); justify-items: center; text-align: center; transition: border-color 200ms var(--ease), background-color 200ms var(--ease); }
.upload.is-over { border-style: solid; border-color: var(--fg); background: rgba(191, 165, 138, 0.12); }
.upload__title { font-weight: 600; }
.upload__btn { margin-top: var(--s1); }
.upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload:has(input:focus-visible) { outline: 2px solid var(--stone); outline-offset: 2px; }
.upload__status { width: 100%; display: grid; gap: var(--s1); margin-top: var(--s2); }
.upload__status[hidden] { display: none; }
.upload__msg { font-size: var(--t-sm); font-weight: 500; }
/* One row per file: name and state on a line, its own progress bar underneath. */
.upload__files { list-style: none; margin: var(--s1) 0 0; padding: 0; width: 100%; display: grid; gap: var(--s1); text-align: left; }
.upload__files[hidden] { display: none; }
.upload__file { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s2); row-gap: 4px; font-size: var(--t-sm); }
.upload__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload__state { color: var(--fg-soft); font-variant-numeric: tabular-nums; text-align: right; }
.upload__bar { grid-column: 1 / -1; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.upload__bar span { display: block; height: 100%; width: 0; background: var(--fg); transition: width 200ms linear; }
.upload__file.is-done .upload__bar span { background: var(--stone); }
.upload__file.is-failed .upload__state { color: var(--fg); font-weight: 600; grid-column: 1 / -1; text-align: left; }
.upload__file.is-failed .upload__bar { display: none; }
.upload.is-done { border-style: solid; border-color: var(--fg); }
html:not(.js) .upload { display: none; }
html.js .no-js-note { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: var(--s10); scroll-margin-top: 72px; }
.site-footer__grid { display: grid; gap: var(--s6); }
.site-footer__brand img { width: 152px; height: auto; }
/* Social links under the logo: plain white icons in square boxes, Warm Stone on hover. */
.social { display: flex; gap: var(--s1); margin-top: var(--s3); }
.social__link {
  display: grid; place-items: center; width: 44px; height: 44px; color: var(--white);
  border: 1px solid var(--control); border-radius: var(--radius);
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.site-footer .label { margin-bottom: var(--s2); }
.site-footer__list { display: grid; gap: var(--s1); font-size: var(--t-sm); color: rgba(255, 255, 255, 0.82); }
.site-footer__list a { text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 4px; display: inline-block; padding-block: 4px; }
.site-footer__list--links a { text-decoration: none; }
.site-footer__key { display: block; font-size: var(--t-xs); color: rgba(255, 255, 255, 0.6); }
.site-footer__base { margin-top: var(--s8); padding-block: var(--s3) var(--s4); border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: var(--t-xs); color: rgba(255, 255, 255, 0.62); }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 3fr 4fr 2fr 2fr; gap: var(--s5); } }

/* ---------- Inner pages ---------- */
.page-head { background: var(--black); padding-block: clamp(56px, 8vw, 120px) clamp(40px, 6vw, 80px); }
.page-head .wrap { display: grid; gap: var(--s3); }
.page-head h1 { font-size: var(--t-2xl); letter-spacing: -0.04em; line-height: 1; max-width: 14ch; }
.about { display: grid; gap: var(--s6); }
.about__text { display: grid; gap: var(--s3); font-size: var(--t-md); }
.about__text p { max-width: 60ch; color: var(--fg-soft); }
.about__photos { display: grid; gap: var(--s2); align-items: start; max-width: 460px; }
@media (min-width: 900px) { .about__photos { justify-self: center; width: 100%; margin-top: var(--s4); } }
.about__img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--ph-bg); }
@media (min-width: 900px) { .about { grid-template-columns: 6fr 6fr; gap: var(--s10); align-items: start; } }

.order { display: grid; gap: var(--s8); }
.order__aside { display: grid; gap: var(--s4); align-content: start; }
.order__aside li { padding-block: var(--s2); border-top: 1px solid var(--line); color: var(--fg-soft); font-size: var(--t-sm); }
.order__aside li strong { display: block; color: var(--fg); font-size: var(--t-base); }
@media (min-width: 1000px) { .order { grid-template-columns: 7fr 4fr; gap: var(--s10); } .order__aside { align-self: start; } }
/* The price panel follows you down the page only on screens tall enough to show all of it. */
@media (min-width: 1000px) and (min-height: 1000px) { .order__aside { position: sticky; top: 120px; } }

.message { min-height: 62vh; display: grid; align-content: center; }
.message .wrap { display: grid; gap: var(--s3); justify-items: start; }
.message h1 { font-size: var(--t-2xl); letter-spacing: -0.04em; line-height: 1; max-width: 14ch; }
.message ol { counter-reset: n; display: grid; gap: var(--s2); margin-block: var(--s2); max-width: 60ch; }
.message ol li { counter-increment: n; display: grid; grid-template-columns: var(--s4) 1fr; color: var(--fg-soft); }
.message ol li::before { content: counter(n); color: var(--stone); font-weight: 700; }

.prose { display: grid; gap: var(--s3); max-width: 72ch; }
.prose h2 { font-size: var(--t-lg); margin-top: var(--s4); scroll-margin-top: 96px; }
/* A heading reached from a link (such as Cookies in the footer) glows Warm Stone for a moment,
   so it is clear the page has jumped there even when it only moves a short way. */
.prose h2:target { border-radius: 4px; animation: rv-target 2.8s ease-out both; }
@keyframes rv-target {
  0%, 40% { background-color: rgba(191, 165, 138, 0.45); box-shadow: 0 0 0 10px rgba(191, 165, 138, 0.45); }
  100% { background-color: rgba(191, 165, 138, 0); box-shadow: 0 0 0 10px rgba(191, 165, 138, 0); }
}
.prose p, .prose li { color: var(--fg-soft); }
.prose ul { display: grid; gap: var(--s1); padding-left: var(--s3); list-style: disc; }
.prose a { text-underline-offset: 3px; }
.todo { background: var(--white); border: 1px dashed var(--black); padding: 0 6px; font-weight: 600; color: var(--black); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  /* How it works: the photo wipes in left to right, the line draws across and the number rises from
     behind the line, while the title and text write themselves in. Steps play in order. */
  .js .step[data-reveal] { opacity: 1; transform: none; }
  .js .step[data-reveal] .step__img { clip-path: inset(0 100% 0 0); transform: scale(1.08); transition: clip-path 900ms cubic-bezier(0.65, 0, 0.35, 1) var(--d, 0ms), transform 1300ms var(--ease) var(--d, 0ms); }
  .js .step[data-reveal]::before { transform: scaleX(0); transition: transform 700ms cubic-bezier(0.65, 0, 0.35, 1) calc(var(--d, 0ms) + 250ms); }
  .js .step[data-reveal] .step__num span { transform: translateY(110%); transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--d, 0ms) + 450ms); }
  .js .step[data-reveal].is-in .step__img { clip-path: inset(0 0 0 0); transform: none; }
  .js .step[data-reveal].is-in::before { transform: scaleX(1); }
  .js .step[data-reveal].is-in .step__num span { transform: none; }
  /* Middle ground panels: rise in one after another; the Reel Visits panel lands last, settles from a
     slight scale, and its badge pops on. */
  .js .compare__col[data-reveal] { transform: translateY(56px); transition: opacity 700ms var(--ease), transform 800ms var(--ease); transition-delay: var(--d, 0ms); }
  .js .compare__col--us[data-reveal] { transform: translateY(56px) scale(0.94); }
  .js .compare__col[data-reveal].is-in { transform: none; }
  .js .compare__col--us[data-reveal] .compare__badge { opacity: 0; transform: translateY(-50%) scale(0.6); transition: opacity 400ms var(--ease), transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1); }
  .js .compare__col--us[data-reveal].is-in .compare__badge { opacity: 1; transform: translateY(-50%); transition-delay: calc(var(--d, 0ms) + 650ms); }
  /* Testimonial sign-off: once the quote has written itself in, the line draws in from the left
     and Matt's name and title fly up into place under it. */
  .js .proof__inner.tw-armed .cite::before { transform: scaleX(0); transition: transform 700ms cubic-bezier(0.65, 0, 0.35, 1); }
  .js .proof__inner.tw-armed .cite > * { opacity: 0; transform: translateY(56px); transition: opacity 600ms var(--ease), transform 800ms var(--ease); }
  .js .proof__inner.is-signed .cite::before { transform: scaleX(1); }
  .js .proof__inner.is-signed .cite > * { opacity: 1; transform: none; }
  .js .proof__inner.is-signed .cite > :first-child { transition-delay: 300ms; }
  .js .proof__inner.is-signed .cite > :last-child { transition-delay: 420ms; }
  /* Transformations: each video unveils from the bottom up while the footage settles from a slight zoom.
     The three follow one another (--d on each). Their titles write themselves in. */
  .js .feature[data-reveal] { opacity: 1; transform: none; }
  .js .feature[data-reveal] .feature__media { clip-path: inset(100% 0 0 0); transition: clip-path 1000ms cubic-bezier(0.65, 0, 0.35, 1) var(--d, 0ms); }
  .js .feature[data-reveal] .feature__video { transform: scale(1.12); transition: transform 1400ms var(--ease) var(--d, 0ms); }
  .js .feature[data-reveal].is-in .feature__media { clip-path: inset(0 0 0 0); }
  .js .feature[data-reveal].is-in .feature__video { transform: none; }
  /* The realism note is the one line that does not write itself in (data-no-type): it is the key promise,
     so its Warm Stone line draws down, then the sentence slides in, grows from light to medium weight
     and lands with a warm glow that settles to a faint one. */
  .js .note[data-reveal] { opacity: 0; transform: none; transition: none; }
  .js .note[data-reveal]::before { transform: scaleY(0); }
  .js .note[data-reveal].is-in { opacity: 1; animation: note-in 2200ms var(--ease) 300ms both; }
  .js .note[data-reveal].is-in::before { transform: scaleY(1); transition: transform 600ms var(--ease); }
  @keyframes note-in {
    0% { opacity: 0; transform: translateX(-64px) scale(0.9); font-weight: 300; text-shadow: 0 0 0 rgba(191, 165, 138, 0), 0 0 0 rgba(191, 165, 138, 0); }
    45% { opacity: 1; text-shadow: 0 0 22px rgba(191, 165, 138, 1), 0 0 64px rgba(191, 165, 138, 0.65); }
    100% { opacity: 1; transform: none; font-weight: 600; text-shadow: 0 0 16px rgba(191, 165, 138, 0.32), 0 0 40px rgba(191, 165, 138, 0.12); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Hover: Warm Stone everywhere ----------
   One consistent hover across the site: whatever you can click picks up Warm Stone. Only on devices
   with a real mouse, so it never sticks after a tap on a phone. Light sections keep their text dark
   (Warm Stone text on a light background would be too faint to read) and use Warm Stone lines instead. */
.prose a, .small a, .body a, .site-footer__list a, .nav__links a, .menu__panel li a { transition: color 200ms var(--ease), border-color 200ms var(--ease), text-decoration-color 200ms var(--ease); }
.input, .select, .textarea, .check { transition: border-color 200ms var(--ease); }
@media (hover: hover) {
  /* Buttons */
  .btn--light:hover { background: var(--stone); color: var(--black); }
  .btn--light:hover .btn__free { text-decoration-color: var(--black); }
  .btn--dark:hover { color: var(--stone); }
  .btn--dark:hover .btn__free { text-decoration-color: var(--stone-light); }
  .btn--ghost:hover { border-color: var(--stone); color: var(--stone); }
  .theme-stone .btn--ghost:hover, .theme-white .btn--ghost:hover { color: var(--fg); }
  /* Menu, header and footer links (all on black) */
  .nav__links a:hover, .menu__panel li a:hover { color: var(--stone); border-bottom-color: var(--stone); }
  .menu summary:hover, .social__link:hover { color: var(--stone); border-color: var(--stone); }
  .menu summary:hover .menu__icon, .menu summary:hover .menu__icon::before { background: var(--stone); }
  .site-footer__list a:hover { color: var(--stone); text-decoration-color: var(--stone); }
  .site-footer__list--links a:hover { text-decoration: underline; }
  /* Links in text: Warm Stone on dark, a Warm Stone underline on light sections */
  .prose a:hover, .small a:hover, .body a:hover { color: var(--stone); text-decoration-color: var(--stone); }
  .theme-stone :is(.prose, .small, .body) a:hover, .theme-white :is(.prose, .small, .body) a:hover { color: var(--fg); }
  /* Forms */
  .input:hover, .select:hover, .textarea:hover, .check:hover { border-color: var(--stone); }
  .form__back:hover, .roles__opt:not(:has(input:checked)):hover { color: var(--stone); } /* the chosen option keeps its dark text */
  .theme-stone :is(.form__back, .roles__opt):hover, .theme-white :is(.form__back, .roles__opt):hover { color: var(--fg); text-decoration-color: var(--stone); }
}

/* ---------- Cookie banner ----------
   One slim dark bar along the bottom. Accept and Reject look the same, so neither is pushed. */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(10, 10, 10, 0.96); border-top: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.cookie-bar[hidden] { display: none; }
.cookie-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px var(--s3); padding-block: 12px; }
.cookie-bar__text { margin: 0; font-size: var(--t-sm); color: rgba(255, 255, 255, 0.86); }
.cookie-bar__text a { color: var(--white); margin-left: 6px; }
.cookie-bar__btns { display: flex; gap: var(--s1); }
.cookie-bar .btn--ghost { color: var(--white); border-color: #706E6C; min-width: 96px; }
@media (max-width: 599px) { .cookie-bar__btns { flex: 1 1 100%; } .cookie-bar__btns .btn { flex: 1; } }
.link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.check__text { min-width: 0; }
/* Order page: what the price includes, in the price panel. */
.order__included { display: grid; gap: var(--s2); }
.order__aside .order__included .ticks li { padding-block: 0; border-top: 0; }
/* Home page: a slim "We're hiring" line above the header. It scrolls away; the header stays. */
.topbar { margin: 0; background: var(--black); border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-align: center; font-size: var(--t-xs); letter-spacing: 0.02em; }
.topbar a { display: block; padding: 8px var(--gutter); color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.topbar__link { color: var(--white); font-weight: 600; text-decoration: underline; text-decoration-color: var(--stone); text-underline-offset: 0.25em; margin-left: 4px; }
@media (hover: hover) { .topbar a:hover .topbar__link { color: var(--stone); } }
:root:has(.topbar) { --topbar-h: 37px; } /* so the hero still fills exactly one screen */
.check[hidden] { display: none; }
/* "Available on request": each offering is its line and its button, grouped, with a fine rule between. */
.price-card__item { display: grid; gap: var(--s2); }
.price-card__item .btn { margin-top: 0; }
.price-card__item + .price-card__item { margin-top: var(--s1); padding-top: var(--s3); border-top: 1px solid var(--line); }

/* Transformations: tapping a video brings up a small card offering the gallery. */
.feature__media { position: relative; }
.feature__open { position: absolute; inset: 0; z-index: 1; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.feature__open:focus-visible { outline: 2px solid var(--stone); outline-offset: -4px; }
.feature__pop {
  position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: var(--radius);
  background: rgba(10, 10, 10, 0.72); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--white);
}
.feature__pop[hidden] { display: none; }
.feature__pop p { margin: 0; padding-right: 26px; font-size: var(--t-sm); font-weight: 600; color: var(--white); max-width: none; overflow-wrap: break-word; }
/* The cards are narrow on phones (two columns), so the button takes the full width
   and the close sits in the top corner, out of the way of the text. */
.feature__pop-row { display: block; }
.feature__pop-row .btn { display: flex; width: 100%; padding-inline: 12px; white-space: nowrap; }
.feature__pop-close { position: absolute; top: 2px; right: 2px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: rgba(255, 255, 255, 0.78); cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .feature__pop:not([hidden]) { animation: pop-in 260ms var(--ease) both; }
}
@media (max-width: 599px) {
  .feature__pop { left: 8px; right: 8px; bottom: 8px; padding: 12px; gap: 10px; }
  .feature__pop p { padding-right: 20px; font-size: var(--t-xs); line-height: 1.45; }
  .feature__pop-close { top: 0; right: 0; }
}
@keyframes pop-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (hover: hover) { .feature__pop-close:hover { color: var(--stone); } }
