/* ═══════════════════════════════════════════════════════════════
   WOOLSINGTON DENE — the map room
   Cormorant Garamond · EB Garamond · Montserrat
   ink & copper on parchment · estate green for the dark rooms
   ═══════════════════════════════════════════════════════════════ */

:root {
  --paper:       #f2ede3;
  --paper-lift:  #faf7ef;
  --paper-deep:  #eae3d2;
  --ink:         #1f2822;
  --ink-mid:     #46514a;
  --ink-mut:     #666d62;
  --green:       #20312a;
  --green-deep:  #182620;
  --copper:      #8a5f34;
  --copper-deep: #6d4a27;
  --copper-lt:   #c2a26e;
  --copper-faint:#c8ae87;
  --line:        #ddd4c0;
  --line-deep:   #cdc2a8;
  --hairline-g:  rgba(242, 237, 227, .16);
  --paper-on-g:  #efe9db;

  --serif: "Cormorant Garamond", "Georgia", serif;
  --body:  "EB Garamond", "Georgia", serif;
  --label: "Montserrat", "Segoe UI", sans-serif;

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

  --gutter: clamp(1.4rem, 5vw, 5rem);
  --wrap: 1360px;
}

/* ─── Base ─────────────────────────────────────────────────────── */

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html.js body:not(.loaded) { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
figure img { filter: saturate(.97) contrast(1.02); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--copper); color: var(--paper-lift); }

:focus-visible {
  outline: 1px solid var(--copper-deep);
  outline-offset: 4px;
}

.skip {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 10002;
  padding: .8em 1.4em;
  background: var(--paper-lift);
  color: var(--ink);
  border: 1px solid var(--copper-deep);
  font-family: var(--label);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: top .3s var(--ease);
}
.skip:focus-visible { top: 1rem; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(6rem, 14vh, 10.5rem); }

/* ─── Paper tooth ──────────────────────────────────────────────── */

.grain {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: .028;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* ─── Cursor ───────────────────────────────────────────────────── */

.cursor { display: none; }

html.cursor-on body,
html.cursor-on a,
html.cursor-on button,
html.cursor-on select,
html.cursor-on input,
html.cursor-on textarea,
html.cursor-on label { cursor: none; }

html.cursor-on .cursor {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  pointer-events: none;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  translate: -50% -50%;
}
.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--copper-deep);
}
.cursor-ring {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(138, 95, 52, .4);
  transition: width .35s var(--ease), height .35s var(--ease), border-color .35s var(--ease);
}
.cursor.is-active .cursor-ring {
  width: 46px;
  height: 46px;
  border-color: rgba(109, 74, 39, .62);
}

/* ─── Preloader — the name arrives ─────────────────────────────── */

html:not(.js) .preloader { display: none; }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  transition: transform 1s var(--ease-io);
}

body.loaded .preloader { transform: translateY(-101%); }
body.pl-done .preloader { display: none; }

.pl-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  padding-inline: 1.5rem;
}

.pl-rule {
  width: min(340px, 62vw);
  height: 1px;
  background: var(--line-deep);
  transform: scaleX(0);
  animation: pl-rule 1.4s var(--ease-io) .15s forwards;
}
.pl-rule-b { animation-delay: .3s; }

.pl-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 4.2vw, 2.3rem);
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
  opacity: 0;
  animation: pl-name 1.6s var(--ease) .35s forwards;
}
.pl-name em { font-style: normal; color: var(--copper); }

.pl-place {
  font-family: var(--label);
  font-weight: 300;
  font-size: .62rem;
  letter-spacing: .55em;
  text-indent: .55em;
  text-transform: uppercase;
  color: var(--ink-mut);
  opacity: 0;
  animation: pl-fade 1s var(--ease) .95s forwards;
}

@keyframes pl-rule { to { transform: scaleX(1); } }
@keyframes pl-name {
  from { opacity: 0; letter-spacing: .52em; text-indent: .52em; }
  to   { opacity: 1; letter-spacing: .3em;  text-indent: .3em; }
}
@keyframes pl-fade { to { opacity: 1; } }

/* ─── Folio ────────────────────────────────────────────────────── */

