/* ============================================================
   Gravity Smera Gardens — Horticultural-Luxe Stylesheet
   --------------------------------------------------------------
   Arts & Crafts garden-journal language: Cormorant Garamond
   italic display + DM Sans body, walnut/olive/cream palette,
   botanical SVG ornaments, curlicue card corners, drop caps,
   Latin-name italic eyebrows.  Distinct from villa-template.
   ============================================================ */

/* fonts.css (the actual @font-face woff2 downloads) is loaded non-render-blocking
   via <link media="print" onload> in each page <head> (with a <noscript> fallback)
   — see the head markup. Importing it here would make it render-blocking and
   serialized behind this stylesheet, delaying FCP.

   The size-adjusted FALLBACK @font-face declarations below are kept HERE (in the
   render-blocking stylesheet) on purpose: they carry no downloads (local() only)
   and their metric overrides must apply at first paint so the fallback text is
   laid out at the webfont's final metrics — this suppresses the font-swap layout
   shift (CLS) when the async webfonts arrive. */
@font-face {
  font-family: 'Cormorant Garamond Fallback';
  src: local('Georgia'), local('Times New Roman'), local('Times'), local('serif');
  size-adjust: 94%;
  ascent-override: 105%;
  descent-override: 28%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'DM Sans Fallback';
  src: local('Helvetica Neue'), local('Helvetica'), local('Arial'), local('sans-serif');
  size-adjust: 100%;
  ascent-override: 102%;
  descent-override: 31%;
  line-gap-override: 0%;
}

/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  /* Canonical 3x3 tokens (check-builder-theme.mjs) */
  --brand-primary:   #4A3520;   /* deep walnut */
  --brand-secondary: #6F5E28;   /* olive-gold - AA-safe on cream (5.41 on #f4ecdc) */
  --brand-tertiary:  #E9DEC4;   /* warm cream */
  --dark-primary:    #2a1d10;   /* near-black walnut for highest contrast text */
  --dark-secondary:  #4A3520;   /* walnut body ink */
  --dark-tertiary:   #6b5a3a;   /* faded walnut/olive border ink */
  --light-primary:   #f4ecdc;   /* warm linen cream — page bg */
  --light-secondary: #fbf6e9;   /* paler vellum surface for cards */
  --light-tertiary:  #ede2c6;   /* nested cream panel */

  /* Decorative tokens — botanical/garden-journal */

  /* Hairline / border colours */

  /* State */
  --state-success: #4d6b2c;
  --state-error:   #8a2b1f;

  /* Font stacks */
  --font-display: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', 'DM Sans Fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-headline: var(--font-display); /* legacy alias */

  /* Geometry */
  --radius:        4px;
  --radius-lg:     14px;
  --radius-pill:   999px;
  --container:     min(1240px, calc(100% - 2.5rem));
  --section-py:    6.5rem;
  --transition:    0.28s ease;

  /* Botanical SVG data URIs */
  --sprig-svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 16' fill='none' stroke='%234A3520' stroke-width='1' stroke-linecap='round'><path d='M2 8 H62'/><path d='M22 8 C26 4 28 4 32 8 C36 4 38 4 42 8'/><ellipse cx='28' cy='6' rx='3' ry='1.6' transform='rotate(-25 28 6)' fill='%238A7B3F' stroke='none'/><ellipse cx='36' cy='6' rx='3' ry='1.6' transform='rotate(25 36 6)' fill='%238A7B3F' stroke='none'/><circle cx='32' cy='9' r='1.2' fill='%234A3520' stroke='none'/></svg>");
  --leaf-svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A7B3F' stroke-width='1.1' stroke-linecap='round'><path d='M3 21 C8 16 14 10 21 3' /><path d='M21 3 C18 5 15 5 12 4' /><path d='M21 3 C19 6 19 9 20 12' /><path d='M16 8 C13 9 10 9 7 8'/><path d='M11 13 C9 12 7 12 5 13'/></svg>");
  --corner-svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%234A3520' stroke-width='1' stroke-linecap='round'><path d='M2 30 V12 C2 6 6 2 12 2 H30'/><path d='M2 22 C6 22 10 18 10 12 C10 8 12 6 16 6'/><circle cx='10' cy='12' r='1.3' fill='%238A7B3F' stroke='none'/><circle cx='16' cy='6' r='1.3' fill='%238A7B3F' stroke='none'/></svg>");
  --tendril-svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 24' fill='none' stroke='%234A3520' stroke-width='1' stroke-linecap='round'><path d='M2 12 C8 4 14 20 22 12 S36 4 46 12'/><ellipse cx='12' cy='10' rx='2' ry='1.1' fill='%238A7B3F' stroke='none' transform='rotate(-30 12 10)'/><ellipse cx='32' cy='14' rx='2' ry='1.1' fill='%238A7B3F' stroke='none' transform='rotate(30 32 14)'/></svg>");
  --linen-noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><g fill='%234A3520' opacity='0.04'><circle cx='20' cy='30' r='0.8'/><circle cx='70' cy='15' r='0.6'/><circle cx='130' cy='40' r='0.9'/><circle cx='160' cy='110' r='0.7'/><circle cx='90' cy='90' r='0.8'/><circle cx='40' cy='130' r='0.6'/><circle cx='110' cy='160' r='0.9'/><circle cx='150' cy='70' r='0.6'/></g></svg>");
}

