@font-face {
  font-family: "Diazo MVB Condensed";
  src: url("assets/fonts/diazo-mvb-cond-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #17120e;
  --night: #07130e;
  --canopy: #123124;
  --moss: #6e8745;
  --leaf: #a6bd67;
  --mist: #ecede1;
  --paper: #fbf4df;
  --gold: #ffcf69;
  --clay: #b8653c;
  --amethyst: #8c3b9f;
  --white: #fffaf0;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.45) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.45) 0 1px, transparent 1px);
  background-size: 4px 4px, 7px 7px;
  mix-blend-mode: overlay;
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: calc(var(--scroll, 0) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--amethyst), var(--leaf));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: var(--white);
  transition: color 500ms var(--ease), background 500ms var(--ease), border-color 500ms var(--ease);
}

/* Desktop hero state — only the brand translates / scales, the
   header stays fixed at top so the right-side dropdown menu remains
   anchored where users expect it.
   • Hero state: the brand alone pulls down to sit above the yellow
     credibility line and scales up. The wordmark fades / collapses
     so only the logo is in view.
   • Past-hero state: brand eases back to its compact, centered
     position next to its wordmark.
   Mobile keeps the default header setup unchanged. */
@media (min-width: 721px) {
  /* These hero-state brand animations are scoped to the homepage only.
     Sub-pages (e.g. body[data-page="technology"]) keep the compact
     logo + wordmark in its default position throughout. */
  body:not([data-page]) .brand {
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  body:not([data-page]) .site-header[data-scroll-zone="hero"] .brand {
    transform: translateY(calc(46vh - 120px));
  }

  body:not([data-page]) .brand img {
    transition:
      width 560ms cubic-bezier(0.22, 1, 0.36, 1),
      height 560ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  body:not([data-page]) .site-header[data-scroll-zone="hero"] .brand img {
    width: clamp(96px, 8vw, 120px);
    height: clamp(96px, 8vw, 120px);
  }

  body:not([data-page]) .brand span {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    max-width: 240px;
    transition:
      opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
      max-width 520ms cubic-bezier(0.22, 1, 0.36, 1),
      margin-left 520ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  body:not([data-page]) .site-header[data-scroll-zone="hero"] .brand span {
    opacity: 0;
    max-width: 0;
    margin-left: calc(clamp(14px, 1.4vw, 20px) * -1);
    transform: translateX(-8px);
    pointer-events: none;
  }

  /* On the homepage hero, strip the light backdrop so the logo reads
     cleanly against the photo. Sub-pages keep their normal backdrop. */
  body:not([data-page]) .site-header[data-scroll-zone="hero"] {
    background: transparent !important;
    border-bottom-color: transparent !important;
    backdrop-filter: none !important;
  }
}

body[data-theme="light"] .site-header {
  color: var(--ink);
  background: rgba(251, 244, 223, 0.72);
  border-bottom: 1px solid rgba(23, 18, 14, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 1.4vw, 20px);
  font-family: "Diazo MVB Condensed", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand img {
  width: clamp(56px, 5vw, 72px);
  height: clamp(56px, 5vw, 72px);
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  filter:
    drop-shadow(0 0 14px rgba(255, 207, 105, 0.55))
    drop-shadow(0 0 28px rgba(140, 59, 159, 0.45));
  animation: brand-glow 3.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  transform-origin: center;
}

.brand:hover img {
  animation-duration: 1.8s;
}

@keyframes brand-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 10px rgba(255, 207, 105, 0.45))
      drop-shadow(0 0 22px rgba(140, 59, 159, 0.35));
    transform: scale(1);
  }
  50% {
    filter:
      drop-shadow(0 0 22px rgba(255, 207, 105, 0.85))
      drop-shadow(0 0 40px rgba(140, 59, 159, 0.7));
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand img {
    animation: none;
    filter:
      drop-shadow(0 0 14px rgba(255, 207, 105, 0.55))
      drop-shadow(0 0 28px rgba(140, 59, 159, 0.45));
  }
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.desktop-nav a {
  opacity: 0.76;
  transition: opacity 250ms var(--ease);
}

.desktop-nav a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.site-menu {
  position: fixed;
  inset: 0 0 auto auto;
  z-index: 70;
  width: min(440px, 100vw);
  min-height: 100vh;
  padding: 120px 36px 36px;
  display: grid;
  gap: 18px;
  align-content: start;
  background: rgba(7, 19, 14, 0.94);
  color: var(--white);
  transform: translateX(100%);
  transition: transform 600ms var(--ease);
}

.site-menu.is-open {
  transform: translateX(0);
}

.site-menu a {
  padding-block: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 0.95;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 128px clamp(20px, 6vw, 88px) 60px;
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
}

.hero-picture {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

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

.hero-eyebrow {
  align-self: center;
  text-align: center;
  margin: 0;
  text-shadow:
    0 0 20px rgba(0, 0, 0, 0.7),
    0 2px 8px rgba(0, 0, 0, 0.85),
    0 1px 2px rgba(0, 0, 0, 1);
}

.eyebrow,
.section-label {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-headline {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: "Diazo MVB Condensed", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(7, 19, 14, 0.5);
}

.hero-line {
  display: block;
}

.hero-line--bottom {
  align-self: flex-end;
  margin-left: auto;
  text-align: right;
}

section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-self: center;
  justify-content: center;
}

@media (min-width: 721px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.2vw, 18px);
  }

  .hero-eyebrow {
    align-self: center;
    text-align: center;
    margin: 0;
    color: var(--gold);
    font-size: clamp(12px, 1vw, 14px);
  }

  .hero-actions {
    align-self: center;
    justify-content: center;
    margin: 0;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 250ms var(--ease), background 250ms var(--ease), color 250ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-caption {
  position: absolute;
  right: clamp(20px, 6vw, 88px);
  bottom: 42px;
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.72);
}

.hero-caption strong {
  color: var(--gold);
}

.section-tone-light {
  background: var(--paper);
  color: var(--ink);
}

.section-tone-dark {
  background: var(--night);
  color: var(--white);
}

.section-tone-gold {
  background:
    radial-gradient(circle at 12% 22%, rgba(140, 59, 159, 0.14), transparent 26%),
    linear-gradient(135deg, #f8dfa0, #fff7dd 46%, #d9e2b0);
  color: var(--ink);
}

.section-tone-purple {
  background:
    linear-gradient(120deg, rgba(7, 19, 14, 0.88), rgba(55, 25, 60, 0.84)),
    url("assets/farm-11.jpeg") center / cover fixed;
  color: var(--white);
}

.intro-band {
  padding: clamp(86px, 12vw, 164px) clamp(20px, 6vw, 88px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.62fr);
  gap: clamp(32px, 7vw, 112px);
  align-items: end;
}

.intro-grid h2,
.metrics-heading h2,
.projection-head h2,
.projects-header h2,
.process h2,
.gallery h2,
.contact h2,
.window-copy h2 {
  font-size: clamp(42px, 7vw, 104px);
  line-height: 0.92;
}

.large-copy,
.metrics-heading p,
.projection-head p,
.projects-header p,
.gallery-top p,
.window-copy p,
.contact-copy p {
  margin: 0;
  color: rgba(23, 18, 14, 0.72);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.45;
}

.sticky-story {
  position: relative;
  min-height: 420vh;
  background: var(--night);
}

.story-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 120px clamp(20px, 6vw, 88px);
  overflow: hidden;
}

.story-bg,
.story-bg::after,
.story-bg img {
  position: absolute;
  inset: 0;
}

.story-bg {
  z-index: -1;
  background: var(--night);
}

.story-bg::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 19, 14, 0.92), rgba(7, 19, 14, 0.42) 50%, rgba(7, 19, 14, 0.85)),
    linear-gradient(0deg, rgba(7, 19, 14, 0.82), transparent 55%);
}

.story-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  transform: scale(var(--story-scale, 1.06));
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.story-panel {
  max-width: 820px;
}

.story-panel h2 {
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.88;
}

.story-panel p:last-child {
  max-width: 560px;
  margin-top: 28px;
  color: rgba(255, 250, 240, 0.76);
  font-size: clamp(17px, 1.7vw, 23px);
  line-height: 1.5;
}

.story-chapters {
  position: absolute;
  inset: 105vh clamp(20px, 6vw, 88px) auto auto;
  width: min(440px, calc(100% - 40px));
  display: grid;
  gap: 70vh;
  padding-bottom: 84vh;
}

.chapter {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 19, 14, 0.48);
  backdrop-filter: blur(22px);
}

.chapter span,
.project-card span,
.process-list span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chapter h3,
.project-card h3 {
  margin: 14px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  line-height: 0.98;
}

.chapter p,
.project-card p,
.process-list p {
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
  line-height: 1.5;
}

.metrics {
  padding: clamp(90px, 12vw, 170px) clamp(20px, 6vw, 88px);
}

.metrics .section-label,
.projects .section-label,
.gallery .section-label {
  color: var(--amethyst);
}

.metrics-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(42px, 7vw, 96px);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(23, 18, 14, 0.22);
  border-left: 1px solid rgba(23, 18, 14, 0.22);
}

.metric-card {
  min-height: 250px;
  padding: clamp(22px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(23, 18, 14, 0.22);
  border-bottom: 1px solid rgba(23, 18, 14, 0.22);
}

.metric-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7vw, 108px);
  font-weight: 500;
  line-height: 0.9;
  color: var(--amethyst);
}

.metric-card span {
  display: block;
  max-width: 220px;
  margin-top: auto;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
}

.metric-card small {
  margin-top: 14px;
  color: rgba(23, 18, 14, 0.58);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ----- PFP Scene (scroll-pinned parallax) ----- */
.pfp-scene,
.bean-story-scene {
  position: relative;
  height: 500vh;
  background: var(--paper);
}

/* Bean Story (coffee growth timeline) reuses the PFP scaffolding —
   sticky stage, canvas + poster pair, phase deck, progress bar.
   Override just the bits that differ. */
.bean-story-scene {
  height: 700vh; /* 8 phases instead of 5 — slightly more scroll room */
  background: linear-gradient(180deg, var(--paper) 0%, #f3e8c8 100%);
}

.bean-story-track { height: 100%; }

.bean-story-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(80px, 9vw, 130px) clamp(20px, 6vw, 88px);
  overflow: hidden;
}

.bean-story-imagery {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 86vh;
  display: grid;
  place-items: center;
}

.bean-story-canvas,
.bean-story-poster {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 36px rgba(7, 19, 14, 0.28));
}

.bean-story-canvas {
  pointer-events: none;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

.bean-story-poster {
  opacity: 1;
  transition: opacity 320ms ease;
}

.bean-story-imagery.is-ready .bean-story-poster {
  opacity: 0;
  pointer-events: none;
}

.bean-story-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.6vw, 32px);
  max-width: 540px;
}

.bean-story-copy .section-label {
  color: var(--amethyst);
  margin: 0;
}

.bean-story-phases {
  position: relative;
  min-height: 360px;
}

.bean-story-phase {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vw, 18px);
}

.bean-story-phase.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.bean-story-time {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(140, 59, 159, 0.1);
  color: var(--amethyst);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(140, 59, 159, 0.22);
}

.bean-story-phase h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.2vw, 60px);
  font-weight: 400;
  line-height: 1.04;
  color: var(--ink);
}

.bean-story-phase p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: rgba(23, 18, 14, 0.78);
  max-width: 50ch;
}

.bean-story-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bean-story-progress span {
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: rgba(23, 18, 14, 0.18);
  transition: background 480ms var(--ease), width 480ms var(--ease);
}

.bean-story-progress span.is-active {
  background: var(--amethyst);
  width: 48px;
}

.bean-story-scrollhint {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23, 18, 14, 0.45);
}

/* Mobile: single column sticky, image on top, copy below */
@media (max-width: 860px) {
  .bean-story-scene {
    height: 540vh;
  }

  .bean-story-stage {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1.05fr) auto;
    gap: clamp(20px, 4vw, 32px);
    padding: clamp(72px, 12vw, 110px) clamp(20px, 6vw, 36px) clamp(24px, 6vw, 48px);
  }

  .bean-story-imagery {
    max-height: none;
    min-height: 0;
  }

  .bean-story-copy {
    max-width: 100%;
    gap: clamp(14px, 3vw, 22px);
  }

  .bean-story-phases {
    min-height: 200px;
  }

  .bean-story-phase h2 {
    font-size: clamp(26px, 6.8vw, 40px);
  }

  .bean-story-phase p {
    font-size: clamp(14px, 3.6vw, 16px);
  }

  .bean-story-scrollhint {
    display: none;
  }
}

.pfp-track {
  height: 100%;
}

.pfp-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(80px, 9vw, 130px) clamp(20px, 6vw, 88px);
  overflow: hidden;
}

.pfp-imagery {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 80vh;
  display: grid;
  place-items: center;
}

.pfp-canvas,
.pfp-poster {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Frames already have transparent backgrounds (white-to-alpha baked in),
     so no blend-mode hack needed — the canvas sits cleanly on the cream paper. */
  filter: drop-shadow(0 18px 30px rgba(7, 19, 14, 0.18));
}

.pfp-canvas {
  pointer-events: none;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

/* Poster image (last frame) shown until the video is ready, and on mobile/reduced-motion. */
.pfp-poster {
  opacity: 1;
  transition: opacity 320ms ease;
}

.pfp-imagery.is-ready .pfp-poster {
  opacity: 0;
  pointer-events: none;
}

.pfp-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
  max-width: 520px;
}

.pfp-copy .section-label {
  color: var(--amethyst);
  margin: 0;
}

.pfp-phases {
  position: relative;
  min-height: 320px;
}

.pfp-phase {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pfp-phase.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pfp-phase h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 400;
  line-height: 1.04;
  color: var(--ink);
}

.pfp-phase p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: rgba(23, 18, 14, 0.72);
  max-width: 46ch;
}

.pfp-progress {
  display: flex;
  gap: 10px;
}