.folio {
  position: fixed;
  left: clamp(1.4rem, 5vw, 5rem);
  bottom: 2.6rem;
  z-index: 900;
  pointer-events: none;
  font-family: var(--label);
  font-weight: 400;
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-mut);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .5s var(--ease);
}
.folio.on { opacity: 1; transform: none; }
.folio.swap { opacity: 0; transform: translateY(6px); transition-duration: .25s; }
.folio.inverse { color: rgba(242, 237, 227, .85); }

/* ─── Header ───────────────────────────────────────────────────── */
/* default state sits over the hero plate; .scrolled sits on paper */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9995;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.35rem var(--gutter);
  color: var(--paper-lift);
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), padding .5s var(--ease), color .5s var(--ease),
              border-color .5s var(--ease), transform .65s var(--ease);
}

/* without JS the header never gains .scrolled — keep it over the hero only */
html:not(.js) .header { position: absolute; }

.header.scrolled {
  background: rgba(250, 247, 239, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  border-bottom-color: var(--line);
  padding-block: .95rem;
}

.header.retired { transform: translateY(-101%); }

.brand {
  display: flex;
  align-items: center;
  gap: .95rem;
}
.brand-word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-word span { color: var(--copper-lt); transition: color .5s var(--ease); }
.header.scrolled .brand-word span { color: var(--copper); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.6vw, 2.6rem);
}

.nav a:not(.nav-cta) {
  font-family: var(--label);
  font-weight: 400;
  font-size: .62rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(250, 247, 239, .82);
  padding-block: .35em;
  background-image: linear-gradient(var(--copper-lt), var(--copper-lt));
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: left bottom;
  transition: color .4s var(--ease), background-size .4s var(--ease);
}
.nav a:not(.nav-cta):hover,
.nav a:not(.nav-cta).active { color: var(--paper-lift); background-size: 100% 1px; }

.header.scrolled .nav a:not(.nav-cta) {
  color: var(--ink-mid);
  background-image: linear-gradient(var(--copper), var(--copper));
}
.header.scrolled .nav a:not(.nav-cta):hover,
.header.scrolled .nav a:not(.nav-cta).active { color: var(--ink); }

/* ─── Buttons & quiet links ────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 1.05em 2.3em;
  border: 1px solid rgba(250, 247, 239, .55);
  font-family: var(--label);
  font-weight: 400;
  font-size: .64rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--paper-lift);
  background: transparent;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.btn:hover {
  background: var(--paper-lift);
  border-color: var(--paper-lift);
  color: var(--ink);
}

.nav-cta {
  padding: .85em 1.7em;
  border: 1px solid rgba(250, 247, 239, .5);
  font-family: var(--label);
  font-weight: 400;
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.nav-cta:hover {
  background: var(--paper-lift);
  border-color: var(--paper-lift);
  color: var(--ink);
}
.header.scrolled .nav-cta { border-color: var(--copper); color: var(--ink); }
.header.scrolled .nav-cta:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--paper-lift);
}

.link-quiet {
  display: inline-block;
  font-family: var(--label);
  font-weight: 400;
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-mid);
  padding-bottom: .5em;
  border-bottom: 1px solid var(--copper);
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.link-quiet:hover { color: var(--copper-deep); border-color: var(--copper-deep); }

/* ─── Mobile menu — the map room at night ──────────────────────── */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: .6rem .2rem;
  background: none;
  border: 0;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--paper-lift);
  transition: transform .45s var(--ease), background .5s var(--ease);
}
.header.scrolled .menu-toggle span { background: var(--ink); }
body.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* over the green overlay, the header falls back to its plate state */
body.menu-open .header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  color: var(--paper-on-g);
}
body.menu-open .brand-word span { color: var(--copper-lt); }
body.menu-open .menu-toggle span { background: var(--paper-on-g); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 9994;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  background: rgba(24, 38, 32, .985);
  color: var(--paper-on-g);
  visibility: hidden;
  opacity: 0;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
body.menu-open .menu {
  visibility: visible;
  opacity: 1;
  transition: opacity .5s var(--ease);
}

.menu-mark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  letter-spacing: .32em;
  text-indent: .32em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .7s var(--ease) .08s;
}
.menu-mark em { font-style: normal; color: var(--copper-lt); }
body.menu-open .menu-mark { opacity: 1; }

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 1.9rem;
}
.menu-links a {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 7.4vw, 2.7rem);
  line-height: 1;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .4s var(--ease);
}
.menu-links a:hover { color: var(--copper-lt); }
.menu-links .mn {
  font-family: var(--label);
  font-weight: 400;
  font-size: .62rem;
  letter-spacing: .14em;
  color: var(--copper-lt);
  min-width: 1.6rem;
}
body.menu-open .menu-links a { opacity: 1; transform: none; }
body.menu-open .menu-links a:nth-child(1) { transition-delay: .1s; }
body.menu-open .menu-links a:nth-child(2) { transition-delay: .16s; }
body.menu-open .menu-links a:nth-child(3) { transition-delay: .22s; }
body.menu-open .menu-links a:nth-child(4) { transition-delay: .28s; }
body.menu-open .menu-links a:nth-child(5) { transition-delay: .34s; }

