/* ==========================================================================
   Diamond — single-page site
   Palette, type and logo geometry follow Brand Guidelines v1.2 and DESIGN.md.
   Only the five brand colours and their documented opacity tiers are used;
   the one exception is the form error red (#8A3B2E).
   ========================================================================== */

:root {
  --graphite: #0E0D09;
  --limewash: #F7F5F0;
  --plaster: #A8A196;
  --inkline: #57534B;
  --rule-dark: rgba(247, 245, 240, .10);   /* Lime Wash 10 */
  --rule-light: rgba(14, 13, 9, .10);     /* Graphite 10 */

  --display: "Tenor Sans", "Optima", "Candara", sans-serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 4.5vw, 4.5rem);
  --max: 1760px;
  --header-h: 88px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);      /* expo-out */
  --ease-in-out: cubic-bezier(0.7, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--inkline) var(--graphite);
  scrollbar-width: thin;
}
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--graphite);
  color: var(--limewash);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  caret-color: var(--limewash);
}
body.is-locked { overflow: hidden; }

::selection { background: var(--limewash); color: var(--graphite); }
.on-light ::selection, .panel ::selection { background: var(--graphite); color: var(--limewash); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--graphite); }
::-webkit-scrollbar-thumb { background: var(--inkline); border: 3px solid var(--graphite); border-radius: 10px; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
.btn:focus-visible, .link:focus-visible { outline: none; } /* focus shown by their fill / underline instead */
[tabindex="-1"]:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 300;
  padding: .75rem 1.25rem; background: var(--limewash); color: var(--graphite);
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
/* Header and footer run to the page gutters at any screen size */
.wrap--full { max-width: none; }

/* ---------- Type ---------- */

.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
.display--xl { font-size: clamp(2.6rem, 6.2vw, 5.75rem); line-height: 1.02; }
.display--l  { font-size: clamp(2.1rem, 4.4vw, 4rem); }
.display--m  { font-size: clamp(1.65rem, 2.6vw, 2.35rem); line-height: 1.18; }
.display--s  { font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.32; }

.lede { font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.75; max-width: 34em; margin: 0; text-wrap: pretty; }
.body { max-width: 36em; margin: 0; text-wrap: pretty; }
.body + .body { margin-top: 1.1em; }
/* Phones: a quieter, airier scale [Proposed 2026-11-16]. Smaller paragraphs with more
   line space, and headings a step down, so each screen reads as one calm composition. */
@media (max-width: 600px) {
  .lede, .body { font-size: .875rem; line-height: 1.85; }
  .display--l, .ap-panel .display--l { font-size: 2.1rem; line-height: 1.14; } /* every section title matches */
  .display--m { font-size: 1.55rem; line-height: 1.2; }
  .display--s { font-size: 1.2rem; line-height: 1.5; }
}

.label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Discreet text only (copyright, legal, footer details, UI chrome): Plaster on dark, Ink Line on light */
.muted { color: var(--plaster); }
.on-light .muted { color: var(--inkline); }

/* ---------- Links & buttons ---------- */

.link {
  display: inline-flex; align-items: center; gap: .9rem;
  font-weight: 500; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  padding-block: .6rem;
  position: relative;
}
.link::before {
  content: ""; position: absolute; left: 0; right: .22em; bottom: .2rem; height: 1px;
  background: currentColor; opacity: .25;
}
.link::after {
  content: ""; position: absolute; left: 0; right: .22em; bottom: .2rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 1s var(--ease-out);
}
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
/* Travelling line, the hero scroll cue turned horizontal */
.link--cue { overflow: hidden; }
.link--cue::after { transform: translateX(-100%); animation: cue-x 2.6s var(--ease-in-out) infinite; }
.link--cue:hover::after, .link--cue:focus-visible::after { animation: none; transform: none; }
@keyframes cue-x { 0% { transform: translateX(-100%); } 55% { transform: translateX(0); } 100% { transform: translateX(100%); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .9rem;
  min-height: 52px; padding: 0 1.9rem;
  border: 1px solid currentColor;
  font-weight: 500; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .9s var(--ease-out), border-color .9s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--limewash);
  transform: scaleX(0); transform-origin: right;
  transition: transform 1s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:hover, .btn:focus-visible { color: var(--graphite); border-color: var(--limewash); }
.on-light .btn:hover, .panel .btn:hover, .on-light .btn:focus-visible, .panel .btn:focus-visible { color: var(--limewash); border-color: var(--graphite); }
.on-light .btn::before, .panel .btn::before { background: var(--graphite); }
.btn[disabled] { opacity: .45; pointer-events: none; }
@media (max-width: 600px) { /* phones: buttons at the scale of a quiet text link [Proposed 2026-11-16] */
  .btn { min-height: 42px; padding: 0 1.35rem; font-size: .6875rem; letter-spacing: .24em; }
  .link { font-size: .6875rem; letter-spacing: .24em; } /* text links share the button size */
  .footer__cta .btn { justify-self: start; }
  .band .band__content .display--l { max-width: 10em; } /* A Home Shaped / Around You */
}

/* ---------- Reference image tag (remove when renders arrive) ---------- */

.ref-tag {
  position: absolute; right: .9rem; bottom: .9rem; padding: .4rem .7rem; background: rgba(14,13,9,.70); z-index: 3;
  font-size: .69rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  color: var(--limewash);
  pointer-events: none;
}

/* ==========================================================================
   Preloader
   ========================================================================== */

.preloader { display: none; }
.js .preloader {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 200;
  pointer-events: none;
  background: var(--graphite);
  transition: opacity 1.4s var(--ease-in-out) .3s;
}
.preloader.is-leaving { opacity: 0; }
.preloader__inner { position: relative; display: grid; justify-items: center; gap: 2.2rem; }
.preloader__mark { width: clamp(64px, 7vw, 92px); height: auto; overflow: visible; }
.preloader__mark rect {
  fill: var(--limewash);
  transform-box: fill-box; transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.1s var(--ease-out);
}
.preloader__word { width: max(25vw, 160px); height: auto; fill: var(--limewash);
  clip-path: inset(0 100% 0 0); opacity: .0;
  transition: clip-path 1.4s var(--ease-out), opacity 1s var(--ease-out);
}
.preloader.is-drawn .preloader__mark rect { transform: scaleX(1); }
.preloader.is-drawn .preloader__word { clip-path: inset(0 0 0 0); opacity: 1; }
.preloader.is-leaving .preloader__inner { opacity: 0; transition: opacity .8s var(--ease-out); }
.preloader.is-done { display: none; }

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .8s var(--ease-out), backdrop-filter .8s var(--ease-out), height .8s var(--ease-out), transform .8s var(--ease-out);
}
.header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(247,245,240,.14);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out);
}
.header.is-solid { /* frosted graphite, matching the popup backdrop */
  background: rgba(14, 13, 9, .7); --header-h: 72px;
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header.is-solid { background: var(--graphite); }
}
.header.is-solid::after { transform: scaleX(1); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.lockup { display: block; height: 30px; width: auto; fill: var(--limewash); }
.header__brand { display: inline-flex; padding-block: .5rem; }
.header .lockup--word { height: 14px; }
@media (max-width: 760px) { .header .lockup--word { height: 12px; } }

.nav { display: flex; align-items: center; gap: clamp(1.5rem, 3.2vw, 3.25rem); }
.nav__link {
  position: relative;
  font-weight: 500; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  padding-block: .75rem;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: .22em; bottom: .45rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .7s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-expanded="true"]::after { transform: scaleX(1); transform-origin: left; }

.menu-btn { display: none; align-items: center; gap: .8rem; padding: .75rem 0;
  font-weight: 500; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }
.menu-btn { min-width: 44px; min-height: 44px; justify-content: flex-end; } /* the word is gone; the tap area stays generous */
.menu-btn__label { /* read by screen readers (Menu / Close), not shown */
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.menu-btn__lines { display: grid; gap: 6px; width: 22px; }
.menu-btn__lines span { height: 1px; width: 22px; background: currentColor; transform-origin: center; transition: transform .8s var(--ease-out); }
.menu-btn__lines span:last-child { transform: translateX(4px) scaleX(.636); } /* the short line, 14px, held to the right */
/* Open: the two lines draw together and cross into a close mark, in step with the menu [Proposed 2026-11-16] */
.menu-btn[aria-expanded="true"] .menu-btn__lines span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .menu-btn__lines span { transition-duration: .01s; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--graphite);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  /* Slides in from the right, like the panels; closes back the way it came [Proposed 2026-11-16] */
  visibility: hidden; transform: translateX(100%);
  transition: transform .7s cubic-bezier(.7, 0, .84, 0), visibility 0s linear .7s;
}
.mobile-menu.is-open { visibility: visible; transform: none; transition: transform 1s var(--ease-out); }
/* The links follow the panel in, one after another */
.mobile-menu li, .mobile-menu__foot { opacity: 0; transform: translateX(2.5rem); transition: opacity .3s ease, transform .3s ease; }
.mobile-menu.is-open li, .mobile-menu.is-open .mobile-menu__foot { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.mobile-menu.is-open li:nth-child(1) { transition-delay: .25s; }
.mobile-menu.is-open li:nth-child(2) { transition-delay: .33s; }
.mobile-menu.is-open li:nth-child(3) { transition-delay: .41s; }
.mobile-menu.is-open .mobile-menu__foot { transition-delay: .55s; }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu { transform: none; opacity: 0; transition: opacity .3s ease, visibility 0s linear .3s; }
  .mobile-menu.is-open { opacity: 1; transition: opacity .3s ease; }
  .mobile-menu li, .mobile-menu__foot { transform: none; }
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.mobile-menu button { font-family: var(--display); font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.35; text-align: left; }
.mobile-menu__foot { margin-top: auto; padding-top: 2rem; border-top: 1px solid var(--rule-dark); }

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .lockup { height: 25px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
  background: var(--graphite);
}
.hero__layers { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.hero__layers > * { will-change: transform; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img {
  width: 100%; height: 115%; object-fit: cover; object-position: 50% 42%;
  transform: scale(1.08);
  transition: transform 3.2s var(--ease-out);
  will-change: transform;
}
.is-ready .hero__media img { transform: scale(1); }
/* Desktop: a 4:3 photograph with sky above and terrace below. Screens from 4:3 to ultrawide trim only sky and terrace, so the whole house stays in view */
@media (min-width: 601px) { .hero__media img { height: 100%; object-position: 50% var(--hero-y, 28%); } }
/* Phones: a 2:5 portrait, so the full width shows. The crop is set so the headline sits over the pool. */
@media (max-width: 600px) { .hero__media img { position: relative; top: var(--hero-lift, -6%); object-position: 50% 0%; } } /* phones: raised to trim sky; the extra height below covers the lift */
@media (max-width: 600px) and (max-height: 720px) { .hero__media img { object-position: 50% 70%; } } /* short phones: the house rises above the headline */
.hero__scrim { /* legibility scrim: functional, not decorative */
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(14,13,9,.85) 0%, rgba(14,13,9,.35) 42%, rgba(14,13,9,.10) 70%),
    linear-gradient(to right, rgba(14,13,9,.55) 0%, rgba(14,13,9,.10) 55%, rgba(14,13,9,0) 75%),
    linear-gradient(to bottom, rgba(14,13,9,.55) 0%, rgba(14,13,9,0) 22%);
}
.hero__fade { /* lets the hero settle into graphite as the layers part */
  position: absolute; inset: auto 0 0; height: 32%; pointer-events: none;
  background: linear-gradient(to top, var(--graphite) 0%, rgba(14,13,9,0) 100%);
  opacity: 0;
}
.hero__content {
  position: relative; width: 100%;
  padding-bottom: clamp(3.5rem, 9vh, 6.5rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 3rem;
}
.hero__title { max-width: none; }
.hero__lede { margin-top: clamp(1.5rem, 3vh, 2.25rem); color: var(--limewash); max-width: 31em; }
.hero__aside { display: grid; justify-items: end; gap: 1.5rem; text-align: right; }
.scroll-cue { width: 1px; height: 64px; background: rgba(247,245,240,.2); position: relative; overflow: hidden; }
.scroll-cue::after {
  content: ""; position: absolute; inset: 0; background: var(--limewash);
  transform: translateY(-100%); animation: cue 2.6s var(--ease-in-out) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* Hero entrance, choreographed after preloader */
.js .hero [data-hero] { opacity: 0; transform: translateY(26px); transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out); }
.js .hero .line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.14em; }
.js .hero .line > span { display: block; transform: translateY(105%); transition: transform 1.5s var(--ease-out); }
.is-ready .hero [data-hero] { opacity: 1; transform: none; }
.is-ready .hero .line > span { transform: none; }

@media (max-width: 760px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__aside { display: none; }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section { position: relative; padding-block: clamp(6rem, 14vw, 11.5rem); }
.on-light { background: var(--limewash); color: var(--graphite); }
.on-paper { background: var(--limewash); color: var(--graphite); }

/* --- Statement --- */
.statement__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.4vw, 2.5rem);
}
.statement__title { max-width: 14ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.statement__figure { grid-column: 1 / span 5; grid-row: 1; }
.statement__text { grid-column: 7 / -1; grid-row: 1; align-self: center; justify-self: end; } /* sits flush to the right edge, so the section is balanced */
.statement__text .lede { margin-bottom: 2rem; max-width: 26em; }
.statement__text .link { margin-top: 2.5rem; }

@media (max-width: 900px) {
  /* Phones: heading first, then the image, then the text */
  .statement__text { display: contents; }
  .statement__text > *, .statement__figure { grid-column: 1 / -1; grid-row: auto; }
  .statement__title { order: -1; margin-bottom: clamp(2.5rem, 8vw, 3.5rem); }
  .figure.statement__figure { width: 82%; margin-bottom: 3.5rem; }
}

/* --- Figures, fade reveal, parallax --- */
.figure { position: relative; margin: 0; overflow: hidden; background: var(--rule-dark); }
.on-light .figure { background: var(--rule-light); }
.figure img { width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.figure--portrait { aspect-ratio: 4 / 5; }
.figure img { position: absolute; inset: -8% 0 auto; }

.js [data-fade] { opacity: 0; transition: opacity 1.8s var(--ease-out); }
.js [data-fade].is-in { opacity: 1; }

/* --- Reveals (600 ms fade and rise per guidelines; content visible without JS) --- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .split .line { display: inline-block; white-space: nowrap; vertical-align: top; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.js .split .line > span { display: block; transform: translateY(105%); transition: transform 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .split.is-in .line > span { transform: none; }

/* --- Approach: scroll-led, the sticky column narrates each 16:9 image --- */
.approach { background: var(--graphite); }
.approach__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.4vw, 2.5rem); }
/* The sticky column sits high; the intro shows first, then each image's text as it lands */
.approach__head { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--header-h) + 3rem + 100px); }
.approach__stage { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; container-type: inline-size; }
.ap-panel { grid-area: 1 / 1; visibility: hidden; }
.ap-panel.is-active, .ap-panel.is-leaving { visibility: visible; }
.ap-panel h2, .ap-panel h3, .ap-panel p.display { margin: 0; }
/* Every panel heading shares one size, capped so the longest word ("Sophistication.") fits the column */
.ap-panel .display--l { font-size: min(clamp(2.1rem, 4.4vw, 4rem), 13.5cqi); }
.ap-panel .lede { margin-top: 2rem; color: var(--limewash); }
.ap-panel .line { display: block; overflow: hidden; padding-bottom: .08em; white-space: nowrap; }
.ap-panel .line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.ap-panel.is-active .line > span { transform: none; transition-delay: calc(.2s + var(--i, 0) * 90ms); }
.ap-panel.is-leaving .line > span { transform: translateY(-105%); transition-duration: .6s; transition-delay: 0s; }
.ap-panel .lede { opacity: 0; transition: opacity .8s var(--ease-out); }
.ap-panel.is-active .lede { opacity: 1; transition-delay: .45s; }
/* Discreet counter and progress track (Plaster; Lime Wash 20% track) */
.approach__meta { opacity: 0; transition: opacity .8s var(--ease-out); position: absolute; top: 100%; left: 0; display: flex; align-items: center; gap: 1rem; margin-top: 3rem; color: var(--plaster); font-variant-numeric: tabular-nums; }
.approach__head.has-step .approach__meta { opacity: 1; }
.approach__track { position: relative; width: 120px; height: 1px; background: rgba(247,245,240,.20); overflow: hidden; }
.approach__track i { position: absolute; inset: 0; background: var(--limewash); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease-out); }
.approach__list { grid-column: 6 / -1; list-style: none; margin: 0; padding: 40vh 0 10vh; display: grid; gap: clamp(4rem, 9vw, 8rem); }
.figure--landscape { aspect-ratio: 16 / 9; }
.pillar__text { display: none; }
.br-phone { display: none; }
@media (max-width: 600px) { .br-phone { display: inline; } } /* phones: Shaped / by the Land, two lines like the other titles */