.pfp-progress span {
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: rgba(23, 18, 14, 0.18);
  transition: background 480ms var(--ease), width 480ms var(--ease);
}

.pfp-progress span.is-active {
  background: var(--amethyst);
  width: 52px;
}

.pfp-scrollhint {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23, 18, 14, 0.45);
}

/* Mobile / narrow: keep scrub running, but stack image (top) and copy (bottom)
   in a single sticky column. */
@media (max-width: 860px) {
  .pfp-scene {
    /* Shorter scrub on mobile so the section doesn't feel sticky for too long.
       Still long enough to give each phase its own beat. */
    height: 380vh;
  }

  .pfp-stage {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1.05fr) auto;
    gap: clamp(20px, 4vw, 32px);
    padding: clamp(72px, 12vw, 110px) clamp(20px, 6vw, 36px) clamp(24px, 6vw, 48px);
  }

  .pfp-imagery {
    max-height: none;
    min-height: 0;
  }

  .pfp-copy {
    max-width: 100%;
    gap: clamp(16px, 3vw, 24px);
  }

  .pfp-phases {
    min-height: 160px;
  }

  .pfp-phase h2 {
    font-size: clamp(28px, 7vw, 40px);
  }

  .pfp-phase p {
    font-size: clamp(14px, 3.6vw, 16px);
  }

  .pfp-scrollhint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pfp-scene {
    height: auto;
  }
  .pfp-stage {
    position: static;
    height: auto;
  }
  .pfp-canvas {
    display: none;
  }
  .pfp-poster {
    opacity: 1 !important;
  }
  .pfp-phase {
    position: static;
    opacity: 1;
    transform: none;
  }
}

/* ----- Location (brochure page 3) ----- */
.location {
  padding: clamp(96px, 12vw, 170px) clamp(20px, 6vw, 88px);
  display: grid;
  gap: clamp(48px, 7vw, 96px);
}

.location .section-label {
  color: var(--amethyst);
}

.location-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.location-head .section-label {
  grid-column: 1 / -1;
}

.location-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.4vw, 84px);
  font-weight: 400;
  line-height: 1.02;
  margin: 12px 0 0;
}

.location-sub {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 24px);
  margin: 8px 0 0;
}

.location-head > p:last-child {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: rgba(23, 18, 14, 0.72);
  max-width: 46ch;
}

.location-coords {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(23, 18, 14, 0.18);
  border-radius: 16px;
  overflow: hidden;
}

.coord-tile {
  background: rgba(255, 250, 240, 0.85);
  padding: clamp(22px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coord-tile strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 500;
  color: var(--amethyst);
  line-height: 1;
}

.coord-tile .eyebrow {
  color: rgba(23, 18, 14, 0.55);
  margin: 0;
}

.location-travel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.travel-card {
  padding: clamp(24px, 2.8vw, 36px);
  background: rgba(255, 250, 240, 0.7);
  border: 1px solid rgba(23, 18, 14, 0.1);
  border-radius: 18px;
}

.travel-card .eyebrow {
  color: var(--clay);
  margin: 0 0 10px;
}

.travel-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  color: var(--ink);
}

.travel-card p {
  margin: 8px 0 0;
  font-size: 14px;
  color: rgba(23, 18, 14, 0.65);
}

/* ----- Location map ----- */
.location-map-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

.location-map {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.5), rgba(255, 250, 240, 0.2));
  border: 1px solid rgba(23, 18, 14, 0.08);
  box-shadow: 0 18px 40px rgba(7, 19, 14, 0.08);
}

.map-label-sea {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 14px;
  fill: rgba(140, 59, 159, 0.6);
}

.map-label-region {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  fill: rgba(110, 135, 69, 0.95);
}

.map-label-sub {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 11px;
  fill: rgba(110, 135, 69, 0.7);
}

.map-label-state {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  fill: rgba(23, 18, 14, 0.18);
}

.map-city-label {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  fill: var(--ink);
}

.map-city-distance {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: rgba(23, 18, 14, 0.55);
}

.map-poi-num {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  fill: var(--clay);
  transition: fill 280ms var(--ease);
}

/* ----- Map POI pulse + hover sync ----- */
.map-poi {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.poi-halo {
  fill: rgba(184, 101, 60, 0.22);
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}

.poi-dot {
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 280ms var(--ease), stroke 280ms var(--ease), stroke-width 280ms var(--ease);
}

/* Halo only pulses while the POI is hovered or its legend row is hovered/focused
   (JS adds .is-active on the paired side). Pins stay quiet at rest. */
.map-poi.is-active .poi-halo,
.map-poi:hover .poi-halo,
.map-poi:focus-within .poi-halo {
  animation: poi-halo-pulse 1.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes poi-halo-pulse {
  0%   { transform: scale(1);   opacity: 0; }
  20%  { opacity: 0.65; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Active (hovered) state — triggered from JS on either pin or legend item */
.map-poi.is-active,
.map-poi:hover {
  transform: scale(1.12);
}

.map-poi.is-active .poi-dot,
.map-poi:hover .poi-dot {
  fill: var(--clay);
  stroke: var(--amethyst);
  stroke-width: 2.5;
}

.map-poi.is-active .map-poi-num,
.map-poi:hover .map-poi-num {
  fill: var(--paper);
}

/* Legend item paired highlight */
.map-legend li {
  transition: background 260ms var(--ease), border-color 260ms var(--ease), transform 260ms var(--ease);
  cursor: pointer;
}

.map-legend li.is-active,
.map-legend li:hover {
  background: rgba(184, 101, 60, 0.12);
  border-color: rgba(184, 101, 60, 0.35);
  transform: translateX(4px);
}

.legend-pin {
  transition: background 260ms var(--ease), color 260ms var(--ease);
}

.map-legend li.is-active .legend-pin,
.map-legend li:hover .legend-pin {
  background: var(--clay);
  color: var(--paper);
}

/* ----- Map ray flow ----- */
.map-ray {
  stroke: rgba(23, 18, 14, 0.18);
  stroke-width: 1.2;
  stroke-dasharray: 3 4;
  animation: ray-flow 3.2s linear infinite;
}

@keyframes ray-flow {
  to { stroke-dashoffset: -14; }
}

/* ----- City marker pulse ----- */
.map-city-dot {
  fill: #8c3b9f;
  transform-box: fill-box;
  transform-origin: center;
  animation: city-pulse 3.6s ease-in-out infinite;
}

@keyframes city-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.25); }
}

@media (prefers-reduced-motion: reduce) {
  .map-ray,
  .map-city-dot {
    animation: none;
  }
  .map-poi.is-active .poi-halo,
  .map-poi:hover .poi-halo,
  .map-poi:focus-within .poi-halo {
    animation: none;
    opacity: 0.35;
  }
}

.map-hillsong-label {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  fill: var(--amethyst);
  paint-order: stroke fill;
  stroke: #fbf4df;
  stroke-width: 4px;
  stroke-linejoin: round;
}

.map-hillsong-sub {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: rgba(140, 59, 159, 0.8);
  paint-order: stroke fill;
  stroke: #fbf4df;
  stroke-width: 3.5px;
  stroke-linejoin: round;
}

.map-compass {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  fill: var(--clay);
}

.map-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.map-legend li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.65);
  border: 1px solid rgba(23, 18, 14, 0.07);
}

.map-legend strong {
  display: block;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.map-legend small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(23, 18, 14, 0.6);
  letter-spacing: 0.01em;
}

.legend-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--clay);
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  grid-row: span 2;
}

/* ----- Why Sakleshpur ----- */
.location-why {
  display: grid;
  gap: clamp(20px, 2.6vw, 32px);
}

.location-why h3,
.location-nearby h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}

.why-card {
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.65);
  border: 1px solid rgba(23, 18, 14, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.why-card .eyebrow {
  margin: 0;
  color: var(--clay);
}

.why-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1;
  color: var(--amethyst);
}

.why-card p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(23, 18, 14, 0.7);
}

/* ----- Nearby (POIs + resorts) ----- */
.location-nearby {
  display: grid;
  gap: clamp(20px, 2.6vw, 32px);
}

.nearby-lead {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: rgba(23, 18, 14, 0.7);
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}

.nearby-card {
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.8);
  border: 1px solid rgba(23, 18, 14, 0.08);
  border-top: 3px solid var(--clay);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nearby-card--estate {
  border-top-color: var(--amethyst);
  background: linear-gradient(165deg, rgba(140, 59, 159, 0.08), rgba(255, 250, 240, 0.85));
}

.nearby-card .eyebrow {
  margin: 0;
  color: var(--clay);
}

.nearby-card--estate .eyebrow {
  color: var(--amethyst);
}

.nearby-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

.nearby-card p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(23, 18, 14, 0.7);
}

@media (max-width: 920px) {
  .location-map-wrap {
    grid-template-columns: 1fr;
  }

  .why-grid,
  .nearby-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 921px) and (max-width: 1180px) {
  .why-grid,
  .nearby-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ----- Cohorts (brochure page 5) ----- */
.cohorts {
  padding: clamp(96px, 12vw, 170px) clamp(20px, 6vw, 88px);
  display: grid;
  gap: clamp(40px, 5vw, 72px);
}

.cohorts .section-label {
  color: var(--gold);
}

.cohorts-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.cohorts-head .section-label {
  grid-column: 1 / -1;
}

.cohorts-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.4vw, 84px);
  font-weight: 400;
  line-height: 1.02;
  margin: 12px 0 0;
  color: var(--white);
}

.cohorts-head p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: rgba(255, 250, 240, 0.78);
  max-width: 50ch;
}

.cohort-promise {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(30px, 4vw, 52px);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(140, 59, 159, 0.78), rgba(85, 32, 110, 0.78));
  border: 1px solid rgba(255, 207, 105, 0.3);
}

.cohort-promise .eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
}

.cohort-promise > p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.4;
  color: var(--white);
}

.cohort-multiplier {
  text-align: center;
  display: grid;
  gap: 4px;
}

.cohort-multiplier strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 7vw, 110px);
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
}

.cohort-multiplier span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.7);
}

.cohort-tracks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

.cohort-card {
  position: relative;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.05);
  border: 1px solid rgba(255, 250, 240, 0.14);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cohort-card--old {
  border-top: 3px solid var(--clay);
}

.cohort-card--new {
  border-top: 3px solid var(--gold);
}

.cohort-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
}

.cohort-card .eyebrow {
  margin: 0;
  color: rgba(255, 250, 240, 0.7);
}

.cohort-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  color: var(--white);
}

.cohort-price {
  align-self: flex-start;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
  padding: 14px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffd778 0%, #ffcf69 55%, #f0b94c 100%);
  color: var(--ink);
  box-shadow:
    0 14px 30px rgba(255, 207, 105, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.cohort-price::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.45), transparent 60%);
  pointer-events: none;
}

.cohort-price-label {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(23, 18, 14, 0.7);
  position: relative;
  z-index: 1;
}

.cohort-price-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  position: relative;
  z-index: 1;
  /* Tabular numerals keep the chip width stable while the value counts up
     — no horizontal jitter as digits change. */
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Subtle pulse on the whole chip while the number is animating in.
   Triggered by the JS adding .is-counting to the .cohort-price-value;
   the parent chip picks it up via :has() so its glow + lift also fire. */