/* =============================================================
   2. RESET / BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.72;
  color: var(--dark-secondary);
  background-color: var(--light-primary);
  background-image: var(--linen-noise);
  background-repeat: repeat;
  background-size: 180px 180px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1, 'onum' 1;
  font-variant-numeric: oldstyle-nums proportional-nums;
  overflow-x: clip;
  max-width: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
  color: inherit;
}
input, select, textarea { font-family: var(--font-body); }

/* Typography ---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--brand-primary);
  text-wrap: balance;
  letter-spacing: -0.005em;
  overflow-wrap: break-word;
}
h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-style: italic;
  font-weight: 500;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-style: italic;
  font-weight: 500;
}
h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 600;
}
h4 { font-size: 1.15rem; font-weight: 600; }
p  { overflow-wrap: break-word; }

::selection {
  background: var(--brand-secondary);
  color: var(--light-secondary);
}

/* =============================================================
   3. LAYOUT PRIMITIVES
   ============================================================= */
.container {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
  min-width: 0;
}
.section {
  padding: var(--section-py) 0;
  position: relative;
  max-width: 100%;
  min-width: 0;
}
.section--low { background: var(--light-primary); }
.section--dark { background: var(--light-secondary); }
.section--cream {
  background: var(--brand-tertiary);
  background-image:
    radial-gradient(circle at 14% 18%, color-mix(in srgb, var(--brand-primary) 4%, transparent) 0, transparent 18%),
    radial-gradient(circle at 86% 78%, color-mix(in srgb, var(--brand-secondary) 5%, transparent) 0, transparent 22%);
}
.section--ink {
  background: var(--brand-primary);
  color: var(--brand-tertiary);
  background-image:
    radial-gradient(circle at 8% 12%, color-mix(in srgb, white 4%, transparent) 0, transparent 30%),
    radial-gradient(circle at 92% 85%, color-mix(in srgb, var(--brand-secondary) 10%, transparent) 0, transparent 35%);
}
.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink h4 { color: var(--brand-tertiary); }
.section--ink p,
.section--ink li { color: color-mix(in srgb, var(--brand-tertiary) 92%, transparent); }

.page-wrapper { padding-top: 74px; overflow-x: clip; }

.page-updated {
  margin: 0.6rem 0 1.25rem;
  color: var(--dark-tertiary);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  font-style: italic;
  font-family: var(--font-display);
}
.page-updated time {
  font-weight: 600;
  color: var(--brand-secondary);
  font-style: normal;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

/* =============================================================
   4. SPRIG DIVIDER (between sections + as headline ornament)
   ============================================================= */
.sprig-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
  width: var(--container);
  max-width: 360px;
  position: relative;
  height: 36px;
}
.sprig-divider::before,
.sprig-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--dark-tertiary);
}
.sprig-divider::before { margin-right: 1rem; }
.sprig-divider::after  { margin-left: 1rem; }
.sprig-divider__mark {
  display: inline-block;
  width: 64px;
  height: 16px;
  background-image: var(--sprig-svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.85;
}
.sprig-divider--ink::before,
.sprig-divider--ink::after { background: color-mix(in srgb, var(--brand-tertiary) 32%, transparent); }

/* =============================================================
   5. BUTTONS — rounded soft walnut + olive outline
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.85rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  border-radius: 14px;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  text-transform: none;
  position: relative;
}
.btn-primary {
  background: var(--brand-primary);
  color: var(--brand-tertiary);
  border-color: var(--brand-primary);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-tertiary) 8%, transparent);
}
.btn-primary:hover {
  background: var(--dark-primary);
  border-color: var(--dark-primary);
  color: var(--light-secondary);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--brand-primary) 25%, transparent);
}
.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-secondary);
}
.btn-outline:hover {
  background: var(--brand-secondary);
  color: var(--light-secondary);
  border-color: var(--brand-secondary);
  transform: translateY(-1px);
}
.section--ink .btn-outline {
  color: var(--brand-tertiary);
  border-color: var(--brand-tertiary);
}
.section--ink .btn-outline:hover {
  background: var(--brand-secondary);
  color: var(--dark-primary);
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible {
  outline: 2px dotted var(--brand-secondary);
  outline-offset: 3px;
}
.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.cta-row--center { justify-content: center; }

/* =============================================================
   6. NAVIGATION — cream paper bar, italic Cormorant brand mark
   ============================================================= */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--light-secondary);
  border-bottom: 1px solid var(--dark-tertiary);
  box-shadow: 0 2px 0 color-mix(in srgb, var(--brand-primary) 4%, transparent);
}
.navbar__inner {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 0.75rem;
  min-width: 0;
}
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}
.brand-logo-img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 44px;
  border-radius: 50%;
  background: var(--brand-tertiary);
  padding: 4px;
  border: 1px solid var(--light-tertiary);
}
.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 0;
}
.brand-developer {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--brand-secondary);
  text-transform: none;
}
.brand-project {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--brand-primary);
  line-height: 1;
  margin-top: 0.05rem;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.navbar__link {
  position: relative;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--brand-primary);
  white-space: nowrap;
  padding-bottom: 4px;
}
.navbar__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brand-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.navbar__link:hover::after,
.navbar__link.is-active::after { transform: scaleX(1); }
.navbar__link:hover,
.navbar__link.is-active { color: var(--brand-secondary); }

