/* South Prop / Southern Properties — static site styles.
   Palette from the logo and the business's own flyers: deep forest green, leaf green, logo gold, ivory.
   Type: Cormorant Garamond (display) + DM Sans (text), both self-hosted. */

@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500 700; font-display: optional;
  src: url("/assets/fonts/cormorant-garamond-latin-italic-var.woff2") format("woff2"); }

/* Metric-matched local fallbacks (measured in WebKit) so the swap to the web fonts does not shift layout. */
@font-face { font-family: "Cormorant Garamond Fallback"; src: local("Georgia"); size-adjust: 77.3%; ascent-override: 119%; descent-override: 37.5%; line-gap-override: 0%; }
@font-face { font-family: "DM Sans Fallback"; src: local("Arial"); size-adjust: 91.9%; ascent-override: 107.7%; descent-override: 33.7%; line-gap-override: 0%; }

:root {
  --ink: #0b1f15;
  --forest-950: #07190f;
  --forest-900: #0b2a1a;
  --forest-800: #103722;
  --forest-700: #17492f;
  --forest-600: #1f5c3b;
  --leaf: #3d7a28;
  --leaf-soft: #e3ecd9;
  --gold: #f2c230;
  --gold-soft: #f7dc84;
  --gold-text: #7d5b00;
  --ivory: #f7f3ea;
  --paper: #fffdf8;
  --stone: #ece5d6;
  --stone-2: #ddd3bf;
  --line: #e1d9c8;
  --text: #1b2820;
  --muted: #4f5d55;
  --on-dark: #f3efe4;
  --on-dark-muted: #b9c6bb;
  --danger: #a3271b;

  --ff-display: "Cormorant Garamond", "Cormorant Garamond Fallback", Georgia, serif;
  --ff-text: "DM Sans", "DM Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.7vw, 1.9rem);
  --step-3: clamp(1.85rem, 1.55rem + 1.4vw, 2.75rem);
  --step-4: clamp(2.3rem, 1.8rem + 2.4vw, 3.9rem);
  --step-5: clamp(2.7rem, 1.9rem + 3.6vw, 5rem);

  --wrap: 1240px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(11, 31, 21, .06), 0 4px 14px rgba(11, 31, 21, .06);
  --shadow-2: 0 2px 6px rgba(11, 31, 21, .08), 0 18px 40px -12px rgba(11, 31, 21, .28);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--ff-text); font-size: var(--step-0); line-height: 1.65; color: var(--text);
  background: var(--ivory); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-variant-numeric: lining-nums; font-weight: 600; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--forest-600); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest-800); }
a[href^="tel:"] { white-space: nowrap; }
strong { font-weight: 650; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-soft); }
::selection { background: var(--gold-soft); color: var(--ink); }
[hidden] { display: none !important; }
main { display: block; overflow-x: clip; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--gold); color: var(--ink);
  padding: .7rem 1.1rem; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 2.4rem + 3vw, 5rem); }
.section--stone { background: var(--stone); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--forest-900); color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p, .on-dark p { color: var(--on-dark-muted); }
.section--dark a:not(.btn), .on-dark a:not(.btn) { color: var(--gold-soft); }

