/* ==========================================================================
   Oud & Oak — shared stylesheet
   Palette and type from the Oud & Oak Brand Guidelines (Sept 2026).
   Every section declares a "tone"; tones set --bg / --fg / --muted / --accent
   so components re-colour themselves on dark or light surfaces.
   ========================================================================== */

/* Self-hosted fonts (Google Fonts, Latin subset; variable weights) */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Core palette */
  --oudwood: #150F0B;
  --charred: #221812;
  --gold: #B89A62;
  --cream: #E8DCC6;
  --ash: #8F7F6B;

  /* Homes */
  --brass: #A2804F;
  --cognac: #743722;
  --limestone: #DFCFB2;

  /* Estates */
  --navy: #0C1724;
  --champagne: #CDB994;
  --platinum: #C3C7C9;
  --graphite: #5C6672;
  --navy-deep: #070E17;   /* tint of Ink Navy, for depth */
  --mist: #E4E7E9;        /* tint of Platinum, Estates' "paper" */
  --frost: #E9ECEE;       /* Estates headline white */
  --slate: #8E99A6;       /* Estates labels (between Graphite and Platinum) */

  /* Tone slots — default: umbrella dark */
  --bg: var(--oudwood);
  --fg: var(--cream);
  --muted: var(--ash);
  --accent: var(--gold);
  --on-accent: var(--oudwood);
  --panel: var(--charred);
  --rule: rgba(232, 220, 198, .12);
  --rule-strong: rgba(232, 220, 198, .26);
  --nav-bg: rgba(21, 15, 11, .88);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --gutter: clamp(20px, 4.4vw, 72px);
  --frame: clamp(8px, .9vw, 14px);
  --radius: 6px;
  --maxw: 1440px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
}

/* Division themes */
.theme-homes {
  --bg: var(--charred);
  --muted: #978773;               /* Ash, lifted a touch so small text passes contrast on Charred Oak */
  --accent: var(--brass);
  --nav-bg: rgba(34, 24, 18, .9);
}
.theme-homes .tone-dark { --bg: var(--charred); }
.theme-homes .h-hero {
  margin: 0; border-radius: 0; min-height: 100svh;
  /* late-sun light falling across the room */
  background:
    radial-gradient(55% 65% at 16% 38%, rgba(162, 128, 79, .14), transparent 68%),
    radial-gradient(40% 55% at 80% 62%, rgba(116, 55, 34, .22), transparent 72%),
    radial-gradient(90% 60% at 50% 110%, rgba(21, 15, 11, .5), transparent 70%),
    var(--charred);
}
.theme-estates {
  --bg: var(--navy);
  --fg: var(--frost);
  --muted: var(--slate);
  --accent: var(--champagne);
  --on-accent: var(--navy);
  --panel: var(--navy);
  --rule: rgba(195, 199, 201, .12);
  --rule-strong: rgba(195, 199, 201, .28);
  --nav-bg: rgba(7, 14, 23, .88);
}

/* Section tones */
.panel { --bg: var(--panel); }
.tone-dark, .tone-limestone, .tone-cream, .tone-cognac, .tone-mist, .tone-champagne, .tone-deep, .panel {
  background: var(--bg);
  color: var(--fg);
}
.tone-dark { --bg: var(--oudwood); }
.tone-deep { --bg: var(--navy-deep); }
.tone-limestone, .tone-cream {
  --bg: var(--limestone);
  --fg: var(--charred);
  --muted: rgba(34, 24, 18, .66);
  --accent: var(--cognac);
  --on-accent: var(--cream);
  --rule: rgba(34, 24, 18, .14);
  --rule-strong: rgba(34, 24, 18, .3);
}
.tone-cream { --bg: var(--cream); }
.tone-brass {
  --bg: var(--brass);
  --fg: var(--charred);
  --muted: rgba(34, 24, 18, .78);
  --accent: var(--charred);
  --on-accent: var(--cream);
  --rule: rgba(34, 24, 18, .18);
  --rule-strong: rgba(34, 24, 18, .42);
  background: var(--bg); color: var(--fg);
}
.tone-brass-light {
  --bg: #C7AB7E;                       /* a lighter tint of Smoked Brass */
  --fg: var(--charred);
  --muted: rgba(34, 24, 18, .74);
  --accent: var(--charred);
  --on-accent: var(--limestone);
  --rule: rgba(34, 24, 18, .16);
  --rule-strong: rgba(34, 24, 18, .34);
  background: var(--bg); color: var(--fg);
}
.tone-cognac {
  --bg: var(--cognac);
  --fg: var(--cream);
  --muted: rgba(232, 220, 198, .78);
  --accent: var(--cream);
  --on-accent: var(--cognac);
  --rule: rgba(232, 220, 198, .2);
  --rule-strong: rgba(232, 220, 198, .36);
}
.tone-mist, .tone-champagne {
  --bg: var(--mist);
  --fg: var(--navy);
  --muted: #4F5A67;
  --accent: var(--navy);
  --on-accent: var(--frost);
  --rule: rgba(12, 23, 36, .12);
  --rule-strong: rgba(12, 23, 36, .28);
}
.tone-champagne { --bg: var(--champagne); --muted: rgba(12, 23, 36, .72); --on-accent: var(--champagne); }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Paper grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; background: var(--fg); color: var(--bg);
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* --------------------------------------------------------------------------
   Type — Cormorant for display & numbers, Jost for everything else
   -------------------------------------------------------------------------- */
