/* ==========================================================================
   A&B Design & Build — site styles
   Palette is taken from the brand mark: forest green, brushed bronze, travertine.
   ========================================================================== */

:root {
  /* Forest — the dark surfaces */
  --forest-950: #111712;
  --forest-900: #1C241E;
  --forest-800: #243028;
  --forest-700: #2F3D32;
  --leaf: #5E7B5E;

  /* Bronze — the metal of the monogram */
  --bronze-200: #E6CFA4;
  --bronze-400: #C4A270;   /* on dark surfaces: 6.7:1 on forest-900 */
  --bronze-700: #7A5B32;   /* on light surfaces: 5.0:1 on stone-100 */

  /* Travertine — the stone of the pool copings */
  --stone-50: #F6F1E9;
  --stone-100: #EDE6DA;
  --stone-200: #E2D8C8;
  --stone-300: #CFC3B0;

  /* Text */
  --ink: #1A201C;
  --ink-soft: #4A524B;
  --ivory: #EFE7DA;
  --ivory-soft: #BDB7AB;
  --line-dark: rgba(239, 231, 218, 0.16);
  --line-light: rgba(26, 32, 28, 0.16);

  /* Type */
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --fs-small: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --fs-h3: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  --fs-h2: clamp(2.35rem, 1.6rem + 3vw, 4.25rem);
  --fs-display: clamp(3rem, 1.6rem + 6.2vw, 7rem);

  /* Space (8pt rhythm, generous for a spacious luxury layout) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: clamp(5rem, 3rem + 7vw, 10rem);

  --gutter: clamp(1rem, 0.4rem + 3vw, 3.5rem);
  --max: 1320px;
  --header-h: 84px;
  --bar-h: 40px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 320ms;

  --z-header: 40;
  --z-menu: 60;
  --z-dialog: 100;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--stone-100);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
p { margin: 0 0 1em; text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--bronze-400);
  outline-offset: 3px;
}
.surface-light :focus-visible { outline-color: var(--bronze-700); }

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

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--ivory);
  color: var(--forest-900);
}
.skip-link:focus { top: var(--space-2); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-8); }

.surface-dark { background: var(--forest-900); color: var(--ivory); }
.surface-deep { background: var(--forest-950); color: var(--ivory); }
.surface-light { background: var(--stone-100); color: var(--ink); }
.surface-stone { background: var(--stone-200); color: var(--ink); }

/* Tracked capitals: the brand mark's own "INTERIORS | EXTERIORS" voice.
   Used for navigation and capability lists only. */
.caps {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  max-width: 34em;
}
.surface-dark .lead, .surface-deep .lead { color: var(--ivory-soft); }
.surface-light .lead, .surface-stone .lead { color: var(--ink-soft); }

.section-head {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  max-width: 52rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0.9rem 2rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
  touch-action: manipulation;
}
.btn-ivory { background: var(--ivory); color: var(--forest-900); }
.btn-ivory:hover { background: var(--bronze-200); }
.btn-bronze { background: var(--bronze-400); color: var(--forest-950); }
.btn-bronze:hover { background: var(--bronze-200); }
.btn-forest { background: var(--forest-900); color: var(--ivory); }
.btn-forest:hover { background: var(--forest-700); }
.btn-outline-light { border-color: rgba(239, 231, 218, 0.5); color: var(--ivory); }
.btn-outline-light:hover { border-color: var(--ivory); background: rgba(239, 231, 218, 0.08); }
.btn-outline-dark { border-color: rgba(26, 32, 28, 0.4); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--ink); }

.text-link {
  display: inline-block;
  padding-block: 0.4rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}
.text-link:hover { color: var(--bronze-400); }
.surface-light .text-link:hover, .surface-stone .text-link:hover { color: var(--bronze-700); }
.text-link-btn {
  min-height: 44px;
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  color: inherit;
}

/* ---------- Consultation bar ---------- */
.consult-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--bar-h);
  padding: 0 var(--gutter);
  background: var(--forest-950);
  color: var(--ivory);
  text-align: center;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.consult-bar span { border-bottom: 1px solid transparent; transition: border-color var(--dur-fast); }