.menu-foot {
  font-family: var(--label);
  font-weight: 300;
  font-size: .62rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(242, 237, 227, .62);
}

.menu :focus-visible { outline-color: var(--copper-lt); }

/* ─── Hero ─────────────────────────────────────────────────────── */

.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--paper-lift);
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img { object-fit: cover; object-position: 42% 38%; }

/* arrival: the image settles as the paper lifts */
html.js .hero-media img { scale: 1.12; }
html.js body.loaded .hero-media img { scale: 1.05; transition: scale 2.8s var(--ease); }

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(18, 26, 21, .38) 0%,
      rgba(18, 26, 21, .12) 38%,
      rgba(18, 26, 21, 0) 60%),
    linear-gradient(180deg,
      rgba(18, 26, 21, .5) 0%,
      rgba(18, 26, 21, .16) 32%,
      rgba(18, 26, 21, .28) 56%,
      rgba(18, 26, 21, .78) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(3rem, 8vh, 5.5rem);
}

.hero-eyebrow {
  font-family: var(--label);
  font-weight: 300;
  font-size: .62rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(250, 247, 239, .85);
  margin-bottom: clamp(1.4rem, 3vh, 2.2rem);
}

.hero-title {
  font-weight: 400;
  font-size: clamp(3.5rem, 9.6vw, 9rem);
  line-height: .94;
  letter-spacing: .01em;
}
.hero-title span,
.hero-title em { display: block; }
.hero-title em {
  font-style: italic;
  color: var(--copper-lt);
  margin-left: clamp(2.6rem, 11vw, 9.5rem);
}

.hero-line {
  margin-top: clamp(1.6rem, 3.4vh, 2.4rem);
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  line-height: 1.68;
  color: rgba(250, 247, 239, .94);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin-top: clamp(1.8rem, 4vh, 2.8rem);
}
.hero-actions .link-quiet {
  color: var(--paper-lift);
  border-color: rgba(250, 247, 239, .55);
}
.hero-actions .link-quiet:hover { color: var(--copper-lt); border-color: var(--copper-lt); }

.hero-credit {
  margin-top: clamp(1.8rem, 4.5vh, 3rem);
  font-family: var(--label);
  font-weight: 400;
  font-size: .62rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--copper-lt);
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3rem, 8vh, 5.5rem);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .9rem;
  font-family: var(--label);
  font-weight: 400;
  font-size: .58rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(250, 247, 239, .7);
  transition: opacity .6s var(--ease), color .4s var(--ease);
}
.scroll-cue::after {
  content: "";
  width: 3.4rem;
  height: 1px;
  background: linear-gradient(90deg, var(--copper-lt), transparent);
  animation: cue-breathe 3.2s var(--ease) infinite;
}
.scroll-cue:hover { color: var(--copper-lt); }
body.past-hero .scroll-cue { opacity: 0; pointer-events: none; }

@keyframes cue-breathe {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; }
}

/* hero load orchestration */
html.js .hr {
  transition: opacity 1.1s var(--ease) var(--hd, 0s), transform 1.1s var(--ease) var(--hd, 0s);
}
html.js body:not(.loaded) .hr {
  opacity: 0;
  transform: translateY(26px);
}

/* ─── Statement — the estate-green board (prospectus p2) ──────── */

.statement {
  position: relative;
  padding-block: clamp(7rem, 16vh, 12rem) clamp(6rem, 13vh, 10rem);
  overflow: hidden;
  background: var(--green);
  color: var(--paper-on-g);
}

