/* ==========================================================================
   Christchurch Homes — homepage mockup
   Palette drawn from the materials of their own buildings:
   limewash & Portland stone, Keswick brick & clay tile, dark timber cladding.
   Type: Libre Caslon (the English Georgian letter) + Archivo (drawing-sheet labels)
   ========================================================================== */

@font-face { font-family: "Libre Caslon Display"; src: url("../assets/fonts/caslon-display.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("../assets/fonts/caslon-text.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("../assets/fonts/caslon-text-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../assets/fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }

:root {
  /* materials */
  --limewash: #EEE9E1;
  --stone:    #E5DED2;
  --stone-3:  #D8CFC1;
  --chalk:    #F7F4EE;
  --ink:      #22211E;
  --ink-2:    #45423C;
  --muted:    #7A7368;
  --rule:     rgba(34, 33, 30, .16);
  --rule-2:   rgba(34, 33, 30, .32);
  --timber:   #24251F;
  --timber-2: #1C1D18;
  --on-dark:  #ECE6DA;
  --on-dark-2:#B4AC9E;
  --rule-dark:rgba(236, 230, 218, .16);
  --clay:     #9C4A2F;
  --clay-2:   #C27C5E;

  --display: "Libre Caslon Display", "Libre Caslon Text", "Baskerville", Georgia, serif;
  --serif:   "Libre Caslon Text", "Baskerville", Georgia, serif;
  --sans:    "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter:  clamp(20px, 3.6vw, 60px);
  --gap:     clamp(14px, 1.8vw, 28px);
  --max:     1680px;
  --header-h: 78px;
  --ease:    cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);

  --bg: var(--limewash);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-muted: var(--muted);
  --line: var(--rule);
  --line-2: var(--rule-2);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 1px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--limewash);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(16px, 1.06vw, 17.5px);
  line-height: 1.62;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* paper: the faintest limewash grain */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 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%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
em, i { font-style: italic; }
ol, ul { list-style: none; margin: 0; padding: 0; }
dl, dd { margin: 0; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--clay); color: var(--chalk); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--chalk); padding: 10px 14px; font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

/* tones — set colour roles per band */
.tone-dark { --bg: var(--timber); --fg: var(--on-dark); --fg-2: var(--on-dark); --fg-muted: var(--on-dark-2); --line: var(--rule-dark); --line-2: rgba(236,230,218,.34); background: var(--timber); color: var(--on-dark); }
.tone-stone { --bg: var(--stone); background: var(--stone); }

/* ---------- type primitives ---------- */
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  font-stretch: 92%;
  letter-spacing: .15em;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0;
}
.statement {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(25px, 2.45vw, 40px);
  line-height: 1.22;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(46px, 6.4vw, 112px);
  line-height: .95;
  letter-spacing: -.018em;
}
.section-title em { font-family: var(--serif); letter-spacing: -.03em; }
.standfirst {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 1.5vw, 24px);
  line-height: 1.35;
  color: var(--fg);
  text-wrap: pretty;
}
.caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--fg-muted);
  margin-top: 12px;
  display: block;
  padding-left: calc(var(--cap-pad, 0px) + 4.6em); text-indent: -4.6em; /* plate number hangs in its own column */
  padding-right: var(--cap-pad, 0px);
}
.wrap.caption { --cap-pad: var(--gutter); }
.caption span {
  display: inline-block; text-indent: 0; width: calc(4.6em * 13.5 / 10.5);
  font-family: var(--sans); font-style: normal; font-size: 10.5px; font-weight: 500; font-stretch: 92%;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg);
}

/* links & buttons */
.link-arrow {
  display: inline-flex; align-items: center; gap: .7em;
  font: 500 12px/1 var(--sans); font-stretch: 92%; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 0; position: relative;
}
.link-arrow::after {
  content: ""; width: 26px; height: 9px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 9'%3E%3Cpath d='M0 4.5h24.5M21 1l3.5 3.5L21 8' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 9'%3E%3Cpath d='M0 4.5h24.5M21 1l3.5 3.5L21 8' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .5s var(--ease);
}
.link-arrow::before {
  content: ""; position: absolute; left: 0; right: calc(26px + .7em); bottom: 0; height: 1px; background: currentColor;
  transform-origin: left; transform: scaleX(1); transition: transform .6s var(--ease);
}
.link-arrow:hover::after { transform: translateX(6px); }
.link-arrow:hover::before { transform: scaleX(0); transform-origin: right; }
.link-arrow--quiet { color: var(--fg-muted); }
.link-arrow--quiet::before { opacity: .5; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 11.5px/1 var(--sans); font-stretch: 92%; letter-spacing: .16em; text-transform: uppercase;
  height: 44px; padding: 0 22px; border: 1px solid currentColor;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--limewash); }
.btn--solid { background: var(--ink); color: var(--limewash); border-color: var(--ink); }
.btn--solid:hover { background: var(--clay); border-color: var(--clay); }
.btn--light { background: var(--on-dark); color: var(--timber); border-color: var(--on-dark); height: 52px; padding: 0 30px; }
.btn--light:hover { background: var(--clay-2); border-color: var(--clay-2); color: var(--timber); }

/* image frames */
.frame { position: relative; overflow: hidden; background: var(--stone-3); }
.tone-dark .frame { background: #34352d; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--43 { aspect-ratio: 4 / 3; }
.frame--32 { aspect-ratio: 3 / 2; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  display: flex; align-items: center;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .6s var(--ease), color .4s;
}
.site-header.is-scrolled { background: rgba(238, 233, 225, .94); border-color: var(--rule); -webkit-backdrop-filter: saturate(1.1) blur(10px); backdrop-filter: saturate(1.1) blur(10px); }
.site-header.is-hidden { transform: translateY(-101%); }
.site-header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--gap); }
.site-header__logo { display: block; width: clamp(118px, 9.4vw, 146px); color: var(--ink); }
.logo { width: 100%; height: auto; aspect-ratio: 204 / 71; }
.site-nav ul { display: flex; justify-content: center; gap: clamp(18px, 2.4vw, 40px); }
.site-nav a, .site-header__tel {
  font: 500 11.5px/1 var(--sans); font-stretch: 92%; letter-spacing: .15em; text-transform: uppercase;
  position: relative; padding: 8px 0; display: inline-block;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--clay);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.site-header__actions { display: flex; align-items: center; gap: 26px; }