.navbar__cta {
  padding: 0.55rem 1.25rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--brand-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .navbar__menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--light-secondary);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 1.5rem;
    border-bottom: 1px solid var(--dark-tertiary);
    align-items: stretch;
  }
  .navbar__menu.is-open { display: flex; }
  .navbar__link { padding: 0.85rem 1.5rem; width: 100%; }
  .navbar__cta { margin: 0.7rem 1.5rem 0; text-align: center; }
}

/* =============================================================
   7. HERO — full-bleed villa, walnut wash bottom, italic h1
   ============================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--dark-primary);
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--dark-primary) 22%, transparent) 0%,
      color-mix(in srgb, var(--dark-primary) 48%, transparent) 42%,
      color-mix(in srgb, var(--dark-primary) 82%, transparent) 74%,
      color-mix(in srgb, var(--dark-primary) 97%, transparent) 100%);
}
/* Decorative botanical SVG corner ornaments inside hero — removed */
.hero__ornament {
  display: none;
  position: absolute;
  width: 96px;
  height: 96px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.75;
  background-image: var(--corner-svg);
  background-repeat: no-repeat;
  background-size: contain;
  filter: invert(94%) sepia(13%) saturate(367%) hue-rotate(355deg) brightness(96%) contrast(91%);
}
.hero__ornament--tl { top: 90px; left: 1.5rem; }
.hero__ornament--br {
  bottom: 1.5rem; right: 1.5rem;
  transform: scale(-1, -1);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
  padding: 4rem 0 4rem;
}
.hero__content { max-width: 880px; }
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--brand-tertiary);
  text-transform: lowercase;
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin-bottom: 1rem;
}
.hero__tag::before {
  content: "";
  width: 36px; height: 12px;
  background-image: var(--sprig-svg);
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(2) saturate(0.5);
  opacity: 0.85;
}
.hero__title {
  color: var(--light-secondary);
  margin-bottom: 1.1rem;
  max-width: 18ch;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.04;
}
.hero__title span {
  display: block;
  font-size: 0.42em;
  font-style: italic;
  font-weight: 500;
  color: var(--brand-tertiary);
  margin-top: 1rem;
  line-height: 1.3;
  letter-spacing: 0.005em;
  opacity: 0.92;
}
.hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--brand-tertiary) 92%, transparent);
  max-width: 58ch;
  margin-bottom: 1.25rem;
  font-weight: 400;
}
.hero__content .page-updated {
  color: var(--brand-tertiary);
  opacity: 0.85;
  margin-bottom: 1.5rem;
}
.hero__content .page-updated time {
  color: var(--brand-tertiary);
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__actions .btn-primary {
  background: var(--brand-tertiary);
  color: var(--brand-primary);
  border-color: var(--brand-tertiary);
}
.hero__actions .btn-primary:hover {
  background: var(--light-secondary);
  color: var(--dark-primary);
  border-color: var(--light-secondary);
}
.hero__actions .btn-outline {
  color: var(--brand-tertiary);
  border-color: var(--brand-tertiary);
}
.hero__actions .btn-outline:hover {
  background: var(--brand-tertiary);
  color: var(--brand-primary);
}
@media (max-width: 1024px) {
  .hero { min-height: 82vh; }
  .hero__title { max-width: 100%; }
  .hero__ornament { width: 64px; height: 64px; }
}

/* =============================================================
   8. HIGHLIGHTS RIBBON — italic serif stats, herbarium label feel
   ============================================================= */
.highlights {
  background: var(--brand-primary);
  color: var(--brand-tertiary);
  padding: 3rem 0 3.25rem;
  position: relative;
  border-top: 1px solid var(--brand-secondary);
  border-bottom: 1px solid var(--brand-secondary);
}
.highlights::before,
.highlights::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: color-mix(in srgb, var(--brand-tertiary) 16%, transparent);
}
.highlights::before { top: 6px; }
.highlights::after  { bottom: 6px; }
.highlights__grid {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 1.5rem;
  align-items: start;
}
.highlights__item {
  text-align: center;
  padding: 0.4rem 1rem;
  min-width: 0;
  position: relative;
}
.highlights__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: color-mix(in srgb, var(--brand-tertiary) 28%, transparent);
}
.highlights__value {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  line-height: 1.05;
  color: var(--brand-tertiary);
  font-variant-numeric: oldstyle-nums;
  letter-spacing: -0.005em;
}
.highlights__label {
  display: block;
  margin-top: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-tertiary);
  font-weight: 500;
}
@media (max-width: 1024px) {
  .highlights__item:not(:last-child)::after {
    display: none;
  }
  .highlights__item:not(:last-child) {
    border-bottom: 1px solid color-mix(in srgb, var(--brand-tertiary) 18%, transparent);
    padding-bottom: 1rem;
  }
}

/* =============================================================
   9. SECTION HEADER — Latin-name italic eyebrows (taxonomy style)
   ============================================================= */