/* the surveyor's rings — stroke pre-blended into the green, off the right edge */
.statement::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -190px;
  width: 640px;
  height: 640px;
  transform: translateY(-50%);
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cg fill='none' stroke='%2336463e' stroke-width='.7'%3E%3Ccircle cx='320' cy='320' r='64'/%3E%3Ccircle cx='320' cy='320' r='112'/%3E%3Ccircle cx='320' cy='320' r='160'/%3E%3Ccircle cx='320' cy='320' r='208'/%3E%3Ccircle cx='320' cy='320' r='256'/%3E%3Ccircle cx='320' cy='320' r='304'/%3E%3Cpath d='M320 0v640M0 320h640' stroke-width='.5'/%3E%3Cpath d='M320 310v20M310 320h20' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.statement-text {
  position: relative;
  max-width: 60rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.7vw, 3.4rem);
  line-height: 1.32;
  text-wrap: balance;
}
.statement-text em {
  font-style: italic;
  color: var(--copper-lt);
  white-space: nowrap;
}

/* paper settles word by word as the reader scrolls */
.statement-text .w { opacity: .25; transition: opacity .45s linear; }
.statement-text .w.lit { opacity: 1; }

.ledger {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 1.4rem;
  row-gap: .5rem;
  margin-top: clamp(3.5rem, 8vh, 5.5rem);
  padding-block: 1.2rem;
  border-block: 1px solid var(--hairline-g);
  font-family: var(--label);
  font-weight: 400;
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(242, 237, 227, .68);
}
.ledger i { font-style: normal; color: var(--copper-lt); }

/* ─── Section heads ────────────────────────────────────────────── */

.eyebrow {
  font-family: var(--label);
  font-weight: 400;
  font-size: .64rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.6rem;
}

.sec-head { position: relative; z-index: 0; max-width: 52rem; }
.sec-head h2,
.setting-copy h2,
.materials-copy h2,
.interiors h2,
.register-copy h2 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.05;
}

/* drawn rule beneath section heads */
.sec-head h2::after {
  content: "";
  display: block;
  width: 5.5rem;
  height: 1px;
  margin-top: 1.9rem;
  background: var(--copper-faint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-io) .35s;
}
html:not(.js) .sec-head h2::after,
.sec-head h2.in::after,
.sec-head .reveal.in + h2::after,
.sec-head h2.reveal.in::after { transform: scaleX(1); }


.lede {
  margin-top: 1.5rem;
  max-width: 38rem;
  color: var(--ink-mid);
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
}

/* ─── Image veils (curtain reveal + drift) ─────────────────────── */

.veil {
  position: relative;
  overflow: hidden;
}
.veil > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html.js .veil { clip-path: inset(100% 0 0 0); }
html.js .veil.in {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.35s var(--ease-io);
}
html.js .veil > img { scale: 1.14; }
html.js .veil.in > img {
  scale: 1.06;
  transition: scale 1.6s var(--ease-io);
}

/* engraved plate rules — a hairline floated off each in-page framed image */
.plate-wide .veil,
.materials-media .veil {
  outline: 1px solid var(--line-deep);
  outline-offset: 7px;
}

/* the prospectus frame — a paper hairline inset into full-bleed imagery */
.img-frame {
  position: absolute;
  inset: clamp(14px, 2.4vw, 34px);
  border: 1px solid rgba(250, 247, 239, .55);
  pointer-events: none;
  z-index: 2;
}

/* ─── The Story ────────────────────────────────────────────────── */

.story {
  background: var(--paper-deep);
  border-block: 1px solid var(--line-deep);
}

.pillars {
  margin-top: 1.7rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--copper);
}

.story-rows { margin-top: clamp(3.5rem, 8vh, 6rem); }

.story-row {
  display: grid;
  grid-template-columns: minmax(9rem, 17rem) minmax(0, 38rem);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2.4rem, 5vh, 3.6rem);
  border-top: 1px solid var(--line-deep);
}
.story-row:last-child { border-bottom: 1px solid var(--line-deep); }

.story-year {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 5.6vw, 4.4rem);
  line-height: 1;
  color: var(--copper);
}
.story-year em { font-style: italic; font-size: .82em; }

.story-copy h3 {
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  margin-bottom: .9rem;
}
.story-copy p { color: var(--ink-mid); }
.story-copy em { color: var(--ink); }