.site-header__tel { font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.site-header .btn { height: 40px; padding: 0 20px; }

.menu-toggle { display: none; align-items: center; gap: 12px; height: 40px; font: 500 11.5px/1 var(--sans); font-stretch: 92%; letter-spacing: .15em; text-transform: uppercase; }
.menu-toggle__bars { width: 22px; height: 9px; position: relative; }
.menu-toggle__bars i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle__bars i:first-child { top: 0; }
.menu-toggle__bars i:last-child { top: 8px; }
.menu-open .menu-toggle__bars i:first-child { top: 4px; transform: rotate(18deg); }
.menu-open .menu-toggle__bars i:last-child { top: 4px; transform: rotate(-18deg); }

/* full-screen menu (≤ 1080px) */
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--limewash);
  padding-top: calc(var(--header-h) + 4vh); overflow-y: auto;
  opacity: 0; transition: opacity .45s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-bottom: 40px; }
.menu__list { border-top: 1px solid var(--rule); }
.menu__list li { border-bottom: 1px solid var(--rule); overflow: hidden; }
.menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 16px 0 14px; font-family: var(--display); font-size: clamp(34px, 8vw, 56px); line-height: 1; letter-spacing: -.01em; transform: translateY(100%); transition: transform .7s var(--ease); }
.menu.is-open .menu__list a { transform: none; }
.menu__list li:nth-child(2) a { transition-delay: .04s; } .menu__list li:nth-child(3) a { transition-delay: .08s; }
.menu__list li:nth-child(4) a { transition-delay: .12s; } .menu__list li:nth-child(5) a { transition-delay: .16s; }
.menu__list li:nth-child(6) a { transition-delay: .2s; } .menu__list li:nth-child(7) a { transition-delay: .24s; }
.menu__list span { font: 500 11px/1 var(--sans); letter-spacing: .14em; color: var(--muted); width: 2.4em; flex: none; transform: translateY(-.6em); }
.menu__foot { display: grid; gap: 10px; font: 500 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- 0. opening loader ----------
   Like their current site: a blank page first, then the site opens up.
   Here the house mark is drawn as a line, the full logo settles, and the
   page lifts away like a sheet of paper to reveal the photograph. */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--limewash); color: var(--ink);
  transition: transform 1.2s var(--ease-io);
  will-change: transform;
}
.loader__logo { width: clamp(150px, 14vw, 200px); height: auto; overflow: visible; }
.loader__mark { fill: none; stroke: currentColor; stroke-width: .7; stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader__full { opacity: 0; }
.loader__line { opacity: 0; color: var(--muted); }
.loader.is-drawing .loader__mark { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease-io) .15s; }
.loader.is-drawing .loader__full { opacity: 1; transition: opacity .8s var(--ease) 1.05s; }
.loader.is-drawing .loader__line { opacity: 1; transition: opacity .9s var(--ease) 1.25s; }
.loader.is-leaving { transform: translateY(-100%); }
.loader.is-leaving .loader__logo, .loader.is-leaving .loader__line { opacity: 0; transform: translateY(-40px); transition: opacity .5s var(--ease), transform 1.2s var(--ease-io); }
.loader.is-gone { display: none; }
.is-loading, .is-loading body { overflow: hidden; }

/* header while it sits over the opening photograph */
.site-header.is-light { color: var(--chalk); }
.site-header.is-light .site-header__logo { color: var(--chalk); }
.site-header.is-light .btn--line:hover { background: var(--chalk); border-color: var(--chalk); color: var(--ink); }
.site-header.is-light .site-nav a::after { background: var(--chalk); }

/* ---------- 1. opening ---------- */
.hero {
  position: relative; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 620px;
  color: var(--chalk); background: #2a2b24;
}
.hero__media { position: absolute; inset: 0; margin: 0; z-index: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; will-change: transform; }
.hero__media::after { z-index: 3; }
.hero__content { z-index: 1; }

/* the sequence: each photograph drifts (in or out), then the next fades in over it */
.hero__slide { position: absolute; inset: 0; opacity: 0; z-index: 0; transition: opacity 2.4s cubic-bezier(.45, 0, .25, 1); }
html:not(.js) .hero__slide:first-child { opacity: 1; }
.hero__slide.is-active { opacity: 1; z-index: 2; }
.hero__slide.is-leaving { opacity: 1; z-index: 1; transition: none; }
.hero__slide img { transform-origin: var(--origin, 50% 50%); }
.hero__slide[data-zoom="out"] img { transform: scale(1.14); }
.hero__slide[data-zoom="in"] img { transform: scale(1.01); }
.hero__slide.is-active[data-zoom="out"] img, .hero__slide.is-leaving[data-zoom="out"] img { animation: heroDriftOut var(--drift, 10s) cubic-bezier(.33, 0, .5, 1) forwards; }
.hero__slide.is-active[data-zoom="in"] img, .hero__slide.is-leaving[data-zoom="in"] img { animation: heroDriftIn var(--drift, 10s) cubic-bezier(.33, 0, .5, 1) forwards; }
@keyframes heroDriftOut { from { transform: scale(1.14); } to { transform: scale(1.02); } }
@keyframes heroDriftIn { from { transform: scale(1.01); } to { transform: scale(1.13); } }

/* progress: three hairlines beside the caption, the current one drawing itself out */
.hero__count { display: flex; align-items: center; gap: 6px; }
.hero__count i { position: relative; width: 26px; height: 1px; overflow: hidden; background: rgba(247, 244, 238, .3); }
.hero__count i::after { content: ""; position: absolute; inset: 0; background: var(--chalk); transform: scaleX(0); transform-origin: left; }
.hero__count i.is-on::after { animation: heroCount var(--hold, 7s) linear forwards; }
@keyframes heroCount { to { transform: scaleX(1); } }
.hero.is-single .hero__count { display: none; }
.hero__cap { transition: opacity .6s var(--ease); }
.hero__cap.is-swapping { opacity: 0; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(22, 22, 18, .5) 0%, rgba(22, 22, 18, .12) 13%, rgba(22, 22, 18, 0) 22%),
    linear-gradient(to top, rgba(22, 22, 18, .86) 0%, rgba(22, 22, 18, .62) 24%, rgba(22, 22, 18, .22) 44%, rgba(22, 22, 18, 0) 60%);
}
.hero__content { position: absolute; left: 0; right: 0; bottom: 0; }
.hero__head { align-items: end; padding-bottom: clamp(28px, 4.6vh, 56px); }
.hero__title {
  grid-column: 1 / span 8;
  font-family: var(--display);
  font-size: clamp(54px, 8.9vw, 156px);
  line-height: .9;
  letter-spacing: -.022em;
  margin-left: -.05em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .18);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-family: var(--serif); font-size: .93em; letter-spacing: -.035em; }