.eyebrow {
  margin: 0 0 1.6rem;
  font-weight: 500;
  font-size: clamp(12px, .85vw, 14px);
  line-height: 1.4;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--muted { color: var(--muted); }

.display, .h2, .h3, .num {
  font-family: var(--serif);
  font-weight: 300;
  margin: 0;
  color: var(--fg);
  text-wrap: balance;
}
.display { font-size: clamp(3rem, 7vw, 7.25rem); line-height: 1.02; letter-spacing: -.012em; }
.h2 { font-size: clamp(2.35rem, 4.4vw, 4.4rem); line-height: 1.08; letter-spacing: -.008em; }
.h3 { font-weight: 400; font-size: clamp(1.45rem, 1.9vw, 1.7rem); line-height: 1.25; }
.subhead { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.3; margin: 0; }
.lede { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.7; max-width: 34em; margin: 0; }
.caption, .small { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }
p { margin: 0 0 1em; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 19px 30px 18px;
  font-weight: 500; font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; line-height: 1;
  color: var(--on-accent);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bg);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.btn:hover { color: var(--accent); }
.btn:hover::before { transform: scaleY(1); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--rule-strong); }
.btn--ghost::before { background: var(--fg); }
.btn--ghost:hover { color: var(--bg); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 500; font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--fg);
  padding: 8px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .6s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { width: 16px; height: 10px; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }

/* --------------------------------------------------------------------------
   Navigation — quiet, fixed; lockup at rest, mark once scrolled
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: calc(var(--frame) + 22px) calc(var(--gutter) + var(--frame)) 18px;
  color: var(--fg);
  transition: transform .7s var(--ease), padding .6s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.nav.is-scrolled { padding-top: 14px; padding-bottom: 14px; }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__link { position: relative; justify-self: start; font-size: 15px; letter-spacing: .04em; padding: 6px 0; }
.nav__link--right { justify-self: end; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__brand { position: relative; display: block; width: 28px; height: 32px; }
.nav__mark { width: 28px; height: 32px; object-fit: contain; transition: transform .6s var(--ease); }
.nav__brand:hover .nav__mark { transform: scale(1.08); }
/* Landing: the hero mark flies into this slot, so it starts hidden */
[data-page="home"] .nav .nav__mark { opacity: 0; transition: none; }
[data-page="home"] .nav.show-mark .nav__mark { opacity: 1; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.panel { position: relative; margin: 0 var(--frame); border-radius: var(--radius); overflow: clip; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(88px, 10.5vw, 168px) 0; }
.stack-gap { margin-top: var(--frame); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px var(--gutter);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 96px);
}
.section-head > .caption, .section-head__aside { max-width: 30em; justify-self: end; }
.section-head__aside { display: grid; gap: 16px; }
.placeholder-note { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin: 0; }
.placeholder-note::before { content: ""; width: 18px; height: 1px; background: currentColor; }