/* Blueprint grid backdrop (static, decorative) */
.blueprint { background-image:
    linear-gradient(rgba(242, 194, 48, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 194, 48, .07) 1px, transparent 1px),
    linear-gradient(rgba(242, 194, 48, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 194, 48, .035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
.blueprint--light { background-image:
    linear-gradient(rgba(23, 73, 47, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 73, 47, .06) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px; }

/* ---------- section heads ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-text); margin: 0 0 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .section--dark .eyebrow { color: var(--gold); }
.head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.head > p:not(.eyebrow) { font-size: var(--step-1); color: var(--muted); max-width: 64ch; }
.head--center > p:not(.eyebrow) { margin-inline: auto; }
.section--dark .head > p:not(.eyebrow) { color: var(--on-dark-muted); }
.head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; max-width: none; }
.head--split > div { max-width: 720px; }
.lede { font-size: var(--step-1); color: var(--muted); }

/* ---------- buttons, chips ---------- */
.btn { --bg: var(--forest-700); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; border: 1px solid transparent; background: var(--bg); color: var(--fg);
  font: 600 .95rem/1.2 var(--ff-text); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease-out), background-color .25s, box-shadow .25s, color .25s; will-change: transform; }
.btn:hover { --bg: var(--forest-800); color: var(--fg); box-shadow: 0 10px 24px -10px rgba(11, 31, 21, .5); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease-out); }
.btn:hover svg.i-arrow { transform: translateX(3px); }
.btn--gold { --bg: var(--gold); --fg: var(--ink); }
.btn--gold:hover { --bg: var(--gold-soft); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--forest-700); border-color: var(--stone-2); }
.btn--ghost:hover { --bg: var(--paper); --fg: var(--forest-800); border-color: var(--forest-600); }
.on-dark .btn--ghost, .section--dark .btn--ghost { --fg: #fff; border-color: rgba(255, 255, 255, .35); }
.on-dark .btn--ghost:hover, .section--dark .btn--ghost:hover { --bg: rgba(255, 255, 255, .08); --fg: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--wa { --bg: #1a7f4b; }
.btn--wa:hover { --bg: #13663c; }
.btn--sm { min-height: 44px; padding: .55rem 1rem; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; color: var(--forest-700);
  min-height: 44px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow > span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease-out); }
.link-arrow:hover > span { background-size: 100% 1px; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.25rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: 999px; font-size: .82rem; font-weight: 500;
  background: var(--paper); border: 1px solid var(--line); color: var(--forest-700); }
.chip svg { width: 15px; height: 15px; }
.on-dark .chip, .section--dark .chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: var(--on-dark); }
.badge { display: inline-block; padding: .3rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; background: var(--gold); color: var(--ink); }
.badge--ongoing { background: #fff; color: var(--forest-700); }
.badge--completed { background: var(--forest-700); color: #fff; }

.icon { width: 24px; height: 24px; flex: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 253, 248, .97); border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, box-shadow .3s; }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(255, 253, 248, .94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); } }
.site-header.is-condensed { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(11, 31, 21, .35); }
.nav { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); transition: height .3s var(--ease-out); }
.is-condensed .nav { height: 64px; }
.brand { display: inline-flex; flex: none; border-radius: 8px; }
.brand img { height: 48px; width: auto; transition: transform .3s var(--ease-out); transform-origin: left center; }
.is-condensed .brand img { transform: scale(.86); }
.nav-menu { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav-menu > ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-link, .nav-sub-toggle { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .5rem .75rem; border-radius: 999px;
  font: 500 .94rem/1 var(--ff-text); color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-sub-toggle:hover, .nav-link[aria-current="page"] { color: var(--forest-700); background: var(--stone); }
.nav-sub-toggle svg { width: 14px; height: 14px; transition: transform .25s; }
.nav-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-sub { position: relative; }
.sub-menu { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 290px; padding: .6rem; list-style: none; margin: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px) perspective(600px) rotateX(-8deg); transform-origin: top center;
  transition: opacity .22s, transform .3s var(--ease-out), visibility 0s .3s; }
.has-sub.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.no-js .has-sub:hover > .sub-menu, .no-js .has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub-menu a { display: flex; flex-direction: column; gap: .1rem; padding: .6rem .8rem; border-radius: 10px; text-decoration: none; color: var(--text); }
.sub-menu a:hover { background: var(--stone); }
.sub-menu a span { font-weight: 600; font-size: .93rem; }
.sub-menu a small { color: var(--muted); font-size: .8rem; }
.nav-cta { display: flex; align-items: center; gap: .5rem; margin-left: .5rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .6rem; font-weight: 600; font-size: .9rem;
  color: var(--forest-700); text-decoration: none; white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper);
  align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .3s var(--ease-out), background-color .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) { .nav-phone .nav-phone-num { display: none; } }
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 1rem var(--gutter) 2rem; background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s, transform .3s var(--ease-out), visibility 0s .3s; }
  .is-condensed .nav-menu { top: 64px; }
  .nav-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-menu > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu > ul > li { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-sub-toggle { width: 100%; justify-content: space-between; min-height: 54px; padding: .8rem .25rem; border-radius: 0; font-size: 1.05rem; }
  .nav-link:hover, .nav-sub-toggle:hover, .nav-link[aria-current="page"] { background: none; }
  .sub-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 .75rem; min-width: 0;
    background: none; display: none; }
  .has-sub.is-open > .sub-menu { display: block; transform: none; }
  .sub-menu a { padding: .55rem .5rem; }
  .nav-cta { flex-direction: column; align-items: stretch; margin: 1.25rem 0 0; gap: .75rem; }
  .nav-phone { justify-content: center; border: 1px solid var(--line); border-radius: 999px; }
  .nav-phone .nav-phone-num { display: inline; }
  body.nav-open { overflow: hidden; }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: clip; background: var(--forest-900); color: var(--on-dark);
  padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(4rem, 3rem + 4vw, 7rem); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 70% at 78% 40%, rgba(61, 122, 40, .35), transparent 70%),
              radial-gradient(40% 50% at 10% 90%, rgba(242, 194, 48, .10), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero h1 { font-size: var(--step-5); color: #fff; margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1.4rem; font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); font-weight: 600; }
.hero-kicker span + span::before { content: "|"; margin-right: .6rem; color: rgba(255, 255, 255, .35); }
.hero-lede { font-size: var(--step-1); color: var(--on-dark-muted); max-width: 56ch; margin-bottom: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 2.25rem 0 0; padding: 0; list-style: none; font-size: .88rem; color: var(--on-dark); }
.hero-trust li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--gold); }

