/* ============================================================
   ECO70 AE - EcoPod Homes · concept landing page
   Rebuilt from the Enclave / St Heliers layout, retargeted to
   the Taupaki 136 transportable home. Palette drawn from the
   home imagery: bone, pale oak, charcoal, fern accents, bush light.
   ============================================================ */

:root {
  --bone: #F1EDE6;
  --bone-2: #E8E3D8;
  --ink: #1B1A17;
  --ink-soft: #56524A;
  --oak: #C9BCA4;
  --clay: #6D8A54;          /* EcoPod fern - Enclave's original clay was #A4655B */
  --line: rgba(27, 26, 23, 0.16);
  --line-light: rgba(241, 237, 230, 0.22);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --nav-h: 4.5rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { width: 100%; max-width: 90rem; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: clamp(6rem, 12vw, 11rem); padding-bottom: clamp(6rem, 12vw, 11rem); }

::selection { background: var(--clay); color: var(--bone); }

/* ---------- shared type ---------- */

.label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.9rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.label-num { color: var(--clay); font-weight: 500; }
.label::after {
  content: "";
  align-self: center;
  width: 3.5rem;
  height: 1px;
  background: var(--line);
}
.label--light { color: rgba(241, 237, 230, 0.72); }
.label--light::after { background: var(--line-light); }

.heading {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.heading em { font-style: italic; font-weight: 300; color: var(--clay); }
.heading--light { color: var(--bone); }
.heading--light em { color: var(--oak); }

.body-copy {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 34rem;
}
.body-copy--light { color: rgba(241, 237, 230, 0.78); }
.body-copy + .body-copy { margin-top: 1.25rem; }

.text-link {
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1em;
  transition: color 0.3s ease;
}
.text-link:hover { color: var(--clay); }

/* buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 1.9rem;
  border: 1px solid var(--ink);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s ease, border-color 0.35s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}
.btn:hover { color: var(--bone); }
.btn:hover::before { transform: scaleY(1); }
.btn--light { border-color: var(--bone); color: var(--bone); }
.btn--light::before { background: var(--bone); }
.btn--light:hover { color: var(--ink); }

/* ---------- preloader ---------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--bone);
}
.js .preloader { display: flex; }
.preloader-inner { text-align: center; }
.pl-word {
  display: flex;
  overflow: hidden;
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: 1.1;
  letter-spacing: 0.06em;
}
.pl-char { display: inline-block; will-change: transform; }
.pl-sub {
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- navigation ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--nav-h);
  padding: 0 var(--pad);
  color: var(--bone);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1), background-color 0.4s ease, color 0.4s ease;
}
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.nav--scrolled {
  background: rgba(241, 237, 230, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
}
.nav--scrolled::after { opacity: 0.12; }
.nav--hidden { transform: translateY(-100%); }

.nav-brand {
  font-family: var(--serif);
  font-weight: 380;
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  white-space: nowrap;
}
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a {
  position: relative;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -0.35rem;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.btn--nav { padding: 0.65rem 1.3rem; border-color: currentColor; }
.btn--nav::before { background: var(--clay); }
.btn--nav:hover { border-color: var(--clay); color: var(--bone); }
.nav-toggle {
  display: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5rem 0;
}

/* menu overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--ink);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.menu-open .menu-overlay { opacity: 1; visibility: visible; }
.menu-links { display: flex; flex-direction: column; gap: 0.4rem; }
.menu-links a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  line-height: 1.25;
  transform: translateY(1.5rem);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}
.menu-open .menu-links a { transform: translateY(0); opacity: 1; }
.menu-open .menu-links a:nth-child(2) { transition-delay: 0.05s; }
.menu-open .menu-links a:nth-child(3) { transition-delay: 0.1s; }
.menu-open .menu-links a:nth-child(4) { transition-delay: 0.15s; }
.menu-open .menu-links a:nth-child(5) { transition-delay: 0.2s; }
.menu-open .menu-links a:nth-child(6) { transition-delay: 0.25s; }
.menu-foot {
  margin-top: 3rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(241, 237, 230, 0.55);
}
.menu-open { overflow: hidden; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: 100svh;
  min-height: 34rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--bone);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(27, 26, 23, 0.40) 0%, rgba(27, 26, 23, 0) 34%),
    linear-gradient(0deg, rgba(27, 26, 23, 0.76) 0%, rgba(27, 26, 23, 0.30) 38%, rgba(27, 26, 23, 0) 66%);
}
.hero-note {
  position: absolute;
  top: calc(var(--nav-h) + 0.75rem);
  right: var(--pad);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(1.5rem, 3.5vw, 3rem);
}
.hero-kicker {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: clamp(1rem, 2vw, 2rem);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(2.2rem, 12.2vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.045em;
  margin-left: -0.03em;
  white-space: nowrap;
}
@media (min-width: 40rem) { .hero-title { font-size: 13.4vw; } }
@media (min-width: 64rem) { .hero-title { font-size: min(14.5vw, 12.9rem); } }
.hero-bar {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  margin-top: clamp(1.5rem, 3vw, 2.75rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(241, 237, 230, 0.28);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.hero-bar p { opacity: 0.85; }
.scroll-cue {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
}
.scroll-cue-line {
  position: relative;
  width: 1px;
  height: 2.6rem;
  background: rgba(241, 237, 230, 0.3);
  overflow: hidden;
}
.scroll-cue-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bone);
  animation: cue 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes cue { 60%, 100% { top: 100%; } }

/* ---------- overview ---------- */

.statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.6vw, 3.3rem);
  line-height: 1.32;
  letter-spacing: -0.005em;
  max-width: 58rem;
}
.statement .word { opacity: 1; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: clamp(4rem, 7vw, 6.5rem);
  padding-top: clamp(2rem, 3.5vw, 3rem);
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 0.9rem; }
.stat-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 5.4vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-num--serif {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.15;
  font-style: italic;
  padding-top: 0.5rem;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  max-width: 13rem;
}