@media (max-width: 900px) {
  /* Phones: no sticky column; the intro leads and each image keeps its own text beneath it */
  .approach__head { grid-column: 1 / -1; position: static; margin-bottom: 4.5rem; }
  .ap-panel:not([data-step="0"]), .approach__meta { display: none; }
  .ap-panel[data-step="0"] { visibility: visible; }
  .ap-panel[data-step="0"] .line > span, .ap-panel[data-step="0"] .lede { transform: none; opacity: 1; }
  .approach__list { grid-column: 1 / -1; padding: 0; }
  .pillar__text { display: block; margin-top: 2rem; }
  .pillar__text h3 { margin-bottom: 1.1rem; }
  .pillar__text p { color: var(--limewash); }
}
@media (prefers-reduced-motion: reduce) {
  .ap-panel .line > span, .ap-panel .lede, .approach__track i { transition: none !important; }
}

/* --- Commissions band --- */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(560px, 92vh, 880px);
  display: flex; align-items: center;
  background: var(--graphite);
}
.band__media { position: absolute; inset: -12% 0; z-index: -2; }
.band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; will-change: transform; }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(14,13,9,.85) 0%, rgba(14,13,9,.55) 45%, rgba(14,13,9,.25) 100%);
}
.band__content { padding-block: clamp(6rem, 12vw, 9rem); }
.band__content .display--l { max-width: 13ch; }
.band__content .lede { margin-top: 2rem; color: var(--limewash); }
.band__content .btn { margin-top: 3rem; }