/* Depth stack: real renders arranged as presentation boards in 3D */
.stack { position: relative; aspect-ratio: 1 / .92; -webkit-perspective: 1400px; perspective: 1400px; -webkit-perspective-origin: 50% 40%; perspective-origin: 50% 40%; }
.stack-scene { position: absolute; inset: 0; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -14deg));
  transition: transform .9s var(--ease-out); }
.stack-plate { position: absolute; margin: 0; border-radius: 14px; overflow: hidden; background: var(--forest-800); -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: translate3d(var(--px, 0), var(--py, 0), var(--z, 0)); transition: transform .9s var(--ease-out); }
.stack-plate img { width: 100%; height: 100%; object-fit: cover; }
.stack-plate figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .8rem;
  background: linear-gradient(transparent, rgba(7, 25, 15, .88)); color: #fff; font-size: .82rem; line-height: 1.35; }
.stack-plate figcaption b { display: block; font-family: var(--ff-display); font-size: 1.2rem; font-weight: 600; }
.stack-plate--a { inset: 4% 22% 30% 0; --z: 40px; }
.stack-plate--a figcaption { top: 0; bottom: auto; padding: .8rem 1rem 2.2rem; background: linear-gradient(rgba(7, 25, 15, .88), transparent); }
.plate-badge { position: absolute; top: .8rem; right: .8rem; z-index: 2; }
.stack-plate--b { inset: 30% 0 6% 30%; --z: 120px; }
.stack-plate--c { inset: 0 0 52% 58%; --z: -60px; opacity: .92; }
.stack-lines { position: absolute; inset: -4% -6%; transform: translateZ(-140px); color: var(--gold); opacity: .55; pointer-events: none; }
.stack-lines path, .stack-lines line, .stack-lines rect, .stack-lines circle { vector-effect: non-scaling-stroke; }
.stack-tag { position: absolute; z-index: 2; left: 4%; bottom: -2%; transform: translateZ(180px); display: flex; align-items: center; gap: .75rem;
  padding: .8rem 1rem; border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-2); font-size: .85rem; line-height: 1.3; }
.stack-tag strong { display: block; font-family: var(--ff-display); font-size: 1.7rem; line-height: 1; color: var(--forest-700); font-variant-numeric: lining-nums; }
.stack-tag svg { width: 34px; height: 34px; color: var(--leaf); }