/* ---------- interiors gallery ---------- */

.interiors { padding-top: clamp(6rem, 12vw, 11rem); background: var(--bone-2); }
.section-head { padding-bottom: clamp(1.5rem, 2.5vw, 2rem); }
.section-intro {
  margin-top: 1.5rem;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 30rem;
}

.pin-wrap {
  position: relative;
  height: calc(100svh - var(--nav-h));
  min-height: 34rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}
.gallery-track {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  padding: 0 var(--pad);
  width: max-content;
  will-change: transform;
}
.panel { flex: 0 0 auto; }
.panel--wide { width: clamp(20rem, 58vw, 62rem); }
.panel--tall { width: clamp(15rem, 30vw, 30rem); }
.panel-media {
  overflow: hidden;
  background: var(--oak);
}
.panel--wide .panel-media { aspect-ratio: 3 / 2; }
.panel--tall .panel-media { aspect-ratio: 1 / 1; }
.panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  will-change: transform;
}
.panel figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.2rem;
  margin-top: 1.1rem;
}
.panel figcaption strong {
  font-family: var(--serif);
  font-weight: 380;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.panel figcaption span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.panel--end {
  width: clamp(18rem, 34vw, 34rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  padding-right: var(--pad);
}
.panel-end-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  line-height: 1.25;
}
.gallery-foot {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(1.25rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.gallery-progress {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.gallery-progress span {
  display: block;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}
.gallery-count {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

/* ---------- full-bleed quote ---------- */

.bleed {
  position: relative;
  height: 92svh;
  min-height: 30rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--bone);
}
.bleed-media { position: absolute; inset: -12% 0; }
.bleed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(27, 26, 23, 0.68) 0%, rgba(27, 26, 23, 0.12) 50%);
}
.bleed-overlay {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.bleed-quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 1.2;
  max-width: 24ch;
}
.bleed-caption {
  margin-top: 1.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.78;
}

/* ---------- architecture ---------- */

.arch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.arch-copy .body-copy { margin-top: 2rem; }
.arch-copy .arch-img { margin-top: clamp(3rem, 6vw, 5rem); }
.arch-media {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 6vw, 7rem);
}
.arch-img figcaption, .arch-wide figcaption, .aerial figcaption {
  margin-top: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
[data-parallax-wrap] .img-frame,
.img-frame { overflow: hidden; }
.arch-img .img-frame { background: var(--oak); }
.arch-img img, .arch-wide img {
  will-change: transform;
}
.arch-img--tall img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }

.spec-list { border-top: 1px solid var(--line); }
.spec-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0.35rem 1.75rem;
  align-items: baseline;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.spec-list h3 {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.spec-list p { font-size: 0.95rem; line-height: 1.65; color: var(--ink-soft); }
.arch-wide { margin-top: clamp(4rem, 8vw, 7rem); }

/* ---------- location ---------- */

.location { background: var(--bone-2); overflow: hidden; }
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(0.8rem, 1.6vw, 1.4rem) 0;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}
.marquee-inner {
  display: inline-flex;
  will-change: transform;
  animation: marquee 30s linear infinite;
}
.marquee-inner span {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(27, 26, 23, 0.4);
}
@keyframes marquee { to { transform: translateX(-50%); } }

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.location-list {
  margin-top: 2.25rem;
  border-top: 1px solid var(--line);
}
.location-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.aerial { margin-top: clamp(4rem, 8vw, 7rem); }
.aerial-media {
  overflow: hidden;
  background: var(--oak);
}
.aerial-media img {
  width: 100%;
  will-change: transform;
}
.aerial-media--plan {
  background: #FFFDF8;
  padding: clamp(1.25rem, 3.5vw, 3.25rem);
  border: 1px solid var(--line);
}

/* ---------- timeline ---------- */

.tl {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-left: clamp(1.75rem, 4vw, 3rem);
}
.tl-rail {
  position: absolute;
  top: 0.4rem; bottom: 0.4rem; left: 0;
  width: 1px;
  background: var(--line);
}
.tl-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--clay);
  transform: scaleY(0);
  transform-origin: top;
}
.tl-items { display: flex; flex-direction: column; }
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: start;
  padding: clamp(1.5rem, 2.6vw, 2.25rem) 0;
  border-bottom: 1px solid var(--line);
}
.tl-item:last-child { border-bottom: 0; }
.tl-dot {
  position: absolute;
  left: calc(-1 * clamp(1.75rem, 4vw, 3rem) - 3.5px);
  top: clamp(2rem, 3.2vw, 2.8rem);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bone);
  border: 1px solid var(--ink-soft);
}
.tl-item h3 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  letter-spacing: 0.01em;
}
.tl-item p { margin-top: 0.35rem; font-size: 0.9rem; color: var(--ink-soft); }
.chip {
  justify-self: end;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.chip--done { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.chip--live { border-color: var(--clay); color: var(--clay); }
.tl-note {
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 44rem;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------- register + footer ---------- */

.register {
  background: var(--ink);
  color: var(--bone);
  padding-top: clamp(6rem, 12vw, 11rem);
}
.register-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding-bottom: clamp(6rem, 10vw, 9rem);
}
/* this heading wraps to two lines where Enclave's ran to one */
.register-copy .body-copy { margin-top: clamp(1.5rem, 2.5vw, 2.25rem); }
.suite-card {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding: 1.75rem;
  border: 1px solid var(--line-light);
}
.suite-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oak);
  margin-bottom: 0.75rem;
}
.suite-addr {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.suite-note { font-size: 0.85rem; line-height: 1.7; color: rgba(241, 237, 230, 0.75); }

.register-form { display: flex; flex-direction: column; gap: 1.9rem; padding-top: 0.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.9rem; }
.field { display: flex; flex-direction: column; gap: 0.6rem; }
.field span {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(241, 237, 230, 0.6);
}
.field input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  border-radius: 0;
  padding: 0.6rem 0;
  font: 400 1.05rem var(--sans);
  color: var(--bone);
  transition: border-color 0.3s ease;
}
.field input:focus { outline: none; border-bottom-color: var(--oak); }
.check {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: rgba(241, 237, 230, 0.75);
  cursor: pointer;
  user-select: none;
}
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check i {
  width: 1.05rem; height: 1.05rem;
  border: 1px solid rgba(241, 237, 230, 0.45);
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.check input:checked + i { background: var(--clay); border-color: var(--clay); }
.check input:checked + i::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--bone);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.check input:focus-visible + i { outline: 2px solid var(--oak); outline-offset: 2px; }
.register-form .btn { align-self: flex-start; margin-top: 0.5rem; }
.form-note { font-size: 0.75rem; color: rgba(241, 237, 230, 0.45); }
.form-success { padding: 2rem 0; }
.form-success-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}
.form-success p:last-child { color: rgba(241, 237, 230, 0.7); }