.consult-bar:hover span { border-color: var(--bronze-400); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  margin-bottom: calc(var(--header-h) * -1);
  color: var(--ivory);
  transition: background-color var(--dur) ease, box-shadow var(--dur) ease;
}
.site-header.is-solid,
.site-header.is-static {
  background: rgba(17, 23, 18, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header.is-static { margin-bottom: 0; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--ivory);
}
.brand img { width: 84px; height: auto; }
.brand-word {
  padding-left: 0.9rem;
  border-left: 1px solid var(--line-dark);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  line-height: 1.5;
}

.primary-nav ul {
  display: flex;
  gap: clamp(1.25rem, 2.2vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav a {
  position: relative;
  display: inline-block;
  padding-block: 0.6rem;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.3rem;
  height: 1px;
  background: var(--bronze-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-social {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.icon-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: inherit;
  transition: color var(--dur-fast);
}
.icon-link:hover { color: var(--bronze-400); }
.icon-link svg { width: 20px; height: 20px; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0 0.25rem;
  background: none;
  border: 0;
  color: var(--ivory);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.menu-toggle-lines { display: grid; gap: 6px; width: 26px; }
.menu-toggle-lines span { height: 1px; background: currentColor; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  padding: var(--space-3) var(--gutter) var(--space-5);
  background: var(--forest-950);
  color: var(--ivory);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) ease, visibility 0s linear var(--dur);
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur) ease;
}
.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
}
.mobile-menu nav { margin-top: var(--space-5); }
.mobile-menu ul { margin: 0; padding: 0; list-style: none; }
.mobile-menu li + li { border-top: 1px solid var(--line-dark); }
.mobile-menu nav a {
  display: block;
  padding: 0.9rem 0;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.2;
  text-decoration: none;
}
.mobile-menu-foot {
  margin-top: auto;
  display: grid;
  gap: var(--space-3);
}
.mobile-menu-foot .header-social { margin-left: -0.6rem; }

@media (max-width: 1080px) {
  .primary-nav, .site-header .header-social { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 520px) {
  .brand-word { display: none; }
  .brand img { width: 72px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--bar-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--forest-950);
  color: var(--ivory);
  text-align: center;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
/* Slow crossfade between real project photos, each with a gentle push-in */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.8s ease;
}
.hero-slide.is-active {
  opacity: 1;
  animation: hero-push 9s linear forwards;
}
.hero-slide.was-active { transform: scale(1.04); }
@keyframes hero-push { from { transform: scale(1); } to { transform: scale(1.04); } }
/* Wide photos on landscape screens, tall photos on portrait screens */
.hero-tall { display: none; }
@media (max-aspect-ratio: 1/1) {
  .hero-wide { display: none; }
  .hero-tall { display: block; }
}
/* An even veil, as in the Foxterra reference, so centred type reads anywhere on the photo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(17, 23, 18, 0.3) 0%, rgba(17, 23, 18, 0.5) 100%),
    linear-gradient(to bottom, rgba(17, 23, 18, 0.35) 0%, rgba(17, 23, 18, 0) 30%);
}

.hero-content {
  min-width: 0;
  display: grid;
  justify-items: center;
  padding-top: calc(var(--header-h) + var(--space-5));
  padding-bottom: var(--space-6);
}
.hero-kicker {
  margin: 0 0 var(--space-3);
  font-family: var(--serif);
  font-size: clamp(1rem, 0.85rem + 0.7vw, 1.5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze-200);
  opacity: 0;
  animation: fade 1s ease 0.1s forwards;
}
.hero h1 {
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-line > span {
  display: block;
  transform: translateY(105%);
  animation: rise 1.1s var(--ease-out) forwards;
}
.hero-line:nth-child(2) > span { animation-delay: 0.12s; font-style: italic; }
.hero-sub {
  max-width: 36rem;
  margin: var(--space-4) auto var(--space-5);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: rgba(239, 231, 218, 0.88);
  opacity: 0;
  animation: fade 1s ease 0.6s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  opacity: 0;
  animation: fade 1s ease 0.8s forwards;
}
.hero-actions .btn { min-width: min(100%, 22rem); }
/* Frosted rail on the right, after the Cedar Springs reference */
.hero-rail {
  position: absolute;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  width: clamp(88px, 7vw, 120px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-4);
  padding-block: var(--space-5);
  background: rgba(239, 231, 218, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-left: 1px solid var(--line-dark);
}
.hero-rail a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--ivory);
}
.hero-rail .rail-text {
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-rail .rail-line {
  width: 1px;
  height: 72px;
  background: linear-gradient(var(--ivory), transparent);
}
@media (min-width: 1081px) {
  .hero-rail { display: flex; }
}

@keyframes hero-settle { to { transform: scale(1); } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Intro / vision ---------- */
.vision-grid {
  display: grid;
  gap: var(--space-5);
}
.vision-grid h2 { max-width: 12ch; }
.vision-copy { max-width: 36rem; color: var(--ink-soft); }
.vision-copy p:first-child { color: var(--ink); font-size: var(--fs-lead); line-height: 1.6; }
.vision-sign {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line-light);
}
.vision-sign img { width: 64px; height: 64px; padding: 10px 6px; object-fit: contain; background: var(--forest-900); border-radius: 50%; box-sizing: content-box; }
.vision-sign p { margin: 0; line-height: 1.5; }
.vision-sign strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--ink); }
@media (min-width: 900px) {
  .vision-grid { grid-template-columns: 1.1fr 1fr; align-items: end; gap: var(--space-7); }
}

/* ---------- Services ---------- */
.pillars { display: grid; gap: var(--space-8); }
.pillar {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}
.pillar-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--forest-800);
}
.pillar-media img { width: 100%; height: 100%; object-fit: cover; }
.pillar-body { max-width: 34rem; }
.pillar-kicker { margin: 0 0 var(--space-2); color: var(--bronze-400); }
.pillar-body h3 { font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); margin-bottom: var(--space-3); }
.pillar-body .lead { margin-bottom: var(--space-4); }
.capabilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}
.capabilities li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--ivory);
}
@media (min-width: 900px) {
  .pillar { grid-template-columns: 1fr 1fr; gap: var(--space-7); }
  .pillar-media { aspect-ratio: 5 / 6; }
  .pillar:nth-child(even) .pillar-media { order: 2; }
}