/* --- Register --- */
.register__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.4vw, 2.5rem); align-items: center; }
.register__text { grid-column: 1 / span 5; }
.register__text .display--l { max-width: 12ch; }
.register__text .lede { margin-top: 2rem; color: var(--graphite); }
.register__text .link { margin-top: 2.5rem; }
.register__figure { grid-column: 7 / -1; }

@media (max-width: 900px) {
  .register__text, .register__figure { grid-column: 1 / -1; }
  .register__figure { margin-top: 4rem; width: 88%; margin-left: auto; }
}

/* --- Phones: one screen per section, each covering the last [Proposed 2026-11-16] ---
   Each idea is given a screen of its own, centred with generous space above and below.
   Within the black approach section only, each screen holds still while the next one
   slides up over it; the other sections scroll normally. The approach wrappers step
   aside (display: contents) so the intro and each pillar stack inside the section and
   release when it ends. A screen taller than the phone holds at --stick (site.js). */
@media (max-width: 600px) {
  .stack-screen {
    min-height: 100vh; min-height: 100svh;
    box-sizing: border-box;
    display: flex; flex-direction: column; justify-content: center;
  }
  #about, #register { padding-block: 7.5rem 6rem; }

  /* Statement: heading, image, words */
  .statement__title { margin-bottom: 2.25rem; }
  .figure.statement__figure { width: 52%; margin-bottom: 2rem; }
  .statement__text .link { margin-top: 1.5rem; }
  .statement__text .lede { max-width: none; }

  /* Approach: the intro is a screen, then one screen per pillar */
  .approach.section { padding-block: 0; }
  .approach__head .ap-panel { text-align: center; } /* the chapter title screen is centred */
  .approach__head .lede { margin-inline: auto; }
  .approach__grid, .approach__list { display: contents; }
  .approach__head, .pillar {
    position: sticky; top: var(--stick, 0px);
    background: var(--graphite);
    padding: 7.5rem var(--gutter) 6rem;
    margin: 0; border-top: 1px solid var(--rule-dark);
  }
  .approach { counter-reset: pillar; }
  .pillar { counter-increment: pillar; }
  .pillar__text { margin-top: 2rem; position: relative; }
  .pillar__text h3 { margin-bottom: 1.25rem; font-size: 2.1rem; line-height: 1.14; } /* same size as the Complete by Design title */
  .pillar__text::after { /* position in the sequence: a short rule, then 01 / 03, in discreet Plaster */
    content: counter(pillar, decimal-leading-zero) " / 03" / "";
    display: block; margin-top: 2.75rem; padding-left: 3.75rem;
    font-family: var(--sans); font-weight: 500; font-size: .72rem; letter-spacing: .22em; line-height: 1.4;
    color: var(--plaster);
  }
  .pillar__text::before {
    content: ""; position: absolute; left: 0; bottom: .5rem;
    width: 2.75rem; height: 1px; background: var(--plaster);
  }

  /* Register: the same order as the statement - heading, image, words, link */
  .register__text { display: contents; }
  .register__text > * { grid-column: 1 / -1; }
  .register__text .display--l { order: -1; margin-bottom: 2.25rem; }
  .register__grid .register__figure { order: 0; width: 52%; margin: 0 0 2rem; grid-column: 1 / -1; }
  .register__text .lede { order: 1; margin-top: 0; }
  .register__text > div { order: 2; }
  .register__text .link { margin-top: 1.5rem; }
}
@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  .approach__head, .pillar { position: relative; top: auto; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer { background: var(--graphite); padding-top: clamp(6rem, 13vw, 10rem); padding-bottom: 2.5rem; }
.footer__cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: end; padding-bottom: clamp(5rem, 9vw, 7.5rem); }
.footer__cta .display--l { max-width: 15ch; }
.footer__cta .lede { margin-top: 1.75rem; color: var(--limewash); }
.footer__main {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.4vw, 2.5rem); row-gap: 3rem;
  padding-block: 3.5rem; border-top: 1px solid var(--rule-dark);
}
.footer__brand { grid-column: 1 / span 5; }
.footer__brand .lockup { height: 16px; }
.footer__brand p { margin-top: 1.75rem; color: var(--limewash); max-width: 30em; font-size: .92rem; }
.footer__col { grid-column: span 2; }
.footer__col:first-of-type { grid-column: 8 / span 2; }
.footer__col h2 { margin: 0 0 1.25rem; color: var(--limewash); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__col button, .footer__col a { font-size: .92rem; position: relative; }
.footer__col button::after, .footer__col a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out);
}
.footer__col button:hover::after, .footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
  padding-top: 2rem; border-top: 1px solid var(--rule-dark);
  font-size: .78rem; color: var(--plaster);
}
.footer__legal-links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer__legal-links a { position: relative; }
.footer__legal-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.1rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 1s var(--ease-out); }
.footer__legal-links a:hover::after, .footer__legal-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.check__link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