.footer { border-top: 1px solid var(--line-light); padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: 2.5rem; }
.footer-brand {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(2.2rem, 10.8vw, 10.2rem);
  line-height: 1;
  letter-spacing: 0.06em;
  color: rgba(241, 237, 230, 0.1);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  white-space: nowrap;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(241, 237, 230, 0.75);
}
.footer-head {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oak);
  margin-bottom: 0.9rem;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  justify-content: space-between;
  border-top: 1px solid var(--line-light);
  padding-top: 1.5rem;
  font-size: 0.72rem;
  color: rgba(241, 237, 230, 0.42);
}

/* ---------- SplitText masks ---------- */

/* Give letter descenders and italic overhang room during the reveal. */
.split-line-mask, .hero-char-mask {
  padding: 0.12em 0.08em;
  margin: -0.12em -0.08em;
}

/* ---------- responsive ---------- */

@media (max-width: 64rem) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
  .arch-grid { grid-template-columns: 1fr; }
  .arch-media { padding-top: 0; }
  .location-grid { grid-template-columns: 1fr; align-items: start; }
  .register-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .panel--wide { width: min(78vw, 34rem); }
  .panel--tall { width: min(58vw, 24rem); }
  .panel--end { width: min(74vw, 30rem); }
}

@media (max-width: 40rem) {
  .hero-bar { flex-wrap: wrap; gap: 0.6rem 1.5rem; font-size: 0.7rem; }
  .hero-bar .scroll-cue { display: none; }
  .nav-brand { font-size: 0.95rem; letter-spacing: 0.15em; }
  .field-row { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 0.9rem; }
  .chip { justify-self: start; }
}

/* ---------- reduced motion / no-JS fallbacks ---------- */

.no-motion .gallery-track { width: auto; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.no-motion .pin-wrap { height: auto; padding: 2rem 0 4rem; }
.no-motion .gallery-foot { display: none; }
.no-motion .panel-media img { transform: none; }
.no-motion .tl-fill { transform: none; }
.no-motion .scroll-cue-line::after { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .marquee-inner { animation: none; }
  .menu-links a, .menu-overlay, .nav { transition: none; }
  .scroll-cue-line::after { animation: none; }
}

/* Keep the existing Foxton enquiry form within the template columns. */
.enquiry-embed { min-height: 1200px; width: 100%; background: #fff; }
.enquiry-embed iframe { display: block; width: 100%; min-height: 1200px; border: 0; }
@media (max-width: 40rem) { .enquiry-embed, .enquiry-embed iframe { min-height: 1200px; } }