/* ---------- From site to finish ---------- */
.site-stages {
  display: grid;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: stage-sf;
}
.site-stage { counter-increment: stage-sf; }
.site-stage-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}
.site-stage-photos img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--stone-300);
}
.site-stage h3 { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: var(--space-2); }
.site-stage h3::before {
  content: counter(stage-sf);
  font-size: 0.85em;
  color: var(--bronze-700);
  font-variation-settings: "opsz" 11;
}
.site-stage p { margin: 0; color: var(--ink-soft); max-width: 30rem; }
.site-note { margin: var(--space-5) 0 0; font-size: var(--fs-small); color: var(--ink-soft); }
@media (min-width: 960px) {
  .site-stages { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
}
/* ---------- Getting started (4 steps) ---------- */
.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid var(--line-light);
}
.step {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: var(--space-3);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line-light);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  font-family: var(--serif);
  font-size: 3.5rem;
  line-height: 0.9;
  color: var(--bronze-700);
  /* Text optical size keeps the hairline of the 4 visible at display sizes */
  font-variation-settings: "opsz" 11;
}
.step h3 { margin-bottom: var(--space-2); }
.step p { margin: 0; color: var(--ink-soft); }
.steps-cta { margin-top: var(--space-5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .step {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-4) var(--space-2) 0;
    border-bottom: 0;
    border-top: 1px solid var(--line-light);
  }
  .step + .step { padding-left: var(--space-4); border-left: 1px solid var(--line-light); }
  .step::before { font-size: 5rem; }
}

/* ---------- Portfolio ---------- */
.portfolio-head {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.experience-note {
  max-width: 40rem;
  padding-left: var(--space-3);
  border-left: 1px solid var(--bronze-400);
  color: var(--ivory-soft);
  font-size: var(--fs-small);
}
.experience-note strong { color: var(--ivory); font-weight: 500; }
.filters { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.filter {
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--ivory);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.filter:hover { border-color: var(--ivory); }
.filter[aria-pressed="true"] { background: var(--ivory); color: var(--forest-900); border-color: var(--ivory); }
.filter-count { margin-left: 0.5em; opacity: 0.6; }

.gallery {
  columns: 1;
  column-gap: var(--space-2);
}
.gallery-item {
  break-inside: avoid;
  margin: 0 0 var(--space-2);
}
.gallery-item[hidden] { display: none; }
.gallery-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--forest-800);
  overflow: hidden;
  text-align: left;
}
.gallery-btn img {
  width: 100%;
  transition: transform 900ms var(--ease-out), opacity var(--dur);
}
.gallery-btn:hover img { transform: scale(1.03); }
.gallery-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(17, 23, 18, 0.8), transparent);
  color: var(--ivory);
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur), transform var(--dur) var(--ease-out);
}
.gallery-btn:hover .gallery-cap,
.gallery-btn:focus-visible .gallery-cap { opacity: 1; transform: none; }
@media (hover: none) { .gallery-cap { opacity: 1; transform: none; } }
.gallery-more { display: flex; justify-content: center; margin-top: var(--space-5); }
@media (min-width: 640px) { .gallery { columns: 2; } }
@media (min-width: 1024px) { .gallery { columns: 3; } }