/* Photo slots — show the drawing until the photo exists */
.media { position: relative; overflow: hidden; background: var(--panel); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms + var(--d, 0ms));
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-split] { opacity: 1; transform: none; }
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line__inner { display: block; transform: translateY(108%); transition: transform 1.3s var(--ease); transition-delay: calc(var(--l, 0) * 100ms + var(--d, 0ms)); }
.is-in .line__inner { transform: none; }
[data-light] .w { opacity: .55; transition: opacity .5s var(--ease); }
[data-light] .w.lit { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .arch, .line__inner { opacity: 1 !important; transform: none !important; transition: none !important; }
  [data-light] .w { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Page transitions
   -------------------------------------------------------------------------- */
.transit, .page-cover { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.transit { clip-path: inset(100% 0 0 0); transition: clip-path .95s var(--ease-io); }
.transit img, .page-cover img { width: 44px; height: auto; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease) .45s, transform .9s var(--ease) .45s; }
.transit.is-on img { opacity: 1; transform: none; }
.page-cover { display: none; clip-path: inset(0 0 0 0); background: var(--oudwood); }
.theme-homes .page-cover { background: var(--charred); }
.theme-estates .page-cover { background: var(--navy); }
.is-arriving .page-cover { display: grid; }
.is-arriving .page-cover img { opacity: 1; transform: none; transition: opacity .5s var(--ease); }
.cover-out .page-cover { clip-path: inset(0 0 100% 0); transition: clip-path 1.15s var(--ease-io) .2s; }
.cover-out .page-cover img { opacity: 0; transform: translateY(-20px); transition: opacity .4s var(--ease), transform .8s var(--ease); }

/* ==========================================================================
   LANDING
   ========================================================================== */
.hero-wrap { position: relative; height: 200vh; }
.hero {
  --p: 0;
  position: sticky; top: 0;
  height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden;
  display: grid; grid-template-rows: 1fr auto auto; justify-items: center;
  padding: 0 var(--gutter) calc(var(--frame) + 26px);
  background:
    radial-gradient(55% 50% at 50% 40%, rgba(116, 55, 34, .16), transparent 70%),
    radial-gradient(40% 40% at 85% 90%, rgba(184, 154, 98, .06), transparent 70%),
    var(--oudwood);
}
.hero__marquee { position: absolute; left: 0; right: 0; top: 41%; transform: translateY(-50%); pointer-events: none; opacity: calc(1 - var(--p) * 1.4); }
.hero__track {
  display: flex; width: max-content;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(8rem, 22vw, 26rem); line-height: 1; white-space: nowrap;
  color: var(--charred);
  animation: marquee 80s linear infinite;
}
.hero__track span { padding-right: .4em; }
@keyframes marquee { to { transform: translateX(-50%); } }

.hero__title {
  position: relative; z-index: 1; align-self: center;
  margin: 0; padding-top: 6vh;
  display: flex; align-items: baseline; justify-content: center; gap: .14em;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(4.2rem, 12vw, 14rem); line-height: 1; letter-spacing: -.015em;
  white-space: nowrap;
}
.hero__half {
  display: block; padding: .1em .04em .16em;
  transform: translateX(calc(var(--p) * var(--dir) * 18vw));
  opacity: calc(1 - var(--p) * 1.9);
}
.hero__half--l { --dir: -1; }
.hero__half--r { --dir: 1; }
.hero__half > span {
  display: block;
  opacity: 0; filter: blur(6px); will-change: transform, opacity, filter;
  transition: transform 2s var(--ease) .75s, opacity 1.5s var(--ease) .75s, filter 1.5s var(--ease) .75s;
}
/* each word starts tucked into the ampersand and glides outward */
.hero__half--l > span { transform: translateX(.6em) scale(.94); transform-origin: right center; }
.hero__half--r > span { transform: translateX(-.6em) scale(.94); transform-origin: left center; }
.is-ready .hero__half > span { transform: none; opacity: 1; filter: blur(0); }
.hero__tile { position: relative; flex: none; width: .7em; transform: translateY(.1em); }
.hero__fly { position: relative; display: block; width: 100%; will-change: transform; }
.hero__mark {
  width: 100%; height: auto;
  opacity: 0; transform: scale(.82); filter: blur(5px); will-change: transform, opacity;
  transition: opacity 1.3s var(--ease) .15s, transform 1.8s var(--ease) .15s, filter 1.3s var(--ease) .15s;
}
.is-ready .hero__mark { opacity: 1; transform: none; filter: blur(0); }

.hero__sub {
  position: relative; z-index: 1;
  display: grid; justify-items: center; gap: 14px; text-align: center;
  padding-bottom: clamp(24px, 5vh, 56px);
  opacity: calc(1 - var(--p) * 2.6);
  transform: translateY(calc(var(--p) * -40px));
}
.hero__tagline { margin: 0; max-width: 30em; font-size: clamp(15px, 1.15vw, 18px); color: var(--muted); }
.hero__foot {
  position: relative; z-index: 1; width: 100%;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  font-size: 15px;
  opacity: calc(1 - var(--p) * 3);
}
.hero__foot p { margin: 0; color: var(--muted); }
.hero__sub > *, .hero__foot > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: calc(1.1s + var(--i, 0) * 120ms);
}
.is-ready .hero__sub > *, .is-ready .hero__foot > * { opacity: 1; transform: none; }
.dots { display: grid; grid-template-columns: repeat(2, 4px); gap: 5px; }
.dots i { width: 4px; height: 4px; background: currentColor; }

/* Choose your path — a Cream sheet that rises over the hero */
.paths {
  position: relative; z-index: 2;
  margin-top: -68vh;
  padding: clamp(40px, 5vw, 72px) var(--frame) var(--frame);
  border-radius: 14px 14px 0 0;
}
.paths__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 0 calc(var(--gutter) - var(--frame)) clamp(28px, 3.4vw, 48px);
}
.paths__head .eyebrow { margin: 0; }
.paths__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--frame); }