@media (max-width: 900px) {
  .footer__cta { grid-template-columns: 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col, .footer__col:first-of-type { grid-column: span 6; }
}
@media (max-width: 600px) { /* phones: the footer recedes, a step below the page's text */
  .footer__brand .lockup { height: 13px; }
  .footer__brand p, .footer__col li, .footer__col button, .footer__col a { font-size: .8125rem; }
  .footer__col h2.label { font-size: .6875rem; margin-bottom: 1rem; }
  .footer__col ul { gap: .35rem; }
  .footer__legal { font-size: .7rem; }
  .footer__legal-links { gap: .4rem 1.25rem; }
  .footer__col--location { display: none; } /* phones: the location is left out of the footer */
  .footer__brand { display: none; } /* phones: the header already carries the wordmark */
}

/* ==========================================================================
   Panels (dialogs) — calm panel from the right, frosted backdrop
   ========================================================================== */

.panel {
  position: fixed; inset: 0 0 0 auto;
  margin: 0; padding: 0; border: 0;
  width: min(600px, 100vw); max-width: 100vw;
  height: 100%; max-height: 100%;
  background: var(--limewash); color: var(--graphite);
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 1s var(--ease-out), display 1s allow-discrete, overlay 1s allow-discrete;
  box-shadow: -24px 0 60px -20px rgba(14,13,9,.35);
  caret-color: var(--graphite);
}
.panel--wide { width: min(940px, 100vw); }
.panel[open] { transform: none; }
.panel.is-closing { transform: translateX(100%); transition: transform .7s var(--ease-in-out); }
@starting-style { .panel[open] { transform: translateX(100%); } }

.panel::backdrop {
  background: rgba(14,13,9,.35);
  -webkit-backdrop-filter: blur(14px) saturate(.85);
  backdrop-filter: blur(14px) saturate(.85);
  opacity: 0;
  transition: opacity .9s var(--ease-out), display .9s allow-discrete, overlay .9s allow-discrete;
}
.panel[open]::backdrop { opacity: 1; }
.panel.is-closing::backdrop { opacity: 0; }
@starting-style { .panel[open]::backdrop { opacity: 0; } }

.panel__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: var(--plaster) var(--limewash); }
.panel__inner { min-height: 100%; display: flex; flex-direction: column; padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1.5rem, 5vw, 4rem) clamp(2rem, 5vw, 3.5rem); }
.panel__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(3rem, 9vh, 6rem); }
.panel__mark { width: 18px; height: auto; fill: var(--graphite); }
.close {
  display: inline-flex; align-items: center; gap: .85rem; padding: .6rem 0;
  font-weight: 500; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
}
.close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1; transition: transform .7s var(--ease-out); }
.close:hover svg { transform: rotate(90deg); }