.section-header {
  margin-bottom: 3rem;
  max-width: 68ch;
}
.section-header--center {
  text-align: center;
  margin-inline: auto;
}
.section-header__tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.1rem;
  text-transform: lowercase;
  letter-spacing: 0.005em;
  color: var(--brand-secondary);
  margin-bottom: 1rem;
  padding-bottom: 0;
  border: none;
  position: relative;
}
.section-header__tag::before {
  content: "·";
  display: inline-block;
  color: var(--brand-secondary);
  font-style: normal;
  font-weight: 700;
  margin-right: 0.15rem;
  transform: translateY(-0.1em);
}
.section-header__title {
  color: var(--brand-primary);
  margin-bottom: 0.8rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.section-header__desc {
  font-family: var(--font-body);
  color: var(--dark-secondary);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 62ch;
}
.section--ink .section-header__desc { color: color-mix(in srgb, var(--brand-tertiary) 88%, transparent); }
.section--ink .section-header__tag { color: var(--brand-tertiary); }
.section--ink .section-header__tag::before { color: var(--brand-tertiary); }
.section--ink .section-header__title { color: var(--brand-tertiary); }
.section--ink .dev-stat__value { color: var(--brand-tertiary); }
.section--ink .dev-stat__label { color: color-mix(in srgb, var(--brand-tertiary) 74%, transparent); }
.section-header--center .section-header__desc { margin-inline: auto; }

/* =============================================================
   10. ASYMMETRIC TWO-COLUMN ROW — journal spread (1.4fr / 1fr)
   ============================================================= */
.row-2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
  min-width: 0;
}
.row-2--rev {
  grid-template-columns: 1fr 1.4fr;
}
.row-2--rev > :first-child { order: 2; }
@media (min-width: 1025px) {
  .row-2 > .reveal:has(.img-wrap) {
    position: sticky;
    top: 100px;
    align-self: start;
  }
}
@media (max-width: 1024px) {
  .row-2, .row-2--rev {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .row-2--rev > :first-child { order: 0; }
}

/* =============================================================
   11. RICH CONTENT — drop caps + body styling
   ============================================================= */
.rich-content {
  font-family: var(--font-body);
  color: var(--dark-secondary);
  font-size: 1.04rem;
  line-height: 1.78;
}
.rich-content p {
  margin-bottom: 1.1rem;
}
.rich-content p:last-child { margin-bottom: 0; }
.rich-content h3 {
  margin: 2rem 0 0.8rem;
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}
.rich-content h4 {
  margin: 1.5rem 0 0.55rem;
  color: var(--brand-secondary);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
}
.rich-content ul {
  margin: 0.85rem 0 1.35rem 0;
  list-style: none;
}
.rich-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.45rem;
}
.rich-content ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 12px; height: 12px;
  background-image: var(--leaf-svg);
  background-repeat: no-repeat;
  background-size: contain;
  transform: rotate(-15deg);
}
.rich-content strong {
  color: var(--brand-primary);
  font-weight: 600;
}
.rich-content em { font-style: italic; }
.rich-content a {
  color: var(--brand-secondary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--dark-tertiary);
  text-underline-offset: 4px;
  transition: color var(--transition), text-decoration-color var(--transition);
}
.rich-content a:hover {
  color: var(--brand-primary);
  text-decoration-color: var(--brand-secondary);
}
.section--ink .rich-content p,
.section--ink .rich-content ul li { color: color-mix(in srgb, var(--brand-tertiary) 92%, transparent); }
.section--ink .rich-content strong { color: var(--brand-tertiary); }
.section--ink .rich-content a { color: var(--brand-tertiary); }
.section--ink .rich-content a:hover { color: var(--brand-tertiary); }
.section--ink .rich-content ul li::before {
  filter: brightness(1.4) saturate(0.7);
}

/* Drop caps — Cormorant italic, 5em, walnut, float left */
.rich-content > p:first-of-type::first-letter,
.overview-body > p:first-of-type::first-letter,
.article-copy > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 5em;
  line-height: 0.86;
  color: var(--brand-primary);
  float: left;
  margin: 0.05em 0.18em 0 0;
  padding: 0.05em 0.05em 0 0;
}
.section--ink .rich-content > p:first-of-type::first-letter,
.section--ink .overview-body > p:first-of-type::first-letter,
.section--ink .article-copy > p:first-of-type::first-letter {
  color: var(--brand-tertiary);
}

/* Multi-column article body on wide screens */
.article-copy {
  column-count: 2;
  column-gap: 3rem;
  column-rule: 1px solid var(--dark-tertiary);
}
.article-copy > p:first-of-type { column-span: none; }
@media (max-width: 1024px) {
  .article-copy {
    column-count: 1;
    column-rule: none;
  }
}

/* =============================================================
   12. CARD FRAME — single-stroke walnut + curlicue corners
   Reusable via .villa-card / .pricing-card / .fp-card etc.
   ============================================================= */
.villa-card,
.pricing-card,
.fp-card,
.amenity-item,
.form-card,
.related-projects__card,
.faq-section-item {
  position: relative;
}

/* Curlicue SVG corner ornaments on key cards — removed */
.villa-card::before,
.villa-card::after,
.pricing-card::before,
.pricing-card::after {
  content: none;
  position: absolute;
  width: 22px; height: 22px;
  background-image: var(--corner-svg);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.85;
  pointer-events: none;
}
.villa-card::before,
.pricing-card::before {
  top: -1px; left: -1px;
}
.villa-card::after,
.pricing-card::after {
  bottom: -1px; right: -1px;
  transform: scale(-1, -1);
}