.cohort-price:has(.cohort-price-value.is-counting) {
  transform: scale(1.04);
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cohort-price:has(.cohort-price-value.is-counted) {
  transform: scale(1);
  animation: cohort-price-glow 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cohort-price-glow {
  0%   { box-shadow: 0 14px 30px rgba(255, 207, 105, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
  40%  { box-shadow: 0 0 0 6px rgba(255, 207, 105, 0.18), 0 26px 48px rgba(255, 207, 105, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
  100% { box-shadow: 0 14px 30px rgba(255, 207, 105, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
}

.cohort-card--new .cohort-price:has(.cohort-price-value.is-counted) {
  animation: cohort-price-glow-amethyst 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cohort-price-glow-amethyst {
  0%   { box-shadow: 0 14px 30px rgba(140, 59, 159, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
  40%  { box-shadow: 0 0 0 6px rgba(140, 59, 159, 0.22), 0 26px 48px rgba(140, 59, 159, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
  100% { box-shadow: 0 14px 30px rgba(140, 59, 159, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
}

@media (prefers-reduced-motion: reduce) {
  .cohort-price:has(.cohort-price-value.is-counting),
  .cohort-price:has(.cohort-price-value.is-counted) {
    transform: none;
    animation: none;
  }
}

.cohort-card--new .cohort-price {
  background: linear-gradient(135deg, #c9a8d9 0%, #b389c6 55%, #8c3b9f 100%);
  color: var(--paper);
  box-shadow:
    0 14px 30px rgba(140, 59, 159, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.cohort-card--new .cohort-price-label {
  color: rgba(255, 250, 240, 0.78);
}

.cohort-card--new .cohort-price-value {
  color: var(--paper);
}

.cohort-card ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cohort-card li {
  position: relative;
  padding-left: 22px;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.5;
  color: rgba(255, 250, 240, 0.88);
}

.cohort-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}

.cohort-best-for {
  margin: 12px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 250, 240, 0.12);
  font-size: 14px;
  color: rgba(255, 250, 240, 0.78);
}

.cohort-best-for strong {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* ----- Acre Anatomy (brochure page 6) ----- */
.anatomy {
  padding: clamp(96px, 12vw, 170px) clamp(20px, 6vw, 88px);
  display: grid;
  gap: clamp(40px, 5vw, 72px);
}

.anatomy .section-label {
  color: var(--amethyst);
}

.anatomy-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.anatomy-head .section-label {
  grid-column: 1 / -1;
}

.anatomy-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.4vw, 84px);
  font-weight: 400;
  line-height: 1.02;
  margin: 12px 0 0;
}

.anatomy-head p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: rgba(23, 18, 14, 0.72);
  max-width: 46ch;
}

.anatomy-canopy {
  padding: clamp(24px, 3vw, 40px);
  border-left: 3px solid var(--leaf);
  background: rgba(166, 189, 103, 0.12);
  border-radius: 14px;
}

.anatomy-canopy .eyebrow {
  margin: 0 0 12px;
  color: var(--moss);
}

.anatomy-canopy p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.5;
  color: rgba(23, 18, 14, 0.86);
}

.anatomy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.anatomy-card {
  padding: clamp(26px, 3vw, 40px);
  background: rgba(255, 250, 240, 0.75);
  border: 1px solid rgba(23, 18, 14, 0.08);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.anatomy-card .eyebrow {
  margin: 0;
  color: var(--amethyst);
}

.anatomy-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}

.anatomy-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(23, 18, 14, 0.65);
}

@media (max-width: 920px) {
  .location-head,
  .cohorts-head,
  .anatomy-head {
    grid-template-columns: 1fr;
  }

  .location-coords {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-travel,
  .cohort-tracks,
  .anatomy-grid {
    grid-template-columns: 1fr;
  }

  .cohort-promise {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.earnings {
  padding: clamp(96px, 12vw, 170px) clamp(20px, 6vw, 88px);
  display: grid;
  gap: clamp(48px, 7vw, 96px);
}

.earnings .section-label {
  color: var(--gold);
}

.earnings-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}

.earnings-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.4vw, 84px);
  font-weight: 400;
  line-height: 1.02;
  margin: 12px 0 0;
  color: var(--white);
}

.earnings-head p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: rgba(255, 250, 240, 0.78);
  max-width: 46ch;
}

.earnings-hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 80px);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(140, 59, 159, 0.96), rgba(85, 32, 110, 0.96));
  text-align: center;
  box-shadow: 0 30px 60px rgba(7, 19, 14, 0.45);
  overflow: hidden;
}

.earnings-hero::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 207, 105, 0.32);
  border-radius: 22px;
  pointer-events: none;
}

.earnings-hero .eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.earnings-hero strong {
  display: block;
  margin: 18px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(80px, 13vw, 200px);
  font-weight: 500;
  line-height: 0.92;
  color: var(--gold);
}

.earnings-hero p {
  margin: 0;
  font-size: clamp(14px, 1.1vw, 17px);
  color: rgba(255, 250, 240, 0.78);
  font-style: italic;
}

.earnings-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.earnings-stat {
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.06);
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-left: 3px solid var(--gold);
  backdrop-filter: blur(4px);
}

.earnings-stat--gross {
  border-left-color: var(--leaf);
}

.earnings-stat .eyebrow {
  color: rgba(255, 250, 240, 0.7);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.earnings-stat strong {
  display: block;
  margin: 12px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 500;
  line-height: 1;
  color: var(--white);
}

.earnings-stat p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 250, 240, 0.62);
  font-style: italic;
}

.earnings-crops h3,
.earnings-journey h3 {
  margin: 0 0 clamp(20px, 3vw, 36px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 400;
  color: var(--white);
}

.earnings-crops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.crop-card {
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.05);
  border: 1px solid rgba(255, 250, 240, 0.12);
  position: relative;
}

.crop-card::before {
  content: "";
  position: absolute;
  top: clamp(28px, 3.4vw, 44px);
  bottom: clamp(28px, 3.4vw, 44px);
  left: 0;
  width: 4px;
  border-radius: 2px;
}

.crop-card--coffee::before {
  background: var(--clay);
}

.crop-card--pepper::before {
  background: var(--leaf);
}

.crop-card .eyebrow {
  color: rgba(255, 250, 240, 0.7);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.crop-card strong {
  display: block;
  margin: 12px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 500;
  line-height: 1;
  color: var(--white);
}

.crop-card p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 250, 240, 0.66);
  font-style: italic;
}

.journey-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: rgba(255, 250, 240, 0.12);
  border-radius: 18px;
  overflow: hidden;
}

.journey-list li {
  display: grid;
  grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(20px, 2.6vw, 32px) clamp(22px, 3vw, 40px);
  background: rgba(7, 19, 14, 0.55);
}

.journey-year {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.journey-list p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: rgba(255, 250, 240, 0.86);
}

@media (max-width: 920px) {
  .earnings-head,
  .earnings-totals,
  .earnings-crops-grid {
    grid-template-columns: 1fr;
  }

  .journey-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.projection {
  padding: clamp(86px, 11vw, 154px) clamp(20px, 6vw, 88px);
  background:
    linear-gradient(180deg, rgba(251, 244, 223, 0.92), rgba(247, 241, 222, 0.98)),
    radial-gradient(circle at 86% 24%, rgba(166, 189, 103, 0.22), transparent 34%);
}

.projection .section-label {
  color: var(--amethyst);
}

.projection-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 68px);
}

.table-shell {
  overflow-x: auto;
  border: 1px solid rgba(23, 18, 14, 0.18);
  background: #fdfcf6;
  box-shadow: 0 28px 80px rgba(23, 18, 14, 0.08);
}

.projection-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
}

.projection-table thead,
.projection-table tfoot {
  background: #080806;
  color: var(--gold);
}

.projection-table th,
.projection-table td {
  padding: 26px 18px;
  border-bottom: 1px solid rgba(23, 18, 14, 0.11);
  text-align: right;
  white-space: nowrap;
  font-size: clamp(16px, 1.32vw, 22px);
  font-weight: 800;
}

.projection-table th:first-child,
.projection-table td:first-child {
  text-align: left;
}

.projection-table thead th {
  padding-block: 22px;
  color: #bc8f31;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.projection-table tbody th {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
}

.projection-table tbody td {
  color: rgba(23, 18, 14, 0.62);
}

.projection-table tbody tr:nth-child(even) {
  background: rgba(23, 18, 14, 0.025);
}

.projection-table .positive {
  color: #3c5528;
}

.projection-table .negative {
  color: #c83d37;
}

.projection-table tfoot th,
.projection-table tfoot td {
  border-bottom: 0;
  color: var(--gold);
}

.projection-table tfoot th {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
}

.estate-window {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 6vw, 88px);
}

.window-media {
  height: min(74svh, 780px);
  overflow: hidden;
  border-radius: 0 110px 0 0;
}

.window-media img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  transform: translateY(calc(var(--parallax, 0) * -36px));
}

.window-copy p {
  color: rgba(255, 250, 240, 0.74);
  margin-top: 26px;
}

.projects {
  padding: clamp(86px, 11vw, 154px) 0;
}

.projects .section-label,
.projects-header {
  padding-inline: clamp(20px, 6vw, 88px);
}

.projects-header {
  max-width: 1180px;
  margin-bottom: 42px;
}

.projects-header p {
  max-width: 620px;
  margin-top: 22px;
}

.project-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(320px, 1fr));
  gap: 1px;
  padding-inline: clamp(20px, 6vw, 88px);
}

.project-card {
  display: grid;
  grid-template-rows: 420px 1fr;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  transition: transform 700ms var(--ease);
}

.project-card:hover img {
  transform: scale(1.045);
}

.project-card div {
  padding: 28px;
}

.process {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 120px clamp(20px, 6vw, 88px);
  overflow: hidden;
}

.process-bg,
.process-bg::after,
.process-bg img {
  position: absolute;
  inset: 0;
}

.process-bg {
  z-index: 0;
}

.process-bg::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 19, 14, 0.96), rgba(7, 19, 14, 0.42)),
    linear-gradient(0deg, rgba(7, 19, 14, 0.82), transparent);
}

.process-bg img {
  width: 100%;
  height: 112%;
  object-fit: cover;
}

.process-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 64px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.16);
}

.process-list article {
  min-height: 220px;
  padding: 28px;
  background: rgba(7, 19, 14, 0.58);
  backdrop-filter: blur(18px);
}

.process-list p {
  margin-top: 58px;
}

.products {
  padding: clamp(86px, 11vw, 154px) clamp(20px, 6vw, 88px);
  display: grid;
  gap: clamp(40px, 6vw, 72px);
}

.products .section-label {
  color: var(--amethyst);
}

.products-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}

.products-head .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.products-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.4vw, 84px);
  font-weight: 400;
  line-height: 1.02;
  margin: 12px 0 0;
}

.products-head p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: rgba(23, 18, 14, 0.72);
  max-width: 46ch;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(20px, 2vw, 32px);
  perspective: 1400px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 22px;
  border-radius: 22px;
  background: linear-gradient(160deg, #0c0e10 0%, #1a1d22 100%);
  border: 1px solid rgba(255, 250, 240, 0.06);
  box-shadow:
    0 14px 40px rgba(7, 19, 14, 0.28),
    0 2px 6px rgba(7, 19, 14, 0.18);
  transform-style: preserve-3d;
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 0%), rgba(255, 250, 240, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 360ms var(--ease);
  pointer-events: none;
  z-index: 1;
}

.product-card:hover {
  box-shadow:
    0 28px 60px rgba(7, 19, 14, 0.42),
    0 6px 14px rgba(7, 19, 14, 0.25);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card--coffee {
  background: linear-gradient(160deg, #1a0f0a 0%, #2a1610 100%);
}

.product-card--tea {
  background: linear-gradient(160deg, #1d1209 0%, #2c1d0d 100%);
}

.product-card--spice {
  background: linear-gradient(160deg, #1a0a1a 0%, #2c1230 100%);
}

.product-card--dairy {
  background: linear-gradient(160deg, #0f1808 0%, #1a2814 100%);
}

.product-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 12px;
  transform-style: preserve-3d;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55));
  transform: translateZ(40px);
  transition: transform 360ms var(--ease), filter 360ms var(--ease);
  will-change: transform;
}

.product-card:hover .product-image {
  filter: drop-shadow(0 26px 32px rgba(0, 0, 0, 0.65));
}

.product-info {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 250, 240, 0.08);
}

.product-card h3 {
  margin: 0 0 6px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--white);
}

.product-card p {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-image {
    transition: none !important;
    transform: none !important;
  }
}

.products-cta {
  display: flex;
  justify-content: center;
}

@media (max-width: 720px) {
  .products-head {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gallery {
  padding: clamp(86px, 11vw, 154px) clamp(20px, 6vw, 88px);
}

.gallery-top {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.42fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
  margin-bottom: 44px;
}

.gallery-top .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.gallery-grid .wide {
  grid-column: span 2;
}

.gallery-grid .tall {
  grid-row: span 2;
}

.contact {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: clamp(36px, 7vw, 120px);
  align-items: center;
  padding: 124px clamp(20px, 6vw, 88px);
}

.contact-copy p {
  max-width: 620px;
  margin-top: 28px;
  color: rgba(255, 250, 240, 0.72);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-links a {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-weight: 800;
}

.inquiry-card {
  display: grid;
  gap: 18px;
  padding: 26px;
  background: rgba(255, 250, 240, 0.94);
  color: var(--ink);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
}

.inquiry-card label {
  display: grid;
  gap: 8px;
  color: rgba(23, 18, 14, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.inquiry-card input,
.inquiry-card textarea,
.inquiry-card select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(23, 18, 14, 0.24);
  border-radius: 0;
  padding: 12px 0;
  background: transparent;
  color: var(--ink);
  outline: none;
  text-transform: none;
  letter-spacing: 0;
}

.inquiry-card textarea {
  min-height: 110px;
  resize: vertical;
}

.inquiry-status {
  margin: 14px 0 0;
  min-height: 1em;
  padding: 0;
  font-size: 14px;
  line-height: 1.45;
  color: transparent;
  transition: color 220ms var(--ease);
}

.inquiry-status:not(:empty) {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 250, 240, 0.06);
  border: 1px solid rgba(255, 250, 240, 0.14);
}

.inquiry-status[data-tone="pending"] {
  color: rgba(23, 18, 14, 0.62);
}

.inquiry-status[data-tone="success"] {
  color: #14532d;
  background: rgba(166, 189, 103, 0.22);
  border-color: rgba(110, 135, 69, 0.35);
}

.inquiry-status[data-tone="error"] {
  color: #7a1f1f;
  background: rgba(184, 101, 60, 0.18);
  border-color: rgba(184, 101, 60, 0.4);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 6vw, 88px);
  background: var(--ink);
  color: rgba(255, 250, 240, 0.72);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .intro-grid,
  .metrics-heading,
  .projection-head,
  .estate-window,
  .gallery-top,
  .contact {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projection-table,
  .projection-table thead,
  .projection-table tbody,
  .projection-table tfoot,
  .projection-table tr,
  .projection-table th,
  .projection-table td {
    display: block;
  }

  .projection-table {
    min-width: 0;
    border-collapse: separate;
  }

  .projection-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .projection-table tbody {
    display: grid;
    gap: 12px;
    padding: 12px;
  }

  .projection-table tbody tr {
    border: 1px solid rgba(23, 18, 14, 0.12);
    background: #fffdf4;
  }

  .projection-table tbody th {
    padding: 18px 18px 10px;
    border-bottom: 0;
    text-align: left;
    font-size: 18px;
  }

  .projection-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(23, 18, 14, 0.08);
    text-align: right;
    white-space: normal;
    font-size: 17px;
  }

  .projection-table tbody td::before {
    content: attr(data-label);
    color: rgba(23, 18, 14, 0.5);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-align: left;
    text-transform: uppercase;
  }

  .projection-table tfoot tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #080806;
  }

  .projection-table tfoot th,
  .projection-table tfoot td {
    padding: 18px;
    text-align: left;
    font-size: 17px;
    white-space: normal;
  }

  .project-track {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-template-rows: min(58vw, 460px) 1fr;
  }
}

/* ----- Dynamic Island TOC (replaces top nav) ----- */
.desktop-nav,
.menu-toggle {
  display: none !important;
}

.toc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 14, 0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.toc-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.toc-island {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  --pill-w: 300px;
  --pill-h: 52px;
  --pill-r: 26px;
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hero-gate: hidden while the Hillsong scroll-pinned hero is still in play */
.toc-island.is-hero-pinned {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 24px);
}

.toc-pill {
  position: relative;
  width: var(--pill-w);
  height: var(--pill-h);
  border-radius: var(--pill-r);
  background: #131216;
  color: #fbf4df;
  border: 1px solid rgba(255, 250, 240, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transition:
    width 500ms cubic-bezier(0.22, 1, 0.36, 1),
    height 500ms cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.toc-island[data-state="open"] {
  --pill-w: min(360px, calc(100vw - 36px));
  --pill-h: min(420px, calc(100vh - 100px));
  --pill-r: 24px;
}

.toc-island[data-state="open"] .toc-pill {
  cursor: default;
}

.toc-pill-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  transition: opacity 380ms ease, filter 380ms ease;
  transition-delay: 80ms;
}

.toc-island[data-state="open"] .toc-pill-content {
  opacity: 0;
  filter: blur(4px);
  pointer-events: none;
  transition-delay: 0ms;
}

.toc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbf4df;
  flex-shrink: 0;
}

.toc-active-label {
  flex: 1;
  min-width: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  transition: opacity 250ms ease;
}

.toc-active-label.is-fading {
  opacity: 0;
}

.toc-progress {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transform: rotate(-90deg);
}

.toc-progress-bg {
  fill: none;
  stroke: rgba(255, 250, 240, 0.22);
  stroke-width: 2.5;
}

.toc-progress-fg {
  fill: none;
  stroke: #fbf4df;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 180ms ease-out;
}

.toc-menu {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.toc-island[data-state="open"] .toc-menu {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  transition-delay: 110ms;
}

.toc-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 10px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.55);
}