.hero__lede { grid-column: 9 / span 4; padding-bottom: .6em; max-width: 30em; }
.hero__lede > p:first-child { font-size: clamp(16px, 1.12vw, 18px); line-height: 1.55; color: rgba(247, 244, 238, .88); text-wrap: pretty; }
.hero__links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 24px; }
.hero .link-arrow--quiet { color: rgba(247, 244, 238, .7); }
.hero__foot {
  display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 12px 44px;
  border-top: 1px solid rgba(247, 244, 238, .26); padding: 14px 0 18px;
}
.hero__caption { margin: 0; font-style: italic; font-size: 13.5px; color: rgba(247, 244, 238, .8); }
.hero__caption > span:first-child { display: inline-block; margin-right: 18px; font: 500 10.5px/1 var(--sans); font-stretch: 92%; font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--chalk); }
.hero__est, .hero__scroll { margin: 0; font: 500 10.5px/1 var(--sans); font-stretch: 92%; letter-spacing: .14em; text-transform: uppercase; }
.hero__est { color: rgba(247, 244, 238, .78); }
.hero__scroll span { display: inline-block; margin-left: 6px; transition: transform .5s var(--ease); }
.hero__scroll:hover span { transform: translateY(3px); }

/* opening sequence — runs as the loader lifts */
.js .hero__title .line > span { transform: translateY(104%); }
.js .hero__lede, .js .hero__foot { opacity: 0; }
.is-ready .hero__title .line > span { transform: none; transition: transform 1.3s var(--ease) .45s; }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .58s; }
.is-ready .hero__lede { opacity: 1; transition: opacity 1.1s var(--ease) 1s; }
.is-ready .hero__foot { opacity: 1; transition: opacity 1s var(--ease) 1.3s; }

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(88px, 12vw, 190px); }
.section-head { border-top: 1px solid var(--line-2); padding-top: 13px; margin-bottom: clamp(48px, 7vw, 110px); color: var(--fg); }
.section-head__no { grid-column: 1 / span 1; }
.section-head__name { grid-column: 2 / span 5; }
.section-head__aside { grid-column: 7 / span 6; text-align: right; color: var(--fg-muted); }
.section-head--stack { display: flex; gap: 0; }
.section-head--stack .section-head__no { width: calc((100% - 0px) / 6); min-width: 3.4em; }

/* title blocks — set like an architect's drawing schedule */
.titleblock { border-top: 1px solid var(--line-2); margin-top: 34px; }
.titleblock > div { display: grid; grid-template-columns: minmax(8.5em, 34%) 1fr; gap: 16px; padding: 11px 0 10px; border-bottom: 1px solid var(--line); align-items: baseline; }
.titleblock dt { font: 500 10.5px/1.4 var(--sans); font-stretch: 92%; letter-spacing: .15em; text-transform: uppercase; color: var(--fg-muted); }
.titleblock dd { font-size: 15.5px; line-height: 1.4; }
.titleblock--compact { margin-top: 28px; }

/* ---------- 2. about ---------- */
.about { padding-bottom: clamp(40px, 5vw, 80px); }
.about__body { row-gap: 56px; align-items: start; }
.about__figure { grid-column: 1 / span 5; }
.frame--stair { aspect-ratio: 1600 / 1704; }
.about__text { grid-column: 7 / span 6; padding-top: clamp(0px, 9vw, 150px); }
.about__text .statement { max-width: 17em; }
.about__copy { columns: 2; column-gap: var(--gap); margin-top: clamp(32px, 4vw, 56px); color: var(--ink-2); max-width: 46em; }
.about__copy p { break-inside: avoid; }
.about__text .titleblock { margin-top: clamp(36px, 4.4vw, 64px); max-width: 46em; }

/* ---------- 3. developments ---------- */
.developments > .section { padding-bottom: clamp(70px, 9vw, 150px); }
.tally {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 78px);
  line-height: 1.06;
  letter-spacing: -.016em;
  max-width: 15.5em;
  text-wrap: pretty;
}
.tally em { font-family: var(--serif); color: var(--clay); letter-spacing: -.03em; }

.feature { position: relative; }
.feature__meta { color: var(--fg-muted); margin-bottom: 18px; }
.feature__meta span { margin: 0 .5em; }
.feature__title { font-family: var(--display); font-size: clamp(46px, 5.6vw, 96px); line-height: .92; letter-spacing: -.02em; margin-bottom: 26px; }
.feature__title--xl { font-size: clamp(56px, 10vw, 184px); line-height: .86; margin-bottom: 0; letter-spacing: -.028em; }
.feature__text .standfirst { margin-bottom: 1.1em; }
.feature__text > p:not(.label):not(.standfirst) { color: var(--fg-2); }
.tone-dark .feature__text > p:not(.label):not(.standfirst) { color: rgba(236, 230, 218, .82); }

/* The Limes — timber band */
.feature--limes { padding-block: clamp(80px, 10vw, 170px) clamp(90px, 11vw, 190px); }
.feature--limes .feature__top { align-items: end; row-gap: 48px; }
.feature--limes .feature__lead { grid-column: 1 / span 7; }
.frame--limes { aspect-ratio: 1240 / 700; }
.feature--limes .feature__text { grid-column: 9 / span 4; }
.feature__pair { margin-top: clamp(56px, 8vw, 130px); align-items: start; row-gap: 48px; }
.feature__pair-a { grid-column: 2 / span 4; }
.feature__pair-b { grid-column: 7 / span 6; margin-top: clamp(40px, 9vw, 170px); }
.quote { margin: clamp(56px, 8vw, 130px) 0 0; padding-top: 18px; border-top: 1px solid var(--line-2); }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.2vw, 36px); line-height: 1.2; letter-spacing: -.01em; margin-bottom: 18px; text-indent: -.42em; text-wrap: balance; }
.quote footer { color: var(--fg-muted); }