/* Top-right + bottom-left as well, via nested wrappers we don't have — use box-shadow */
.villa-card,
.pricing-card {
  /* hairline frame */
  background:
    var(--light-secondary)
    linear-gradient(135deg, transparent 0, transparent 100%) no-repeat;
}

/* =============================================================
   13. VILLA CARDS (USP row) — cream paper "specimen plates"
   ============================================================= */
.villa-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.5rem;
  min-width: 0;
}
.villa-card {
  background: var(--light-secondary);
  border: 1px solid var(--brand-primary);
  border-radius: 4px;
  padding: 2rem 1.7rem 1.7rem;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.villa-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--brand-primary) 15%, transparent);
}
.villa-card__icon {
  font-size: 1.9rem;
  margin-bottom: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--brand-tertiary);
  border: 1px solid var(--dark-tertiary);
  border-radius: 50%;
  line-height: 1;
}
.villa-card__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--brand-primary);
  margin-bottom: 0.6rem;
  line-height: 1.18;
}
.villa-card__desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--dark-secondary);
}

/* =============================================================
   14. PRICING CARDS — same paper-frame language
   ============================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 1.75rem;
  align-items: start;
  min-width: 0;
}
.pricing-card {
  background: var(--light-secondary);
  border: 1px solid var(--brand-primary);
  border-radius: 4px;
  padding: 2.4rem 2rem 2rem;
  display: flex;
  flex-direction: column;
}
.pricing-card--featured {
  background: var(--brand-tertiary);
  border: 1.5px solid var(--brand-primary);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--brand-primary) 16%, transparent);
}
.pricing-card--featured::before,
.pricing-card--featured::after {
  opacity: 1;
}
.pricing-card__badge {
  position: absolute;
  top: -0.95rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-primary);
  color: var(--brand-tertiary);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  padding: 0.32rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-secondary);
}
.pricing-card__type {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.65rem;
  color: var(--brand-primary);
  margin-bottom: 0.45rem;
  line-height: 1.15;
}
.pricing-card__desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--dark-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.pricing-card__price-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  color: var(--brand-secondary);
  margin-bottom: 0.25rem;
  text-transform: lowercase;
}
.pricing-card__price {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--brand-primary);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-variant-numeric: oldstyle-nums;
}
.pricing-card__specs { margin-bottom: 1.65rem; }
.pricing-card__spec-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--dark-tertiary);
  font-size: 0.92rem;
  font-family: var(--font-body);
  color: var(--dark-secondary);
}
.pricing-card__spec-row:last-child { border-bottom: none; }
.pricing-card__spec-row span:last-child {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--brand-primary);
  font-size: 1.02rem;
  font-variant-numeric: oldstyle-nums;
}
.pricing-card__cta { margin-top: auto; }

/* =============================================================
   15. DATA TABLE — herbarium specimen ledger
   ============================================================= */
.data-table {
  background: var(--light-secondary);
  border: 1px solid var(--brand-primary);
  border-radius: 4px;
  overflow-x: auto;
  display: block;
  width: 100%;
  position: relative;
}
.data-table table {
  min-width: 540px;
  width: 100%;
  font-family: var(--font-body);
}
.data-table th {
  background: var(--brand-tertiary);
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.005em;
  text-transform: lowercase;
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--brand-primary);
}
.data-table td {
  padding: 0.95rem 1.2rem;
  border-top: 1px dashed var(--dark-tertiary);
  color: var(--dark-secondary);
  font-size: 0.94rem;
  vertical-align: top;
  line-height: 1.5;
}
.data-table tr:first-child td { border-top: none; }
.data-table td:first-child {
  color: var(--brand-primary);
  font-weight: 600;
}
.data-table td:last-child {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--brand-primary);
  font-size: 1.02rem;
  font-variant-numeric: oldstyle-nums;
}

/* =============================================================
   16. FLOOR PLANS (tabs + cards)
   ============================================================= */
.tab-bar {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--dark-tertiary);
}
.tab-btn {
  padding: 0.95rem 1.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0;
  color: var(--dark-tertiary);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
  text-transform: lowercase;
}
.tab-btn:hover { color: var(--brand-secondary); }
.tab-btn.is-active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.fp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.75rem;
}
.fp-card {
  background: var(--light-secondary);
  border: 1px solid var(--brand-primary);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.fp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--brand-primary) 18%, transparent);
}
.fp-card__img {
  background: var(--brand-tertiary);
  border-bottom: 1px solid var(--dark-tertiary);
}
.fp-card__img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  padding: 0.8rem;
}
.fp-card__body { padding: 1.15rem 1.35rem 1.45rem; }
.fp-card__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--brand-primary);
  margin-bottom: 0.45rem;
  line-height: 1.18;
}
.fp-card__meta {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--dark-secondary);
}
.fp-card__meta span { display: block; margin-bottom: 0.1rem; }