.panel__intro .display--l { max-width: 12ch; }
.panel__intro .lede { margin-top: 1.5rem; color: var(--graphite); }

/* Panel content entrance */
.panel [data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.panel[open]:not(.is-closing) [data-stagger] > * { opacity: 1; transform: none; }
.panel[open] [data-stagger] > *:nth-child(1) { transition-delay: .25s; }
.panel[open] [data-stagger] > *:nth-child(2) { transition-delay: .33s; }
.panel[open] [data-stagger] > *:nth-child(3) { transition-delay: .41s; }
.panel[open] [data-stagger] > *:nth-child(4) { transition-delay: .49s; }
.panel[open] [data-stagger] > *:nth-child(5) { transition-delay: .57s; }
.panel[open] [data-stagger] > *:nth-child(n+6) { transition-delay: .65s; }

/* ---------- Forms ---------- */

.form { margin-top: clamp(2.5rem, 6vh, 4rem); display: grid; gap: 2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: .35rem; position: relative; }
.field label, .field .field__label { font-weight: 500; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--graphite); }
.field .opt { text-transform: none; letter-spacing: .02em; font-weight: 300; }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit; font-size: 1.02rem; color: var(--graphite);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--rule-light);
  border-radius: 0;
  padding: .55rem 0 .7rem;
  transition: border-color .5s var(--ease-out);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--inkline); }