/* The Atrium — limewash */
.feature--atrium { padding-block: clamp(10px, 2vw, 40px) clamp(90px, 11vw, 170px); }
.feature__intro { align-items: end; row-gap: 26px; margin-bottom: clamp(36px, 4.6vw, 72px); }
.feature__intro-title { grid-column: 1 / span 8; }
.feature__intro-standfirst { grid-column: 9 / span 4; font-size: clamp(20px, 1.7vw, 28px); padding-bottom: .5em; }
.feature__pano .frame--pano { aspect-ratio: 2560 / 721; }
.feature__pano img { will-change: transform; transform: scale(1.08); }
/* The Atrium is set as a magazine feature: margin notes, a drop cap, a pull quote */
.article { margin-top: clamp(56px, 7vw, 110px); row-gap: clamp(48px, 6vw, 100px); align-items: start; }
.article__aside { grid-column: 1 / span 3; padding-top: .35em; }
.article__kicker { color: var(--fg-muted); margin-bottom: 12px; }
.article__aside .titleblock { margin-top: 0; }
.article__aside .titleblock > div { grid-template-columns: 1fr; gap: 4px; }
.article__body { grid-column: 4 / span 5; font-size: clamp(16.5px, 1.2vw, 19px); line-height: 1.7; color: var(--ink-2); }
.article__body p { margin-bottom: 1.05em; }
.article__lead { font-size: 1.13em; line-height: 1.55; color: var(--ink); }
.article__lead::first-letter {
  float: left; font-family: var(--display); font-size: 5.4em; line-height: .8;
  padding: .07em .09em 0 0; margin-left: -.04em; color: var(--clay);
}
.article__fig--entrance { grid-column: 9 / span 4; padding-top: .5em; }
.frame--entrance { aspect-ratio: 720 / 615; }
.article__pull { grid-column: 2 / span 10; margin: 0; padding: clamp(30px, 3.6vw, 56px) 0; border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule); }
.article__pull p { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3.5vw, 58px); line-height: 1.12; letter-spacing: -.016em; text-indent: -.42em; max-width: 19em; margin-bottom: 22px; text-wrap: balance; }
.article__pull footer { color: var(--muted); }
.frame--side { aspect-ratio: 1100 / 1183; }
/* the finished house: a full-bleed plate, an "Inside" strip, and a closing view across the meadow */
.feature__pano--pool { margin-top: clamp(80px, 10vw, 160px); }
.feature__pano--pool .frame { aspect-ratio: 2730 / 1383; max-height: 92vh; }
.interiors--atrium { margin-top: clamp(60px, 8vw, 120px); }
.article__close { margin-top: clamp(70px, 9vw, 140px); }
.article__fig--meadow { grid-column: 2 / span 10; }
.frame--meadow { aspect-ratio: 2400 / 1024; }

/* High Beeches — stone band, title and full-bleed plate, then text beside the entrance front */
.feature--hb { padding-block: clamp(90px, 11vw, 180px) clamp(90px, 11vw, 180px); }
.feature__title--l { font-size: clamp(52px, 7.4vw, 136px); line-height: .88; margin-bottom: 0; letter-spacing: -.024em; }
.feature__pano--hb .frame { aspect-ratio: 2094 / 1000; max-height: 90vh; }
.hb__body { margin-top: clamp(56px, 7vw, 110px); row-gap: 48px; align-items: start; }
.hb__text { grid-column: 1 / span 4; }
.hb__text > p:not(.standfirst) { color: var(--ink-2); }
.hb__fig { grid-column: 6 / span 7; }
.frame--hbfront { aspect-ratio: 1868 / 981; }

/* Saxon Row — image bleeds off the right edge */
.feature--saxon { padding-block: clamp(80px, 10vw, 160px) clamp(100px, 12vw, 200px); max-width: var(--max); margin-inline: auto; }
.feature__split { row-gap: 48px; align-items: start; }
.feature__text--saxon { grid-column: 1 / span 4; grid-row: 1 / span 2; padding-top: clamp(0px, 4vw, 70px); }
.feature__bleed { grid-column: 6 / span 7; margin-right: calc(-1 * var(--gutter)); grid-row: 1; }
.feature__bleed .caption { padding-right: var(--gutter); }
.feature__bleed .caption { --cap-pad: 0px; }
.frame--saxon { aspect-ratio: 2400 / 1386; }
.frame--saxon img { will-change: transform; transform: scale(1.06); }
.interiors--inset { grid-column: 6 / span 7; grid-row: 2; margin-top: clamp(24px, 3vw, 48px) !important; }

/* interiors — smaller "Inside" strips under each project */
.interiors { margin-top: clamp(70px, 9vw, 140px); }
.interiors__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-top: 1px solid var(--line-2); padding-top: 13px; margin-bottom: clamp(22px, 2.6vw, 38px); }
.interiors__note { margin: 0; font-style: italic; font-size: 13.5px; color: var(--fg-muted); text-align: right; }
.interiors__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.interiors__row > :nth-child(even) { margin-top: clamp(22px, 3.6vw, 60px); }
.interiors__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.frame--film video.is-playing { opacity: 1; }
.frame--film video.is-playing.is-fading { opacity: 0; }
.interior__cap { margin: 12px 0 0; font-style: italic; font-size: 13.5px; line-height: 1.45; color: var(--fg-muted); max-width: 22em; }

/* index of completed work — a dark band; each project's photograph rises behind the list */
.index { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(90px, 11vw, 180px) clamp(100px, 12vw, 200px); }
.index__bg { position: absolute; inset: 0; z-index: -1; background: var(--timber); }
.index__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.07);
  transition: opacity 1s var(--ease), transform 2.6s var(--ease);
}
.index__bg img.is-on { opacity: 1; transform: scale(1); }
.index__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(30, 31, 25, .9) 0%, rgba(30, 31, 25, .74) 38%, rgba(30, 31, 25, .66) 68%, rgba(30, 31, 25, .8) 100%),
    linear-gradient(to bottom, rgba(30, 31, 25, .35), rgba(30, 31, 25, 0) 30%, rgba(30, 31, 25, 0) 70%, rgba(30, 31, 25, .45));
}
.index__inner { position: relative; }
.index__head { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line-2); padding-top: 13px; margin-bottom: clamp(40px, 5vw, 80px); }
.index__count { color: var(--fg-muted); }
.index__list { border-top: 1px solid var(--line); counter-reset: idx; }
.index__list li { border-bottom: 1px solid var(--line); counter-increment: idx; }
.index__row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline;
  padding: 24px 0 22px; position: relative; outline-offset: -1px; color: var(--on-dark);
  transition: color .5s var(--ease);
}
.index__row::before {
  content: counter(idx, decimal-leading-zero); grid-column: 1 / span 1;
  font: 500 10.5px/1 var(--sans); letter-spacing: .14em; opacity: .6;
}
.index__name { grid-column: 2 / span 3; font-family: var(--display); font-size: clamp(26px, 2.5vw, 42px); line-height: 1.02; letter-spacing: -.012em; transition: transform .7s var(--ease); }
.index__place { grid-column: 5 / span 3; font: 500 11px/1.4 var(--sans); font-stretch: 92%; letter-spacing: .14em; text-transform: uppercase; opacity: .82; }
.index__desc { grid-column: 8 / span 3; font-size: 15px; line-height: 1.45; opacity: .82; }
.index__status { grid-column: 11 / span 2; text-align: right; white-space: nowrap; font: 500 10.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .62; }
a.index__row .index__status::after { content: " →"; letter-spacing: 0; }
/* the list dims around whichever project is in focus */
.index.has-active .index__row { color: rgba(236, 230, 218, .46); }
.index.has-active .index__row.is-active, .index__row:focus-visible { color: var(--on-dark); }
.index__row.is-active .index__name { transform: translateX(10px); }