/* =============================================================
   17. GALLERY — herbarium plates
   ============================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--brand-tertiary);
  cursor: zoom-in;
  border: 1px solid var(--dark-tertiary);
  padding: 6px 6px 0 6px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--brand-primary) 18%, transparent);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s ease;
  border-radius: 2px;
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item__caption {
  position: relative;
  padding: 0.7rem 0.85rem 0.9rem;
  background: var(--brand-tertiary);
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  border-top: 1px dashed var(--dark-tertiary);
  margin-top: 6px;
}

/* =============================================================
   18. AMENITIES — checklist with leaf bullets
   ============================================================= */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 0.6rem 1rem;
}
.amenity-item {
  background: transparent;
  border: none;
  border-bottom: 1px dashed var(--dark-tertiary);
  border-radius: 0;
  padding: 0.7rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-secondary);
  transition: color var(--transition), padding var(--transition);
  line-height: 1.45;
}
.amenity-item:hover {
  color: var(--brand-primary);
  padding-left: 0.35rem;
}
.amenity-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 0.15rem;
  background-image: var(--leaf-svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  color: transparent;
  font-size: 0;
}

/* =============================================================
   19. IMG WRAP — masterplan / location frames
   ============================================================= */
.img-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--brand-tertiary);
  border: 1px solid var(--brand-primary);
  padding: 8px;
}
.img-wrap img {
  width: 100%;
  display: block;
  border-radius: 2px;
}
.img-wrap::before,
.img-wrap::after {
  content: none;
  position: absolute;
  width: 20px; height: 20px;
  background-image: var(--corner-svg);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
  pointer-events: none;
}
.img-wrap::before { top: -2px; left: -2px; }
.img-wrap::after  { bottom: -2px; right: -2px; transform: scale(-1, -1); }

/* =============================================================
   20. LOCATION CONNECTIVITY — italic serial numbers
   ============================================================= */
.connectivity-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--dark-tertiary);
}
.connectivity-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--dark-tertiary);
}
.connectivity-item:last-child {
  border-bottom: 1px solid var(--dark-tertiary);
}
.connectivity-item__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--brand-secondary);
  min-width: 2.4ch;
  line-height: 1;
  font-variant-numeric: oldstyle-nums;
}
.connectivity-item__name {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brand-primary);
  font-weight: 600;
  line-height: 1.3;
}
.connectivity-item__detail {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--dark-tertiary);
  margin-top: 0.1rem;
}

/* =============================================================
   21. DEV STATS — italic Cormorant numerals, journal margin column
   ============================================================= */
.dev-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 1.75rem;
  margin: 2.5rem 0;
}
.dev-stat {
  border-left: 1px solid var(--brand-secondary);
  padding: 0.2rem 0 0.2rem 1.25rem;
}
.dev-stat__value {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 2.1rem;
  color: var(--brand-primary);
  line-height: 1.05;
  font-variant-numeric: oldstyle-nums;
}
.dev-stat__label {
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: var(--dark-secondary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}

/* =============================================================
   22. FAQ — accordion (italic serif questions)
   ============================================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 880px;
  margin-inline: auto;
}
.faq-item {
  background: var(--light-secondary);
  border: 1px solid var(--dark-tertiary);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.is-open {
  border-color: var(--brand-primary);
  background: var(--brand-tertiary);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.18rem;
  color: var(--brand-primary);
  text-align: left;
  gap: 1rem;
  line-height: 1.35;
}
.faq-question:hover { color: var(--brand-secondary); }
.faq-question__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
}
.faq-question__icon::before,
.faq-question__icon::after {
  content: "";
  position: absolute;
  background: var(--brand-secondary);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}
.faq-question__icon::before { width: 14px; height: 1.5px; top: 10px; left: 4px; }
.faq-question__icon::after  { width: 1.5px; height: 14px; top: 4px; left: 10px; }
.faq-item.is-open .faq-question__icon::after { opacity: 0; }
.faq-item.is-open .faq-question__icon::before { background: var(--brand-primary); }
.faq-answer {
  display: none;
  padding: 0 1.4rem 1.25rem;
  font-family: var(--font-body);
  color: var(--dark-secondary);
  font-size: 0.96rem;
  line-height: 1.72;
}
.faq-item.is-open .faq-answer { display: block; }

/* FAQ page (flat) */
.faq-section-item {
  background: var(--light-secondary);
  border: 1px solid var(--dark-tertiary);
  border-radius: 4px;
  padding: 1.65rem 1.75rem;
  margin-bottom: 1rem;
}
.faq-section-item h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--brand-primary);
  margin-bottom: 0.7rem;
}
.classic-faq-body {
  font-family: var(--font-body);
  color: var(--dark-secondary);
  font-size: 0.96rem;
  line-height: 1.72;
}

/* =============================================================
   23. FORMS — paper-card field set
   ============================================================= */