.field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--graphite);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out);
}
.field:focus-within::after { transform: scaleX(1); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; }
.field.has-error input, .field.has-error textarea { border-bottom-color: #8A3B2E; }
.field__error { font-size: .78rem; color: #8A3B2E; min-height: 0; }
.field__error:empty { display: none; }

.check { display: flex; gap: .9rem; align-items: flex-start; font-size: .85rem; color: var(--graphite); line-height: 1.6; cursor: pointer; }
.check input { -webkit-appearance: none; appearance: none; flex: none; width: 16px; height: 16px; margin-top: .25rem; border: 1px solid var(--inkline); display: grid; place-items: center; cursor: pointer; }
.check input::before { content: ""; width: 8px; height: 8px; background: var(--graphite); transform: scale(0); transition: transform .35s var(--ease-out); }
.check input:checked::before { transform: scale(1); }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: .5rem; }

.btn.is-loading, .link.is-loading { pointer-events: none; }
.btn.is-loading .btn__label::after, .link.is-loading .btn__label::after { content: "…"; }

/* Success state */
.success { display: none; }
.is-sent .form, .is-sent .panel__intro .lede { display: none; }
.is-sent .success { display: block; margin-top: 2rem; animation: rise 1s var(--ease-out) both; }
.success p { color: var(--graphite); max-width: 30em; margin: 1.25rem 0 0; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.panel__foot { margin-top: auto; padding-top: 3rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; color: var(--inkline); font-size: .78rem; }
.panel__foot span { white-space: nowrap; }

/* ==========================================================================
   Commission questionnaire
   ========================================================================== */

.q { flex: 1; display: flex; flex-direction: column; }
.q__progress { display: flex; align-items: center; gap: 1rem; color: var(--inkline); }
.q__progress svg { width: 15px; height: auto; display: block; }
.q__progress rect { fill: var(--graphite); opacity: .16; transition: opacity .6s var(--ease-out); }
.q__progress rect.is-on { opacity: 1; }
.q__count { font-variant-numeric: tabular-nums; }

.q__stage { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; padding-block: clamp(2rem, 6vh, 4rem); }
.q__step { grid-area: 1 / 1; max-width: 640px; min-width: 0; } /* never wider than the panel */
.q__step[hidden] { display: none; }
.q__step.is-entering { animation: stepIn .9s var(--ease-out) both; }
.q__step.is-entering-back { animation: stepInBack .9s var(--ease-out) both; }
.q__step.is-leaving { animation: stepOut .45s var(--ease-in-out) both; pointer-events: none; }
.q__step.is-leaving-back { animation: stepOutBack .45s var(--ease-in-out) both; pointer-events: none; }
@keyframes stepIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
@keyframes stepOut { to { opacity: 0; transform: translateY(-36px); } }
@keyframes stepOutBack { to { opacity: 0; transform: translateY(36px); } }

.q__title { max-width: 20ch; }
.q__hint { margin: 1rem 0 0; color: var(--graphite); max-width: 34em; }

.options { margin-top: 2.25rem; display: grid; gap: .6rem; max-width: 520px; }
.options--grid { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); max-width: 640px; }
@media (max-width: 600px) { .options--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .options--grid .option { gap: .7rem; padding: .75rem .8rem; font-size: .9rem; } }
.option {
  display: flex; align-items: center; gap: 1rem; width: 100%; text-align: left;
  padding: .85rem 1rem; min-height: 52px;
  border: 1px solid var(--rule-light);
  background: transparent;
  font-size: .98rem; line-height: 1.35;
  transition: border-color .4s var(--ease-out), background-color .4s var(--ease-out), color .4s var(--ease-out);
}
.option:hover { border-color: var(--inkline); }
.option__key {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px;
  border: 1px solid var(--rule-light); font-size: .69rem; font-weight: 500; letter-spacing: 0;
  color: var(--inkline); transition: inherit;
}
.option[aria-pressed="true"], .option[aria-checked="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--limewash); }
.option[aria-pressed="true"] .option__key, .option[aria-checked="true"] .option__key { border-color: rgba(247,245,240,.4); color: var(--limewash); }
.option.is-flash { animation: flash .32s steps(2) 1; }
@keyframes flash { 50% { background: var(--inkline); } }

.pills { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .9rem; }
.pill {
  min-width: 56px; min-height: 48px; padding: 0 1.1rem;
  border: 1px solid var(--rule-light); background: transparent;
  font-size: .98rem; font-variant-numeric: tabular-nums;
  transition: border-color .4s var(--ease-out), background-color .4s var(--ease-out), color .4s var(--ease-out);
}
.pill:hover { border-color: var(--inkline); }
.pill[aria-checked="true"] { background: var(--graphite); color: var(--limewash); border-color: var(--graphite); }
.pill-group + .pill-group { margin-top: 2rem; }
.pill-group { margin-top: 2.25rem; }

.q__step .form { margin-top: clamp(2rem, 5vh, 3rem); }
.range { margin-top: 2.5rem; max-width: 560px; display: grid; gap: 1.5rem; }
.range__value { font-variant-numeric: tabular-nums; }
.range__scale { color: var(--graphite); display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.range__input { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; --fill: 0%; }
.range__input:focus { outline: none; }
.range__input::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(to right, var(--graphite) var(--fill), var(--rule-light) var(--fill)); }
.range__input::-moz-range-track { height: 1px; background: var(--rule-light); }
.range__input::-moz-range-progress { height: 1px; background: var(--graphite); }
.range__input::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; margin-top: -7px; border-radius: 50%; background: var(--graphite); border: 0; transition: transform .4s var(--ease-out); }
.range__input::-moz-range-thumb { width: 15px; height: 15px; border-radius: 50%; background: var(--graphite); border: 0; }
.range__input:hover::-webkit-slider-thumb, .range__input:focus-visible::-webkit-slider-thumb { transform: scale(1.25); }
.q__fields { margin-top: 2.25rem; display: grid; gap: 1.75rem; max-width: 560px; }

.q__actions { margin-top: 2.5rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.q__error { margin-top: 1.25rem; font-size: .82rem; color: #8A3B2E; min-height: 1.3em; }

.q__nav[hidden] { display: none; }
.q__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-light); }
.q__navbtns { display: flex; gap: .5rem; }
.q__arrow { width: 44px; height: 44px; border: 1px solid var(--rule-light); display: grid; place-items: center; transition: border-color .4s var(--ease-out), background-color .4s var(--ease-out); }
.q__arrow:hover:not([disabled]) { border-color: var(--graphite); }
.q__arrow[disabled] { opacity: .35; cursor: default; }
.q__arrow svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 1; fill: none; }