html.js .story-row.reveal:nth-child(2) { transition-delay: .12s; }
html.js .story-row.reveal:nth-child(3) { transition-delay: .24s; }

/* ─── The Setting — full-bleed opener (prospectus p3) ──────────── */

.setting { padding-top: 0; }

.setting-bleed {
  height: clamp(460px, 64svh, 760px);
  margin-bottom: clamp(4rem, 9vh, 6.5rem);
}
.setting-bleed img { object-position: 50% 62%; }

.setting-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 26rem);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
  margin-top: clamp(2.8rem, 6vh, 4.5rem);
}

.setting-copy p:not(.pos-note) {
  max-width: 60ch;
  color: var(--ink-mid);
}

.pos-list {
  list-style: none;
  margin-top: 2.6rem;
}
.pos-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.05rem;
  border-top: 1px solid var(--line);
}
.pos-list li:last-child { border-bottom: 1px solid var(--line); }
.pos-list span {
  font-family: var(--label);
  font-weight: 400;
  font-size: .66rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.pos-list em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--copper);
  white-space: nowrap;
}

html.js .pos-list li.reveal:nth-child(2) { transition-delay: .1s; }
html.js .pos-list li.reveal:nth-child(3) { transition-delay: .2s; }

.pos-note {
  margin-top: 1.6rem;
  font-size: .98rem;
  color: var(--ink-mut);
}

.plate-wide { margin-top: clamp(4rem, 9vh, 7rem); }
.plate-wide .veil { aspect-ratio: 21 / 9; }

figcaption {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.15rem;
  padding-top: .95rem;
  border-top: 1px solid var(--line);
  font-family: var(--label);
  font-weight: 400;
  font-size: .64rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-mut);
}
figcaption span:first-child { color: var(--ink-mid); }

/* ─── The Heights — index ──────────────────────────────────────── */

.index {
  margin-top: clamp(3.5rem, 8vh, 5.5rem);
  border-bottom: 1px solid var(--line-deep);
}

.index-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1.5rem;
  padding-block: 1.45rem;
  border-top: 1px solid var(--line-deep);
  transition: background .45s var(--ease);
}
.index-row:hover { background: var(--paper-lift); }

.ix-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.1;
  transition: color .45s var(--ease), transform .45s var(--ease);
}
.index-row:hover .ix-name,
.index-row:focus-visible .ix-name {
  color: var(--copper-deep);
  transform: translateX(.5rem);
}

.ix-spec {
  font-family: var(--label);
  font-weight: 400;
  font-size: .64rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-mut);
  text-align: right;
}

html.js .index.reveal .index-row { opacity: 0; transform: translateY(14px); }
html.js .index.reveal.in .index-row {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
html.js .index.reveal.in .index-row:nth-child(2) { transition-delay: .07s; }
html.js .index.reveal.in .index-row:nth-child(3) { transition-delay: .14s; }
html.js .index.reveal.in .index-row:nth-child(4) { transition-delay: .21s; }
html.js .index.reveal.in .index-row:nth-child(5) { transition-delay: .28s; }
html.js .index.reveal.in .index-row:nth-child(6) { transition-delay: .35s; }
html.js .index.reveal.in .index-row:nth-child(7) { transition-delay: .42s; }

/* floating preview that follows the cursor over the index */
.index-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 800;
  width: min(320px, 24vw);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  pointer-events: none;
  border: 1px solid var(--line-deep);
  box-shadow: 0 18px 50px rgba(31, 40, 34, .18);
  opacity: 0;
  scale: .96;
  transition: opacity .45s var(--ease), scale .45s var(--ease);
}
.index-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.97) contrast(1.02);
}
.index-preview.on { opacity: 1; scale: 1; }

@media (hover: none) { .index-preview { display: none; } }

/* ─── The Collection — plates (the book's home pages) ──────────── */
/* full-bleed image, paper panel overlapping up into the photograph */

.plate {
  margin-top: clamp(6rem, 13vh, 9.5rem);
  scroll-margin-top: 4.5rem;
}

.plate-stage {
  aspect-ratio: 3 / 2;
  max-height: min(84svh, 920px);
}