/* Lightbox */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(17, 23, 18, 0.97);
  color: var(--ivory);
}
.lightbox::backdrop { background: rgba(17, 23, 18, 0.9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox-top, .lightbox-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2) var(--gutter);
}
.lightbox-figure {
  display: grid;
  place-items: center;
  min-height: 0;
  margin: 0;
  padding: 0 var(--gutter);
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lightbox-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--ivory);
  transition: border-color var(--dur-fast);
}
.lightbox-btn:hover { border-color: var(--ivory); }
.lightbox-btn svg { width: 22px; height: 22px; }
.lightbox-caption { margin: 0; font-size: var(--fs-small); color: var(--ivory-soft); }
.lightbox-count { font-size: var(--fs-small); color: var(--ivory-soft); }
.lightbox-nav { display: flex; gap: var(--space-1); }

/* ---------- How we work + Standard ---------- */
.process-grid { display: grid; gap: var(--space-6); }
.process-intro h2 { margin-bottom: var(--space-3); }
.stages {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: stage;
}
.stage {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: var(--space-2);
  padding-block: var(--space-3);
  border-top: 1px solid var(--line-light);
  counter-increment: stage;
}
.stage:last-child { border-bottom: 1px solid var(--line-light); }
.stage::before {
  content: counter(stage, decimal-leading-zero);
  padding-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--bronze-700);
}
.stage h3 { font-size: 1.6rem; margin-bottom: 0.35rem; }
.stage p { margin: 0; color: var(--ink-soft); }
@media (min-width: 960px) {
  .process-grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-7); }
  .process-intro { position: sticky; top: calc(var(--header-h) + var(--space-5)); align-self: start; }
}

.standard { margin-top: var(--space-8); }
.standard-panel {
  display: grid;
  gap: var(--space-5);
  padding: clamp(2rem, 1rem + 5vw, 5rem);
  background: var(--forest-900);
  color: var(--ivory);
}
.standard-panel h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); max-width: 14ch; }
.principles { margin: 0; display: grid; }
.principle {
  display: grid;
  gap: 0.35rem;
  padding-block: var(--space-3);
  border-top: 1px solid var(--line-dark);
}
.principle dt { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.principle dd { margin: 0; color: var(--ivory-soft); }
@media (min-width: 960px) {
  .standard-panel { grid-template-columns: 0.8fr 1.2fr; gap: var(--space-7); }
  .principle { grid-template-columns: 11rem 1fr; gap: var(--space-4); align-items: baseline; }
}

/* ---------- About ---------- */
.about-head { max-width: 56rem; margin-bottom: var(--space-6); }
.about-head h2 { margin-bottom: var(--space-3); }
.founders { display: grid; gap: var(--space-2); }
.founder {
  display: grid;
  align-content: start;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-4);
  background: var(--forest-800);
}
.founder-mark {
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--bronze-400);
}
.founder h3 { font-size: 2.25rem; }
.founder-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: var(--space-2);
  background: var(--forest-700);
}
.founder-role { margin: 0; color: var(--bronze-200); }
.founder p:last-child { margin: 0; color: var(--ivory-soft); }
.founder-team { background: transparent; border: 1px solid var(--line-dark); }
.detail-promise {
  display: grid;
  gap: var(--space-2);
  max-width: 52rem;
  margin: var(--space-6) auto 0;
  padding: var(--space-5) clamp(1.25rem, 1rem + 3vw, 3.5rem);
  border-top: 1px solid var(--bronze-400);
  border-bottom: 1px solid var(--bronze-400);
  text-align: center;
}
.detail-promise h3 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem);
  line-height: 1.12;
  color: var(--bronze-200);
}
.detail-promise p { margin: 0 auto; max-width: 40rem; color: var(--ivory-soft); font-size: var(--fs-lead); line-height: 1.6; }
.about-quote {
  margin: var(--space-6) auto 0;
  max-width: 48rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  line-height: 1.3;
}
@media (min-width: 900px) { .founders { grid-template-columns: repeat(2, 1fr); max-width: 60rem; margin-inline: auto; } }

/* ---------- Areas ---------- */
.areas-grid { display: grid; gap: var(--space-5); }
.areas {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}
.areas li {
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  line-height: 1.3;
}
@media (min-width: 640px) { .areas { grid-template-columns: 1fr 1fr; column-gap: var(--space-5); } }
@media (min-width: 960px) { .areas-grid { grid-template-columns: 0.8fr 1.2fr; gap: var(--space-7); } }