/* ---------- 4. coming next ---------- */
.coming__intro { margin-bottom: clamp(48px, 6vw, 96px); align-items: end; row-gap: 24px; }
.coming__intro .section-title { grid-column: 1 / span 7; }
.coming__lede { grid-column: 9 / span 4; color: var(--ink-2); max-width: 26em; padding-bottom: .4em; }
.coming__list { border-top: 1px solid var(--rule-2); }
.coming__item {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 20px;
  padding: clamp(28px, 3.2vw, 46px) 0; border-bottom: 1px solid var(--rule); align-items: start;
}
.coming__num { grid-column: 1 / span 3; display: flex; flex-direction: column; gap: 10px; }
.coming__num em { font-family: var(--serif); font-size: clamp(44px, 4.8vw, 82px); line-height: .9; letter-spacing: -.035em; color: var(--clay); }
.coming__num .label { color: var(--muted); }
.coming__name { grid-column: 4 / span 3; padding-top: .35em; }
.coming__name h3 { font-family: var(--display); font-size: clamp(26px, 2.3vw, 38px); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 10px; }
.coming__name .label { color: var(--ink-2); }
.coming__desc { grid-column: 7 / span 3; padding-top: .55em; color: var(--ink-2); }
.coming__cta { grid-column: 10 / span 3; justify-self: end; text-align: right; padding-top: .7em; display: grid; justify-items: end; gap: 14px; }
.status { font: 500 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: 9px; margin: 0; }
.status i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--clay); background: var(--clay); }
.coming__plan { grid-column: 4 / span 9; margin-top: 18px; }
.coming__plan img { width: 100%; mix-blend-mode: multiply; filter: grayscale(.25) contrast(1.06); opacity: .92; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.coming__feature { grid-column: 4 / span 9; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-top: 18px; }
.coming__photo { grid-column: 1 / span 5; }
.coming__quote { grid-column: 6 / span 4; margin: 0; padding-bottom: 2.6em; }
.coming__quote p { font-style: italic; font-size: clamp(20px, 1.7vw, 27px); line-height: 1.28; letter-spacing: -.005em; text-indent: -.4em; margin-bottom: 14px; }
.coming__quote footer { color: var(--muted); }
.coming__interiors { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(22px, 2.6vw, 38px); }
.coming__interiors .frame { aspect-ratio: 1 / 1; }
.coming__interiors .interior__cap { margin-top: 10px; }
.frame--hw { aspect-ratio: 1440 / 864; }
.coming__feature--harwell { align-items: start; }
.coming__siteplan { grid-column: 6 / span 4; margin: 0; }
.coming__siteplan img { width: 100%; mix-blend-mode: multiply; filter: grayscale(.2) contrast(1.05); opacity: .92; }

/* ---------- 4b. site diary ---------- */
.diary__grid { align-items: start; row-gap: 40px; }
.diary__intro { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 28px); }
.diary__intro .section-title { margin-bottom: 26px; }
.diary__lede { color: var(--ink-2); max-width: 21em; }
.diary__list { grid-column: 6 / span 7; border-top: 1px solid var(--rule-2); }
.entry { display: grid; grid-template-columns: 8.5em 1fr; column-gap: var(--gap); align-items: start; padding: 24px 0 26px; border-bottom: 1px solid var(--rule); }
.entry__date { font: 500 10.5px/1.4 var(--sans); font-stretch: 92%; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .2em; }
.entry__date em { display: block; margin-bottom: 3px; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.1; letter-spacing: 0; text-transform: none; color: var(--clay); }
.entry__body h3 { font-family: var(--display); font-size: clamp(22px, 1.9vw, 30px); line-height: 1.1; letter-spacing: -.01em; margin-bottom: 8px; }
.entry__body p { margin: 0; max-width: 30em; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.entry__link { display: inline-block; margin-top: 12px; padding-bottom: 3px; border-bottom: 1px solid var(--rule-2); font: 500 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: border-color .3s; }
.entry__link::after { content: " \2192"; letter-spacing: 0; }
.entry__link:hover { border-color: var(--clay); }
.js .entry[data-earlier] { display: none; }
.js .diary.is-open .entry[data-earlier] { display: grid; }
.diary__more { grid-column: 6 / span 7; margin: 0; }
.diary .text-btn { color: var(--ink); margin-left: 0; }
.diary .text-btn span { display: inline-block; margin-left: 6px; transition: transform .4s var(--ease); }
.diary.is-open .text-btn span { transform: rotate(45deg); }

/* ---------- 5. approach ---------- */
.approach__title { max-width: 11.5em; margin-bottom: clamp(56px, 7vw, 120px); }
.principles { border-top: 1px solid var(--rule-2); }
.principle {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline;
  padding: 26px 0 30px; border-bottom: 1px solid var(--rule);
}
.principle__no { grid-column: 1 / span 1; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--clay); }
.principle__title { grid-column: 2 / span 4; font-family: var(--display); font-size: clamp(26px, 2.3vw, 38px); line-height: 1.05; letter-spacing: -.01em; }
.principle__text { grid-column: 7 / span 5; color: var(--ink-2); max-width: 32em; }