.toc-close {
  background: transparent;
  border: none;
  color: rgba(255, 250, 240, 0.55);
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: color 200ms ease, background 200ms ease;
}

.toc-close:hover {
  color: #fbf4df;
  background: rgba(255, 250, 240, 0.08);
}

.toc-list {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 250, 240, 0.18) transparent;
}

.toc-list::-webkit-scrollbar {
  width: 4px;
}

.toc-list::-webkit-scrollbar-thumb {
  background: rgba(255, 250, 240, 0.18);
  border-radius: 4px;
}

.toc-item {
  display: flex;
  align-items: center;
  width: 100%;
  border: none;
  background: transparent;
  color: rgba(255, 250, 240, 0.5);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
  padding: 8px 12px;
  padding-left: var(--toc-indent, 12px);
  border-radius: 9px;
  transition: background 280ms ease, color 280ms ease;
}

.toc-item:hover {
  background: rgba(255, 250, 240, 0.06);
  color: rgba(255, 250, 240, 0.88);
}

.toc-item.is-active {
  background: rgba(255, 250, 240, 0.11);
  color: #fbf4df;
  font-weight: 600;
}

.toc-item-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: transform 260ms ease;
}

.toc-item:hover .toc-item-text {
  transform: translateX(3px);
}

.toc-item-marker {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fbf4df;
  margin-left: 10px;
  opacity: 0;
  transform: scale(0);
  transition: opacity 280ms ease, transform 280ms ease;
}

.toc-item.is-active .toc-item-marker {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 540px) {
  .toc-island {
    --pill-w: min(320px, calc(100vw - 32px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .toc-pill,
  .toc-pill-content,
  .toc-menu,
  .toc-item,
  .toc-item-text,
  .toc-progress-fg,
  .toc-backdrop {
    transition: none !important;
  }
}

.whatsapp-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 32px rgba(7, 19, 14, 0.45), 0 2px 6px rgba(7, 19, 14, 0.3);
  text-decoration: none;
  z-index: 9999;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background-color 220ms var(--ease);
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  background: #1ebe5d;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 40px rgba(7, 19, 14, 0.5), 0 4px 10px rgba(7, 19, 14, 0.32);
  outline: none;
}

.whatsapp-fab:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 207, 105, 0.65), 0 14px 32px rgba(7, 19, 14, 0.45);
}