/* ---------- Journal ---------- */
.journal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.articles { display: grid; gap: var(--space-5) var(--space-3); }
.article-card { display: grid; gap: var(--space-2); align-content: start; }
.article-card a { text-decoration: none; }
.article-media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone-300); }
.article-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.article-card a:hover img { transform: scale(1.03); }
.article-meta { margin: var(--space-1) 0 0; color: var(--bronze-700); }
.article-card h3 { font-size: 1.6rem; }
.article-card a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.article-card p { margin: 0; color: var(--ink-soft); }
@media (min-width: 900px) { .articles { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--space-6); }
.contact-intro h2 { margin-bottom: var(--space-4); }
.contact-lines { margin: var(--space-5) 0 0; display: grid; gap: 0; }
.contact-line {
  display: grid;
  gap: 0.25rem;
  padding-block: var(--space-2);
  border-top: 1px solid var(--line-dark);
}
.contact-line dt { color: var(--bronze-400); }
.contact-line dd { margin: 0; font-size: 1.15rem; }
.contact-line a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color var(--dur-fast); }
.contact-line a:hover { border-color: var(--bronze-400); }

.form { display: grid; gap: var(--space-3); }
.form-row { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label, .field legend {
  padding: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
}
.field .req { color: var(--bronze-400); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  background: rgba(239, 231, 218, 0.05);
  border: 1px solid rgba(239, 231, 218, 0.28);
  border-radius: 0;
  color: var(--ivory);
  font-size: 1rem;
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EFE7DA' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 3rem;
}
.field select option { background: var(--forest-900); color: var(--ivory); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(239, 231, 218, 0.5); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--bronze-400);
  background: rgba(239, 231, 218, 0.08);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(239, 231, 218, 0.45); }
.field-hint { font-size: var(--fs-small); color: var(--ivory-soft); }
.field-error { font-size: var(--fs-small); color: #F2B8A0; }
.field-error:empty { display: none; }
.field [aria-invalid="true"] { border-color: #F2B8A0; }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-1); margin: 0; padding: 0; border: 0; }
.chips legend { margin-bottom: 0.4rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(239, 231, 218, 0.28);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.chip span:hover { border-color: var(--ivory); }
.chip input:checked + span { background: var(--ivory); color: var(--forest-900); border-color: var(--ivory); }
.chip input:focus-visible + span { outline: 2px solid var(--bronze-400); outline-offset: 3px; }

.form-summary {
  padding: var(--space-2) var(--space-3);
  border: 1px solid #F2B8A0;
  color: var(--ivory);
}
.form-summary[hidden] { display: none; }
.form-summary h3 { font-family: var(--sans); font-size: 1rem; font-weight: 500; margin-bottom: 0.35rem; }
.form-summary ul { margin: 0; padding-left: 1.2rem; }
.form-summary a { color: #F2B8A0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.form-status { font-size: var(--fs-small); color: var(--bronze-200); }
.form-status:empty { display: none; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-7); } }

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--space-7) var(--space-4); }
.footer-grid { display: grid; gap: var(--space-5); }
.footer-brand img { width: 150px; margin-bottom: var(--space-3); }
.footer-brand p { color: var(--ivory-soft); max-width: 22rem; }
.footer-col h2 {
  margin-bottom: var(--space-2);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze-400);
}
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; color: var(--ivory-soft); }
.footer-col a { text-decoration: none; color: var(--ivory-soft); transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--ivory); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-6);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-small);
  color: var(--ivory-soft);
}
.footer-base p { margin: 0; }
.footer-base { flex-direction: column; justify-content: flex-start; gap: var(--space-1); }
.footer-base a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.footer-base a:hover { color: var(--ivory); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--forest-900);
  color: var(--ivory);
  border: 1px solid var(--bronze-400);
  box-shadow: 0 10px 30px rgba(17, 23, 18, 0.35);
  transition: background-color var(--dur-fast), transform var(--dur-fast);
}
.wa-float:hover { background: var(--forest-700); }
.wa-float:active { transform: scale(0.96); }
.wa-float svg { width: 26px; height: 26px; }
@media (min-width: 1081px) { .wa-float { display: none; } }

/* ---------- Journal page ---------- */
.page-hero { padding-top: calc(var(--space-7) + 1rem); padding-bottom: var(--space-6); }
.page-hero h1 { font-size: clamp(2.75rem, 1.8rem + 4vw, 5.5rem); margin-bottom: var(--space-3); }
.post { padding-block: var(--space-7); border-top: 1px solid var(--line-light); }
.post-grid { display: grid; gap: var(--space-5); }
.post-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone-300); }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: var(--space-3); }
.post-body { max-width: 38rem; }
.post-body p { color: var(--ink-soft); }
.post-body h3 { font-size: 1.5rem; margin: var(--space-4) 0 var(--space-2); color: var(--ink); }
.post-body p.post-standfirst { font-size: var(--fs-lead); color: var(--ink); line-height: 1.6; }
@media (min-width: 960px) {
  .post-grid { grid-template-columns: 0.8fr 1.2fr; gap: var(--space-7); align-items: start; }
  .post-media { position: sticky; top: calc(var(--header-h) + var(--space-4)); }
}