.plate-panel {
  position: relative;
  z-index: 2;
  width: min(86%, 1120px);
  margin: clamp(-7.5rem, -9vh, -3.5rem) auto 0;
  background: var(--paper);
  padding: clamp(2rem, 3.2vw, 3rem) clamp(1.8rem, 3.2vw, 3.4rem) 0;
}

.plate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 21rem);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: start;
}

.plate-hill {
  display: flex;
  align-items: center;
  gap: .95rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--copper);
}
.plate-hill::before {
  content: "";
  width: 2.6rem;
  height: 1px;
  flex: none;
  background: var(--copper-faint);
}

.plate-name {
  margin-top: .5rem;
  font-size: clamp(2.3rem, 3.2vw, 3.3rem);
  line-height: 1.02;
}

.plate-config {
  margin-top: 1rem;
  font-family: var(--label);
  font-weight: 400;
  font-size: .64rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  line-height: 2.1;
  color: var(--ink-mut);
}

.plate-story {
  margin-top: 1.2rem;
  max-width: 46ch;
  font-size: 1.02rem;
  color: var(--ink-mid);
}

/* the particulars — the book's right-hand column */
.plate-parts { padding-top: .4rem; }

.parts-cap {
  font-family: var(--label);
  font-weight: 400;
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--copper);
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--line-deep);
}

.hs { width: 100%; border-collapse: collapse; }
.hs td {
  padding: .68rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
  color: var(--ink-mid);
}
.hs td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
}

.hs-fine {
  margin-top: .85rem;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--ink-mut);
}

.hs-note {
  margin-top: .85rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--copper);
}

/* ─── The landmarks — full-viewport moments ────────────────────── */

.divider {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: clamp(7rem, 15vh, 11rem);
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-deep);
}
.divider .dvr {
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--copper);
  rotate: 45deg;
}

.landmarks-head {
  margin-top: clamp(3.5rem, 8vh, 6rem);
}

.landmark {
  margin-top: clamp(4.5rem, 10vh, 7.5rem);
  scroll-margin-top: 0;
}

.landmark-stage {
  height: 100svh;
  min-height: 540px;
  color: var(--paper-lift);
}
.landmark-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.97) contrast(1.02);
}
#langley .landmark-stage > img { object-position: 42% 55%; }
#edlingham .landmark-stage > img { object-position: 50% 60%; }

.landmark-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(16, 24, 19, .32) 0%,
    rgba(16, 24, 19, 0) 22%,
    rgba(16, 24, 19, 0) 66%,
    rgba(16, 24, 19, .7) 100%);
}

.landmark-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(2.6rem, 7vh, 4.2rem);
}

.landmark-mark {
  font-family: var(--label);
  font-weight: 400;
  font-size: .62rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--copper-lt);
}

.landmark-name {
  margin-top: 1.1rem;
  font-weight: 400;
  font-size: clamp(3rem, 7.4vw, 6.4rem);
  line-height: .98;
}
.landmark-name em { font-style: italic; color: var(--copper-lt); }

.landmark-body {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(2.6rem, 6vh, 4rem) var(--gutter) 0;
  text-align: center;
}

.landmark-hill {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  color: var(--copper);
}

.landmark-story {
  margin-top: 1.2rem;
  max-width: 52ch;
  margin-inline: auto;
  color: var(--ink-mid);
}

/* particulars reduced to one tracked strip — the book's landmark pages */
.lm-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 1.3rem;
  row-gap: .5rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-deep);
  font-family: var(--label);
  font-weight: 400;
  font-size: .64rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-mut);
}
.lm-strip i { font-style: normal; color: var(--copper); }

.landmark-body .link-quiet { margin-top: 2.2rem; }

/* ─── The Specification ────────────────────────────────────────── */

.materials-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: start;
}

.materials-copy { grid-column: 1 / 8; }
.materials-media {
  grid-column: 8 / 13;
  position: sticky;
  top: 7rem;
}
.materials-media .veil { aspect-ratio: 3 / 4; }
.materials-media img { object-position: 55% 45%; }

.spec-list { margin-top: clamp(2.6rem, 6vh, 4rem); }

.spec-row {
  display: grid;
  grid-template-columns: minmax(9.5rem, 13rem) 1fr;
  gap: 1.5rem;
  padding-block: 1.3rem;
  border-top: 1px solid var(--line);
}
.spec-row:last-child { border-bottom: 1px solid var(--line); }