.whatsapp-fab svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 720px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand {
    font-size: clamp(16px, 4.4vw, 22px);
    gap: 12px;
  }

  .brand img {
    width: clamp(48px, 12vw, 60px);
    height: clamp(48px, 12vw, 60px);
  }

  .hero {
    padding: 110px 18px 32px;
  }

  .hero-caption {
    position: static;
    justify-content: space-between;
    margin-top: 20px;
  }

  .hero-copy {
    margin-bottom: 28px;
  }

  .story-stage {
    align-items: start;
    padding: 104px 18px 44px;
  }

  .story-chapters {
    inset-inline: 18px;
    width: auto;
  }

  .metric-grid,
  .process-list,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 260px;
  }

  .gallery-grid .wide,
  .gallery-grid .tall {
    grid-column: auto;
    grid-row: auto;
  }

  .intro-band,
  .metrics,
  .projection,
  .estate-window,
  .projects,
  .process,
  .gallery,
  .contact {
    padding-inline: 18px;
  }

  .projects .section-label,
  .projects-header,
  .project-track {
    padding-inline: 0;
  }

  .window-media {
    height: 58svh;
    border-radius: 0 64px 0 0;
  }

  .site-footer {
    flex-direction: column;
  }

  /* Stack WhatsApp FAB above the dynamic-island TOC pill on phones.
     Pill bottom: 28px + pill-h 52px → top ~80px; park FAB at 100px. */
  .whatsapp-fab {
    right: 18px;
    bottom: 100px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-fab svg {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =====================================================================
   Header back pill — sits on the right side of the floating header on
   sub-pages (e.g. technology.html), mirroring where the dropdown menu
   lives on the home page.
   ===================================================================== */

.header-back-link {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 420ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms var(--ease),
    color 220ms var(--ease),
    border-color 220ms var(--ease),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms var(--ease);
}

/* Hide the Back pill while the visitor is on the photo hero — it eases
   in once they've scrolled into the intro band, matching how the Menu
   dropdown behaves on the homepage. */
.site-header[data-scroll-zone="hero"] .header-back-link {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.header-back-link:hover,
.header-back-link:focus-visible {
  background: currentColor;
  transform: translateY(-50%) translateY(-1px);
  box-shadow: 0 10px 22px rgba(23, 18, 14, 0.22);
  outline: none;
}

.header-back-link:hover .header-back-arrow,
.header-back-link:hover .header-back-label,
.header-back-link:focus-visible .header-back-arrow,
.header-back-link:focus-visible .header-back-label {
  color: var(--paper);
}

.header-back-arrow {
  width: 16px;
  height: 16px;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.header-back-link:hover .header-back-arrow {
  transform: translateX(-3px);
}

@media (max-width: 720px) {
  .header-back-link {
    right: 14px;
    padding: 8px 14px 8px 12px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .header-back-arrow {
    width: 14px;
    height: 14px;
  }
}

/* =====================================================================
   Header dropdown — "Menu" button on the right of the floating header
   opens a small panel anchored under it with the Technology Innovation
   destination (and room for future items).
   ===================================================================== */

.header-menu {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hide the dropdown trigger while the visitor is on the hero — it
   only appears once they've scrolled into the Overview section and
   onward, so it doesn't compete with the big centered logo. */
.site-header[data-scroll-zone="hero"] .header-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.header-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 18px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 1;
  transition:
    background 220ms var(--ease),
    color 220ms var(--ease),
    border-color 220ms var(--ease),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms var(--ease);
}

.header-menu-toggle:hover,
.header-menu[data-state="open"] .header-menu-toggle {
  background: currentColor;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(23, 18, 14, 0.2);
}

.header-menu-toggle:hover .header-menu-toggle-label,
.header-menu-toggle:hover .header-menu-caret,
.header-menu[data-state="open"] .header-menu-toggle-label,
.header-menu[data-state="open"] .header-menu-caret {
  color: var(--paper);
}

body[data-theme="light"] .header-menu-toggle:hover .header-menu-toggle-label,
body[data-theme="light"] .header-menu-toggle:hover .header-menu-caret,
body[data-theme="light"] .header-menu[data-state="open"] .header-menu-toggle-label,
body[data-theme="light"] .header-menu[data-state="open"] .header-menu-caret {
  color: var(--paper);
}

.header-menu-caret {
  width: 14px;
  height: 14px;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.header-menu[data-state="open"] .header-menu-caret {
  transform: rotate(180deg);
}

/* ----- Dropdown panel ----- */

.header-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 320px;
  padding: 10px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid rgba(23, 18, 14, 0.1);
  box-shadow:
    0 22px 48px rgba(23, 18, 14, 0.22),
    0 6px 14px rgba(23, 18, 14, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 240ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 240ms;
  pointer-events: none;
}

.header-menu[data-state="open"] .header-menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ----- Dropdown items ----- */

.header-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}

.header-menu-item:hover,
.header-menu-item:focus-visible {
  background: rgba(23, 18, 14, 0.05);
  outline: none;
}

.header-menu-item--feature:hover,
.header-menu-item--feature:focus-visible {
  background: linear-gradient(120deg, rgba(140, 59, 159, 0.08) 0%, rgba(184, 101, 60, 0.08) 100%);
}

.header-menu-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.header-menu-text {
  display: grid;
  gap: 2px;
  flex: 1 1 auto;
}

.header-menu-title {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.header-menu-sub {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(23, 18, 14, 0.6);
}

.header-menu-arrow {
  width: 18px;
  height: 18px;
  color: var(--amethyst);
  flex-shrink: 0;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.header-menu-item:hover .header-menu-arrow,
.header-menu-item:focus-visible .header-menu-arrow {
  transform: translateX(4px);
}

/* ----- Mobile tweaks ----- */

@media (max-width: 720px) {
  .header-menu {
    right: 14px;
  }

  .header-menu-toggle {
    padding: 8px 12px 8px 14px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .header-menu-panel {
    min-width: min(300px, calc(100vw - 28px));
  }
}

/* =====================================================================
   Technology page (technology.html) — Bio-Digital Regeneration
   Four scroll-pinned scenes with mouse-tracked 3D parallax
   ===================================================================== */

body[data-page="technology"] {
  background: var(--paper);
  color: var(--ink);
}

/* ----- Image hero (photo cover, no overlay text) ----- */

.tech-image-hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: #0a0d0a;
}

.tech-image-hero-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.tech-image-hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* ----- Intro band below the hero ----- */

.tech-intro-band {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) clamp(24px, 6vw, 96px) clamp(48px, 6vw, 72px);
  display: grid;
  gap: clamp(18px, 2vw, 28px);
  text-align: left;
}

.tech-intro-folio {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.tech-intro-folio .tech-folio-left { color: var(--amethyst); }
.tech-intro-folio .tech-folio-right { color: rgba(23, 18, 14, 0.7); }

.tech-rule {
  border: 0;
  height: 1px;
  background: rgba(23, 18, 14, 0.16);
  margin: 0;
}

.tech-intro-subtitle {
  margin: clamp(12px, 1.6vw, 22px) 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1.16;
  color: var(--clay);
}

.tech-intro-copy {
  margin: 0;
  max-width: 64ch;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  color: rgba(23, 18, 14, 0.86);
}

.tech-intro-copy strong {
  color: var(--amethyst);
  font-weight: 800;
}

.tech-scroll-hint {
  margin: clamp(20px, 3vw, 36px) 0 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(23, 18, 14, 0.55);
}

@media (max-width: 720px) {
  .tech-intro-folio {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ----- Pillar scenes (4x) ----- */

.tech-scene {
  position: relative;
  padding: clamp(80px, 10vw, 140px) clamp(24px, 6vw, 88px);
  overflow: hidden;
}

.tech-scene--01 { background: linear-gradient(180deg, #fbf4df 0%, #f7eed1 100%); }
.tech-scene--02 { background: linear-gradient(180deg, #f4ead3 0%, #ead8a7 100%); }
.tech-scene--03 { background: linear-gradient(180deg, #eef3df 0%, #dde7c5 100%); }
.tech-scene--04 { background: linear-gradient(180deg, #f2e7e3 0%, #e8d5cb 100%); }

.tech-scene-stage {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.tech-scene--02 .tech-scene-stage,
.tech-scene--04 .tech-scene-stage {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.05fr);
}

.tech-scene--02 .tech-scene-visual,
.tech-scene--04 .tech-scene-visual {
  order: 2;
}

.tech-scene--02 .tech-scene-copy,
.tech-scene--04 .tech-scene-copy {
  order: 1;
}

/* ----- Parallax visual stage ----- */

.tech-scene-visual {
  position: relative;
  perspective: 900px;
  transform-style: preserve-3d;
  --px: 0;
  --py: 0;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  filter: drop-shadow(0 30px 60px rgba(23, 18, 14, 0.18));
}

.tech-scene-visual svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotateX(calc(var(--py) * -14deg)) rotateY(calc(var(--px) * 14deg))
    translateZ(calc(var(--px) * var(--px) * -20px));
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Per-layer drift is applied ONLY to non-SVG children of the visual
   stage (e.g. the floating nutrient chips). SVG inner <g> elements
   already have their own transform="translate(...)" attribute and
   shouldn't be moved with CSS — instead they ride along with the
   parent SVG's 3D perspective tilt above. */
.tech-scene-visual > [data-parallax-depth] {
  transform: translate3d(
    calc(var(--px) * var(--depth, 0.5) * 38px),
    calc(var(--py) * var(--depth, 0.5) * 38px),
    0
  );
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* ----- Scene copy ----- */

.tech-scene-copy {
  display: grid;
  gap: clamp(12px, 1.4vw, 20px);
  position: relative;
  z-index: 2;
}

.tech-scene-num {
  font-family: "Diazo MVB Condensed", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(72px, 10vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: rgba(140, 59, 159, 0.18);
  margin-bottom: -0.2em;
}

.tech-eyebrow {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amethyst);
}

.tech-scene-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.tech-lede {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.45;
  color: var(--clay);
}

.tech-scene-copy p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
  color: rgba(23, 18, 14, 0.85);
}

.tech-scene-copy p strong {
  color: var(--ink);
  font-weight: 800;
}

/* ----- Stat rows ----- */

.tech-stat-row {
  margin: clamp(16px, 2vw, 24px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid rgba(23, 18, 14, 0.16);
}

.tech-stat-row > div {
  display: grid;
  gap: 4px;
}

.tech-stat-row dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23, 18, 14, 0.6);
}

.tech-stat-row dd {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  color: var(--amethyst);
}

.tech-tag-list {
  margin: clamp(16px, 2vw, 24px) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag-list li {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(140, 59, 159, 0.1);
  color: var(--amethyst);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border: 1px solid rgba(140, 59, 159, 0.22);
}

/* ----- Floating nutrient chips (scene 01) ----- */

.nutrient-chip {
  position: absolute;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: radial-gradient(circle at 30% 28%, #fff5d1 0%, #ffcf69 45%, #d99a3d 100%);
  box-shadow:
    0 22px 38px rgba(217, 154, 61, 0.42),
    0 4px 10px rgba(23, 18, 14, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -3px 6px rgba(140, 80, 20, 0.18);
  z-index: 3;
  transform: translate3d(
    calc(var(--px) * 70px * var(--depth, 0.5)),
    calc(var(--py) * 70px * var(--depth, 0.5)),
    calc(var(--depth, 0.5) * 60px)
  );
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nutrient-chip--p {
  background: radial-gradient(circle at 30% 28%, #ffe4af 0%, #f5b042 45%, #b8762a 100%);
  box-shadow:
    0 22px 38px rgba(184, 118, 42, 0.42),
    0 4px 10px rgba(23, 18, 14, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -3px 6px rgba(120, 65, 18, 0.22);
}
.nutrient-chip--k {
  background: radial-gradient(circle at 30% 28%, #f5b88a 0%, #d98a2b 45%, #7a4a14 100%);
  color: var(--paper);
  box-shadow:
    0 22px 38px rgba(122, 74, 20, 0.5),
    0 4px 10px rgba(23, 18, 14, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -3px 6px rgba(60, 30, 8, 0.28);
}

/* ----- SVG label classes ----- */

.loop-node-label,
.loop-node-sub {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
}
.loop-node-label { font-size: 12px; fill: var(--clay); letter-spacing: 0.08em; text-transform: uppercase; }
.loop-node-sub { font-size: 9px; fill: rgba(23,18,14,0.6); letter-spacing: 0.1em; text-transform: uppercase; }

.loop-ring { animation: loop-spin 32s linear infinite; transform-origin: 240px 240px; }
@keyframes loop-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.microbe-label {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  fill: var(--paper);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.dial-num {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 800;
  fill: rgba(23, 18, 14, 0.6);
}
.dial-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  fill: var(--amethyst);
}
.brix-needle {
  transform-origin: 0 0;
  animation: needle-tick 4s ease-in-out infinite;
}
@keyframes needle-tick {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}

.leaf-label {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  fill: var(--ink);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-band {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 9px;
  font-weight: 800;
  fill: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.phone-msg {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 8px;
  font-weight: 700;
  fill: rgba(255, 250, 240, 0.9);
}
.map-compass-small {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 9px;
  font-weight: 800;
  fill: rgba(23, 18, 14, 0.7);
}

/* ----- Closing CTA ----- */

.tech-cta {
  padding: clamp(80px, 10vw, 140px) clamp(24px, 6vw, 96px);
  text-align: center;
  display: grid;
  gap: clamp(20px, 2.4vw, 32px);
  background:
    radial-gradient(ellipse at top, rgba(255, 207, 105, 0.18), transparent 60%),
    linear-gradient(135deg, #2a1b32 0%, #3a1f44 50%, #5a2a6c 100%);
  color: var(--paper);
}

.tech-cta h2 {
  margin: 0 auto;
  max-width: 22ch;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
  color: var(--paper);
}

.tech-cta p {
  margin: 0 auto;
  max-width: 56ch;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
  color: rgba(255, 250, 240, 0.86);
}

.tech-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(8px, 1vw, 16px);
}

.tech-back {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 220ms var(--ease);
}

.tech-back:hover { color: var(--paper); }

/* ----- Mobile tweaks ----- */

@media (max-width: 820px) {
  .tech-scene-stage,
  .tech-scene--02 .tech-scene-stage,
  .tech-scene--04 .tech-scene-stage {
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 56px);
  }

  .tech-scene--02 .tech-scene-visual,
  .tech-scene--04 .tech-scene-visual {
    order: 1;
  }

  .tech-scene--02 .tech-scene-copy,
  .tech-scene--04 .tech-scene-copy {
    order: 2;
  }

  .tech-scene-num {
    font-size: clamp(64px, 18vw, 96px);
  }

  .tech-intro-folio {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .tech-stat-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loop-ring,
  .brix-needle {
    animation: none;
  }
  .tech-scene-visual svg,
  .tech-scene-visual [data-parallax-depth],
  .nutrient-chip {
    transition: none;
    transform: none;
  }
}

/* =====================================================================
   HILLSONG RESERVE — Private Coffee Estate Villas (hillsong-reserve.html)
   Scroll-pinned video hero + estate-retreat sections
   ----- Luxury palette + typography overrides scoped to the page ------- */

body[data-page="hillsong-reserve"] {
  background: #15110b;
  color: #f3e9d2;
  /* page-local design tokens — quieter, warmer, more "estate retreat" */
  --hsr-night: #15110b;        /* warm walnut black */
  --hsr-walnut: #211a11;       /* deep walnut */
  --hsr-stone: #f6efde;        /* warm cream */
  --hsr-paper: #faf4e6;        /* lightest paper */
  --hsr-champagne: #c9a45b;    /* refined muted gold */
  --hsr-champagne-soft: rgba(201, 164, 91, 0.18);
  --hsr-ink: #1a140c;          /* very dark warm ink */
  --hsr-mute-dark: rgba(243, 233, 210, 0.7);
  --hsr-mute-light: rgba(26, 20, 12, 0.7);
}

/* Display serif for HSR — refined, lighter weight, narrower */
body[data-page="hillsong-reserve"] h1,
body[data-page="hillsong-reserve"] h2,
body[data-page="hillsong-reserve"] h3,
body[data-page="hillsong-reserve"] .hsr-hero-title,
body[data-page="hillsong-reserve"] .hsr-section-title,
body[data-page="hillsong-reserve"] .hsr-cta-title {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

/* HSR header — transparent over the hero, eases into a quiet warm
   backdrop once the visitor scrolls past. Matches the pattern on
   index.html and technology.html. */
body[data-page="hillsong-reserve"] .site-header {
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition:
    background 480ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 480ms cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-page="hillsong-reserve"] .site-header[data-scroll-zone="past-hero"] {
  background: rgba(21, 17, 11, 0.72);
  border-bottom-color: rgba(201, 164, 91, 0.15);
  backdrop-filter: blur(14px);
}

/* Section tone overrides — warm walnut + warm cream instead of cool green-black + paper */
body[data-page="hillsong-reserve"] .section-tone-dark {
  background: linear-gradient(180deg, var(--hsr-night) 0%, var(--hsr-walnut) 100%);
  color: var(--hsr-paper);
}

body[data-page="hillsong-reserve"] .section-tone-light {
  background: linear-gradient(180deg, var(--hsr-paper) 0%, var(--hsr-stone) 100%);
  color: var(--hsr-ink);
}

/* ----- 1 · HERO scroll scrub (slowed down for cinematic feel) ----- */

.hsr-hero {
  position: relative;
  height: 800vh; /* slowed scrub aggressively — 8× viewport-height of
                     scroll for the 15-second cinematic. Feels closer to
                     a video that "responds to" your scroll rather than
                     races through. */
  background: #050402;
}

.hsr-hero-track { height: 100%; }

.hsr-hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: grid;
  place-items: stretch;
  overflow: hidden;
  isolation: isolate;
}

.hsr-hero-imagery {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hsr-hero-canvas,
.hsr-hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hsr-hero-canvas {
  pointer-events: none;
  display: block;
}

.hsr-hero-poster {
  opacity: 1;
  transition: opacity 320ms ease;
}

.hsr-hero-imagery.is-ready .hsr-hero-poster {
  opacity: 0;
  pointer-events: none;
}

/* Soft bottom-up vignette so overlay text is legible on bright video frames */
.hsr-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(21, 17, 11, 0.55) 0%, rgba(21, 17, 11, 0) 32%, rgba(21, 17, 11, 0) 50%, rgba(21, 17, 11, 0.82) 100%);
}

.hsr-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px; /* widened so the title fits on one line at laptop widths */
  margin: 0 auto;
  /* Tightened from the prior 14vw/7vw — the original padding was sized for a
   * sparser hero; now that the full stack (subtitle → location → copy → price
   * → CTAs → fineprint) reveals together, we need to keep the whole thing
   * within 100vh on a typical laptop (~900vh). */
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 56px) clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  color: var(--hsr-paper);
}

.hsr-eyebrow {
  margin: 0 0 clamp(18px, 2.2vw, 28px);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--hsr-champagne);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hsr-hero-logo {
  width: clamp(220px, 26vw, 380px);
  height: auto;
  margin: 0 0 clamp(20px, 2.4vw, 30px);
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.55));
}

.hsr-hero-title {
  /* --p drives the title's scrub-linked transform.
   *  --p = 0 → small (≈0.36×) and translated up to sit near the top of the hero
   *  --p = 1 → original size, in its natural flow position
   * JS (setupHsrHeroReveal) updates --p on every scroll tick, mapped 0..1
   * across the first 75% of the hero pin (so the title hits full size at the
   * same moment the rest of the content reveals). */
  --p: 1;
  margin: 0 0 clamp(12px, 1.4vw, 20px);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 300;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.012em;
  color: #fff;
  text-shadow:
    0 6px 32px rgba(0, 0, 0, 0.55),
    0 2px 4px rgba(0, 0, 0, 0.6);
  /* Keep the wordmark on a single line at laptop widths and above. On phones
   * (≤640px) it falls back to natural wrapping in the @media block below. */
  white-space: nowrap;
  transform-origin: 50% 50%;
  /* The lift amount is clamped (not pure vh) so the small title at progress 0
   * lands safely below the site header (which is ~95-110px tall on laptops/
   * desktops). min 36px keeps it visibly raised on short screens; max 56px
   * keeps the title's top edge below the header bottom on tall monitors. */
  transform:
    translateY(calc((var(--p) - 1) * clamp(36px, 5vh, 56px)))
    scale(calc(0.42 + 0.58 * var(--p)));
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media (max-width: 640px) {
  .hsr-hero-title { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .hsr-hero-title {
    --p: 1;
    transform: none;
    transition: none;
  }
}

.hsr-hero-subtitle {
  margin: 0 0 clamp(14px, 1.6vw, 22px);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 400;
  color: var(--hsr-champagne);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hsr-hero-location {
  margin: 0 0 clamp(26px, 3vw, 40px);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(243, 233, 210, 0.78);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

/* Thin metallic divider under the location */
.hsr-hero-location::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  margin: clamp(18px, 2vw, 26px) auto 0;
  background: var(--hsr-champagne);
  opacity: 0.7;
}

.hsr-hero-copy {
  margin: 0 auto clamp(20px, 2.4vw, 32px);
  max-width: 56ch;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(243, 233, 210, 0.92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* ----- Gate subtitle / location / copy / CTAs / fineprint --------------
 * Only the title remains visible from the start (it has its own scrub-
 * driven scale + position interpolation). Everything else fades in only
 * at the end of the hero scroll, and fades back out when the user scrolls
 * up — bidirectional so the cinematic reveal stays in sync with the
 * video-scrub state. Reduced-motion users see everything immediately
 * (JS adds .is-content-revealed on mount in that case). */
.hsr-hero-subtitle,
.hsr-hero-location,
.hsr-hero-copy,
.hsr-hero-actions,
.hsr-hero-fineprint {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.hsr-hero.is-content-revealed .hsr-hero-subtitle,
.hsr-hero.is-content-revealed .hsr-hero-location,
.hsr-hero.is-content-revealed .hsr-hero-copy,
.hsr-hero.is-content-revealed .hsr-hero-actions,
.hsr-hero.is-content-revealed .hsr-hero-fineprint {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Staggered reveal — feels orchestrated, not bulk-flashed. Same delays
 * also apply on the way out, so the un-reveal cascades top-to-bottom. */
.hsr-hero.is-content-revealed .hsr-hero-subtitle  { transition-delay: 0ms; }
.hsr-hero.is-content-revealed .hsr-hero-location  { transition-delay: 140ms; }
.hsr-hero.is-content-revealed .hsr-hero-copy      { transition-delay: 280ms; }
.hsr-hero.is-content-revealed .hsr-hero-price     { transition-delay: 420ms; }
.hsr-hero.is-content-revealed .hsr-hero-actions   { transition-delay: 560ms; }
.hsr-hero.is-content-revealed .hsr-hero-fineprint { transition-delay: 700ms; }

@media (prefers-reduced-motion: reduce) {
  .hsr-hero-subtitle,
  .hsr-hero-location,
  .hsr-hero-copy,
  .hsr-hero-actions,
  .hsr-hero-fineprint {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }
}

/* ----- Scroll hint ----- "Scroll to explore" with a falling champagne pulse */
.hsr-hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 4vh, 56px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hsr-hero-scroll-hint.is-visible { opacity: 1; }

.hsr-hero-scroll-label {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(243, 233, 210, 0.78);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.hsr-hero-scroll-line {
  position: relative;
  display: block;
  width: 1px;
  height: 56px;
  background: rgba(201, 164, 91, 0.32);
  overflow: hidden;
}
.hsr-hero-scroll-line::after {
  content: "";
  position: absolute;
  left: -1px;
  top: -18px;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--hsr-champagne) 100%);
  animation: hsrScrollPulse 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes hsrScrollPulse {
  0%   { transform: translateY(0);    opacity: 0; }
  20%  {                              opacity: 1; }
  80%  {                              opacity: 1; }
  100% { transform: translateY(76px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hsr-hero-scroll-hint { display: none; }
}

/* ----- Hero price band — revealed on first scroll, then counts up ----- */

.hsr-hero-price {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 0 auto clamp(24px, 3vw, 40px);
  padding: clamp(18px, 2.2vw, 28px) clamp(36px, 5vw, 64px);
  border-top: 1px solid rgba(201, 164, 91, 0);
  border-bottom: 1px solid rgba(201, 164, 91, 0);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hsr-hero-price.is-revealed {
  opacity: 1;
  transform: translateY(0);
  border-top-color: rgba(201, 164, 91, 0.45);
  border-bottom-color: rgba(201, 164, 91, 0.45);
}

.hsr-hero-price-label {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--hsr-champagne);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hsr-hero-price-value {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.012em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  text-shadow:
    0 4px 24px rgba(0, 0, 0, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  .hsr-hero-price {
    opacity: 1;
    transform: none;
    border-color: rgba(201, 164, 91, 0.45);
    transition: none;
  }
}

.hsr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 clamp(16px, 2vw, 24px);
}

.hsr-hero-fineprint {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.6);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* ----- Reusable HSR button ----- */

.hsr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 0;  /* sharper, more architectural than rounded pills */
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid currentColor;
  cursor: pointer;
  transition:
    background 280ms var(--ease),
    color 280ms var(--ease),
    border-color 280ms var(--ease),
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms var(--ease);
}

.hsr-button--primary {
  background: var(--hsr-champagne);
  color: var(--hsr-ink);
  border-color: var(--hsr-champagne);
  box-shadow: 0 14px 36px rgba(201, 164, 91, 0.32);
}

.hsr-button--primary:hover {
  background: #d8b572;
  border-color: #d8b572;
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(201, 164, 91, 0.45);
}

.hsr-button--ghost {
  background: transparent;
  color: var(--hsr-paper);
  border-color: rgba(243, 233, 210, 0.45);
}

.hsr-button--ghost:hover {
  background: rgba(243, 233, 210, 0.06);
  border-color: var(--hsr-champagne);
  color: var(--hsr-champagne);
  transform: translateY(-2px);
}

body[data-theme="light"] .hsr-button--ghost {
  color: var(--ink);
  border-color: rgba(23, 18, 14, 0.45);
}

body[data-theme="light"] .hsr-button--ghost:hover {
  background: rgba(23, 18, 14, 0.06);
  border-color: var(--ink);
}

/* ----- Generic HSR section scaffold ----- */

.hsr-section {
  padding: clamp(110px, 15vw, 210px) clamp(24px, 7vw, 110px);
}

.hsr-section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

/* Section label with leading rule for a more refined editorial feel */
.hsr-section-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(20px, 2.4vw, 32px);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--hsr-champagne);
}

.hsr-section-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--hsr-champagne);
  opacity: 0.6;
}

.hsr-section.section-tone-light .hsr-section-label {
  color: var(--hsr-champagne);
}
.hsr-section.section-tone-light .hsr-section-label::before {
  background: var(--hsr-champagne);
}

.hsr-section-title {
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 300;
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.hsr-section.section-tone-light .hsr-section-title { color: var(--hsr-ink); }
.hsr-section.section-tone-dark .hsr-section-title { color: var(--hsr-paper); }

.hsr-section-lede {
  margin: 0 0 clamp(36px, 4vw, 56px);
  max-width: 60ch;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 400;
  line-height: 1.55;
}

.hsr-section.section-tone-light .hsr-section-lede { color: rgba(26, 20, 12, 0.78); }
.hsr-section.section-tone-dark .hsr-section-lede { color: rgba(243, 233, 210, 0.85); }

.hsr-section-lede em {
  font-style: italic;
  color: var(--hsr-champagne);
}

.hsr-prose p {
  margin: 0 0 clamp(16px, 1.6vw, 24px);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  line-height: 1.65;
  max-width: 60ch;
}

.hsr-section.section-tone-light .hsr-prose p { color: rgba(26, 20, 12, 0.82); }
.hsr-section.section-tone-dark .hsr-prose p { color: rgba(243, 233, 210, 0.86); }

.hsr-pull {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px) !important;
  line-height: 1.4 !important;
  margin-top: clamp(28px, 3vw, 40px) !important;
}

.hsr-section.section-tone-light .hsr-pull { color: var(--hsr-champagne); }
.hsr-section.section-tone-dark .hsr-pull { color: var(--hsr-champagne); }

/* ----- Lifestyle image treatments ----- */

/* Split layout: text on one side, image on the other */
.hsr-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hsr-split-figure,
.hsr-aside-figure,
.hsr-villa-figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: rgba(201, 164, 91, 0.08);
}

.hsr-split-figure img,
.hsr-aside-figure img,
.hsr-villa-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Thin champagne border accent + soft elevation */
.hsr-split-figure,
.hsr-aside-figure,
.hsr-villa-figure {
  border: 1px solid rgba(201, 164, 91, 0.18);
  box-shadow: 0 28px 60px rgba(7, 5, 2, 0.22);
}

/* Villa figure — full-width image above the features grid */
.hsr-villa-figure {
  margin: clamp(36px, 4vw, 56px) 0 clamp(24px, 3vw, 40px);
}

.hsr-villa-figure--full {
  margin: clamp(20px, 2.4vw, 32px) 0 clamp(28px, 3.4vw, 44px);
}

.hsr-villa-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px clamp(20px, 2.4vw, 32px);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(13px, 1.1vw, 16px);
  color: var(--hsr-paper);
  background: linear-gradient(180deg, transparent 0%, rgba(7, 5, 2, 0.55) 60%, rgba(7, 5, 2, 0.78) 100%);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Aside figure inside the Estate two-col layout */
.hsr-aside-figure {
  margin-bottom: clamp(24px, 3vw, 36px);
}

/* Mobile: split → stacked single column */
@media (max-width: 860px) {
  .hsr-split {
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 48px);
  }
}

/* ----- Two-column sections (Estate, Location) ----- */

.hsr-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.hsr-two-col-aside {
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3vw, 40px);
  border-radius: 0;
  border-top: 1px solid rgba(201, 164, 91, 0.4);
  border-bottom: 1px solid rgba(201, 164, 91, 0.4);
  background: transparent;
}

.hsr-stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(20px, 2.4vw, 32px);
}

.hsr-stat-list li {
  display: grid;
  gap: 4px;
}

.hsr-stat-num {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 300;
  font-size: clamp(48px, 5.6vw, 80px);
  line-height: 1;
  color: var(--hsr-champagne);
  letter-spacing: -0.01em;
}

.hsr-stat-label {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26, 20, 12, 0.65);
}

.hsr-location-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.hsr-location-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(23, 18, 14, 0.82);
}

.hsr-location-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 12px;
  height: 1px;
  background: var(--amethyst);
}

/* ----- Highlights grid ----- */

.hsr-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 2vw, 32px);
  margin-top: clamp(24px, 3vw, 40px);
}

.hsr-highlight-card {
  position: relative;
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3.2vw, 44px) clamp(32px, 3.6vw, 48px);
  border-radius: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(201, 164, 91, 0.28);
}

.hsr-highlight-num {
  display: inline-block;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  line-height: 1;
  color: var(--hsr-champagne);
  margin-bottom: clamp(20px, 2.2vw, 28px);
  letter-spacing: 0.04em;
}

.hsr-highlight-card h3 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--hsr-paper);
}

.hsr-highlight-card p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(243, 233, 210, 0.78);
}

/* ----- Masterplan ----- */

.hsr-mix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 2vw, 32px);
  margin-top: clamp(8px, 1vw, 14px);
}

.hsr-mix-card {
  padding: clamp(36px, 4vw, 56px) clamp(32px, 3.6vw, 48px);
  border-radius: 0;
  background: rgba(243, 233, 210, 0.025);
  border: 1px solid rgba(201, 164, 91, 0.24);
}

.hsr-mix-tag {
  display: inline-flex;
  padding: 0;
  margin-bottom: 20px;
  background: transparent;
  color: var(--hsr-champagne);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.hsr-mix-headline {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--hsr-paper);
}

.hsr-mix-headline strong {
  color: var(--hsr-champagne);
  font-weight: 400;
}

.hsr-mix-body {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(243, 233, 210, 0.8);
}

.hsr-amenities {
  margin-top: clamp(36px, 5vw, 72px);
  padding-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid rgba(255, 250, 240, 0.14);
}

.hsr-amenities-label {
  margin: 0 0 clamp(16px, 1.6vw, 24px);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.hsr-amenities-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 28px;
}

.hsr-amenities-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 250, 240, 0.85);
}

.hsr-amenities-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

/* ----- Villa price chip ----- */

.hsr-villa-price {
  display: inline-grid;
  grid-template-columns: auto;
  gap: 6px;
  padding: clamp(24px, 3vw, 36px) clamp(28px, 3.4vw, 44px) clamp(20px, 2.4vw, 28px);
  margin: clamp(24px, 3vw, 36px) 0 clamp(8px, 1vw, 16px);
  border: 1px solid rgba(201, 164, 91, 0.4);
  border-radius: 0;
  background: rgba(201, 164, 91, 0.04);
  position: relative;
  align-self: flex-start;
}

/* Vertical accent line on the left edge — small but very luxe */
.hsr-villa-price::before {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(20px, 2.4vw, 32px);
  bottom: clamp(16px, 2vw, 24px);
  width: 2px;
  background: var(--hsr-champagne);
}

.hsr-villa-price-label {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--hsr-champagne);
}

.hsr-villa-price-value {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.012em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hsr-section.section-tone-light .hsr-villa-price-value { color: var(--hsr-ink); }
.hsr-section.section-tone-dark .hsr-villa-price-value { color: var(--hsr-paper); }

.hsr-villa-price-note {
  margin-top: 6px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 400;
  line-height: 1.4;
  max-width: 40ch;
}

.hsr-section.section-tone-light .hsr-villa-price-note { color: rgba(26, 20, 12, 0.6); }
.hsr-section.section-tone-dark .hsr-villa-price-note { color: rgba(243, 233, 210, 0.65); }

/* Subtle scale + champagne glow while the count-up animates,
   one-shot pulse when it lands on the final number. */
.hsr-villa-price:has(.hsr-villa-price-value.is-counting) {
  transform: scale(1.02);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hsr-villa-price:has(.hsr-villa-price-value.is-counted) {
  transform: scale(1);
  animation: hsr-villa-price-glow 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes hsr-villa-price-glow {
  0%   { box-shadow: none; }
  40%  { box-shadow: 0 0 0 6px rgba(201, 164, 91, 0.14), 0 24px 50px rgba(201, 164, 91, 0.32); }
  100% { box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hsr-villa-price:has(.hsr-villa-price-value.is-counting),
  .hsr-villa-price:has(.hsr-villa-price-value.is-counted) {
    transform: none;
    animation: none;
  }
}

/* ----- Villa sections (1BHK / 2BHK) ----- */

.hsr-villa-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  margin-top: clamp(28px, 3vw, 40px);
}

.hsr-villa-label {
  margin: 0 0 clamp(14px, 1.4vw, 20px);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hsr-section.section-tone-light .hsr-villa-label { color: var(--amethyst); }
.hsr-section.section-tone-dark .hsr-villa-label { color: var(--gold); }

.hsr-villa-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.hsr-villa-features li {
  position: relative;
  padding-left: 22px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
}

.hsr-villa-features li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.hsr-section.section-tone-light .hsr-villa-features li { color: rgba(23, 18, 14, 0.82); }
.hsr-section.section-tone-light .hsr-villa-features li::before { color: var(--amethyst); }
.hsr-section.section-tone-dark .hsr-villa-features li { color: rgba(255, 250, 240, 0.85); }
.hsr-section.section-tone-dark .hsr-villa-features li::before { color: var(--gold); }

.hsr-villa-specs dl,
.hsr-ownership-usage dl {
  margin: 0;
  display: grid;
  gap: clamp(18px, 1.8vw, 28px);
}

.hsr-villa-specs dl > div,
.hsr-ownership-usage dl > div {
  padding-bottom: clamp(18px, 1.8vw, 24px);
  border-bottom: 1px solid currentColor;
}

.hsr-villa-specs dl > div:last-child,
.hsr-ownership-usage dl > div:last-child {
  border-bottom: 0;
}

.hsr-villa-specs dt,
.hsr-ownership-usage dt {
  margin: 0 0 6px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.6;
}

.hsr-villa-specs dd,
.hsr-ownership-usage dd {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
}

.hsr-section.section-tone-light .hsr-villa-specs,
.hsr-section.section-tone-light .hsr-ownership-usage { color: rgba(23, 18, 14, 0.82); }
.hsr-section.section-tone-light .hsr-villa-specs dl > div,
.hsr-section.section-tone-light .hsr-ownership-usage dl > div { border-color: rgba(23, 18, 14, 0.12); }

.hsr-section.section-tone-dark .hsr-villa-specs,
.hsr-section.section-tone-dark .hsr-ownership-usage { color: rgba(255, 250, 240, 0.85); }
.hsr-section.section-tone-dark .hsr-villa-specs dl > div,
.hsr-section.section-tone-dark .hsr-ownership-usage dl > div { border-color: rgba(255, 250, 240, 0.18); }

/* ----- Ownership ----- */

.hsr-ownership-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  margin-top: clamp(28px, 3vw, 40px);
}

.hsr-ownership-benefits ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.hsr-ownership-benefits li {
  position: relative;
  padding-left: 24px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
  color: rgba(23, 18, 14, 0.82);
}

.hsr-ownership-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--amethyst);
  font-weight: 700;
}

/* ----- Experiences list (chip cloud) ----- */

.hsr-experience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: clamp(24px, 3vw, 40px);
}

.hsr-experience-list li {
  padding: 14px 24px;
  border-radius: 0;
  border: 1px solid rgba(201, 164, 91, 0.28);
  background: transparent;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 400;
  color: rgba(243, 233, 210, 0.92);
  letter-spacing: 0.01em;
  transition: background 240ms var(--ease), border-color 240ms var(--ease), color 240ms var(--ease);
}

.hsr-experience-list li:hover {
  background: rgba(201, 164, 91, 0.08);
  border-color: var(--hsr-champagne);
  color: var(--hsr-champagne);
}

/* ----- Why invest grid ----- */

.hsr-invest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: clamp(24px, 3vw, 40px);
  margin-bottom: clamp(28px, 3vw, 44px);
}

.hsr-invest-card {
  padding: clamp(28px, 3vw, 40px);
  border-radius: 0;
  background: transparent;
  border-top: 1px solid rgba(201, 164, 91, 0.34);
}

.hsr-invest-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--hsr-ink);
}

.hsr-disclaimer {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(14px, 1.1vw, 16px);
  font-style: italic;
  line-height: 1.6;
  color: rgba(26, 20, 12, 0.55);
  max-width: 70ch;
}

/* ----- Closing CTA ----- */

.hsr-cta-inner {
  text-align: center;
  max-width: 880px;
}

.hsr-cta-inner .hsr-section-label {
  text-align: center;
}

.hsr-cta-title {
  margin: 0 0 clamp(20px, 2.4vw, 32px);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 108px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--hsr-paper);
}

.hsr-cta-lede {
  margin: 0 auto clamp(16px, 1.8vw, 24px);
  max-width: 56ch;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(243, 233, 210, 0.85);
}

.hsr-cta-emph {
  margin: 0 auto clamp(32px, 3.6vw, 52px);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--hsr-champagne);
}

.hsr-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 clamp(20px, 2.4vw, 28px);
}

.hsr-cta-fineprint {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 250, 240, 0.55);
}

/* ----- Footer ----- */

.hsr-footer {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 6vw, 88px) clamp(40px, 5vw, 60px);
  border-top: 1px solid rgba(255, 250, 240, 0.08);
}