.draw path, .draw line, .draw polyline, .draw rect, .draw circle { stroke-dasharray: var(--len, 1200); stroke-dashoffset: 0; }
.js .draw:not(.is-drawn) path, .js .draw:not(.is-drawn) line, .js .draw:not(.is-drawn) polyline, .js .draw:not(.is-drawn) rect, .js .draw:not(.is-drawn) circle { stroke-dashoffset: var(--len, 1200); }
.js .draw.is-drawn path, .js .draw.is-drawn line, .js .draw.is-drawn polyline, .js .draw.is-drawn rect, .js .draw.is-drawn circle {
  transition: stroke-dashoffset 2.4s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stack { max-width: 560px; width: 92%; margin: 1rem auto 0; aspect-ratio: 1 / .82; perspective: 1100px; }
  .stack-scene { --rx: 4deg; --ry: -8deg; }
  .stack-tag { left: 2%; bottom: -4%; transform: translateZ(60px); padding: .6rem .8rem; }
  .stack-tag strong { font-size: 1.4rem; }
  .feature-media::before { inset: 6% 2% -4% 6%; }
}
@media (max-width: 560px) {
  .hero-lede { font-size: 1rem; line-height: 1.55; margin-bottom: 1.5rem; }
  .hero h1 { margin-bottom: .3em; }
  .hero-kicker { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .hero-kicker span + span::before { content: none; }
  .stack-plate figcaption { padding: 1.6rem .7rem .55rem; font-size: .74rem; }
  .stack-plate figcaption b { font-size: 1rem; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--gold); color: var(--ink); border-block: 1px solid rgba(11, 31, 21, .12); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: 2.5rem; padding: .95rem 1.25rem; margin: 0; list-style: none; white-space: nowrap; }
.marquee li { display: inline-flex; align-items: baseline; gap: .5rem; font-size: .95rem; }
.marquee li b { font-family: var(--ff-display); font-size: 1.25rem; font-weight: 700; }
.marquee li::after { content: "✦"; margin-left: 2.5rem; font-size: .8rem; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.stat { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) 1.25rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat dt, .stat-num { font-family: var(--ff-display); font-size: var(--step-4); font-weight: 600; line-height: 1; color: var(--forest-700); margin-bottom: .6rem; font-variant-numeric: lining-nums; }
.stat dd { margin: 0; }
.stats--3 { grid-template-columns: repeat(3, 1fr); }
.stats--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .stats--3 { grid-template-columns: 1fr 1fr; } .stats--3 .stat:nth-child(3) { border-left: 0; } }
.stat dt.stat-num--sm { font-size: clamp(1.15rem, .6rem + 3vw, 2.5rem); padding-top: .4em; white-space: nowrap; }
@media (max-width: 760px) { .stat { padding-inline: .75rem; } }
.stat-label { font-weight: 600; color: var(--ink); }
.stat-note { font-size: .88rem; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- feature (spotlight) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.feature--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.feature--flip .feature-media { order: 2; }
.feature-media { position: relative; -webkit-perspective: 1200px; perspective: 1200px; }
.feature-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); -webkit-backface-visibility: hidden; backface-visibility: hidden;
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .5s var(--ease-out); }
.feature-frame.is-tilting { transition: transform .12s linear; }
.feature-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-media::before { content: ""; position: absolute; inset: 7% -4% -6% 8%; border: 1px solid var(--stone-2); border-radius: var(--radius); z-index: -1; }
.feature-media .badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; }
.feature h3 { font-size: var(--step-3); }
.meta-line { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.meta-line span { display: inline-flex; align-items: center; gap: .35rem; }
.meta-line svg { width: 16px; height: 16px; color: var(--leaf); }
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d7a28' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 70% no-repeat; }
.checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1.5rem; }
.card .checks--2, .split .checks--2, .panel .checks--2 { grid-template-columns: 1fr; }
.section--dark .checks li::before, .on-dark .checks li::before { background-color: rgba(242, 194, 48, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2c230' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin: 0 0 1.5rem; background: var(--line);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.facts div { background: var(--paper); padding: .9rem 1rem; }
.facts dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .2rem; }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }
@media (max-width: 560px) { .facts .facts-wide { grid-column: 1 / -1; } }
.on-dark .facts, .section--dark .facts { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .12); }
.on-dark .facts div, .section--dark .facts div { background: rgba(255, 255, 255, .04); }
.on-dark .facts dt, .section--dark .facts dt { color: var(--on-dark-muted); }
.on-dark .facts dd, .section--dark .facts dd { color: #fff; }
@media (max-width: 900px) { .feature, .feature--flip { grid-template-columns: 1fr; } .feature--flip .feature-media { order: 0; } .checks--2 { grid-template-columns: 1fr; } }

/* ---------- project cards (3D tilt) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, .6rem + 1.4vw, 1.75rem); }
.card-3d { -webkit-perspective: 1000px; perspective: 1000px; }
.p-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateZ(0); transition: transform .5s var(--ease-out), box-shadow .4s;
  box-shadow: var(--shadow-1); }
.p-card:hover { box-shadow: var(--shadow-2); color: inherit; }
.p-card.is-tilting { transition: transform .12s linear, box-shadow .4s; }
.p-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.p-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.p-card:hover .p-card-media img { transform: scale(1.05); }
.p-card-media .badge { position: absolute; top: .9rem; left: .9rem; }
.p-card-city { position: absolute; right: .9rem; top: .9rem; padding: .25rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 600;
  background: rgba(7, 25, 15, .72); color: #fff; }
.p-card-body { display: flex; flex-direction: column; gap: .35rem; padding: 1.15rem 1.25rem 1.3rem; flex: 1; }
.p-card h3 { font-size: 1.55rem; margin: 0; }
.p-card h3 a { color: inherit; text-decoration: none; }
.p-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.p-card-loc { display: flex; align-items: center; gap: .35rem; font-size: .9rem; color: var(--muted); }
.p-card-loc svg { width: 15px; height: 15px; color: var(--leaf); }
.p-card-specs { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-top: .4rem; padding-top: .75rem; border-top: 1px dashed var(--stone-2);
  font-size: .86rem; color: var(--text); }
.p-card-specs span { display: inline-flex; align-items: center; gap: .3rem; }
.p-card-specs svg { width: 15px; height: 15px; color: var(--gold-text); }
.p-card-more { margin-top: auto; padding-top: .8rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--forest-700); }
.p-card-more svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.p-card:hover .p-card-more svg { transform: translateX(4px); }
.glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .28), transparent 45%); mix-blend-mode: soft-light; }
.p-card.is-tilting .glare { opacity: 1; }

/* ---------- city cards ---------- */
.cities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, .5rem + 1vw, 1.25rem); }
.city { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4.2; color: #fff; text-decoration: none;
  isolation: isolate; box-shadow: var(--shadow-1); transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .5s var(--ease-out); }