.form-card {
  background: var(--light-secondary);
  border: 1px solid var(--brand-primary);
  border-radius: 4px;
  padding: 2.2rem;
  position: relative;
}
.form-card::before,
.form-card::after {
  content: none;
  position: absolute;
  width: 22px; height: 22px;
  background-image: var(--corner-svg);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.85;
  pointer-events: none;
}
.form-card::before { top: -1px; left: -1px; }
.form-card::after  { bottom: -1px; right: -1px; transform: scale(-1, -1); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.form-group label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  text-transform: lowercase;
  letter-spacing: 0.01em;
  color: var(--brand-secondary);
  font-weight: 500;
}
.form-control {
  width: 100%;
  background: var(--light-primary);
  border: 1px solid var(--dark-tertiary);
  border-radius: 4px;
  padding: 0.8rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--brand-primary);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.form-control:focus {
  border-color: var(--brand-primary);
  background: var(--light-secondary);
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}
.field-error {
  color: var(--state-error);
  font-size: 0.82rem;
  margin-top: 0.25rem;
  font-style: italic;
}
.form-submit { width: 100%; }
#form-message, .form-status {
  padding: 0.95rem 1.1rem;
  border-radius: 4px;
  margin-top: 1.1rem;
  font-size: 0.94rem;
  font-family: var(--font-body);
}
.form-status.success, #form-message.success {
  background: color-mix(in srgb, var(--state-success) 10%, transparent);
  color: var(--state-success);
  border: 1px solid color-mix(in srgb, var(--state-success) 32%, transparent);
}
.form-status.error, #form-message.error {
  background: color-mix(in srgb, var(--state-error) 8%, transparent);
  color: var(--state-error);
  border: 1px solid color-mix(in srgb, var(--state-error) 28%, transparent);
}

/* =============================================================
   24. CTA BAND — walnut wash, italic invitation
   ============================================================= */
.cta-band {
  position: relative;
  background: var(--brand-primary);
  color: var(--brand-tertiary);
  text-align: center;
  padding: 5.5rem 0;
  overflow: hidden;
  border-top: 1px solid var(--brand-secondary);
  border-bottom: 1px solid var(--brand-secondary);
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: sepia(0.4) saturate(0.85);
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
}
.cta-band__title {
  color: var(--brand-tertiary);
  margin-bottom: 1.1rem;
  max-width: 24ch;
  margin-inline: auto;
  font-style: italic;
  font-weight: 500;
}
.cta-band__desc {
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--brand-tertiary) 90%, transparent);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 58ch;
  margin: 0 auto 2.25rem;
}
.cta-band .btn-primary {
  background: var(--brand-tertiary);
  color: var(--brand-primary);
  border-color: var(--brand-tertiary);
}
.cta-band .btn-primary:hover {
  background: var(--light-secondary);
  color: var(--dark-primary);
}

/* =============================================================
   25. SUBPAGE HERO + BREADCRUMB
   ============================================================= */
.page-hero {
  background: var(--brand-tertiary);
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid var(--dark-tertiary);
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -8px;
  width: 64px; height: 16px;
  transform: translateX(-50%);
  background-image: var(--sprig-svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-color: var(--brand-tertiary);
  padding: 0 8px;
}
.page-hero__inner {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
}
.page-hero__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.005em;
  color: var(--brand-secondary);
  margin-bottom: 0.7rem;
  display: block;
  text-transform: lowercase;
}
.page-hero__title {
  color: var(--brand-primary);
  margin-bottom: 0.7rem;
  font-style: italic;
  font-weight: 500;
}
.page-hero__desc {
  font-family: var(--font-body);
  color: var(--dark-secondary);
  max-width: 68ch;
  font-size: 1.04rem;
  line-height: 1.7;
}

.page-hero--with-form .page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.page-hero--with-form .form-card { margin: 0; }
@media (max-width: 1024px) {
  .page-hero--with-form .page-hero__inner {
    grid-template-columns: 1fr;
  }
}

.breadcrumb {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--dark-tertiary);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--dark-tertiary); }
.breadcrumb a:hover { color: var(--brand-secondary); }
.breadcrumb__sep { color: var(--dark-tertiary); }

/* =============================================================
   26. 404 PAGE
   ============================================================= */
.not-found {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.not-found__code {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(5rem, 18vw, 9rem);
  color: var(--brand-secondary);
  line-height: 1;
  margin-bottom: 1rem;
  font-variant-numeric: oldstyle-nums;
}
.not-found__title {
  margin-bottom: 1rem;
}
.not-found__desc {
  font-family: var(--font-body);
  color: var(--dark-secondary);
  margin-bottom: 2.5rem;
  max-width: 44ch;
}

/* =============================================================
   27. FOOTER — three-column garden journal
   ============================================================= */
.footer {
  background: var(--brand-primary);
  color: var(--brand-tertiary);
  border-top: 1px solid var(--brand-secondary);
  padding: 5rem 0 2rem;
  position: relative;
}
.footer::before {
  content: "";
  display: block;
  position: absolute;
  left: 50%; top: 22px;
  width: 64px; height: 16px;
  transform: translateX(-50%);
  background-image: var(--sprig-svg);
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(2) saturate(0.6);
  opacity: 0.85;
}
.footer__grid {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.75rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer__grid { grid-template-columns: 1fr; } }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.footer .brand-logo-img {
  background: var(--brand-tertiary);
  border-color: color-mix(in srgb, var(--brand-tertiary) 40%, transparent);
}
.footer .brand-developer {
  color: var(--brand-tertiary);
  font-style: italic;
}
.footer .brand-project {
  color: var(--brand-tertiary);
  font-style: italic;
}
.footer__brand-desc {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: color-mix(in srgb, var(--brand-tertiary) 92%, transparent);
  line-height: 1.55;
  max-width: 38ch;
}
.footer-heading {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-tertiary);
  margin-bottom: 1.15rem;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer__links a,
.footer__col-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--brand-tertiary) 88%, transparent);
  line-height: 1.55;
  font-style: normal;
}
.footer__col-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.98rem;
}
.footer__links a:hover { color: var(--brand-tertiary); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
  border-top: 1px solid color-mix(in srgb, var(--brand-tertiary) 22%, transparent);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer__copy {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--brand-tertiary) 78%, transparent);
  letter-spacing: 0;
  text-transform: none;
}
.footer__disclaimer {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--brand-tertiary);
  margin: 0.75rem auto 1.5rem;
  line-height: 1.65;
  width: var(--container);
  max-width: 100%;
  font-style: italic;
}