/* ---------- Craft in motion (video clips) ---------- */
.craft-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.craft-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.craft-item { margin: 0; }
.craft-item video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--forest-800);
}
.craft-cap { margin: 0.75rem 0 0; font-size: var(--fs-small); color: var(--ivory-soft); }
@media (min-width: 960px) { .craft-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Imagine: a day at home, told in three moments ---------- */
.moments {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5) var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.moment { display: grid; gap: var(--space-2); align-content: start; }
.moment img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: var(--space-1);
}
.moment-time {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--bronze-400);
}
.moment h3 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); line-height: 1.25; }
.imagine-cta { display: flex; justify-content: center; margin-top: var(--space-6); }
@media (min-width: 900px) {
  .moments { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Four steps as cards (after the Foxterra reference) ---------- */
.section-head-center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head-center .lead { margin-inline: auto; }
.step-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  border: 1px solid var(--line-light);
  background: var(--stone-50);
}
.step-card-label {
  margin: 0;
  padding: 1.1rem 1rem;
  background: var(--forest-900);
  color: var(--ivory);
  text-align: center;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.step-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.step-card-body summary {
  position: relative;
  display: block;
  padding: 1.25rem 3.25rem 1.25rem 1.25rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.step-card-body summary::-webkit-details-marker { display: none; }
.step-card-body summary::before,
.step-card-body summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease-out);
}
.step-card-body summary::after { transform: rotate(90deg); }
.step-card-body[open] summary::after { transform: rotate(0deg); }
.step-card-body summary:hover { color: var(--bronze-700); }
.step-card-body p { margin: 0; padding: 0 1.25rem 1.5rem; color: var(--ink-soft); }
@media (min-width: 640px) { .step-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .step-cards { grid-template-columns: repeat(4, 1fr); align-items: start; } }

/* ---------- Timeline phases ---------- */
.phases {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  max-width: 68rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.phase { border: 1px solid var(--line-dark); align-self: start; }
.phase-label {
  margin: 0;
  padding: 1.1rem 1rem;
  background: var(--stone-100);
  color: var(--ink);
  text-align: center;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.phase-body summary {
  position: relative;
  display: block;
  padding: 1.35rem 3.25rem 1.35rem 1.25rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--ivory);
  cursor: pointer;
  list-style: none;
  font-variant-numeric: lining-nums;
}
.phase-body summary::-webkit-details-marker { display: none; }
.phase-body summary::before,
.phase-body summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--ivory);
  transition: transform var(--dur) var(--ease-out);
}
.phase-body summary::after { transform: rotate(90deg); }
.phase-body[open] summary::after { transform: rotate(0deg); }
.phase-body summary:hover { color: var(--bronze-200); }
.phase-body p { margin: 0; padding: 0 1.25rem 1.5rem; color: var(--ivory-soft); }
@media (min-width: 640px) { .phases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .phases { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Design enquiry: one centred column (after the Foxterra reference) ---------- */
.enquiry {
  max-width: 46rem;
  margin: 0 auto;
  gap: var(--space-4);
}
.enquiry-intro { margin: 0; text-align: center; }
.enquiry .chips legend { width: 100%; margin-bottom: 0.75rem; line-height: 1.5; }
.enquiry .chips .field-error { flex-basis: 100%; }
.enquiry-actions { justify-content: center; padding-top: var(--space-2); }
.enquiry + .form-status, .enquiry .form-status { text-align: center; }
.field-optional { color: var(--ivory-soft); font-weight: 400; }
.enquiry-more { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.enquiry-more summary {
  position: relative;
  padding: 1.1rem 2.5rem 1.1rem 0;
  cursor: pointer;
  list-style: none;
  color: var(--ivory);
  font-weight: 500;
}
.enquiry-more summary::-webkit-details-marker { display: none; }
.enquiry-more summary::before,
.enquiry-more summary::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--bronze-200);
  transition: transform var(--dur) var(--ease-out);
}
.enquiry-more summary::after { transform: rotate(90deg); }
.enquiry-more[open] summary::after { transform: rotate(0deg); }
.enquiry-more summary:hover { color: var(--bronze-200); }
.enquiry-more summary:focus-visible { outline: 2px solid var(--bronze-200); outline-offset: 4px; }
.enquiry-more-body { display: grid; gap: var(--space-4); padding-bottom: var(--space-4); }
.form-status a { color: var(--bronze-200); text-decoration: underline; text-underline-offset: 0.2em; }
.contact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: var(--space-3);
  max-width: 64rem;
  margin: var(--space-7) auto 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--line-dark);
  text-align: center;
}
.contact-strip dt { margin-bottom: 0.35rem; color: var(--bronze-400); }
.contact-strip dd { margin: 0; overflow-wrap: anywhere; }
.contact-strip a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color var(--dur-fast); }
.contact-strip a:hover { border-color: var(--bronze-400); }