/* ---------- 6. land ---------- */
.land__grid { align-items: start; row-gap: 64px; }
.land__text { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 24px); }
.land__text .section-head { margin-bottom: clamp(40px, 5vw, 80px); }
.land__text .section-title { margin-bottom: 30px; }
.land__text .standfirst { max-width: 19em; margin-bottom: 1.2em; }
.land__copy { color: var(--ink-2); max-width: 31em; }
.land__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 40px; }
.land__or { font-style: italic; color: var(--muted); }
.land__or a { color: var(--ink); font-style: normal; border-bottom: 1px solid var(--rule-2); }
.land__or a:hover { border-color: var(--clay); }
.land__map { grid-column: 7 / span 6; position: relative; max-width: 600px; justify-self: end; width: 100%; }
.map { width: 100%; height: auto; overflow: visible; }
.map__grid line { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map__ticks text { font: 500 10px var(--sans); letter-spacing: .1em; fill: var(--muted); }
.map__rings circle { fill: none; stroke: var(--rule-2); stroke-width: 1; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }
.map__rings circle.r25 { stroke: var(--clay); stroke-dasharray: 6 5; opacity: .7; }
.map__rings text { font: italic 15px var(--serif); fill: var(--muted); }
.map__base rect { fill: var(--ink); }
.map__base text, .map__done text, .map__next text { font: 500 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; fill: var(--ink); }
.map__base text.sub { font: italic 14px var(--serif); letter-spacing: 0; text-transform: none; fill: var(--muted); }
.map__done circle { fill: var(--ink); }
.map__next circle { fill: var(--stone); stroke: var(--clay); stroke-width: 1.5; }
.map__legend { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--rule); font: 500 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.map__legend span { display: inline-flex; align-items: center; gap: 9px; }
.k { width: 9px; height: 9px; display: inline-block; }
.k--base { background: var(--ink); }
.k--done { background: var(--ink); border-radius: 50%; }
.k--next { border: 1.5px solid var(--clay); border-radius: 50%; }
.map__note { margin-top: 10px; display: block; padding-left: 0; text-indent: 0; }

/* ---------- 7. enquire ---------- */
.enquire .section { padding-bottom: clamp(90px, 11vw, 170px); }
.enquire__grid { row-gap: 64px; align-items: start; }
.enquire__intro { grid-column: 1 / span 5; }
.enquire__intro .section-title { margin-bottom: 30px; }
.enquire__intro .standfirst { max-width: 20em; color: var(--on-dark); }
.contact { margin-top: clamp(40px, 5vw, 70px); border-top: 1px solid var(--line-2); }
.contact > div { display: grid; grid-template-columns: 8.5em 1fr; gap: 16px; padding: 14px 0 13px; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact dt { color: var(--on-dark-2); }
.contact dd { font-size: 17px; }
.contact a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact a:hover { background-size: 100% 1px; }

.enquiry, .enquiry-done { grid-column: 7 / span 6; }
.enquiry__type { border: 0; padding: 0; margin: 0 0 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.enquiry__type legend { color: var(--on-dark-2); margin-bottom: 16px; padding: 0; }
.enquiry__type label { position: relative; cursor: pointer; }
.enquiry__type input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.enquiry__type span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
  border: 1px solid var(--rule-dark); font-size: 15px; color: var(--on-dark-2);
  transition: border-color .3s, color .3s, background-color .3s;
}
.enquiry__type label:hover span { border-color: rgba(236, 230, 218, .5); color: var(--on-dark); }
.enquiry__type input:checked + span { border-color: var(--on-dark); color: var(--on-dark); background: rgba(236, 230, 218, .06); }
.enquiry__type input:focus-visible + span { outline: 1px solid var(--on-dark); outline-offset: 3px; }

.enquiry__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 30px var(--gap); }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; height: 16px; white-space: nowrap; font: 500 10.5px/16px var(--sans); font-stretch: 92%; letter-spacing: .15em; text-transform: uppercase; color: var(--on-dark-2); }
.field label span { text-transform: none; letter-spacing: 0; font-family: var(--serif); font-style: italic; font-size: 13px; }
.field input, .field textarea, .field select {
  width: 100%; font: 400 17px/1.4 var(--serif); color: var(--on-dark);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  padding: 10px 0 11px; -webkit-appearance: none; appearance: none;
  transition: border-color .35s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(236, 230, 218, .32); font-style: italic; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--clay-2); }
.field.is-invalid input { border-color: #D98B6C; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 2px; top: 50%; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-75%) rotate(45deg); pointer-events: none; color: var(--on-dark-2); }
.field select { padding-right: 24px; cursor: pointer; }
.field select option { color: var(--ink); background: var(--chalk); }
.enquiry__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 44px; }
.enquiry__note { font-style: italic; font-size: 13.5px; color: var(--on-dark-2); margin: 0; max-width: 22em; }
.enquiry__error { margin-top: 18px; color: #E3A287; font-style: italic; }
.enquiry-done { border-top: 1px solid var(--line-2); padding-top: 16px; }
.enquiry-done:focus { outline: 0; }
.enquiry-done .label { color: var(--on-dark-2); }
.enquiry-done__msg { font-family: var(--display); font-size: clamp(36px, 4vw, 64px); line-height: 1; margin: 26px 0 22px; }
.enquiry-done__note { font-style: italic; color: var(--on-dark-2); max-width: 30em; }
.text-btn { font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); border-bottom: 1px solid currentColor; padding-bottom: 3px; margin-left: 10px; font-style: normal; }

/* ---------- footer ---------- */
.site-footer { background: var(--timber-2); padding: clamp(56px, 6vw, 90px) 0 34px; font-size: 14.5px; }
.site-footer__top { row-gap: 36px; align-items: start; padding-bottom: clamp(48px, 6vw, 90px); }
.site-footer__logo { grid-column: 1 / span 3; width: clamp(140px, 12vw, 190px); color: var(--on-dark); }
.site-footer__line { grid-column: 4 / span 3; font-style: italic; color: var(--on-dark-2); max-width: 18em; }
.site-footer__nav { grid-column: 8 / span 2; display: grid; gap: 9px; }
.site-footer__contact { grid-column: 10 / span 3; display: grid; gap: 9px; justify-items: end; text-align: right; }
.site-footer__nav a, .site-footer__contact a { font: 500 11px/1.5 var(--sans); font-stretch: 92%; letter-spacing: .15em; text-transform: uppercase; color: var(--on-dark); justify-self: start; }
.site-footer__contact a { justify-self: end; }
.site-footer__nav a:hover, .site-footer__contact a:hover { color: var(--clay-2); }
.site-footer__bottom { display: grid; grid-template-columns: 1fr auto auto; gap: 14px 40px; border-top: 1px solid var(--rule-dark); padding-top: 18px; color: var(--on-dark-2); font-size: 13px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: var(--on-dark); }
.site-footer__bottom a:hover { color: var(--clay-2); }
.site-footer__legal { display: flex; gap: 22px; }