/* =============================================================
   28. REVEAL + LIGHTBOX
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

#lightbox {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--dark-primary) 95%, transparent);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem;
}
#lightbox.is-open { display: flex; }
#lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 4px;
  border: 8px solid var(--brand-tertiary);
}
#lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--brand-tertiary);
  border: 1px solid var(--brand-secondary);
  color: var(--brand-primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  font-family: var(--font-display);
  font-style: italic;
}

/* =============================================================
   29. RELATED PROJECTS — matches gallery-card framing
   ============================================================= */
.related-projects {
  padding: var(--section-py) 0;
  background: var(--brand-tertiary);
  position: relative;
}
.related-projects__inner {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
}
.related-projects__header { margin-bottom: 2.75rem; }
.related-projects__header h2 {
  color: var(--brand-primary);
  font-style: italic;
  font-weight: 500;
}
.related-projects__header p {
  margin-top: 0.7rem;
  color: var(--dark-secondary);
  font-family: var(--font-body);
}
.related-projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 1.75rem;
}
.related-projects__card {
  position: relative;
  background: var(--light-secondary);
  border: 1px solid var(--brand-primary);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.related-projects__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px color-mix(in srgb, var(--brand-primary) 16%, transparent);
}
.related-projects__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--brand-tertiary);
  border-bottom: 1px solid var(--dark-tertiary);
}
.related-projects__body { padding: 1.3rem 1.45rem 1.5rem; }
.related-projects__meta {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  letter-spacing: 0.005em;
  color: var(--brand-secondary);
  margin-bottom: 0.45rem;
  font-weight: 500;
  text-transform: lowercase;
}
.related-projects__body h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--brand-primary);
  margin-bottom: 0.55rem;
  line-height: 1.2;
}
.related-projects__body h3 a { color: inherit; }
.related-projects__body h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.related-projects__body p:last-child {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--dark-secondary);
  line-height: 1.6;
}
.related-projects__cta {
  margin-top: 2.25rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.related-projects__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.7rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.02rem;
  border-radius: 14px;
  border: 1.5px solid var(--brand-primary);
  transition: all var(--transition);
}
.related-projects__btn--primary {
  background: var(--brand-primary);
  color: var(--brand-tertiary);
}
.related-projects__btn--primary:hover {
  background: var(--dark-primary);
  color: var(--light-secondary);
}
.related-projects__btn--secondary {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-secondary);
}
.related-projects__btn--secondary:hover {
  background: var(--brand-secondary);
  color: var(--light-secondary);
  border-color: var(--brand-secondary);
}

/* =============================================================
   30. RESPONSIVE TUNING
   ============================================================= */
@media (max-width: 640px) {
  :root { --section-py: 4rem; }
  h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .villa-card { padding: 1.7rem 1.4rem 1.5rem; }
  .pricing-card { padding: 2.1rem 1.5rem 1.6rem; }
  .rich-content > p:first-of-type::first-letter,
  .overview-body > p:first-of-type::first-letter,
  .article-copy > p:first-of-type::first-letter {
    font-size: 4em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* fleet: nav links title-case + 12px (2026-06-05) */
.navbar__link{font-size:12px !important;text-transform:none !important}

/* fleet: nav collapses at tablet 1024 (2026-06-05) */
@media(min-width:1025px){.navbar__menu{display:flex !important}.nav-toggle{display:none !important}}
@media(max-width:1024px){.navbar__menu{display:none !important}.nav-toggle{display:flex !important}.navbar__menu.is-open,.is-open .navbar__menu,.navbar__menu.open,.open .navbar__menu,.navbar__menu.active,.active .navbar__menu,.navbar__menu.w--open,.w--open .navbar__menu,.navbar__menu.on,.on .navbar__menu,.navbar__menu.visible,.visible .navbar__menu,.navbar__menu.is-visible,.is-visible .navbar__menu,.navbar__menu.expanded,.expanded .navbar__menu,.navbar__menu.show,.show .navbar__menu,.navbar__menu.shown,.shown .navbar__menu,.navbar__menu.opened,.opened .navbar__menu,.navbar__menu.menu-open,.menu-open .navbar__menu,.navbar__menu.nav-open,.nav-open .navbar__menu,.navbar__menu[data-nav-menu-open]{display:flex !important;flex-direction:column !important}}

/* fleet: nav brand text size cap — brand NAME <=15px so no logo text exceeds 16px (2026-06-06) */
[class*="brand-project"],[class*="brand-name"],[class*="brand-title"],[class*="brand-lockup__name"]{font-size:15px !important}
[class*="brand-developer"]{font-size:11px !important}