.hsr-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 250, 240, 0.1);
}

.hsr-footer-eyebrow {
  margin: 0 0 6px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.hsr-footer-name {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 2.8vw, 36px);
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--hsr-paper);
}

.hsr-footer-tagline {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 15px;
  color: rgba(255, 250, 240, 0.7);
}

.hsr-footer-loc {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.7);
}

.hsr-footer-label {
  margin: 0 0 12px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.hsr-footer-contact p {
  margin: 0 0 6px;
}

.hsr-footer-contact a {
  font-size: 14px;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 250, 240, 0.3);
  transition: border-color 200ms var(--ease);
}

.hsr-footer-contact a:hover {
  border-color: var(--gold);
}

.hsr-footer-disclaimer {
  max-width: 1180px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11.5px;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255, 250, 240, 0.5);
}

/* ----- Mobile ----- */

@media (max-width: 860px) {
  .hsr-hero {
    height: 600vh; /* slow + cinematic on mobile too */
  }

  .hsr-two-col,
  .hsr-villa-grid,
  .hsr-ownership-grid {
    grid-template-columns: 1fr;
  }

  .hsr-section {
    padding: clamp(60px, 14vw, 100px) clamp(18px, 6vw, 36px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hsr-hero-canvas {
    display: none;
  }
  .hsr-hero-imagery .hsr-hero-poster {
    opacity: 1 !important;
  }
}

/* ===================================================================== */
/* Hillsong Reserve · Lead-capture modals (Enquire + Brochure)            */
/* ===================================================================== */

.hsr-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
}
.hsr-modal[aria-hidden="false"] { display: flex; }

.hsr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 8, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: hsrFadeIn 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hsr-modal-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: linear-gradient(180deg, #1a1812 0%, #14130f 100%);
  color: var(--hsr-paper, #e9e3d4);
  border: 1px solid rgba(201, 164, 91, 0.28);
  border-radius: 16px;
  padding: clamp(28px, 5vw, 44px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  animation: hsrPanelIn 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hsrFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes hsrPanelIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hsr-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: transparent;
  color: var(--hsr-champagne, #c8a254);
  border: 1px solid rgba(201, 164, 91, 0.35);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.hsr-modal-close:hover,
.hsr-modal-close:focus-visible {
  background: rgba(201, 164, 91, 0.12);
  border-color: rgba(201, 164, 91, 0.6);
  color: #e9d49a;
  outline: none;
}

.hsr-modal-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--hsr-champagne, #c8a254);
  margin: 0 0 12px;
}

.hsr-modal-title {
  font-family: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: #f3ead2;
  margin: 0 0 8px;
}

.hsr-modal-lede {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(233, 227, 212, 0.72);
  margin: 0 0 24px;
}

.hsr-modal-form { display: grid; gap: 16px; }

.hsr-modal-label {
  display: grid;
  gap: 6px;
}
.hsr-modal-label > span {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(233, 227, 212, 0.65);
}
.hsr-modal-label input {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.04);
  color: #f3ead2;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  border: 1px solid rgba(201, 164, 91, 0.22);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.hsr-modal-label input::placeholder { color: rgba(233, 227, 212, 0.35); }
.hsr-modal-label input:focus {
  outline: none;
  border-color: rgba(201, 164, 91, 0.7);
  background: rgba(201, 164, 91, 0.06);
  box-shadow: 0 0 0 3px rgba(201, 164, 91, 0.12);
}
.hsr-modal-label input:invalid:not(:placeholder-shown) {
  border-color: rgba(232, 138, 115, 0.45);
}

.hsr-modal-fieldset {
  border: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  gap: 10px;
}
.hsr-modal-fieldset legend {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(233, 227, 212, 0.65);
  padding: 0 0 6px;
}

.hsr-modal-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hsr-modal-radio {
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(201, 164, 91, 0.22);
  border-radius: 10px;
  padding: 14px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(233, 227, 212, 0.85);
  text-align: center;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease, transform 200ms ease;
}
.hsr-modal-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.hsr-modal-radio:hover { border-color: rgba(201, 164, 91, 0.45); color: #f3ead2; }
.hsr-modal-radio:has(input:checked) {
  border-color: rgba(201, 164, 91, 0.85);
  background: rgba(201, 164, 91, 0.12);
  color: #f3ead2;
  box-shadow: 0 0 0 1px rgba(201, 164, 91, 0.45) inset;
}

.hsr-modal-submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px 18px;
  font-size: 11px;
}
.hsr-modal-submit[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.hsr-modal-status {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  min-height: 1.2em;
  color: rgba(233, 227, 212, 0.7);
}
.hsr-modal-status[data-tone="error"]   { color: #e88a73; }
.hsr-modal-status[data-tone="success"] { color: #b9d195; }
.hsr-modal-status[data-tone="pending"] { color: rgba(233, 227, 212, 0.65); }

.hsr-modal-fineprint {
  margin: 2px 0 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(233, 227, 212, 0.48);
}

.hsr-modal-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

body.hsr-modal-open { overflow: hidden; }

@media (max-width: 480px) {
  .hsr-modal-radio-group { grid-template-columns: 1fr; }
  .hsr-modal-panel { padding: 28px 22px; border-radius: 14px; }
}

/* =====================================================================
 * Hillsong Reserve · Returns / ROI section
 * Distilled from the 10-year Owner ROI PDF: four pillars, side-by-side
 * villa comparison, cash-flow + appreciation tables, downside stress
 * test, openly-stated assumptions, download CTA.
 * ===================================================================== */

.hsr-returns .hsr-section-title { max-width: 22ch; }

/* ----- Four-pillar grid ----- */
.hsr-roi-pillars {
  list-style: none;
  padding: 0;
  margin: clamp(48px, 6vw, 72px) 0 clamp(60px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.hsr-roi-pillar {
  padding: clamp(24px, 2.6vw, 36px) clamp(20px, 2.2vw, 28px);
  border: 1px solid rgba(201, 164, 91, 0.22);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}

.hsr-roi-pillar-eyebrow {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--hsr-champagne, #c8a254);
}

.hsr-roi-pillar-num {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 300;
  font-size: clamp(48px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: -0.012em;
  color: #f3ead2;
  font-variant-numeric: tabular-nums;
}
.hsr-roi-pillar-num span {
  font-size: 0.45em;
  letter-spacing: 0.02em;
  margin-left: 0.18em;
  color: rgba(243, 233, 210, 0.7);
  font-style: italic;
}
.hsr-roi-pillar-num--word { font-style: italic; font-size: clamp(36px, 4.2vw, 54px); }

.hsr-roi-pillar-note {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(243, 233, 210, 0.7);
}

/* ----- Side-by-side total-value comparison ----- */
.hsr-roi-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.4vw, 28px);
  margin: 0 0 clamp(60px, 7vw, 96px);
}

.hsr-roi-card {
  position: relative;
  padding: clamp(28px, 3.4vw, 48px);
  border: 1px solid rgba(201, 164, 91, 0.32);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(201, 164, 91, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hsr-roi-card--signature {
  background: linear-gradient(180deg, rgba(201, 164, 91, 0.12) 0%, rgba(201, 164, 91, 0.02) 100%);
  border-color: rgba(201, 164, 91, 0.55);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.hsr-roi-card-tag {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--hsr-champagne, #c8a254);
}
.hsr-roi-card-launch {
  margin: 0 0 clamp(16px, 1.8vw, 24px);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(243, 233, 210, 0.65);
}
.hsr-roi-card-headline {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.014em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hsr-roi-card-headline span {
  font-size: 0.42em;
  letter-spacing: 0.02em;
  margin-left: 0.14em;
  color: rgba(243, 233, 210, 0.78);
}
.hsr-roi-card-sub {
  margin: 4px 0 clamp(22px, 2.4vw, 32px);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(243, 233, 210, 0.7);
}

.hsr-roi-card-stats {
  margin: 0;
  padding: clamp(18px, 2vw, 24px) 0 0;
  border-top: 1px solid rgba(201, 164, 91, 0.22);
  display: grid;
  gap: 10px;
}
.hsr-roi-card-stats > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.hsr-roi-card-stats dt {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(243, 233, 210, 0.65);
}
.hsr-roi-card-stats dd {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #f3ead2;
  font-variant-numeric: tabular-nums;
}
.hsr-roi-card-stats .is-emph {
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px dashed rgba(201, 164, 91, 0.3);
}
.hsr-roi-card-stats .is-emph dt {
  color: var(--hsr-champagne, #c8a254);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
}
.hsr-roi-card-stats .is-emph dd {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  color: #fff;
}

/* ----- Year-by-year tables block ----- */
.hsr-roi-block {
  margin: 0 0 clamp(60px, 7vw, 96px);
}
.hsr-roi-block .hsr-villa-label {
  margin: 0 0 14px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--hsr-champagne, #c8a254);
}
.hsr-roi-block-note {
  margin: 0 0 clamp(20px, 2.2vw, 28px);
  max-width: 64ch;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(243, 233, 210, 0.68);
}

.hsr-roi-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 32px);
}

.hsr-roi-table-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hsr-roi-table-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--hsr-champagne, #c8a254);
}
.hsr-roi-table-scroll {
  overflow-x: auto;
  border: 1px solid rgba(201, 164, 91, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.hsr-roi-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: rgba(243, 233, 210, 0.92);
}
.hsr-roi-table th,
.hsr-roi-table td {
  padding: 10px 12px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid rgba(201, 164, 91, 0.08);
}
.hsr-roi-table th:first-child,
.hsr-roi-table td:first-child {
  text-align: left;
  color: var(--hsr-champagne, #c8a254);
  font-weight: 500;
}
.hsr-roi-table thead th {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 233, 210, 0.55);
  border-bottom-color: rgba(201, 164, 91, 0.28);
  background: rgba(201, 164, 91, 0.04);
}
.hsr-roi-table tbody tr:hover { background: rgba(201, 164, 91, 0.05); }
.hsr-roi-table tfoot th {
  font-weight: 600;
  color: #f3ead2;
  background: rgba(201, 164, 91, 0.06);
  border-top: 1px solid rgba(201, 164, 91, 0.28);
}
.hsr-roi-table--narrow th,
.hsr-roi-table--narrow td { padding: 9px 12px; }
.hsr-roi-table tbody tr:last-child th { color: #f3ead2; font-weight: 600; background: rgba(201, 164, 91, 0.05); }

/* ----- Stress test callout ----- */
.hsr-roi-stress {
  margin: 0 0 clamp(48px, 6vw, 72px);
  padding: clamp(32px, 4vw, 56px) clamp(28px, 3.4vw, 56px);
  border: 1px solid rgba(201, 164, 91, 0.32);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at top, rgba(201, 164, 91, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(20, 19, 15, 0.55) 0%, rgba(20, 19, 15, 0.85) 100%);
  text-align: center;
}
.hsr-roi-stress-eyebrow {
  margin: 0 0 12px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--hsr-champagne, #c8a254);
}
.hsr-roi-stress-headline {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  color: #fff;
}
.hsr-roi-stress-detail {
  margin: 0 auto clamp(26px, 3vw, 36px);
  max-width: 60ch;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(243, 233, 210, 0.72);
}
.hsr-roi-stress-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 36px);
  max-width: 700px;
  margin: 0 auto clamp(24px, 2.6vw, 32px);
}
.hsr-roi-stress-stats > div {
  padding: 20px 16px;
  border: 1px solid rgba(201, 164, 91, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.hsr-roi-stress-num {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1;
  color: var(--hsr-champagne, #c8a254);
  font-variant-numeric: tabular-nums;
}
.hsr-roi-stress-label {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(243, 233, 210, 0.72);
}
.hsr-roi-stress-foot {
  margin: 0 auto;
  max-width: 64ch;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(243, 233, 210, 0.55);
  font-style: italic;
}

/* ----- Assumptions (collapsible) ----- */
.hsr-roi-details {
  margin: 0 0 clamp(40px, 5vw, 64px);
  border: 1px solid rgba(201, 164, 91, 0.22);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.hsr-roi-details summary {
  list-style: none;
  cursor: pointer;
  padding: clamp(18px, 2vw, 24px) clamp(20px, 2.4vw, 28px);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hsr-champagne, #c8a254);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hsr-roi-details summary::-webkit-details-marker { display: none; }
.hsr-roi-details summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: rgba(201, 164, 91, 0.75);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hsr-roi-details[open] summary::after { content: "−"; }
.hsr-roi-details[open] summary { border-bottom: 1px solid rgba(201, 164, 91, 0.18); }

.hsr-roi-assumptions {
  margin: 0;
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.4vw, 28px) clamp(8px, 1vw, 16px);
  display: grid;
  gap: 18px;
}
.hsr-roi-assumptions > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.hsr-roi-assumptions dt {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hsr-champagne, #c8a254);
  padding-top: 4px;
}
.hsr-roi-assumptions dd {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(243, 233, 210, 0.78);
}
.hsr-roi-assumptions-foot {
  margin: 0;
  padding: 0 clamp(20px, 2.4vw, 28px) clamp(20px, 2.4vw, 28px);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(243, 233, 210, 0.45);
  font-style: italic;
}

/* ----- ROI CTA ----- */
.hsr-roi-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(16px, 2vw, 24px);
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .hsr-roi-pillars { grid-template-columns: repeat(2, 1fr); }
  .hsr-roi-compare { grid-template-columns: 1fr; }
  .hsr-roi-tables  { grid-template-columns: 1fr; }
  .hsr-roi-stress-stats { grid-template-columns: 1fr; }
  .hsr-roi-assumptions > div { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 540px) {
  .hsr-roi-pillars { grid-template-columns: 1fr; }
}

/* =====================================================================
 * Insight pages (long-form SEO content)
 * Used by farmland-insights.html and hillsong-reserve-insights.html.
 * Reading-focused dark-mode layout with Cormorant for article titles,
 * Inter for body, champagne (#c8a254) accents.
 * ===================================================================== */

body[data-page="farmland-insights"],
body[data-page="hillsong-insights"] {
  background: #100f0b;
  color: rgba(243, 233, 210, 0.78);
}

.insight-page { display: block; }

/* ----- Page hero ----- */
.insight-hero {
  padding: clamp(120px, 14vw, 200px) clamp(20px, 6vw, 64px) clamp(64px, 8vw, 110px);
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(201, 164, 91, 0.16), transparent 70%),
    linear-gradient(180deg, #14130f 0%, #100f0b 100%);
  border-bottom: 1px solid rgba(201, 164, 91, 0.12);
}
.insight-eyebrow {
  margin: 0 0 18px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--hsr-champagne, #c8a254);
}
.insight-page-title {
  margin: 0 auto 22px;
  max-width: 22ch;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 300;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.012em;
  color: #fff;
}
.insight-page-lede {
  margin: 0 auto;
  max-width: 60ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.55;
  color: rgba(243, 233, 210, 0.82);
}

/* ----- Table of contents ----- */
.insight-toc {
  max-width: 760px;
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: clamp(28px, 3.4vw, 40px) clamp(24px, 3vw, 36px);
  border: 1px solid rgba(201, 164, 91, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}
.insight-toc-label {
  margin: 0 0 18px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--hsr-champagne, #c8a254);
}
.insight-toc ol {
  list-style: none;
  counter-reset: insight-toc;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.insight-toc ol li { counter-increment: insight-toc; }
.insight-toc ol li a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.4;
  color: rgba(243, 233, 210, 0.85);
  text-decoration: none;
  transition: color 220ms ease;
}
.insight-toc ol li a::before {
  content: counter(insight-toc, decimal-leading-zero);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--hsr-champagne, #c8a254);
  min-width: 28px;
}
.insight-toc ol li a:hover { color: #fff; }

/* ----- Article wrapper ----- */
.insight-stack {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 6vw, 28px) clamp(48px, 6vw, 80px);
}
.insight-article {
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid rgba(201, 164, 91, 0.14);
}
.insight-article:first-of-type { border-top: none; padding-top: clamp(8px, 1vw, 16px); }

.insight-article-tag {
  margin: 0 0 14px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--hsr-champagne, #c8a254);
}
.insight-article-title {
  margin: 0 0 clamp(18px, 2vw, 28px);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: #f3ead2;
}
.insight-article-lede {
  margin: 0 0 clamp(20px, 2.4vw, 28px);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: rgba(243, 233, 210, 0.88);
}

/* ----- Article prose ----- */
.insight-prose p,
.insight-prose ul,
.insight-prose ol {
  margin: 0 0 clamp(16px, 1.8vw, 22px);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.72;
  color: rgba(243, 233, 210, 0.78);
}
.insight-prose ul,
.insight-prose ol { padding-left: 1.4em; }
.insight-prose li { margin-bottom: 6px; }
.insight-prose li::marker { color: var(--hsr-champagne, #c8a254); }

.insight-prose strong { color: #f3ead2; font-weight: 500; }
.insight-prose em { font-style: italic; color: rgba(243, 233, 210, 0.92); }

.insight-prose h3 {
  margin: clamp(24px, 2.8vw, 36px) 0 12px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hsr-champagne, #c8a254);
}

.insight-prose blockquote {
  margin: clamp(20px, 2.4vw, 32px) 0;
  padding: clamp(16px, 2vw, 24px) clamp(20px, 2.4vw, 28px);
  border-left: 2px solid var(--hsr-champagne, #c8a254);
  background: rgba(201, 164, 91, 0.06);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: rgba(243, 233, 210, 0.92);
  border-radius: 0 8px 8px 0;
}

/* In-article callout for figures / data highlights */
.insight-figures {
  margin: clamp(20px, 2.4vw, 32px) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.insight-figure {
  padding: 18px 20px;
  border: 1px solid rgba(201, 164, 91, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}
.insight-figure-num {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  font-size: clamp(28px, 2.8vw, 36px);
  line-height: 1;
  color: var(--hsr-champagne, #c8a254);
  font-variant-numeric: tabular-nums;
}
.insight-figure-label {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(243, 233, 210, 0.65);
}

/* ----- Closing CTA ----- */
.insight-closing {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 6vw, 64px);
  text-align: center;
  border-top: 1px solid rgba(201, 164, 91, 0.18);
  background:
    radial-gradient(ellipse at bottom, rgba(201, 164, 91, 0.12), transparent 70%),
    linear-gradient(180deg, #100f0b 0%, #14130f 100%);
}
.insight-closing-eyebrow {
  margin: 0 0 14px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--hsr-champagne, #c8a254);
}
.insight-closing-title {
  margin: 0 auto 18px;
  max-width: 22ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  color: #fff;
}
.insight-closing-lede {
  margin: 0 auto clamp(28px, 3vw, 40px);
  max-width: 56ch;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(243, 233, 210, 0.72);
}
.insight-closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 640px) {
  .insight-toc { margin-left: 16px; margin-right: 16px; }
}

/* ----- In-article figures (photos with captions) ----- */
.insight-photo {
  margin: clamp(28px, 3.4vw, 44px) 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 164, 91, 0.16);
}
.insight-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.insight-photo figcaption {
  padding: 14px 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(243, 233, 210, 0.65);
  border-top: 1px solid rgba(201, 164, 91, 0.12);
}

/* ----- Inline SVG charts ----- */
.insight-chart {
  margin: clamp(28px, 3.4vw, 44px) 0;
  padding: clamp(22px, 2.6vw, 32px) clamp(18px, 2.4vw, 28px) clamp(22px, 2.6vw, 32px);
  border-radius: 12px;
  border: 1px solid rgba(201, 164, 91, 0.20);
  background: rgba(255, 255, 255, 0.02);
}
.insight-chart-title {
  margin: 0 0 6px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--hsr-champagne, #c8a254);
}
.insight-chart-sub {
  margin: 0 0 clamp(16px, 2vw, 22px);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(243, 233, 210, 0.75);
}
.insight-chart svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
}
.insight-chart-caption {
  margin: clamp(12px, 1.4vw, 18px) 0 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(243, 233, 210, 0.55);
}
/* Chart visual primitives — used inside the SVGs */
.chart-grid { stroke: rgba(201, 164, 91, 0.12); stroke-width: 1; }
.chart-axis-label {
  fill: rgba(243, 233, 210, 0.55);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.chart-tick-label {
  fill: rgba(243, 233, 210, 0.6);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.chart-line { fill: none; stroke: var(--hsr-champagne, #c8a254); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart-line-soft { fill: none; stroke: rgba(201, 164, 91, 0.4); stroke-width: 1.5; stroke-dasharray: 4 4; }
.chart-area { fill: rgba(201, 164, 91, 0.10); }
.chart-bar { fill: var(--hsr-champagne, #c8a254); }
.chart-bar-soft { fill: rgba(201, 164, 91, 0.35); }
.chart-dot { fill: var(--hsr-champagne, #c8a254); stroke: #100f0b; stroke-width: 2; }
.chart-value-label {
  fill: #f3ead2;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  color: rgba(243, 233, 210, 0.7);
}
.chart-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--hsr-champagne, #c8a254); }
.chart-legend-dot--soft { background: rgba(201, 164, 91, 0.35); }

/* ----- Stylized location map ----- */
.insight-map {
  margin: clamp(28px, 3.4vw, 44px) 0;
  padding: clamp(22px, 2.6vw, 36px);
  border-radius: 14px;
  border: 1px solid rgba(201, 164, 91, 0.22);
  background:
    radial-gradient(ellipse at 30% 30%, rgba(201, 164, 91, 0.10), transparent 65%),
    linear-gradient(180deg, rgba(20, 19, 15, 0.6) 0%, rgba(16, 15, 11, 0.85) 100%);
}
.insight-map-title {
  margin: 0 0 6px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--hsr-champagne, #c8a254);
}
.insight-map-sub {
  margin: 0 0 clamp(16px, 2vw, 22px);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(243, 233, 210, 0.78);
}
.insight-map svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
}
.insight-map-caption {
  margin: clamp(10px, 1.2vw, 16px) 0 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(243, 233, 210, 0.55);
}
/* Map visual primitives */
.map-bg-ghats { fill: rgba(50, 80, 50, 0.18); }
.map-bg-sea { fill: rgba(80, 110, 130, 0.18); }
.map-road { fill: none; stroke: rgba(201, 164, 91, 0.6); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 8 4; }
.map-road--solid { stroke-dasharray: none; stroke-width: 1.5; stroke: rgba(201, 164, 91, 0.4); }
.map-poi-dot { fill: rgba(201, 164, 91, 0.55); }
.map-poi-dot--primary { fill: var(--hsr-champagne, #c8a254); }
.map-poi-ring { fill: none; stroke: var(--hsr-champagne, #c8a254); stroke-width: 1.5; }
.map-poi-label {
  fill: #f3ead2;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.map-poi-label--primary {
  fill: #fff;
  font-size: 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  letter-spacing: 0;
}
.map-distance-label {
  fill: rgba(243, 233, 210, 0.55);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.map-region-label {
  fill: rgba(243, 233, 210, 0.35);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ============ Inventory announcement bar (farmland page) ============ */
body.has-announce {
  --announce-h: 48px;
}
body.has-announce .site-header {
  top: var(--announce-h);
}

.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  min-height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px clamp(16px, 4vw, 44px);
  background:
    radial-gradient(120% 200% at 50% -60%, rgba(255, 207, 105, 0.18), transparent 60%),
    linear-gradient(90deg, rgba(18, 49, 36, 0.97), rgba(7, 19, 14, 0.98));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--paper);
  overflow: hidden;
}

/* brand gradient hairline at the foot, echoing the scroll-meter */
.announce-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--amethyst), var(--leaf));
  opacity: 0.75;
}

/* slow shimmer sweep */
.announce-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 28%,
    rgba(255, 207, 105, 0.1) 47%,
    rgba(255, 255, 255, 0.06) 52%,
    transparent 72%
  );
  transform: translateX(-120%);
  animation: announce-shimmer 7.5s ease-in-out 2s infinite;
  pointer-events: none;
}
@keyframes announce-shimmer {
  0% {
    transform: translateX(-120%);
  }
  32%,
  100% {
    transform: translateX(120%);
  }
}

.announce-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px 16px;
  width: 100%;
  text-align: center;
}

.announce-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 11px;
  border: 1px solid rgba(255, 207, 105, 0.45);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.announce-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(255, 207, 105, 0.9);
}

.announce-text {
  margin: 0;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--paper);
  overflow-wrap: break-word;
}
.announce-text strong {
  color: var(--gold);
  font-weight: 600;
}
.announce-soft {
  color: rgba(251, 244, 223, 0.72);
}

.announce-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 240ms var(--ease);
}
.announce-link span {
  transition: transform 240ms var(--ease);
}
.announce-link:hover {
  border-bottom-color: rgba(255, 207, 105, 0.6);
}
.announce-link:hover span {
  transform: translateX(3px);
}

@media (max-width: 760px) {
  body.has-announce {
    --announce-h: 84px;
  }
  .announce-inner {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  .announce-text {
    width: 100%;
    font-size: 12.5px;
  }
}
@media (max-width: 480px) {
  body.has-announce {
    --announce-h: 104px;
  }
  .announce-tag {
    font-size: 10px;
  }
  .announce-text {
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .announce-bar::before {
    display: none;
  }
}

/* The header is shifted down by the banner height; counter-shift the hero
   brand by the same amount so the centred logo lands at its original spot. */
@media (min-width: 721px) {
  body.has-announce .site-header[data-scroll-zone="hero"] .brand {
    transform: translateY(calc(46vh - 120px - var(--announce-h)));
  }
}

/* Interim mobile hero fix: the "Own the soil. / Skip the sweat." headline is
   baked into the hero PNG, and object-fit: cover was cropping it on portrait
   phones. Show the whole image (text included) via contain until the headline
   becomes real text over a clean photo. */
@media (max-width: 760px) {
  .hero-picture img {
    object-fit: contain;
    object-position: center;
  }
}