.path-card {
  --card: var(--charred);
  --card-accent: var(--brass);
  --card-fg: var(--cream);
  position: relative;
  display: flex; flex-direction: column;
  height: clamp(560px, 88vh, 940px);
  background: var(--card); color: var(--card-fg);
  border-radius: var(--radius);
  overflow: hidden; isolation: isolate;
  transition: filter .8s var(--ease);
}
.path-card--estates { --card: var(--navy); --card-accent: var(--champagne); --card-fg: var(--frost); }
.path-card__top {
  position: relative; flex: 1 1 auto;
  padding: clamp(24px, 2.4vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.path-card__mark { width: 26px; height: auto; transition: transform 1s var(--ease); }
.path-card__desc {
  max-width: 11em; margin: 0 0 26px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem); line-height: 1.15;
}
.path-card__title {
  position: absolute; right: clamp(12px, 1.6vw, 28px); bottom: clamp(16px, 2vw, 32px);
  margin: 0;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(4.5rem, 8.4vw, 9.5rem); line-height: .86; letter-spacing: -.01em;
  transition: transform 1.1s var(--ease);
}
.path-card__cta { display: inline-flex; align-items: center; gap: 14px; font-weight: 500; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; }
.path-card__cta .ring {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--card-accent); border-radius: 50%;
  color: var(--card-accent);
  transition: background .6s var(--ease), color .6s var(--ease);
}
.path-card__cta svg { width: 16px; height: 10px; }
.path-card__img { position: relative; flex: 0 0 40%; overflow: hidden; transition: flex-basis 1.1s var(--ease); }
.path-card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.path-card:focus-visible .path-card__img { flex-basis: 52%; }
@media (hover: hover) and (pointer: fine) {
  .path-card:hover .path-card__img { flex-basis: 52%; }
  .path-card:hover .path-card__img img, .path-card:focus-visible .path-card__img img { transform: scale(1.12); }
  .path-card:hover .path-card__cta .ring { background: var(--card-accent); color: var(--card); }
  .path-card:hover .path-card__title { transform: rotate(180deg) translateY(10px); }
  .path-card:hover .path-card__mark { transform: translateY(-3px) scale(1.06); }
  .paths__grid:hover .path-card:not(:hover) { filter: brightness(.7) saturate(.85); }
}

/* Footer */
.site-footer { padding: clamp(64px, 8vw, 120px) 0 calc(var(--frame) + 32px); }
.theme-homes .site-footer { border-top: 1px solid var(--rule); }
.site-footer__grid {
  display: grid; grid-template-columns: auto 1fr auto; gap: 48px var(--gutter); align-items: end;
  padding-bottom: 40px; border-bottom: 1px solid var(--rule);
}
.site-footer__lockup { width: 120px; height: auto; }   /* guideline minimum for the lockup */
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 14px 36px; justify-self: center; font-size: 15px; }
.site-footer__nav a:hover { color: var(--accent); }
.site-footer__meta { text-align: right; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 26px; font-size: 13px; color: var(--muted); }
.site-footer__base p { margin: 0; }
.disclaimer { max-width: 62em; font-size: 13px; line-height: 1.65; color: var(--muted); margin: 26px 0 0; }

/* ==========================================================================
   Shared division parts
   ========================================================================== */
.d-hero {
  min-height: calc(100svh - var(--frame));
  margin-top: var(--frame);
  display: grid; grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr);
  padding-top: clamp(120px, 16vh, 170px);
}
.d-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(40px, 6vw, 110px); align-items: end;
  padding-bottom: clamp(40px, 6vh, 72px);
}
.d-hero__text .display { margin-bottom: clamp(20px, 2.4vw, 32px); }
.d-hero__text .subhead { margin-bottom: clamp(32px, 3.4vw, 48px); max-width: 20em; }
.d-hero__foot {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--rule);
  font-weight: 500; font-size: 11.5px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted);
}
.d-hero__foot .grow { flex: 1; height: 1px; background: var(--rule); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { position: relative; display: block; width: 1px; height: 30px; overflow: hidden; background: var(--rule); }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: var(--accent); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { top: -100%; } 60%, 100% { top: 100%; } }

/* Statement */
.statement__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px var(--gutter); }
.statement__text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 3.35vw, 3.35rem); line-height: 1.22;
  margin: 0; text-wrap: pretty;
}
.statement__sign { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(40px, 5vw, 72px); padding-top: 22px; border-top: 1px solid var(--rule-strong); }
.statement__sign span { font-weight: 500; font-size: 11.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }

/* Timeline (process / how it works) */
.timeline {
  --progress: 0;
  position: relative;
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px);
}
.timeline::before, .timeline::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--rule-strong); }
.timeline::after { background: var(--accent); transform-origin: left; transform: scaleX(var(--progress)); }
.timeline li { position: relative; padding-top: 34px; }
.timeline li::before {
  content: ""; position: absolute; top: -4px; left: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--accent);
}
.timeline__num { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 4vw, 3.8rem); line-height: 1; color: var(--accent); margin-bottom: 18px; }
.timeline h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 1.7vw, 1.6rem); line-height: 1.25; margin: 0 0 10px; }
.timeline p { margin: 0; font-size: 15.5px; color: var(--muted); }
/* Timeline as full-width rows (for longer step descriptions) */
.timeline--rows { grid-template-columns: minmax(0, 1fr); gap: 0; }
.timeline--rows::before, .timeline--rows::after { top: 0; bottom: 0; left: 4px; right: auto; width: 1px; height: auto; }
.timeline--rows::after { transform-origin: top; transform: scaleY(var(--progress)); }
.timeline--rows li {
  display: grid;
  grid-template-columns: clamp(64px, 7vw, 110px) minmax(0, .9fr) minmax(0, 1.3fr);
  gap: 8px clamp(20px, 3vw, 56px);
  align-items: baseline;
  padding: 30px 0 34px 40px;
  border-bottom: 1px solid var(--rule);
}
.timeline--rows li:first-child { padding-top: 6px; }
.timeline--rows li::before { top: 44px; left: 0; }
.timeline--rows li:first-child::before { top: 20px; }
.timeline--rows .timeline__num { margin: 0; font-size: clamp(2rem, 3vw, 2.8rem); }
.timeline--rows h3 { margin: 0; font-size: clamp(1.4rem, 1.9vw, 1.8rem); }
.timeline--rows p { font-size: 16px; line-height: 1.7; max-width: 38em; }

/* WhatsApp: a quiet brand-coloured button in the corner */
.wa {
  position: fixed; z-index: 95;
  right: calc(var(--frame) + 14px);
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center;
  height: 54px; padding: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 12px 30px -10px rgba(0,0,0,.55), 0 3px 8px -2px rgba(0,0,0,.3);
  opacity: 0; transform: translate3d(0, 18px, 0) scale(.9);
  pointer-events: none;
  transition: opacity .8s var(--ease) 1.2s, transform .9s var(--ease) 1.2s, box-shadow .4s var(--ease);
}
/* visible from load: fades in just after the page's opening animation */
.is-ready .wa { opacity: 1; transform: none; pointer-events: auto; }
/* keep the bottom row of each opening screen clear of the button */
.hero__foot, .d-hero__foot { padding-right: 74px; }
.wa__icon { display: grid; place-items: center; width: 54px; height: 54px; flex: none; }
.wa__icon svg { width: 24px; height: 24px; }
.wa__label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-weight: 500; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  opacity: 0; padding-left: 0;
  transition: max-width .6s var(--ease), opacity .4s var(--ease), padding .6s var(--ease);
}
.wa:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
.wa:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) {
  .wa:hover .wa__label, .wa:focus-visible .wa__label { max-width: 160px; opacity: 1; padding-left: 22px; }
  .wa:hover { box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 18px 40px -12px rgba(0,0,0,.6), 0 4px 10px -2px rgba(0,0,0,.3); }
}

/* Commitments: cost, reporting, timeline, contact */
.commit {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 40px var(--gutter);
  margin-top: clamp(80px, 9vw, 140px);
  padding-top: clamp(40px, 4vw, 56px);
  border-top: 1px solid var(--rule-strong);
}
.commit__title { font-size: clamp(2rem, 3.2vw, 3.1rem); }
.commit__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.commit__list li { padding: 26px 0 30px; border-bottom: 1px solid var(--rule); }
.commit__list li:nth-child(-n+2) { padding-top: 0; }
.commit__key { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; color: var(--accent); margin-bottom: 14px; }
.commit__list h4 { margin: 0 0 8px; font-weight: 500; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--fg); }
.commit__list p { margin: 0; font-size: 15.5px; color: var(--muted); max-width: 30em; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { display: grid; gap: 10px; grid-column: span 2; border: 0; margin: 0; padding: 0; min-width: 0; }
.field--half { grid-column: span 1; }
.field > label, .field > legend {
  font-weight: 500; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--muted); padding: 0;
}
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  width: 100%;
  appearance: none; -webkit-appearance: none;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0;
  padding: 10px 0 12px;
  font: inherit; font-size: 17px; color: var(--fg);
  transition: border-color .4s var(--ease);
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 28px;
}
.field select option { background: var(--bg); color: var(--fg); }
.field textarea { min-height: calc(3.2em + 22px); resize: none; overflow: hidden; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fg); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-block; padding: 11px 18px 10px;
  border: 1px solid var(--rule-strong); border-radius: 40px;
  font-size: 14.5px;
  transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.choice input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.choice input:focus-visible + span { outline: 1px solid var(--accent); outline-offset: 3px; }