/* ---------- Meet Banu (after the Dubai garden-designer reference) ---------- */
.meet-head { display: grid; gap: var(--space-3); justify-items: center; max-width: 52rem; margin: 0 auto var(--space-6); text-align: center; }
.meet-kicker { margin: 0; color: var(--bronze-700); }
.meet-head h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1.15; }
.meet-head em { font-style: italic; }
.meet-media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin: 0 0 var(--space-7); }
.meet-media figure { margin: 0; }
.meet-media video, .meet-media img {
  display: block; width: 100%; max-width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--stone-300);
}
.meet-main { grid-column: 1 / -1; }
.meet-main video { aspect-ratio: 4 / 5; }
.meet-story { display: grid; gap: var(--space-5); }
.meet-belief { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.3; }
.meet-text { display: grid; gap: var(--space-2); max-width: 36rem; color: var(--ink-soft); }
.meet-text p { margin: 0; }
.meet-intro { display: flex; align-items: center; gap: var(--space-3); }
.meet-portrait { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.meet-hello { margin: 0; font-family: var(--serif); font-size: 1.4rem; line-height: 1.4; color: var(--ink); }
.meet-text .text-link { justify-self: start; margin-top: var(--space-1); }
@media (min-width: 900px) {
  .meet-media { grid-template-columns: 2fr 1fr 1fr; height: clamp(26rem, 65vh, 38rem); }
  .meet-main { grid-column: auto; }
  .meet-media figure { height: 100%; min-height: 0; }
  .meet-main video, .meet-media img { height: 100%; aspect-ratio: auto; }
  .meet-story { grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: start; }
}

/* ---------- Crew at work ---------- */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.crew-item { margin: 0; }
.crew-item img, .crew-item video {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--stone-300);
}
.surface-stone .craft-cap { color: var(--ink-soft); }
.crew-item .craft-cap, .craft-item .craft-cap { text-align: center; }
@media (min-width: 960px) { .crew-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Cost guide ---------- */
.calc { display: grid; gap: var(--space-5); align-items: start; }
.calc-form { display: grid; gap: var(--space-5); }
.calc-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.calc-group[hidden] { display: none; }
.calc-legend {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-2);
  width: 100%;
  margin-bottom: var(--space-2);
  padding: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.calc-legend output {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bronze-700);
}
.calc-options { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.calc-chip { position: relative; }
.calc-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc-chip span {
  display: grid;
  gap: 0.1rem;
  min-height: 48px;
  align-content: center;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line-light);
  background: var(--stone-50);
  font-size: 0.95rem;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.calc-chip small { font-size: 0.78rem; color: var(--ink-soft); }
.calc-chip span:hover { border-color: var(--ink); }
.calc-chip input:checked + span { background: var(--forest-900); border-color: var(--forest-900); color: var(--ivory); }
.calc-chip input:checked + span small { color: var(--ivory-soft); }
.calc-chip input:focus-visible + span { outline: 2px solid var(--bronze-700); outline-offset: 3px; }

.calc-range {
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  accent-color: var(--forest-900);
  cursor: pointer;
}
.calc-scale { display: flex; justify-content: space-between; font-size: var(--fs-small); color: var(--ink-soft); }

.calc-result {
  display: grid;
  gap: var(--space-3);
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  background: var(--forest-900);
  color: var(--ivory);
}
.calc-result-kicker { margin: 0; color: var(--bronze-400); }
.calc-total {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  line-height: 1.1;
  font-variant-numeric: lining-nums tabular-nums;
}
.calc-total span { display: block; font-size: 0.5em; color: var(--ivory-soft); }
.calc-breakdown { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.calc-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.95rem;
}
.calc-breakdown li span:last-child { color: var(--ivory-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc-note { margin: 0; font-size: var(--fs-small); color: var(--ivory-soft); }
@media (min-width: 960px) {
  .calc { grid-template-columns: 1.2fr 0.8fr; gap: var(--space-7); }
  .calc-result { position: sticky; top: calc(var(--header-h) + var(--space-4)); }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: var(--space-5); }
.faq-intro h2 { margin-bottom: var(--space-3); }
.faq-intro a { color: var(--bronze-700); }
.faq-list { border-top: 1px solid var(--line-light); }
.faq { border-bottom: 1px solid var(--line-light); }
.faq summary {
  position: relative;
  display: block;
  padding: 1.35rem 3rem 1.35rem 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--bronze-700); }
.faq p { margin: 0 0 1.5rem; max-width: 40rem; color: var(--ink-soft); }
.faq p a { color: var(--bronze-700); }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: var(--space-7); }
  .faq-intro { position: sticky; top: calc(var(--header-h) + var(--space-5)); align-self: start; }
}