/* ---------- scroll reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal="image"] { transform: none; opacity: 1; }
.js [data-reveal="image"] .frame { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-io); }
.js [data-reveal="image"] .frame img { transform: scale(1.1); transition: transform 2s var(--ease); }
.js [data-reveal="image"] .caption { opacity: 0; transition: opacity .9s var(--ease) .6s; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="image"].is-in .frame { clip-path: inset(0 0 0 0); }
.js [data-reveal="image"].is-in .frame img { transform: scale(1); }
.js [data-reveal="image"].is-in .caption { opacity: 1; }
/* parallax images keep a little extra scale so the JS `translate` never shows an edge */
.js [data-reveal="image"] .frame img[data-parallax] { transform: scale(1.18); }
.js [data-reveal="image"].is-in .frame img[data-parallax] { transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal] .frame, .js [data-reveal] .frame img, .js [data-reveal] .caption { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .js .hero__title .line > span, .js .hero__lede, .js .hero__foot, .js .hero__media img { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .js .loader { display: none; }
  .feature__pano img, .frame--saxon img { transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .site-header__tel { display: none; }
  .hero__title { grid-column: 1 / span 9; }
  .hero__lede { grid-column: 9 / span 4; }
  .index__desc { grid-column: 8 / span 4; }
}

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-header__actions { gap: 18px; }
  .menu-open .site-header { background: var(--limewash); border-color: var(--rule); }

  .hero__title { grid-column: 1 / -1; font-size: clamp(54px, 11.2vw, 124px); }
  .hero__lede { grid-column: 1 / span 8; padding-top: 28px; }
  .hero__head { row-gap: 0; }

  .about__figure { grid-column: 1 / span 6; }
  .about__text { grid-column: 7 / span 6; padding-top: 0; }
  .about__copy { columns: 1; }

  .feature--limes .feature__lead { grid-column: 1 / -1; }
  .feature--limes .feature__text { grid-column: 1 / span 8; }
  .feature__pair-a { grid-column: 1 / span 5; }
  .feature__pair-b { grid-column: 6 / span 7; }

  .feature__intro-title, .feature__intro-standfirst { grid-column: 1 / -1; }
  .feature__text--atrium { grid-column: 1 / span 6; }
  .article__aside { grid-column: 1 / -1; }
  .article__aside .titleblock { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
  .article__body { grid-column: 1 / span 7; }
  .article__fig--entrance { grid-column: 8 / span 5; }
  .article__pull { grid-column: 1 / -1; }
  .article__fig--meadow { grid-column: 1 / -1; }
  .hb__text { grid-column: 1 / span 8; }
  .hb__fig { grid-column: 1 / -1; }
  .coming__feature { grid-column: 1 / -1; }
  .diary__intro { grid-column: 1 / -1; position: static; }
  .diary__list, .diary__more { grid-column: 1 / -1; }

  .feature__text--saxon { grid-column: 1 / span 8; grid-row: auto; padding-top: 0; }
  .feature__bleed { grid-column: 1 / -1; grid-row: auto; margin-left: calc(-1 * var(--gutter)); }
  .feature__bleed .caption { --cap-pad: var(--gutter); }
  .interiors--inset { grid-column: 1 / -1; grid-row: auto; }

  .index__name { grid-column: 2 / span 4; }
  .index__place { grid-column: 6 / span 3; }
  .index__desc { display: none; }
  .index__status { grid-column: 10 / span 3; }

  .coming__intro .section-title { grid-column: 1 / -1; }
  .coming__lede { grid-column: 1 / span 8; }
  .coming__num { grid-column: 1 / span 3; }
  .coming__name { grid-column: 4 / span 4; }
  .coming__desc { grid-column: 4 / span 5; padding-top: 0; }
  .coming__cta { grid-column: 9 / span 4; grid-row: 1; }
  .coming__plan { grid-column: 1 / -1; }

  .principle__title { grid-column: 2 / span 5; }
  .principle__text { grid-column: 7 / span 6; }

  .land__text { grid-column: 1 / span 6; position: static; }
  .land__map { grid-column: 7 / span 6; }

  .enquire__intro, .enquiry, .enquiry-done { grid-column: 1 / -1; }
  .enquire__intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
  .enquire__intro .section-title, .enquire__intro .standfirst { grid-column: 1; }
  .enquire__intro .contact { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }

  .site-footer__logo { grid-column: 1 / span 4; }
  .site-footer__line { grid-column: 5 / span 4; }
  .site-footer__nav { grid-column: 1 / span 4; }
  .site-footer__contact { grid-column: 5 / span 8; justify-items: start; text-align: left; }
  .site-footer__contact a { justify-self: start; }
  .site-footer__bottom { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; --gap: 14px; }
  body { font-size: 16px; }
  .site-header .btn { height: 36px; padding: 0 14px; }
  .site-header__logo { width: 112px; }
  .menu-toggle__label { display: none; }

  .hero { min-height: 560px; }
  .hero__media img { object-position: 50% 40%; }
  .hero__media::after {
    background:
      linear-gradient(to bottom, rgba(22, 22, 18, .5) 0%, rgba(22, 22, 18, 0) 16%),
      linear-gradient(to top, rgba(22, 22, 18, .9) 0%, rgba(22, 22, 18, .7) 26%, rgba(22, 22, 18, .25) 46%, rgba(22, 22, 18, 0) 58%);
  }
  .hero__head { padding-bottom: 24px; }
  .hero__title { font-size: clamp(46px, 13.6vw, 72px); line-height: .92; }
  /* on a phone the photograph carries the headline only; the About section follows straight after */
  .hero__lede { grid-column: 1 / -1; padding-top: 18px; }
  .hero__lede > p:first-child { display: none; }
  .hero__links { margin-top: 0; gap: 10px 24px; }
  .hero__foot { grid-template-columns: 1fr auto auto; gap: 12px 20px; }
  .hero__count { display: none; }
  .hero__est, .hero__more { display: none; }
  .hero__caption { font-size: 12.5px; }

  .section-head { grid-template-columns: auto 1fr; column-gap: 18px; margin-bottom: 44px; }
  .section-head__no { grid-column: 1; min-width: 2.4em; }
  .section-head__name { grid-column: 2; }
  .section-head__aside { display: none; }

  .about__figure, .about__text { grid-column: 1 / -1; }
  .about__figure { margin-inline: calc(-1 * var(--gutter)); }
  .about__figure .caption { --cap-pad: var(--gutter); }
  .frame--stair { aspect-ratio: 4 / 4.4; }
  .titleblock > div { grid-template-columns: 8em 1fr; }

  .tally { font-size: clamp(29px, 8.4vw, 40px); line-height: 1.1; }

  .feature--limes .feature__lead { margin-inline: calc(-1 * var(--gutter)); }
  .feature--limes .feature__lead .caption { --cap-pad: var(--gutter); }
  .feature--limes .feature__text { grid-column: 1 / -1; }
  .feature__pair-a { grid-column: 1 / span 10; }
  .feature__pair-b { grid-column: 3 / span 10; margin-top: 0; }

  .feature__title--xl { font-size: clamp(56px, 17vw, 88px); }
  .feature__pano .frame--pano { aspect-ratio: 4 / 3; }
  .feature__pano .frame--pano img { object-position: 16% 50%; }
  .feature__pano--pool .frame, .feature__pano--hb .frame { aspect-ratio: 4 / 3; }
  .feature__pano--pool img { object-position: 40% 50%; }
  .feature__pano--hb img { object-position: 62% 50%; }
  .article__aside .titleblock { grid-template-columns: 1fr; }
  .article__body, .article__fig--entrance, .article__fig--meadow, .hb__text { grid-column: 1 / -1; }
  .coming__interiors { gap: 8px; }
  .coming__interiors .interior__cap { font-size: 12px; }
  .article__lead::first-letter { font-size: 4.6em; }
  .coming__feature { display: block; }
  .coming__quote { padding: 26px 0 0; }
  .entry { grid-template-columns: 1fr; row-gap: 8px; }
  /* interiors become a swipeable strip on a phone */
  .interiors__head { flex-direction: column; gap: 6px; }
  .interiors__note { text-align: left; }
  .interiors__row, .interiors__row--3 {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .interiors__row::-webkit-scrollbar { display: none; }
  .interiors__row > * { flex: 0 0 64%; scroll-snap-align: start; margin-top: 0 !important; }

  .feature__text--saxon { grid-column: 1 / -1; }
  .frame--saxon { aspect-ratio: 5 / 4; }
  .frame--saxon img { object-position: 62% 50%; }

  .index__row { grid-template-columns: 2.4em 1fr auto; row-gap: 6px; padding: 18px 0 17px; }
  .index__row::before { grid-column: 1; grid-row: 1; }
  .index__name { grid-column: 2; grid-row: 1; font-size: 24px; }
  .index__status { grid-column: 3; grid-row: 1; }
  .index__place { grid-column: 2 / span 2; grid-row: 2; }
  .index__desc { display: block; grid-column: 2 / span 2; grid-row: 3; font-size: 14.5px; }

  .coming__lede { grid-column: 1 / -1; }
  .coming__item { grid-template-columns: 1fr auto; row-gap: 14px; }
  .coming__num { grid-column: 1; grid-row: 1; flex-direction: row; align-items: baseline; gap: 12px; }
  .coming__name { grid-column: 1 / -1; grid-row: 2; padding-top: 0; }
  .coming__desc { grid-column: 1 / -1; grid-row: 3; }
  .coming__cta { grid-column: 1 / -1; grid-row: 4; justify-self: stretch; display: flex; justify-content: space-between; align-items: center; text-align: left; padding-top: 4px; }
  .coming__plan { grid-column: 1 / -1; grid-row: 5; margin-inline: calc(-1 * var(--gutter)); }
  .coming__plan .caption { --cap-pad: var(--gutter); }
  .coming__plan img { width: 170%; max-width: none; margin-left: -18%; }
  .coming__plan { overflow: hidden; }

  .principle { grid-template-columns: 2.4em 1fr; row-gap: 10px; }
  .principle__no { grid-column: 1; }
  .principle__title { grid-column: 2; }
  .principle__text { grid-column: 2; }


  .land__text, .land__map { grid-column: 1 / -1; }
  /* the map scales down ~0.6×, so its lettering is set larger to land at a legible size */
  .map__base text, .map__done text, .map__next text { font-size: 19px; letter-spacing: .1em; }
  .map__base text.sub { font-size: 21px; }
  .map__ticks text { font-size: 15px; }
  .map__rings text { font-size: 24px; }
  .map circle { r: 9px; }
  .map__base rect { transform: scale(1.4); transform-origin: 188.7px 377.8px; }

  .enquire__intro { display: block; }
  .enquire__intro .contact { margin-top: 40px; }
  .contact > div { grid-template-columns: 1fr; gap: 6px; padding: 13px 0 12px; }
  .contact dd { font-size: 17px; }
  .enquiry__fields { grid-template-columns: 1fr; gap: 26px; }

  .site-footer__logo, .site-footer__line, .site-footer__nav, .site-footer__contact { grid-column: 1 / -1; }
  .site-footer__nav { grid-template-columns: 1fr 1fr; }
  .site-footer__legal { gap: 18px; }
}

/* landscape interiors (High Beeches): no stagger, so the three frames sit on one line */
.interiors__row--wide > :nth-child(even) { margin-top: 0; }

/* ---------- phones: the full list's photograph is pinned behind the list and changes as you scroll ---------- */
@media (max-width: 760px) {
  .index { overflow: clip; padding-block: 0; }
  .index__bg {
    position: sticky; inset: auto; top: 0;
    height: 100vh; height: 100svh;
    margin-bottom: -100vh; margin-bottom: -100svh;
  }
  .index__bg::after {
    background:
      linear-gradient(to bottom, rgba(30, 31, 25, .72) 0%, rgba(30, 31, 25, .55) 35%, rgba(30, 31, 25, .62) 70%, rgba(30, 31, 25, .82) 100%);
  }
  .index__inner { padding-top: 38vh; padding-top: 38svh; padding-bottom: 40vh; padding-bottom: 40svh; }
  .index__row { padding: 30px 0 28px; }
  .index.has-active .index__row { color: rgba(236, 230, 218, .5); }
}

/* ---------- phone refinements (from the full mobile pass) ---------- */
@media (max-width: 760px) {
  .section { padding-block: 72px; }
  .about { padding-bottom: 8px; }

  /* The Atrium: the drop-cap paragraph leads; the facts follow it */
  .article__body { order: 1; }
  .article__aside { order: 2; }
  .article__fig--entrance { order: 3; }
  .article__pull { order: 4; }

  /* swipeable photo rows say so */
  .interiors__head { position: relative; padding-right: 76px; }
  .interiors__head::after {
    content: "Swipe \2192"; position: absolute; right: 0; top: 13px;
    font: 500 10.5px/1.4 var(--sans); font-stretch: 92%; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted);
  }

  /* Harwell's site plan, set smaller and to the right, like a drawing pinned beside the image */
  .coming__siteplan { width: 74%; margin: 22px 0 0 auto; }

  /* the map: keep every label inside the frame */
  .map .lbl-flip-left { text-anchor: end; transform: translateX(-26px); }
  .map .lbl-flip-right { text-anchor: start; transform: translateX(22px); }
  .map__base text.sub { display: none; }

  /* comfortable tap targets */
  .diary .text-btn { display: inline-block; padding: 14px 0; }
  .site-footer__nav, .site-footer__contact { gap: 0; }
  .site-footer__nav a, .site-footer__contact a { padding: 8px 0; }
  .site-footer__legal a { padding: 8px 0; display: inline-block; }
}

/* phones: larger touch areas for small links, without changing how they look */
@media (max-width: 760px) {
  .link-arrow, .entry__link, .hero__scroll, .text-btn, .contact a, .site-footer__bottom a, .land__or a { position: relative; }
  .link-arrow::marker { content: none; }
  .entry__link::before, .hero__scroll::before, .text-btn::before, .contact a::before, .site-footer__bottom a::before, .land__or a::before {
    content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%);
  }
  .link-arrow { padding-block: 10px; }
}

/* phones held sideways: short screens get a compact opening, anchored to the bottom */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 340px; }
  .hero__media::after {
    background:
      linear-gradient(to bottom, rgba(22, 22, 18, .5) 0%, rgba(22, 22, 18, 0) 24%),
      linear-gradient(to top, rgba(22, 22, 18, .9) 0%, rgba(22, 22, 18, .72) 34%, rgba(22, 22, 18, .2) 62%, rgba(22, 22, 18, 0) 76%);
  }
  .hero__media img { object-position: 50% 30% !important; }
  .hero__head { padding-bottom: 12px; align-items: end; }
  .hero__title { grid-column: 1 / span 8; font-size: clamp(36px, 6.4vw, 58px); }
  .hero__lede { grid-column: 9 / span 4; padding: 0 0 .3em; }
  .hero__lede > p:first-child { display: none; }
  .hero__links { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 0; }
  .hero__foot { padding: 9px 0 11px; }
  .hero__est, .hero__count { display: none; }
  .menu { padding-top: calc(var(--header-h) + 8px); }
  .menu__list a { font-size: 30px; padding: 9px 0 8px; }
}