.spec-row dt {
  font-family: var(--label);
  font-weight: 400;
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper);
  padding-top: .25em;
}
.spec-row dd { font-size: 1rem; color: var(--ink-mid); }

html.js .spec-row.reveal:nth-child(2) { transition-delay: .07s; }
html.js .spec-row.reveal:nth-child(3) { transition-delay: .14s; }
html.js .spec-row.reveal:nth-child(4) { transition-delay: .21s; }
html.js .spec-row.reveal:nth-child(5) { transition-delay: .28s; }
html.js .spec-row.reveal:nth-child(6) { transition-delay: .35s; }

/* ─── The Interiors ────────────────────────────────────────────── */

.interiors {
  border-block: 1px solid var(--line-deep);
  text-align: center;
}

.interiors .eyebrow { margin-bottom: 1.8rem; }

/* the Lance Interiors lockup — partner marque, set like a plate */
.lance-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.05rem;
  margin-inline: auto;
  padding: 2.8rem 0;
  max-width: 30rem;
  border-block: 1px solid var(--line-deep);
}
.lance-word {
  font-family: "Libre Bodoni", var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
}
.lance-sub {
  font-family: var(--label);
  font-weight: 300;
  font-size: .72rem;
  letter-spacing: .55em;
  text-indent: .55em;
  text-transform: uppercase;
  color: var(--ink-mut);
}

.interiors-body {
  max-width: 44rem;
  margin: 1.8rem auto 0;
  color: var(--ink-mid);
}

.interiors-pull {
  margin: clamp(2.6rem, 6vh, 4rem) auto 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  color: var(--copper);
}
.interiors-pull::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 1px;
  margin: 0 auto 2.2rem;
  background: var(--copper-faint);
}

.interiors .link-quiet { margin-top: 2.6rem; }

/* ─── Register ─────────────────────────────────────────────────── */

.register {
  position: relative;
  background: var(--paper-deep);
  border-top: 1px solid var(--line-deep);
  overflow: hidden;
}

/* the rings return, quieter, off the left edge */
.register::before {
  content: "";
  position: absolute;
  bottom: -260px;
  left: -240px;
  width: 620px;
  height: 620px;
  pointer-events: none;
  opacity: .22;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cg fill='none' stroke='%23767d6e' stroke-width='.7'%3E%3Ccircle cx='320' cy='320' r='64'/%3E%3Ccircle cx='320' cy='320' r='112'/%3E%3Ccircle cx='320' cy='320' r='160'/%3E%3Ccircle cx='320' cy='320' r='208'/%3E%3Ccircle cx='320' cy='320' r='256'/%3E%3Ccircle cx='320' cy='320' r='304'/%3E%3Cpath d='M320 0v640M0 320h640' stroke-width='.5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.register-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: start;
}

.register-copy { grid-column: 1 / 6; }
.register-copy > p:not(.eyebrow):not(.register-note) {
  margin-top: 1.5rem;
  color: var(--ink-mid);
}

.register-note {
  margin-top: 1.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--copper);
}

.register-form { grid-column: 6 / 13; }

.field { margin-bottom: 1.9rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.field label {
  display: block;
  margin-bottom: .55rem;
  font-family: var(--label);
  font-weight: 400;
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-mut);
  transition: color .35s var(--ease);
}
.field label span { color: var(--copper); letter-spacing: .2em; text-transform: none; }
.field:focus-within label { color: var(--copper-deep); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .7rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-deep);
  border-radius: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--ink);
  transition: border-color .4s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--copper);
}
.field textarea { resize: vertical; min-height: 3.2rem; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' fill='none' stroke='%238a5f34' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .2rem center;
  padding-right: 1.6rem;
}
.field select option { background: var(--paper-lift); color: var(--ink); }

.register-form .btn {
  width: 100%;
  margin-top: .6rem;
  text-align: center;
}

.btn-solid {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--paper-lift);
}
.btn-solid:hover {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
  color: var(--paper-lift);
}

.register-confirm {
  margin-top: 1.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  text-align: center;
  color: var(--copper-deep);
}
.register-confirm:focus { outline: none; }

form.sent .field,
form.sent .btn {
  opacity: .22;
  pointer-events: none;
  transition: opacity .6s var(--ease);
}

/* ─── Footer — the cover board ─────────────────────────────────── */