.form__actions { grid-column: span 2; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 8px; }
.form__note { font-size: 13px; color: var(--muted); margin: 0; max-width: 28em; }
.form-success { display: none; padding: 40px 0; }
.form-success .h3 { margin-bottom: 12px; }
.is-sent .form { display: none; }
.is-sent .form-success { display: block; animation: rise 1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-top: 16px; border-top: 1px solid var(--rule-strong); font-size: 16px; }
.contact-list .k { font-weight: 500; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-list a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact-list a:hover { background-size: 100% 1px; }

/* ==========================================================================
   HOMES
   ========================================================================== */
/* Hero: text on the left, arched photo on the right */
.h-hero__media { position: relative; margin: 0; justify-self: end; width: min(100%, 520px, calc((100svh - 380px) * .75)); min-width: 300px; }
.arch {
  aspect-ratio: 3 / 4; border-radius: 999px 999px 4px 4px; overflow: hidden; position: relative; background: var(--charred);
  opacity: 0; transform: translate3d(0, 36px, 0);
  transition: opacity 1.2s var(--ease) .2s, transform 1.6s var(--ease) .2s;
  -webkit-mask-image: -webkit-radial-gradient(white, black);   /* keeps the rounded clip on Safari while children animate */
}
.is-in .arch { opacity: 1; transform: none; }
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 2.2s var(--ease) .2s; will-change: transform; backface-visibility: hidden; }
.is-in .arch img { transform: scale(1); animation: slow-zoom 28s ease-in-out 2.6s infinite alternate; }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.h-hero__media figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.h-hero__text .subhead, .d-hero__text .subhead { margin-bottom: 14px; }
.h-hero__scope { color: var(--muted); max-width: 30em; margin-bottom: clamp(32px, 3.4vw, 44px); }
.h-hero__foot { opacity: 0; transition: opacity 1.4s var(--ease) 1.1s; }
.is-ready .h-hero__foot { opacity: 1; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--frame); }
.service { margin: 0; }
.service__media { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.service__media img { transition: transform 1.6s var(--ease); }
@media (hover: hover) { .service:hover .service__media img { transform: scale(1.06); } }
.service__body { padding-top: 22px; padding-right: 12px; }
.service__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; }
.service__num { font-family: var(--serif); font-size: 1.1rem; color: var(--accent); }
.service .h3 { font-weight: 300; font-size: clamp(1.8rem, 2.4vw, 2.3rem); }
.service p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* Materials */
.materials__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--frame); }
.swatch { margin: 0; }
.swatch__chip { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--c); transition: transform 1s var(--ease); }
.swatch__chip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.swatch__chip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.07), transparent 45%, rgba(0,0,0,.18)); mix-blend-mode: soft-light; pointer-events: none; }
@media (hover: hover) { .swatch:hover .swatch__chip { transform: translateY(-8px); } }
.theme-homes .materials + .section { border-top: 1px solid var(--rule); }
.swatch figcaption { padding-top: 18px; }
.swatch .h3 { margin-bottom: 4px; }
.swatch--limestone { --c: var(--limestone); }
.swatch--cognac { --c: var(--cognac); }
.swatch--brass { --c: var(--brass); }
.swatch--oak { --c: var(--charred); }
.swatch--oak .swatch__chip { border: 1px solid var(--rule-strong); }

/* Before / after */
.ba { --pos: 50%; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--charred); user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--limestone); pointer-events: none; }
.ba__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 54px; height: 54px; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--brass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' fill='none' stroke='%23150F0B' stroke-width='1.3'%3E%3Cpath d='M6 1 1 6l5 5M18 1l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:has(.ba__range:focus-visible) .ba__handle::after { outline: 1px solid var(--cream); outline-offset: 4px; }
.ba__tag {
  position: absolute; top: 20px; padding: 7px 12px 6px;
  background: rgba(34, 24, 18, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-weight: 500; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--cream);
  pointer-events: none;
}
.ba__tag--before { left: 20px; }
.ba__tag--after { right: 20px; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) var(--frame); }
.work-grid figure { margin: 0; }
.project-caption { padding-top: 22px; }
.project-caption .h3 { font-weight: 300; font-size: clamp(1.6rem, 2.3vw, 2.2rem); margin-bottom: 6px; }
.project-caption .figure { font-family: var(--serif); font-size: 1.25rem; color: var(--accent); margin: 0; }

/* Contact split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--frame); margin: 0 var(--frame); }
.split > * { border-radius: var(--radius); overflow: clip; }
.split__intro { padding: clamp(40px, 6vw, 96px); display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.split__intro .subhead { margin-top: 24px; max-width: 18em; }
.split__form { padding: clamp(40px, 6vw, 96px); }

/* ==========================================================================
   ESTATES — its own world: navy, mist and champagne, no brown
   ========================================================================== */
.e-hero {
  position: relative;
  min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr);
  padding-top: clamp(130px, 18vh, 190px);
  overflow: hidden;
  background: var(--navy-deep);
}
.e-hero__bg { position: absolute; inset: 0; z-index: 0; }
.e-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 3s var(--ease); will-change: transform; backface-visibility: hidden; }
.is-ready .e-hero__bg img { transform: scale(1); }
.e-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 14, 23, .82) 0%, rgba(7, 14, 23, .45) 45%, rgba(7, 14, 23, 0) 75%),
    linear-gradient(0deg, rgba(7, 14, 23, .88) 0%, transparent 38%);
}
.e-hero > .wrap { position: relative; z-index: 1; align-self: end; }
.e-hero .display { font-size: clamp(2.7rem, 5.4vw, 5.9rem); margin-bottom: clamp(20px, 2.4vw, 32px); }
.e-hero .lede { color: var(--platinum); margin-bottom: clamp(32px, 3.4vw, 48px); max-width: 30em; }
.e-hero__body { max-width: 1040px; padding-bottom: clamp(48px, 8vh, 96px); }
.e-hero .d-hero__foot { border-top-color: var(--rule-strong); }