.city.is-tilting { transition: transform .12s linear; }
.city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease-out); }
.city::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 25, 15, .05) 30%, rgba(7, 25, 15, .9)); }
.city:hover img { transform: scale(1.06); }
.city.is-tilting img { transform: scale(1.14) translate(calc((50% - var(--gx, 50%)) * .1), calc((50% - var(--gy, 50%)) * .1)); transition: transform .3s var(--ease-out); }
.city.is-tilting .city-body { transform: translate(calc((var(--gx, 50%) - 50%) * .04), calc((var(--gy, 50%) - 50%) * .04)); }
.city-body { transition: transform .3s var(--ease-out); }
.city-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem; }
.city h3 { color: #fff; font-size: var(--step-2); margin: 0 0 .15rem; }
.city p { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .82); }
.city .link-arrow { color: var(--gold); min-height: 0; margin-top: .6rem; font-size: .88rem; }
.city:hover { color: #fff; }
@media (max-width: 900px) { .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- service tiles (blueprint) ---------- */
.what-lines { position: absolute; inset: 6% 0 auto; width: 100%; height: auto; color: var(--gold); opacity: .28; pointer-events: none; z-index: 0; }
.section--dark > .wrap { position: relative; z-index: 1; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(242, 194, 48, .2); border: 1px solid rgba(242, 194, 48, .2);
  border-radius: var(--radius); overflow: hidden; }
.tile { position: relative; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); background: var(--forest-900); transition: background-color .35s; }
.tile:hover { background: var(--forest-800); }
.tile-icon { width: 52px; height: 52px; margin-bottom: 1.25rem; color: var(--gold); }
.tile h3 { font-size: var(--step-2); color: #fff; margin-bottom: .4rem; }
.tile p { margin: 0; color: var(--on-dark-muted); }
.tile-no { font-variant-numeric: lining-nums; position: absolute; top: 1.25rem; right: 1.4rem; font-family: var(--ff-display); font-size: 1rem; color: rgba(242, 194, 48, .55); letter-spacing: .1em; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- generic content cards ---------- */
.grid { display: grid; gap: clamp(1rem, .6rem + 1.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.card { position: relative; padding: clamp(1.4rem, 1rem + 1vw, 2rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-1); transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--stone-2); }
.section--stone .card { background: var(--paper); }
.section--dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.card h3 { font-size: var(--step-2); }
.card h4 { font-size: var(--step-1); }
.card > :last-child { margin-bottom: 0; }
.card-icon { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: var(--leaf-soft); color: var(--leaf); margin-bottom: 1rem; }
.section--dark .card-icon { background: rgba(242, 194, 48, .12); color: var(--gold); }
.card-num { font-variant-numeric: lining-nums; font-family: var(--ff-display); font-size: 2.6rem; line-height: 1; color: var(--stone-2); position: absolute; top: 1rem; right: 1.25rem; font-weight: 600; }
.section--dark .card-num { color: rgba(242, 194, 48, .3); }

/* prose */
.prose { max-width: 72ch; }
.prose > * + h2, .prose > * + h3 { margin-top: 1.6em; }
.prose h2 { font-size: var(--step-3); }
.prose h3 { font-size: var(--step-2); }
.prose ul:not(.checks) li::marker { color: var(--leaf); }
.prose li + li { margin-top: .3rem; }

/* split media + text */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); }
.split-media img { width: 100%; height: auto; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- spec table ---------- */
.spec { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin: 0; }
.spec div { background: var(--paper); padding: 1rem 1.2rem; }
.spec dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); margin-bottom: .25rem; }
.spec dd { margin: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.table-wrap table { min-width: 520px; }
.table-wrap th, .table-wrap td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--stone); }
.table-wrap tr:last-child td { border-bottom: 0; }
/* phones: each row becomes a small card instead of a table that scrolls sideways; column names come from data-label */
@media (max-width: 600px) {
  .table-wrap { position: relative; }
  .table-wrap table { min-width: 0; }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .table-wrap tr { padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
  .table-wrap tr:last-child { border-bottom: 0; }
  .table-wrap td, .table-wrap tr:last-child td { padding: 0; border: 0; }
  .table-wrap td:first-child { font-weight: 600; color: var(--ink); }
  .table-wrap td + td { margin-top: .6rem; }
  .table-wrap td + td::before { content: attr(data-label); content: attr(data-label) / ""; display: block; margin-bottom: .1rem;
    font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
}

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 240px); grid-auto-flow: dense; gap: clamp(.6rem, .4rem + .8vw, 1rem); }
.gallery-item { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: var(--stone); }
.gallery-item.is-feature { grid-column: span 2; grid-row: span 2; }
.gallery-item.span-2 { grid-column: span 2; }
.gallery-item.span-3 { grid-column: span 3; }
.gallery-item a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery--few { grid-auto-rows: auto; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.gallery--few .gallery-item img { aspect-ratio: 4 / 3; height: auto; }
.gallery--plans { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
.gallery--plans .gallery-item { background: #fff; border: 1px solid var(--line); }
.gallery--plans .gallery-item img { object-fit: contain; aspect-ratio: 4 / 3.6; height: auto; padding: .5rem; }
.gallery--plans .span-full { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 34vw, 200px); }
  .gallery-item.is-feature, .gallery-item.m-span-2 { grid-column: span 2; grid-row: span 1; }
  .gallery-item.span-2, .gallery-item.span-3 { grid-column: span 1; }
  .gallery-item.m-span-2 { grid-column: span 2; }
  .gallery--plans { grid-template-columns: 1fr; }
}
.lightbox { width: min(100vw - 2rem, 1200px); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: 16px; background: var(--forest-950); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(7, 25, 15, .86); }
.lightbox figure { margin: 0; display: grid; grid-template-rows: 1fr auto; max-height: calc(100vh - 2rem); }
.lightbox img { width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; background: #000; }
.lightbox figcaption { padding: .8rem 4.5rem .9rem 1.1rem; font-size: .9rem; color: var(--on-dark-muted); min-height: 3.2rem; }
.lb-btn { position: absolute; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: .75rem; right: .75rem; }
.lb-prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .75rem; top: 50%; transform: translateY(-50%); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; max-width: 900px; }
.head--center + .faq { margin-inline: auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--stone-2); box-shadow: var(--shadow-1); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; min-height: 56px; cursor: pointer;
  font-weight: 600; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--stone)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317492f' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 60% no-repeat;
  transition: transform .35s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq-a { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.faq-a > :last-child { margin-bottom: 0; }
.section--dark .faq details { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); }
.section--dark .faq summary { color: #fff; }
.section--dark .faq-a { color: var(--on-dark-muted); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); padding: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  background: var(--forest-800); color: var(--on-dark); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center; isolation: isolate; }
.cta::after { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, rgba(242, 194, 48, .22), transparent); }
.cta h2 { color: #fff; font-size: var(--step-4); margin-bottom: .3em; }
.cta p { color: var(--on-dark-muted); margin: 0; max-width: 58ch; }
.cta .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* ---------- page hero (inner) ---------- */
.page-hero { position: relative; overflow: clip; background: var(--forest-900); color: var(--on-dark); isolation: isolate;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.page-hero h1 { color: #fff; font-size: var(--step-5); max-width: 18ch; }
.page-hero .lede { color: var(--on-dark-muted); max-width: 60ch; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.page-hero-grid > * { min-width: 0; }
.page-hero-media { position: relative; -webkit-perspective: 1200px; perspective: 1200px; }
.page-hero-media .frame { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 3deg)); transition: transform .9s var(--ease-out); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.page-hero-media .frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero-media .stack-lines { inset: -8% -8%; transform: translateZ(-80px); }
.page-hero-media .stack-tag { left: -4%; bottom: -6%; transform: none; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } .page-hero-media .stack-tag { left: 4%; } }
/* decorative art for text-only page heroes */
.hero-art { width: 100%; max-width: 540px; justify-self: end; }
.hero-art--lines { aspect-ratio: 600 / 560; color: var(--gold); }
.hero-lines { width: 100%; height: 100%; opacity: .5; }
.hero-art--stack { aspect-ratio: 1 / .86; }
.hero-art--stack .stack-plate { box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
@media (max-width: 900px) { .hero-art { display: none; } }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.5rem; padding: 0; list-style: none; font-size: .85rem; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- filters (projects) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; border: 0; padding: 0; margin: 0; }
.filter-group legend { float: left; margin-right: .5rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.filter-btn { min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--stone-2); background: var(--paper); color: var(--text);
  font: 500 .9rem/1 var(--ff-text); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: background-color .25s, color .25s, border-color .25s; }
.filter-btn:hover { border-color: var(--forest-600); color: var(--forest-700); }
.filter-btn[aria-pressed="true"] { background: var(--forest-700); border-color: var(--forest-700); color: #fff; }
.filter-count { font-size: .92rem; color: var(--muted); }
.filter-note { flex-basis: 100%; margin: -.5rem 0 0; font-size: .92rem; color: var(--muted); }
.filter-note a { color: var(--forest-700); font-weight: 600; }
.cards .is-hidden { display: none; }
.empty { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--stone-2); border-radius: var(--radius); }

/* ---------- forms + dialog ---------- */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; border-radius: 12px; border: 1px solid var(--stone-2);
  background: #fff; color: var(--text); font: 400 1rem/1.4 var(--ff-text); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest-600); box-shadow: 0 0 0 3px rgba(31, 92, 59, .2); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: .82rem; color: var(--danger); min-height: 0; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.form-status { font-size: .92rem; color: var(--forest-700); margin: 0; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem); box-shadow: var(--shadow-1); }
.panel h3 { font-size: var(--step-2); }

.dialog { width: min(100vw - 1.5rem, 620px); max-height: calc(100vh - 1.5rem); padding: 0; border: 0; border-radius: 20px; background: var(--paper);
  color: var(--text); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5); overflow: auto; }
.dialog::backdrop { background: rgba(7, 25, 15, .7); }
.dialog[open] { animation: dialog-in .45s var(--ease-out); }
@keyframes dialog-in { from { opacity: 0; transform: perspective(900px) translateY(16px) rotateX(-8deg) scale(.98); } }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.5rem 0; }
.dialog-head h2 { font-size: var(--step-2); margin: 0; }
.dialog-head p { margin: .3rem 0 0; color: var(--muted); font-size: .92rem; }
.dialog-body { padding: 1.25rem 1.5rem 1.5rem; }
.dialog-close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.dialog-close svg { width: 20px; height: 20px; }