.summary { margin-top: 2.5rem; border-top: 1px solid var(--rule-light); max-width: 560px; }
.summary div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--rule-light); font-size: .9rem; }
.summary dt { color: var(--graphite); font-weight: 500; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; padding-top: .2rem; }
.summary dd { margin: 0; }
@media (max-width: 560px) { .summary div { grid-template-columns: 1fr; gap: .2rem; } }

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .scroll-cue::after { animation: none; transform: none; }
  .link--cue::after { animation: none; transform: translateX(-100%); }
}

/* --- Smooth scroll (Lenis) --- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Hero reference tag sits clear of the sinking words */
.hero > .ref-tag { top: calc(var(--header-h) + .9rem); bottom: auto; }
.q__fields:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Cookie consent [Proposed 2026-11-16]
   A small Lime Wash card, bottom right, square, 1px rule. Accept and Decline
   are the same outline button so neither is favoured. Fades and rises 22px.
   DESIGN.md: Colors, Typography (Label, Body), Shapes, Components (Buttons, Motion).
   ========================================================================== */
.consent {
  position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 250;
  width: min(21rem, calc(100vw - 2 * var(--gutter)));
  padding: 1.25rem 1.25rem 1.125rem;
  background: var(--limewash); color: var(--graphite);
  border: 1px solid var(--rule-light);
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.consent.is-open { opacity: 1; transform: none; }
.consent ::selection { background: var(--graphite); color: var(--limewash); }
.consent__label { margin: 0 0 .625rem; }
.consent__text { margin: 0; font-size: .8125rem; line-height: 1.6; }
.consent__text a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; margin-top: 1rem; }
.consent .btn { min-height: 40px; padding: 0 .75rem; font-size: .6875rem; letter-spacing: .24em; }
.consent .btn::before { background: var(--graphite); }
.consent .btn:hover, .consent .btn:focus-visible { color: var(--limewash); border-color: var(--graphite); }
.footer__legal-links button, .lg-footer__links button { font: inherit; color: inherit; position: relative; }
.footer__legal-links button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.1rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 1s var(--ease-out); }
.footer__legal-links button:hover::after { transform: scaleX(1); transform-origin: left; }
.lg-inline-btn { font: inherit; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; transform: none; } }