/* ---------- Season popup (after the Foxterra reference) ----------
   A tall photo panel on the right: short lead-in, one big emotional line, one button. */
.season {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(520px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(17, 23, 18, 0.25) 0%, rgba(17, 23, 18, 0.45) 45%, rgba(17, 23, 18, 0.7) 100%),
    url("../img/stock-palm-infinity.webp") 50% 40% / cover no-repeat,
    var(--forest-900);
  overflow: auto;
}
.season[open] { display: grid; animation: season-in 600ms var(--ease-out); }
.season::backdrop { background: rgba(17, 23, 18, 0.62); }
.season-body {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: var(--space-5);
  min-height: 100%;
  padding: var(--space-7) clamp(1.5rem, 1rem + 2.5vw, 3rem);
  text-align: center;
}
.season-kicker {
  margin: 0;
  max-width: 24rem;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.season-kicker u { text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.season h2 {
  max-width: 11ch;
  font-size: clamp(3rem, 2rem + 3.6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
.season-cta { min-width: min(100%, 18rem); }
.season-close {
  position: absolute;
  top: max(var(--space-2), env(safe-area-inset-top, 0px));
  right: max(var(--space-2), env(safe-area-inset-right, 0px));
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: rgba(17, 23, 18, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.season-close:hover { background: rgba(17, 23, 18, 0.6); }
.season-close svg { width: 22px; height: 22px; }
@keyframes season-in { from { transform: translateX(48px); opacity: 0; } to { transform: none; opacity: 1; } }
/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide { transform: none; }
}

/* ---------- Journal article pages ---------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; margin: 0 0 var(--space-3); padding: 0; list-style: none; font-size: var(--fs-small); color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.6rem; color: var(--stone-300); }
.breadcrumb a { color: var(--bronze-700); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.article-hero { max-width: 60rem; }
.article-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.5rem); }
.article-hero .article-meta { margin-bottom: var(--space-2); }
.article-page { border-top: 0; padding-top: 0; }
.article-body h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem); margin: var(--space-5) 0 var(--space-2); color: var(--ink); }
.article-body h2:first-child { margin-top: 0; }
.article-body a { color: var(--bronze-700); }
.article-body ul, .article-body ol { margin: 0 0 1.25em; padding-left: 1.25rem; color: var(--ink-soft); }
.article-body li { margin-bottom: 0.5em; }
.article-body li strong, .article-body p strong { color: var(--ink); font-weight: 500; }
.article-figure { margin: var(--space-4) 0; }
.article-figure img { width: 100%; }
.article-figure figcaption { margin-top: var(--space-1); font-size: var(--fs-small); color: var(--ink-soft); }
.table-wrap { overflow-x: auto; margin: 0 0 var(--space-3); }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.price-table th, .price-table td { padding: 0.85rem 0.75rem 0.85rem 0; border-bottom: 1px solid var(--line-light); text-align: left; vertical-align: top; }
.price-table thead th { font-weight: 500; color: var(--ink); border-bottom-color: var(--ink); }
.price-table td { color: var(--ink-soft); }
.callout { margin: var(--space-4) 0; padding: var(--space-3); background: var(--stone-200); border-left: 2px solid var(--bronze-700); }
.callout p:last-child { margin-bottom: 0; }
.article-faq { margin-top: var(--space-5); }
.article-faq .faq-list { margin-top: var(--space-2); }
.related { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line-light); }
.related h2 { margin-top: 0; }
.related ul { list-style: none; padding: 0; }
.journal-guides { padding-block: var(--space-5) var(--space-7); }
.journal-guides h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: var(--space-4); }
@media (min-width: 900px) { .journal-guides .articles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .journal-guides .articles { grid-template-columns: repeat(3, 1fr); } }