/* map placeholder */
.map { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--forest-800); color: var(--on-dark); display: grid; place-items: center; text-align: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-inner { position: relative; padding: 1.5rem; display: grid; gap: .8rem; justify-items: center; }
.map-inner p { margin: 0; color: var(--on-dark-muted); font-size: .9rem; max-width: 40ch; }

/* contact list */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; }
.contact-list .ci { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--leaf-soft); color: var(--leaf); }
.contact-list b { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--forest-700); text-decoration: underline; }
.site-footer .contact-list .ci { background: rgba(242, 194, 48, .12); color: var(--gold); }
.site-footer .contact-list b { color: var(--on-dark-muted); }
.site-footer .contact-list a, .site-footer .contact-list span { color: #fff; }

/* MD / quote */
.quote { position: relative; margin: 0; padding: clamp(1.75rem, 1rem + 2.5vw, 3rem); background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.quote::before { content: "“"; position: absolute; top: -.25em; left: .3em; font-family: var(--ff-display); font-size: 7rem; line-height: 1; color: var(--gold); }
.quote p { font-family: var(--ff-display); font-size: var(--step-2); line-height: 1.35; color: var(--ink); }
.portrait { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }

/* timeline/process */
.steps { counter-reset: step; display: grid; gap: clamp(.75rem, .5rem + 1vw, 1.25rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.steps > div { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem 1.3rem; position: relative; box-shadow: var(--shadow-1); }
.steps > div::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--ff-display); font-variant-numeric: lining-nums; font-size: 2rem; line-height: 1; color: var(--gold-text); margin-bottom: .75rem; }
.section--dark .steps > div { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.split .steps { grid-template-columns: 1fr; }
.split .steps > div { padding: 1rem 1.2rem 1rem 4.2rem; }
.split .steps > div::before { position: absolute; left: 1.2rem; top: 1.05rem; font-size: 1.6rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--forest-950); color: var(--on-dark-muted); padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) 2rem; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 2.5rem 2rem; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { color: var(--on-dark-muted); max-width: 40ch; }
.site-footer h2 { font-family: var(--ff-text); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 0 0 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.site-footer .footer-links a { display: inline-flex; min-height: 36px; align-items: center; color: var(--on-dark); text-decoration: none; }
.site-footer .footer-links a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 1rem; font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; list-style: none; padding: 0; margin: 0; }
.site-footer .footer-legal a { color: var(--on-dark); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.footer-legal a:hover { text-decoration: underline; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-contact { grid-column: 1 / -1; } }
@media (max-width: 400px) { .footer-grid { grid-template-columns: 1fr; } }

/* sticky mobile action bar */
.action-bar { position: fixed; z-index: 90; left: .75rem; right: .75rem; bottom: .75rem; display: none; gap: .5rem; padding: .5rem; border-radius: 999px;
  background: rgba(7, 25, 15, .92); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); transform: translateY(150%); transition: transform .4s var(--ease-out); }
.action-bar.is-visible { transform: none; }
.action-bar .btn { flex: 1; min-height: 46px; padding-inline: .6rem; font-size: .88rem; }
@media (max-width: 760px) { .action-bar { display: flex; } body { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); } }


/* ---------- generic content components (render.py) ---------- */
.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media > :not(.card-media) { margin-inline: clamp(1.25rem, 1rem + .8vw, 1.75rem); }
.card--media > :last-child { margin-bottom: clamp(1.25rem, 1rem + .8vw, 1.75rem); }
.card--media > .card-media + * { margin-top: 1.25rem; }
.card-media { margin: 0 0 1.25rem; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.card .card-media { margin: calc(-1 * clamp(1.4rem, 1rem + 1vw, 2rem)) calc(-1 * clamp(1.4rem, 1rem + 1vw, 2rem)) 1.25rem; }
.card--media .card-media { margin: 0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card .eyebrow { margin-bottom: .6rem; font-size: .72rem; }
.card .checks { margin-bottom: 1rem; font-size: .95rem; }
.card .btn-row { margin-top: auto; padding-top: .5rem; }
.card--price { display: flex; flex-direction: column; }
.card--price .price { margin: .25rem 0 0; font-family: var(--ff-display); font-size: var(--step-4); line-height: 1; color: var(--forest-700); font-variant-numeric: lining-nums; }
.price { font-family: var(--ff-display); font-size: var(--step-3); font-weight: 600; color: var(--forest-700); margin: 0 0 .25rem; font-variant-numeric: lining-nums; }
.small { font-size: .88rem; color: var(--muted); }
.figure { margin: 0 0 1.5rem; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.figure a, .split-media a { display: block; cursor: zoom-in; }
.figure { max-width: 960px; }
.figure img { width: auto; max-width: 100%; height: auto; max-height: 78vh; margin-inline: auto; }
.split-media { margin: 0; }
.split-caption { margin-top: 1rem; padding: 1rem 1.25rem; border-left: 3px solid var(--gold); background: var(--paper); border-radius: 0 12px 12px 0; }
.split-caption > :last-child { margin-bottom: 0; }
.split-caption h3, .split-caption h4 { font-size: var(--step-1); margin-bottom: .2rem; }
.section .head + .grid, .section .head + .steps, .section .head + .gallery { margin-top: 0; }
.section .wrap > * + .grid, .section .wrap > * + .steps, .section .wrap > * + .gallery, .section .wrap > * + .spec, .section .wrap > * + .table-wrap, .section .wrap > * + .split, .section .wrap > * + .faq { margin-top: 1.75rem; }
.prose-wide > :not(.head) { max-width: 78ch; }
.section .wrap > :is(.grid, .steps, .split, .gallery, .spec, .table-wrap, .faq, .figure, .checks, .chips) + * { margin-top: 2rem; }
.split .grid--3, .split .grid--4 { grid-template-columns: 1fr; gap: .75rem; }
.split .grid--2 { gap: .75rem; }
.split .card { padding: 1rem 1.25rem; }
.split .card h3, .split .card h4 { font-size: var(--step-1); margin-bottom: .2rem; }
.page-hero h1 em, .page-hero h1 i { color: var(--gold); font-weight: 500; }
.section > .wrap > p, .section > .wrap > ul { max-width: 78ch; }
.split--top { align-items: start; }
.split--md { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.split--md .portrait { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 900px) { .split--md { grid-template-columns: 1fr; } .split--md .portrait { position: static; max-width: 420px; } }
.signature { font-family: var(--ff-display); font-size: var(--step-1); }
.h-small { font-size: var(--step-1); margin-bottom: .5rem; }
h2.h3 { font-size: var(--step-2); }
.facts--hero { margin-top: 1.75rem; max-width: 560px; grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); }
@media (max-width: 359px) { .facts--hero { grid-template-columns: 1fr 1fr; } .facts--hero > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.filter-label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-right: .25rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:hover { color: var(--forest-700); }
.card:has(h3 a) { cursor: pointer; }
.hero-name { font-family: var(--ff-display); font-size: var(--step-2); color: var(--gold); margin: -.2em 0 .6em; letter-spacing: .02em; }
.media-badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; }
.page-hero .checks { margin-top: 1rem; }
.page-hero .facts { margin: 1.25rem 0 1.5rem; }
.page-hero .btn-row { margin-top: 1.5rem; }
.page-hero .chips { margin-top: 1rem; }
.stack-tag .tag-title { font-size: 1.15rem; line-height: 1.15; margin-bottom: .2rem; }
.page-hero-media .stack-tag { max-width: 340px; }
.steps > div > :last-child { margin-bottom: 0; }
.steps h3, .steps h4 { font-size: var(--step-1); }
.steps .eyebrow { margin-bottom: .4rem; }
.spec dd p:last-child { margin: 0; }

/* ---------- reveal choreography (JS adds .js; content is visible without it) ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal="tilt"] { transform: perspective(900px) translate3d(0, 34px, 0) rotateX(10deg); transform-origin: 50% 100%; }
.js [data-reveal="left"] { transform: translate3d(-24px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(24px, 0, 0); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* keyboard focus never lands on content that is still fading in */
.js [data-reveal]:focus-within { opacity: 1; transform: none; transition-duration: .15s; transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-track ul + ul { display: none; }
  .marquee ul { flex-wrap: wrap; white-space: normal; justify-content: center; row-gap: .5rem; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .stack-scene, .p-card, .city, .page-hero-media .frame, .feature-frame { transform: none !important; }
  .js .draw:not(.is-drawn) path, .js .draw:not(.is-drawn) line, .js .draw:not(.is-drawn) polyline, .js .draw:not(.is-drawn) rect, .js .draw:not(.is-drawn) circle { stroke-dashoffset: 0; }
}

@media print {
  .site-header, .site-footer, .action-bar, .marquee, .dialog, .btn { display: none !important; }
  body { background: #fff; }
  .hero, .page-hero, .section--dark { background: #fff; color: #000; }
}