.e-statement { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(40px, 7vw, 120px); align-items: center; }
.e-statement__media { aspect-ratio: 5 / 4; border-radius: 4px; background: var(--navy); }
.e-statement .statement__text { font-size: clamp(1.8rem, 3vw, 3rem); }

/* Journey: three stages along one line; a marker travels it as you scroll */
.journey { --progress: 0; position: relative; margin-top: clamp(88px, 10vw, 150px); }
.journey__track { position: relative; height: 1px; margin: 0 16.666%; background: var(--rule-strong); }
.journey__track::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--progress)); }
.journey__node {
  position: absolute; top: 0; z-index: 1;
  width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid var(--rule-strong); background: var(--bg);
  transform: translate(-50%, -50%);
  transition: background .6s var(--ease), border-color .6s var(--ease), transform .7s var(--ease);
}
.journey__node.is-on { background: var(--accent); border-color: var(--accent); transform: translate(-50%, -50%) scale(1.2); }
.journey__runner { position: absolute; inset: 0; z-index: 2; pointer-events: none; transform: translate3d(calc(var(--progress) * 100%), 0, 0); will-change: transform; }
.journey__runner i {
  position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--accent);
  transform: translate(-50%, -50%);
}
.journey__runner i::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--accent); }
.journey__stages {
  list-style: none; margin: 44px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px);
  text-align: center;
}
.journey__stages li { opacity: .32; transform: translate3d(0, 14px, 0); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.journey__stages li.is-on { opacity: 1; transform: none; }
.journey__who { font-weight: 500; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.journey__stages .h3 { font-weight: 300; font-size: clamp(1.6rem, 2.3vw, 2.2rem); margin-bottom: 12px; transition: color .9s var(--ease); }
.journey__stages li:last-child.is-on .h3 { color: var(--accent); }
.journey__stages p:last-child { margin: 0 auto; max-width: 22em; font-size: 15.5px; color: var(--muted); }

.deal-feature {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  background: var(--navy); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
}
.deal-feature__media { min-height: 460px; background: var(--navy); }
.deal-feature__body { padding: clamp(28px, 3.4vw, 56px); display: flex; flex-direction: column; }
.deal-feature__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.deal-feature .h3 { font-weight: 300; font-size: clamp(2.2rem, 3.2vw, 3rem); }
.status {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 5px;
  border: 1px solid var(--rule-strong); border-radius: 40px;
  font-weight: 500; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--platinum);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--platinum); }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 30px 0 0; border-top: 1px solid var(--rule-strong); }