.footer {
  background: var(--green);
  color: var(--paper-on-g);
  padding-block: clamp(3.5rem, 8vh, 5.5rem) 2.4rem;
}

.footer ::selection { background: var(--copper-lt); color: var(--green-deep); }
.footer :focus-visible { outline-color: var(--copper-lt); }

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.2rem);
}

.footer-word {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  letter-spacing: .26em;
  text-transform: uppercase;
  line-height: 1.2;
}
.footer-word::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 1px;
  margin-bottom: 1.5rem;
  background: var(--copper-lt);
}
.footer-word em { font-style: normal; color: var(--copper-lt); }

.footer-addr {
  margin-top: .9rem;
  font-family: var(--label);
  font-weight: 300;
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(242, 237, 227, .6);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  text-align: right;
}
.footer-nav a {
  font-family: var(--label);
  font-weight: 400;
  font-size: .62rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(242, 237, 227, .74);
  transition: color .4s var(--ease);
}
.footer-nav a:hover { color: var(--copper-lt); }

.footer-bottom {
  margin-top: clamp(3rem, 7vh, 4.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline-g);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: .92rem;
  color: rgba(242, 237, 227, .58);
}
.footer-legal { font-size: .84rem; }

/* ─── Reveals ──────────────────────────────────────────────────── */

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ─── Responsive ───────────────────────────────────────────────── */

@media (max-width: 899px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .folio { display: none; }

  .hero-title em { margin-left: clamp(1.6rem, 12vw, 4rem); }
  .scroll-cue { display: none; }

  .setting-bleed { height: clamp(320px, 54svh, 560px); margin-bottom: clamp(3rem, 7vh, 4.5rem); }
  .setting-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .setting-copy { max-width: 38rem; }

  .plate-stage { aspect-ratio: 4 / 3; max-height: 76svh; }
  .plate-panel {
    width: min(92%, 1120px);
    margin-top: -2.8rem;
    padding: 1.7rem 1.6rem 0;
  }
  .plate-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .plate-story { max-width: 44ch; }
  .plate-parts { max-width: 26rem; }

  .landmark-stage { height: 82svh; min-height: 460px; }

  .materials-grid { grid-template-columns: 1fr; }
  .materials-copy { grid-column: 1; }
  .materials-media { grid-column: 1; position: static; max-width: 34rem; }

  .register-grid { grid-template-columns: 1fr; }
  .register-copy, .register-form { grid-column: 1; }
  .register-copy { max-width: 36rem; }

  .plate-wide .veil { aspect-ratio: 16 / 9; }

  .statement::before { right: -320px; }
}

@media (max-width: 599px) {
  .story-row { grid-template-columns: 1fr; gap: 1rem; }

  .index-row { grid-template-columns: 1fr; row-gap: .2rem; }
  .ix-spec { text-align: left; }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .ledger { column-gap: .9rem; font-size: .6rem; }

  .hs td { font-size: .95rem; }

  .footer-nav { text-align: left; }

  .hero-actions { flex-wrap: wrap; gap: 1.6rem; }
}

/* ─── Reduced motion ───────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  html.js .reveal,
  html.js .hr,
  html.js body:not(.loaded) .hr,
  html.js .index.reveal .index-row {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.js .index.reveal.in .index-row { transition: none; }

  html.js .veil,
  html.js .veil.in { clip-path: none; transition: none; }
  html.js .veil > img,
  html.js .veil.in > img { scale: none; translate: none; transition: none; }

  html.js .hero-media img,
  html.js body.loaded .hero-media img { scale: none; transition: none; }

  .preloader { display: none; }
  html.js body:not(.loaded) { overflow: auto; }
  .pl-rule, .pl-name, .pl-place { animation: none; }
  .menu-mark { transition: none; opacity: 1; }

  .statement-text .w { opacity: 1; transition: none; }

  .scroll-cue::after { animation: none; }

  .folio { transition: none; }
  .index-preview { display: none; }

  .header, .menu, .menu-links a, .menu-toggle span,
  .btn, .nav-cta, .link-quiet, .nav a:not(.nav-cta),
  .ix-name, .index-row, .footer-nav a, .cursor-ring,
  .field input, .field select, .field textarea { transition: none; }

  .sec-head h2::after { transform: scaleX(1); transition: none; }

  .cursor { display: none; }
}