.figs > div { padding: 18px 16px 18px 0; }
.figs > div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.figs dt { font-weight: 500; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.figs dd { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 2.1vw, 2rem); line-height: 1.1; font-feature-settings: "lnum" 1; }
.figs dd small { font-family: var(--sans); font-weight: 300; font-size: 12px; letter-spacing: .12em; color: var(--muted); margin-right: 6px; }
.uplift { margin-top: 28px; display: grid; gap: 8px; }
.uplift__bar { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.uplift__bar i { display: block; height: 6px; border-radius: 3px; background: var(--graphite); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.uplift__bar--exit i { background: var(--platinum); transition-delay: .2s; }
.is-in .uplift__bar i { transform: scaleX(1); }
.deal-feature__return { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 32px; }
.deal-feature__return .num { font-size: clamp(3.6rem, 5.4vw, 5rem); line-height: .9; color: var(--accent); font-feature-settings: "lnum" 1; }
.deal-feature__return .caption { text-align: right; font-size: 13px; line-height: 1.5; max-width: 15em; }

.enquire__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px clamp(40px, 7vw, 130px); }
.enquire__grid .h2 { margin-bottom: 26px; }
.enquire__grid .lede { margin-bottom: 44px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  /* small laptops and large iPads in portrait */
  .h-hero__media { min-width: 0; }
  .d-hero__grid { gap: clamp(28px, 4vw, 56px); }
  .services { gap: 32px var(--frame); }
}

@media (max-width: 900px) {
  /* iPad portrait (768–834px): keep side-by-side where it fits, stack the rest */
  .paths { margin-top: -48vh; }
  .path-card { height: clamp(520px, 62vh, 720px); }
  .path-card__title { font-size: clamp(4rem, 11vw, 6.5rem); }
  .e-statement, .enquire__grid { grid-template-columns: minmax(0, 1fr); }
  .statement__grid { grid-template-columns: 1fr; }
  .services, .materials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--frame); }
  .split { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .commit { grid-template-columns: minmax(0, 1fr); }
  .timeline::before, .timeline::after { top: 0; bottom: 0; left: 4px; right: auto; width: 1px; height: auto; }
  .timeline::after { transform-origin: top; transform: scaleY(var(--progress)); }
  .timeline li { padding: 0 0 36px 36px; }
  .timeline li::before { top: 6px; left: 0; }
  .timeline__num { font-size: 2rem; margin-bottom: 8px; }
  .timeline--rows li { grid-template-columns: clamp(56px, 9vw, 80px) minmax(0, 1fr); padding: 26px 0 30px 36px; }
  .timeline--rows li:first-child { padding-top: 4px; }
  .timeline--rows li p { grid-column: 2; }
  .timeline--rows li::before { top: 38px; }
  .timeline--rows li:first-child::before { top: 16px; }
  .journey { display: grid; grid-template-columns: 28px minmax(0, 1fr); }
  .journey__track { grid-column: 1; grid-row: 1; justify-self: center; width: 1px; height: auto; margin: 6px 0 40px; }
  .journey__track::after { transform-origin: top; transform: scaleY(var(--progress)); }
  .journey__node { display: none; }
  .journey__runner { transform: translate3d(0, calc(var(--progress) * 100%), 0); }
  .journey__stages { grid-column: 2; grid-row: 1; margin: 0; padding-left: 16px; grid-template-columns: 1fr; gap: 0; text-align: left; }
  .journey__stages li { position: relative; padding-bottom: 40px; }
  .journey__stages li:last-child { padding-bottom: 0; }
  .journey__stages li::before {
    content: ""; position: absolute; left: -35px; top: 2px;
    width: 10px; height: 10px; border-radius: 50%;
    border: 1px solid var(--rule-strong); background: var(--bg);
    transition: background .6s var(--ease), border-color .6s var(--ease);
  }
  .journey__stages li.is-on::before { background: var(--accent); border-color: var(--accent); }
  .journey__stages p:last-child { margin: 0; }
  .deal-feature { grid-template-columns: 1fr; }
  .deal-feature__media { min-height: 0; aspect-ratio: 16 / 9; }
  .e-statement__media { aspect-ratio: 16 / 10; }
  .e-hero__bg img { object-position: 70% center; }
  .e-hero__bg::after { background: linear-gradient(0deg, rgba(7, 14, 23, .94) 0%, rgba(7, 14, 23, .78) 55%, rgba(7, 14, 23, .35) 100%); }
}

@media (max-width: 760px) {
  /* phones */
  .d-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .h-hero__media { justify-self: start; width: min(100%, 440px); }
  .paths__grid { grid-template-columns: 1fr; }
  .path-card { height: min(78svh, 680px); min-height: 520px; }
  .section-head { grid-template-columns: 1fr; }
  .section-head > .caption, .section-head__aside { justify-self: start; }
  .work-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; align-items: start; }
  .site-footer__nav { justify-self: start; }
  .site-footer__meta { text-align: left; }
  .form { grid-template-columns: 1fr; }
  .field, .field--half, .form__actions { grid-column: span 1; }
  .timeline--rows li { grid-template-columns: 1fr; gap: 6px; }
  .timeline--rows li p { grid-column: 1; }
  .timeline--rows .timeline__num { font-size: 1.9rem; }
  .wa { height: 50px; right: 14px; }
  .wa__icon { width: 50px; height: 50px; }
  .commit__list { grid-template-columns: 1fr; }
  .commit__list li:nth-child(2) { padding-top: 26px; }
  .figs { grid-template-columns: 1fr; }
  .figs > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  /* keep entrances crisp and cheap on phones */
  .hero__half > span, .hero__mark { filter: none !important; }
  .is-in .arch img { animation: none; }
}

@media (max-width: 680px) {
  .hero__title { font-size: clamp(3.4rem, 19vw, 6rem); gap: .12em; padding-top: 4vh; }
  .hero__track { font-size: 44vw; }
  .hero__foot { justify-content: center; }
  .hero__foot > p { display: none; }
  .paths__head .eyebrow:last-child { display: none; }
  .nav { padding-top: calc(var(--frame) + 16px); }
  .nav__link { font-size: 14px; }
  .d-hero { padding-top: 120px; }
  .services, .materials__grid { grid-template-columns: 1fr 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .d-hero__foot { gap: 10px; justify-content: space-between; padding-right: 0; font-size: 10px; letter-spacing: .16em; }
  .d-hero__foot .scroll-cue { display: none; }
  .d-hero__foot .grow { display: none; }
  .deal-feature__return { flex-direction: column; align-items: flex-start; }
  .deal-feature__return .caption { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__track { animation: none; }
  .hero__half > span, .hero__mark, .hero__tile::before, .hero__sub > *, .hero__foot > * { transition: none !important; }
  .scroll-cue i::after { animation: none; }
  .wa { transition: none; }
  .is-in .arch img { animation: none; }
}
