/* ==========================================================================
   BSR PROJECTS — Design System
   Forest & Earth & Red Sandalwood & Technology
   ========================================================================== */

:root {
  /* Palette */
  --forest: #10261D;
  --forest-deep: #0A1A14;
  --forest-mid: #173429;
  --charcoal: #111311;
  --sand: #E7DDC8;
  --ivory: #F6F3EC;
  --red: #6E2925;
  --red-soft: #8C3A33;
  --moss: #2E4A3C;
  --taupe: #B7A98E;
  --ink: #14161A;
  --paper: #FBF9F4;

  /* Semantic */
  --bg: var(--ivory);
  --bg-deep: var(--forest-deep);
  --surface: var(--paper);
  --text: var(--ink);
  --text-invert: var(--ivory);
  --muted: #6B6A63;
  --muted-on-dark: #B9C4B8;

  /* Lines */
  --line-dark: rgba(246, 243, 236, 0.14);
  --line-light: rgba(20, 22, 26, 0.12);

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing */
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section: clamp(4.5rem, 10vw, 9rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 0.35s;
  --med: 0.6s;
}

/* ============================== RESET ============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--red); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--red); color: var(--ivory);
  padding: 0.75rem 1.25rem; border-radius: 4px; font-weight: 600;
  transition: top var(--fast) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ============================== LAYOUT ============================== */
.container { width: 100%; max-width: 82rem; margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 60rem; }

section { position: relative; }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(3.5rem, 7vw, 6rem); }

.bg-forest { background: var(--forest); color: var(--ivory); }
.bg-forest-deep { background: var(--forest-deep); color: var(--ivory); }
.bg-ivory { background: var(--ivory); }
.bg-paper { background: var(--surface); }
.bg-sand { background: var(--sand); color: var(--ink); }
.bg-charcoal { background: var(--charcoal); color: var(--ivory); }

/* ============================== TYPOGRAPHY ============================== */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.06; letter-spacing: -0.01em; }

.display { font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.02; }
.h-xl { font-size: clamp(2.2rem, 5.4vw, 4rem); }
.h-lg { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
.h-md { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.h-sm { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.serif-i { font-style: italic; font-weight: 500; color: var(--red); }
.bg-forest .serif-i, .on-dark .serif-i { color: var(--sand); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); line-height: 1.75; max-width: 46rem; }
.on-dark .lead, .bg-forest .lead { color: var(--muted-on-dark); }

.kicker {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--red);
}
.bg-forest .kicker, .bg-forest-deep .kicker, .bg-charcoal .kicker, .on-dark .kicker { color: var(--sand); }
.kicker::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: 0.6; }

.eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--sand);
}

.section-head { max-width: 52rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker::before { display: none; }
.section-head .kicker { margin-bottom: 1.1rem; }
.section-head h2 { margin-bottom: 1.25rem; }
.section-head .lead { margin-top: 0.25rem; }

/* ============================== BUTTONS ============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 1.05rem 2rem; border-radius: 2px;
  transition: transform var(--fast) var(--ease), background var(--fast) var(--ease),
              color var(--fast) var(--ease), border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
  will-change: transform;
  text-align: center;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .arrow { transition: transform var(--fast) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--ivory); color: var(--forest-deep); }
.btn-primary:hover { background: var(--sand); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(10, 26, 20, 0.25); }

.btn-red { background: var(--red); color: var(--ivory); }
.btn-red:hover { background: var(--red-soft); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(110, 41, 37, 0.35); }

.btn-outline { border: 1px solid rgba(246, 243, 236, 0.45); color: var(--ivory); background: transparent; }
.btn-outline:hover { border-color: var(--ivory); background: rgba(246, 243, 236, 0.08); transform: translateY(-2px); }

.btn-outline-dark { border: 1px solid rgba(20, 22, 26, 0.35); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { border-color: var(--ink); background: rgba(20, 22, 26, 0.04); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ============================== NAVBAR ============================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background var(--med) var(--ease), box-shadow var(--med) var(--ease), border-color var(--med) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 26, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 5.25rem; }
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand-mark {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  object-fit: cover; border: 1px solid rgba(246, 243, 236, 0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ivory); }
.brand-text small { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.34em; color: var(--sand); opacity: 0.85; }

.site-nav { display: flex; align-items: center; gap: 2.1rem; }
.site-nav ul { display: flex; align-items: center; gap: 1.9rem; }
.site-nav ul a {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ivory); opacity: 0.85; position: relative; padding-block: 0.4rem;
  transition: opacity var(--fast) var(--ease);
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--sand); transition: width var(--med) var(--ease);
}
.site-nav ul a:hover { opacity: 1; }
.site-nav ul a:hover::after { width: 100%; }
.nav-cta {
  padding: 0.85rem 1.5rem; font-size: 0.7rem;
  background: transparent; border: 1px solid rgba(246, 243, 236, 0.5); color: var(--ivory);
}
.nav-cta:hover { background: var(--ivory); color: var(--forest-deep); transform: none; box-shadow: none; }

.nav-toggle { display: none; position: relative; z-index: 120; width: 2.75rem; height: 2.75rem; }
.nav-toggle .bar {
  display: block; width: 26px; height: 2px; background: var(--ivory);
  margin: 6px auto; transition: transform var(--med) var(--ease), opacity var(--med) var(--ease);
}
.nav-toggle.open .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================== HERO ============================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--ivory); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -8% 0 -18% 0; z-index: 0;
  background: center / cover no-repeat;
  will-change: transform;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 26, 20, 0.55) 0%, rgba(10, 26, 20, 0.35) 40%, rgba(10, 26, 20, 0.82) 100%),
    linear-gradient(120deg, rgba(10, 26, 20, 0.5) 0%, transparent 60%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(246, 243, 236, 0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(3rem, 7vh, 5.5rem); padding-top: 7rem; }
.hero-eyebrow { margin-bottom: 1.4rem; }
.hero-title { margin-bottom: 1.5rem; }
.hero-sub { max-width: 38rem; color: rgba(246, 243, 236, 0.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.3rem; }
.hero-trust {
  margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sand); opacity: 0.9;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 0.6rem; }
.hero-trust span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--red-soft); }

.hero-scroll {
  position: absolute; right: var(--gutter); bottom: clamp(2.5rem, 6vh, 4.5rem); z-index: 2;
  display: flex; align-items: center; gap: 0.8rem; writing-mode: vertical-rl;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--sand); opacity: 0.85;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 3.4rem; background: linear-gradient(to bottom, var(--sand), transparent);
  margin-top: 0.6rem;
}

/* Hero narrative journey strip */
.hero-journey {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; z-index: 2;
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgba(246, 243, 236, 0.18);
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand);
}
.hero-journey div { padding: 1.1rem 1rem 1.4rem; border-right: 1px solid rgba(246, 243, 236, 0.12); opacity: 0.85; }
.hero-journey div:last-child { border-right: 0; }

/* ============================== REVEAL ANIMATIONS ============================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-r { opacity: 0; transform: translateX(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-l.in, .reveal-r.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(1.04); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal-scale.in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.12s; }
[data-delay="2"] { transition-delay: 0.24s; }
[data-delay="3"] { transition-delay: 0.36s; }
[data-delay="4"] { transition-delay: 0.48s; }

/* Media image reveal */
.img-wrap { position: relative; overflow: hidden; background: var(--forest-deep); }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); }
.img-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 60%, rgba(10, 26, 20, 0.5));
  opacity: 0; transition: opacity var(--med) var(--ease);
}
.img-wrap:hover::after { opacity: 1; }

/* ============================== BRAND BAND ============================== */
.band {
  padding-block: clamp(3.5rem, 7vw, 5.5rem); text-align: center; color: var(--ivory);
  overflow: hidden;
}
.band-copy { font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.7rem); font-style: italic; line-height: 1.3; max-width: 52rem; margin-inline: auto; }
.band-copy strong { color: var(--sand); font-weight: 600; }
.band-sub { margin-top: 1.2rem; font-size: 0.95rem; color: var(--muted-on-dark); max-width: 40rem; margin-inline: auto; }

/* ============================== STORY PILLARS ============================== */
.pillars {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-collapse: collapse;
}
.pillar { padding: 2rem 1.6rem 2.4rem; border-left: 1px solid var(--line-dark); }
.pillar:first-child { border-left: 0; }
.pillar .p-num { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.3em; color: var(--sand); opacity: 0.7; }
.pillar h3 { font-size: 1.5rem; margin-block: 1rem 0.6rem; color: var(--ivory); }
.pillar p { font-size: 0.86rem; color: var(--muted-on-dark); line-height: 1.7; }
.pillar .p-line { display: block; width: 1.75rem; height: 2px; background: var(--red); margin-bottom: 1rem; }

/* ============================== FEATURE CARDS ============================== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-card { background: var(--surface); padding: 2.4rem 2rem; transition: background var(--fast) var(--ease), transform var(--fast) var(--ease); }
.feature-card:hover { background: var(--paper); }
.feature-card .f-num { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.3em; color: var(--red); }
.feature-card h3 { font-size: 1.28rem; margin: 1.1rem 0 0.7rem; }
.feature-card p { font-size: 0.88rem; color: var(--muted); }
.feature-card .f-ico { color: var(--red); margin-bottom: 1rem; }

/* on-dark variant */
.on-dark.feature-grid { background: var(--line-dark); border-color: var(--line-dark); }
.on-dark.feature-card { background: var(--forest); color: var(--ivory); }
.on-dark.feature-card:hover { background: var(--forest-mid); }
.on-dark.feature-card h3 { color: var(--ivory); }
.on-dark.feature-card p { color: var(--muted-on-dark); }
.on-dark.feature-card .f-swatch { background: var(--red); }

/* ============================== SPLIT LAYOUT ============================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split-media { position: relative; }
.split-media .img-wrap { aspect-ratio: 4 / 3.4; }
.split-media .img-wrap.tall { aspect-ratio: 3 / 4; }
.split-media .img-wrap.wide { aspect-ratio: 16 / 10; }
.media-stack { display: grid; gap: 1.25rem; }
.media-stack.two { grid-template-columns: 1fr 1fr; }
.frame-note { position: absolute; left: -1rem; bottom: -1rem; background: var(--forest-deep); color: var(--ivory); padding: 1.1rem 1.4rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }
.frame-note strong { display: block; font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.02em; text-transform: none; }

/* numbers list */
.num-list { margin-top: 2.2rem; }
.num-list li { display: flex; gap: 1.25rem; padding: 1.15rem 0; border-top: 1px solid var(--line-light); align-items: baseline; }
.num-list li:last-child { border-bottom: 1px solid var(--line-light); }
.num-list .n { font-family: var(--serif); font-size: 1.6rem; color: var(--red); line-height: 1; min-width: 2.6rem; }
.num-list h4 { font-size: 1.12rem; margin-bottom: 0.2rem; }
.num-list p { font-size: 0.88rem; color: var(--muted); }
.on-dark .num-list li { border-color: var(--line-dark); }
.on-dark .num-list p { color: var(--muted-on-dark); }

/* ============================== STORY / JOURNEY TIMELINE ============================== */
.vert-line { position: relative; padding-left: 2rem; }
.vert-line::before { content: ""; position: absolute; left: 0; top: 0.4rem; bottom: 0.4rem; width: 1px; background: var(--line-light); }
.vert-line li { position: relative; padding: 0 0 2.6rem 1.25rem; }
.vert-line li::before { content: ""; position: absolute; left: -2.05rem; top: 0.5rem; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--red); background: var(--bg); }
.vert-line h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.vert-line p { font-size: 0.9rem; color: var(--muted); max-width: 34rem; }

/* Horizontal scroll timeline (BSR process) */
.h-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 17rem; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; }
.h-scroll::-webkit-scrollbar { height: 4px; }
.h-scroll::-webkit-scrollbar-thumb { background: var(--red); }
.h-step {
  scroll-snap-align: start; padding: 1.75rem 1.9rem 2rem; border-left: 1px solid var(--line-light);
  position: relative;
}
.h-step::before { content: ""; position: absolute; left: 0; top: 0.35rem; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.h-step .s-num { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.3em; color: var(--red); }
.h-step h3 { font-size: 1.3rem; margin: 0.7rem 0 0.4rem; }
.h-step p { font-size: 0.86rem; color: var(--muted); }

/* ============================== CINEMATIC SCROLL CHAPTERS ============================== */
.chapter { display: flex; align-items: center; min-height: 92vh; color: var(--ivory); overflow: hidden; }
.chapter .chapter-bg { position: absolute; inset: -12% 0 -20% 0; background-size: cover; background-position: center; opacity: 0.35; will-change: transform; }
.chapter .chapter-inner { position: relative; z-index: 2; width: 100%; }
.chapter .c-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; color: var(--sand); }
.chapter h2 { margin: 1rem 0 1.2rem; }
.chapter p { max-width: 34rem; color: var(--muted-on-dark); }
.chapter .c-num {
  font-family: var(--serif); font-size: clamp(3rem, 8vw, 6rem); color: rgba(246, 243, 236, 0.16);
  position: absolute; right: 2%; top: 6%; z-index: 1; line-height: 1;
}

/* ============================== PROJECT CARDS ============================== */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.project-card { background: var(--surface); border: 1px solid var(--line-light); transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease); display: flex; flex-direction: column; overflow: hidden; }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(10, 26, 20, 0.18); }
.project-card .pc-media { aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.project-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project-card:hover .pc-media img { transform: scale(1.06); }
.pc-status {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.45rem 0.85rem; background: rgba(10, 26, 20, 0.78); color: var(--sand); border: 1px solid var(--line-dark); border-radius: 2px;
}
.pc-status.live { background: var(--red); color: var(--ivory); border-color: transparent; }
.pc-body { padding: 1.8rem 1.7rem 1.9rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.pc-body .pc-loc { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--red); }
.pc-body h3 { font-size: 1.5rem; }
.pc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 1rem; padding: 0.9rem 0; border-block: 1px solid var(--line-light); }
.pc-meta div span { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.pc-meta div strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.pc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--forest-deep); }
.pc-link .arrow { transition: transform var(--fast) var(--ease); }
.pc-link:hover .arrow { transform: translateX(5px); }

/* ============================== PROJECT MAP / INTERACTIVE MAP ============================== */
.map-stage { position: relative; border: 1px solid var(--line-light); background: var(--forest-deep); overflow: hidden; }
.map-canvas { position: relative; min-height: 480px; }
.map-canvas .sat { position: absolute; inset: 0; object-fit: cover; opacity: 0.85; width: 100%; height: 100%; }
.map-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-marker { position: absolute; transform: translate(-50%, -100%); cursor: pointer; text-align: center; }
.map-marker .dot {
  width: 14px; height: 14px; margin-inline: auto; border-radius: 50%;
  background: var(--red); border: 2px solid var(--ivory);
  box-shadow: 0 0 0 5px rgba(110, 41, 37, 0.35);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(110, 41, 37, 0.4); } 50% { box-shadow: 0 0 0 10px rgba(110, 41, 37, 0.12); } }
.map-marker .label { margin-top: 0.4rem; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ivory); }
.map-marker:hover .dot { transform: scale(1.25); }

.map-tooltip {
  position: absolute; z-index: 5; width: 19rem; background: rgba(10, 26, 20, 0.97);
  border: 1px solid var(--line-dark); color: var(--ivory);
  padding: 1.4rem; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  transform: translateY(-50%);
}
.map-tooltip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 1rem; }
.map-tooltip h3 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.map-tooltip .tt-loc { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand); margin-bottom: 0.7rem; }
.map-tooltip .tt-meta { display: flex; gap: 1.1rem; font-size: 0.82rem; color: var(--muted-on-dark); margin-bottom: 1rem; }
.map-tooltip .tt-meta strong { display: block; font-family: var(--serif); color: var(--ivory); font-size: 1.05rem; }

/* Digital ownership mock */
.digital-ui {
  position: relative; border: 1px solid var(--line-dark); background: var(--forest-deep);
  overflow: hidden; padding: 1.4rem;
}
.digital-ui .du-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.2rem; border: 1px solid var(--line-dark); margin-bottom: 1.2rem;
  background: rgba(246, 243, 236, 0.04);
}
.digital-ui .du-head span { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sand); }
.digital-ui .du-head .du-live { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--sand); }
.digital-ui .du-head .du-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7FBF7F; }
.du-viewport { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border: 1px solid var(--line-dark); }
.du-viewport .sat { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.du-viewport svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.du-veil {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, rgba(10, 26, 20, 0.35), rgba(10, 26, 20, 0.7));
}
.du-veil p { color: var(--ivory); font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.6rem); font-style: italic; text-align: center; padding-inline: 2rem; max-width: 30rem; }
.du-tail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 1.2rem; border: 1px solid var(--line-dark); }
.du-tail div { padding: 0.95rem 1rem; border-left: 1px solid var(--line-dark); }
.du-tail div:first-child { border-left: 0; }
.du-tail span { display: block; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand); opacity: 0.8; margin-bottom: 0.2rem; }
.du-tail strong { font-family: var(--serif); font-size: 0.98rem; color: var(--ivory); font-weight: 600; }

/* ============================== STATS ============================== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.stat { background: var(--forest-deep); padding: 2.6rem 1.8rem; text-align: center; color: var(--ivory); }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 600; color: var(--sand); line-height: 1; }
.stat span { display: block; margin-top: 0.7rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-on-dark); }

/* ============================== TIMELINE / PROCESS ============================== */
.flow { display: flex; align-items: stretch; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; }
.flow-step { flex: 0 0 15rem; scroll-snap-align: start; padding: 1.6rem 1.8rem; border: 1px solid var(--line-dark); margin-right: -1px; position: relative; }
.flow-step .f-arr { position: absolute; right: -1.9rem; top: 50%; transform: translateY(-50%); color: var(--red); z-index: 2; background: var(--forest-deep); }
.flow-step .f-num { font-family: var(--serif); font-size: 2.2rem; color: var(--sand); opacity: 0.5; }
.flow-step h3 { font-size: 1.2rem; margin: 0.8rem 0 0.4rem; color: var(--ivory); }
.flow-step p { font-size: 0.82rem; color: var(--muted-on-dark); }

/* ============================== CALCULATOR ============================== */
.calc { display: grid; grid-template-columns: 1.05fr 0.95fr; background: var(--surface); border: 1px solid var(--line-light); overflow: hidden; }
.calc-inputs { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1.9rem; }
.calc-field label { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.calc-field label output { font-family: var(--serif); font-size: 1.1rem; color: var(--forest-deep); letter-spacing: 0.02em; text-transform: none; }
input[type="range"] { width: 100%; height: 3px; background: var(--line-light); -webkit-appearance: none; appearance: none; border-radius: 2px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--red); border: 3px solid var(--ivory); box-shadow: 0 2px 8px rgba(110, 41, 37, 0.4); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--red); border: 3px solid var(--ivory); cursor: pointer; }
.calc-select { display: block; width: 100%; padding: 0.85rem 1rem; background: var(--paper); border: 1px solid var(--line-light); font-size: 0.9rem; }
.calc-outputs { background: var(--forest-deep); color: var(--ivory); padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1.5rem; }
.calc-outputs .co-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--sand); }
.calc-outputs .co-value { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; }
.co-row { padding: 1.05rem 0; border-top: 1px solid var(--line-dark); }
.co-row:first-of-type { border-top: 0; }
.co-row span { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 0.3rem; }
.co-row strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--sand); }
.co-note { font-size: 0.72rem; color: var(--muted-on-dark); border: 1px solid var(--line-dark); padding: 0.9rem 1rem; line-height: 1.6; background: rgba(246, 243, 236, 0.04); }

/* ============================== DOCUMENT CARDS ============================== */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.doc-card { border: 1px solid var(--line-light); background: var(--surface); padding: 1.9rem; transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease); position: relative; }
.doc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(10, 26, 20, 0.14); }
.doc-card .d-ico { width: 2.8rem; height: 3.2rem; border: 1px solid var(--line-light); border-bottom: 3px solid var(--red); background: var(--paper); margin-bottom: 1.4rem; position: relative; }
.doc-card .d-ico::after { content: ""; position: absolute; inset: 4px; border: 1px dashed rgba(20, 22, 26, 0.2); }
.doc-card h3 { font-size: 1.22rem; margin-bottom: 0.4rem; }
.doc-card p { font-size: 0.86rem; color: var(--muted); }
.doc-card .d-status { position: absolute; top: 1.4rem; right: 1.4rem; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); }

/* ============================== FAQ ============================== */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-item:first-child { border-top: 1px solid var(--line-light); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1.5rem 0.25rem; text-align: left; font-family: var(--serif); font-size: 1.18rem; font-weight: 600; transition: color var(--fast) var(--ease); }
.faq-q:hover { color: var(--red); }
.faq-q .faq-ico { flex-shrink: 0; width: 1.25rem; height: 1.25rem; position: relative; }
.faq-q .faq-ico::before, .faq-q .faq-ico::after { content: ""; position: absolute; background: currentColor; transition: transform var(--med) var(--ease); }
.faq-q .faq-ico::before { width: 100%; height: 1.5px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-q .faq-ico::after { width: 1.5px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }
.faq-item.open .faq-q .faq-ico::after { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--med) var(--ease), padding var(--med) var(--ease); }
.faq-item.open .faq-a { max-height: 26rem; }
.faq-a p { padding: 0 0.25rem 1.6rem; font-size: 0.94rem; color: var(--muted); max-width: 56rem; }

.faq-search { width: 100%; max-width: 32rem; padding: 1rem 1.2rem; border: 1px solid var(--line-light); background: var(--paper); font-size: 0.95rem; margin-bottom: 2.2rem; }

/* ============================== FORMS ============================== */
.form-grid { display: grid; gap: 1.35rem; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.field label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.95rem 1.1rem; border: 1px solid var(--line-light);
  background: var(--paper); font-size: 0.95rem; transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(110, 41, 37, 0.12); }
.form-note { font-size: 0.78rem; color: var(--muted); }
.form-status { font-size: 0.9rem; min-height: 1.4em; }
.form-status.ok { color: var(--forest-mid); font-weight: 600; }
.form-status.err { color: var(--red); font-weight: 600; }
.on-dark .form-status.ok { color: var(--sand); }

/* light form on dark bg */
.on-dark .field label { color: var(--sand); }
.on-dark .field input, .on-dark .field select, .on-dark .field textarea { background: rgba(246, 243, 236, 0.06); border-color: var(--line-dark); color: var(--ivory); }
.on-dark .field input::placeholder { color: rgba(246, 243, 236, 0.4); }
.on-dark .form-note { color: var(--muted-on-dark); }

/* ============================== TESTIMONIAL / STORY ============================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testimonial { background: var(--surface); border-top: 3px solid var(--red); padding: 2.2rem 2rem 1.9rem; display: flex; flex-direction: column; }
.testimonial .t-quote { font-family: var(--serif); font-size: 1.25rem; font-style: italic; line-height: 1.5; flex: 1; }
.testimonial .t-person { margin-top: 1.6rem; border-top: 1px solid var(--line-light); padding-top: 1.1rem; display: flex; align-items: center; gap: 0.9rem; }
.testimonial .t-avatar { width: 2.7rem; height: 2.7rem; border-radius: 50%; background: var(--forest); color: var(--sand); display: grid; place-items: center; font-family: var(--serif); font-size: 1.1rem; }
.testimonial .t-name { font-size: 0.9rem; font-weight: 700; }
.testimonial .t-meta { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; }

/* ============================== ARTICLE / CARD ROLL ============================== */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.article-card { display: flex; flex-direction: column; border: 1px solid var(--line-light); background: var(--surface); overflow: hidden; transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(10, 26, 20, 0.15); }
.article-card .ac-media { aspect-ratio: 3 / 2; overflow: hidden; }
.article-card .ac-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.article-card:hover .ac-media img { transform: scale(1.05); }
.article-card .ac-body { padding: 1.7rem 1.7rem 1.9rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.article-card .ac-cat { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--red); }
.article-card h3 { font-size: 1.28rem; line-height: 1.25; }
.article-card p { font-size: 0.86rem; color: var(--muted); }
.article-card .ac-link { margin-top: auto; padding-top: 0.8rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--forest-deep); display: inline-flex; gap: 0.45rem; align-items: center; }
.article-card .ac-link .arrow { transition: transform var(--fast) var(--ease); }
.article-card:hover .ac-link .arrow { transform: translateX(5px); }

/* ============================== GALLERY ============================== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.gallery-grid figure { aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; position: relative; }
.gallery-grid figure.wide { aspect-ratio: 16 / 10; }
.gallery-grid figure.tall { aspect-ratio: 3 / 4; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.07); }
.gallery-cap { margin-top: 1.25rem; font-size: 0.8rem; color: var(--muted); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 12, 10, 0.94); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lb-figure { max-width: min(1000px, 92vw); text-align: center; }
.lb-figure img { max-height: 80vh; margin-inline: auto; }
.lb-figure figcaption { color: var(--sand); font-size: 0.85rem; margin-top: 1rem; }
.lb-btn { position: absolute; color: var(--ivory); font-size: 2rem; padding: 0.75rem 1.1rem; }
.lb-close { top: 1.25rem; right: 1.25rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-btn:hover { color: var(--sand); }

/* ============================== CTA SECTIONS ============================== */
.cta-full { position: relative; min-height: 88vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--ivory); overflow: hidden; }
.cta-full .cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-full .cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10, 26, 20, 0.72), rgba(10, 26, 20, 0.85)); }
.cta-inner { position: relative; z-index: 2; max-width: 58rem; padding-inline: var(--gutter); }
.cta-inner .brand-stamp { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; color: var(--sand); }
.cta-inner h2 { margin-block: 1.6rem; }
.cta-inner .cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.3rem; }
.cta-legend { margin-top: 1.9rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--sand); opacity: 0.9; }

/* ============================== TESTIMONIAL-ISH BAND ============================== */
.quote-band { position: relative; padding-block: var(--section); text-align: center; }
.quote-band blockquote { font-family: var(--serif); font-size: clamp(1.7rem, 4vw, 3rem); font-style: italic; line-height: 1.35; max-width: 60rem; margin-inline: auto; }
.quote-band cite { display: block; margin-top: 1.6rem; font-style: normal; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }

/* ============================== FOOTER ============================== */
.site-footer { background: var(--charcoal); color: var(--ivory); }
.footer-top { padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem; }
.footer-brand .brand { margin-bottom: 1.4rem; }
.footer-brand p { font-size: 0.88rem; color: var(--muted-on-dark); max-width: 22rem; }
.footer-tagline { margin-top: 1.4rem; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--sand); }
.site-footer h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--sand); margin-bottom: 1.3rem; }
.site-footer nav ul { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer nav a { font-size: 0.88rem; color: var(--muted-on-dark); transition: color var(--fast) var(--ease); }
.site-footer nav a:hover { color: var(--ivory); }
.footer-contact li { font-size: 0.88rem; color: var(--muted-on-dark); margin-bottom: 0.75rem; }
.footer-contact a { color: var(--muted-on-dark); }
.footer-contact a:hover { color: var(--ivory); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.footer-social a {
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border: 1px solid var(--line-dark); border-radius: 50%; color: var(--sand);
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: var(--ivory); }
.footer-bottom { border-top: 1px solid rgba(246, 243, 236, 0.12); padding-block: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; font-size: 0.76rem; color: rgba(246, 243, 236, 0.55); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; color: inherit; }

/* ============================== MOBILE ACTION BAR ============================== */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; grid-template-columns: auto auto 1.5fr;
  background: rgba(10, 26, 20, 0.96); border-top: 1px solid var(--line-dark);
  backdrop-filter: blur(10px);
}
.action-bar.show { display: grid; }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 1rem 1.2rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory); border-right: 1px solid var(--line-dark); }
.action-bar a:last-child { border-right: 0; }
.action-bar .ab-primary { background: var(--red); color: var(--ivory); box-shadow: 0 -6px 24px rgba(110, 41, 37, 0.45); }
.action-bar a:hover { color: var(--sand); }

/* ============================== VIDEO CINEMA ============================== */
.cinema { position: relative; overflow: hidden; background: var(--forest-deep); }
.cinema .cinema-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cinema .cinema-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.9s var(--ease); }
.cinema .cinema-veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 26, 20, 0.85), rgba(10, 26, 20, 0.25)); }
.cinema-inner { position: relative; z-index: 2; min-height: 82vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: 4rem; }
.play-btn {
  width: 5.25rem; height: 5.25rem; border-radius: 50%;
  border: 1px solid rgba(246, 243, 236, 0.6); color: var(--ivory);
  display: grid; place-items: center; margin-bottom: 2.2rem;
  transition: transform var(--fast) var(--ease), background var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.play-btn:hover { transform: scale(1.08); background: var(--red); border-color: var(--red); }
.cinema .c-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sand); margin-bottom: 0.3rem; }

/* ============================== GENERIC UTILITIES ============================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.taglist { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; padding: 0.5rem 1rem; border: 1px solid var(--line-light); color: var(--muted); background: var(--surface); border-radius: 999px; transition: all var(--fast) var(--ease); }
.chip:hover { border-color: var(--red); color: var(--red); }
.on-dark .chip { border-color: var(--line-dark); color: var(--muted-on-dark); background: rgba(246, 243, 236, 0.03); }
.on-dark .chip:hover { border-color: var(--sand); color: var(--sand); }

.checklist { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.8rem; }
.checklist li { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 0.95rem; }
.checklist li::before { content: ""; flex-shrink: 0; width: 15px; height: 15px; margin-top: 0.28em; border: 1.5px solid var(--red); border-radius: 50%; background: radial-gradient(circle, var(--red) 0 38%, transparent 40%); }

.note { font-size: 0.78rem; color: var(--muted); border-left: 3px solid var(--red); padding: 0.7rem 1rem; background: rgba(110, 41, 37, 0.05); margin-top: 1.5rem; }
.on-dark .note { color: var(--muted-on-dark); background: rgba(246, 243, 236, 0.05); border-left-color: var(--sand); }

.divider-line { height: 1px; background: var(--line-light); }
.divider-line.on-dark { background: var(--line-dark); }

/* Table */
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.tbl th, .tbl td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.tbl th { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .tick { color: var(--red); font-weight: 700; }

/* Page hero (sub-pages) */
.page-hero { position: relative; color: var(--ivory); padding: 11rem 0 5.5rem; overflow: hidden; background: var(--forest-deep); }
.page-hero .ph-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.32; }
.page-hero .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10, 26, 20, 0.4), rgba(10, 26, 20, 0.9)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin: 1.1rem 0 1.2rem; max-width: 44rem; }
.page-hero .lead { max-width: 40rem; }
.page-hero .ph-tags { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sand); }
.page-hero .ph-tags span { display: inline-flex; align-items: center; gap: 0.5rem; }
.page-hero .ph-tags span::before { content: "·"; color: var(--red-soft); font-size: 1.3rem; }

.breadcrumb { display: flex; gap: 0.6rem; align-items: center; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(246, 243, 236, 0.6); margin-bottom: 1.6rem; }
.breadcrumb a:hover { color: var(--sand); }

/* Content article (long form) */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2.8rem 0 1rem; }
.prose h3 { font-size: 1.3rem; margin: 2rem 0 0.7rem; }
.prose p { margin-bottom: 1.1rem; font-size: 1.0rem; line-height: 1.85; color: #33352F; }
.prose strong { color: var(--ink); }
.prose ul { margin: 0 0 1.4rem 0; display: flex; flex-direction: column; gap: 0.6rem; }
.prose ul li { position: relative; padding-left: 1.4rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.prose blockquote { border-left: 3px solid var(--red); padding: 0.9rem 1.4rem; margin: 1.6rem 0; font-family: var(--serif); font-style: italic; font-size: 1.25rem; background: rgba(110, 41, 37, 0.05); }
.prose figure { margin: 2rem 0; }
.prose figure img { width: 100%; border-radius: 2px; }
.prose figcaption { margin-top: 0.7rem; font-size: 0.8rem; color: var(--muted); text-align: center; }

/* Tally (spec list for project page) */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.spec-cell { background: var(--forest-deep); padding: 1.7rem 1.5rem; color: var(--ivory); }
.spec-cell span { display: block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sand); opacity: 0.8; margin-bottom: 0.45rem; }
.spec-cell strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.4rem; }
.tab-btn {
  padding: 0.7rem 1.3rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--line-light); background: var(--paper); color: var(--muted);
  transition: all var(--fast) var(--ease);
}
.tab-btn.active { background: var(--forest-deep); color: var(--ivory); border-color: var(--forest-deep); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid, .article-grid, .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed; inset: 0; z-index: 110; background: rgba(10, 26, 20, 0.98);
    flex-direction: column; justify-content: center; gap: 2rem;
    opacity: 0; pointer-events: none; transition: opacity var(--med) var(--ease);
    backdrop-filter: blur(16px);
  }
  .site-nav.open { opacity: 1; pointer-events: auto; }
  .site-nav ul { flex-direction: column; gap: 1.6rem; }
  .site-nav ul a { font-size: 1.05rem; letter-spacing: 0.18em; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: block; }
  .pillars { grid-template-columns: repeat(5, 1fr); overflow-x: auto; }
  .pillar { min-width: 12rem; border-left: 1px solid var(--line-dark); }
  .split { grid-template-columns: 1fr; }
  .split-media.order-first { order: -1; }
  .hero-journey { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .du-tail { grid-template-columns: repeat(3, 1fr); }
  .du-tail div:nth-child(4) { border-left: 0; }
  .calc { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 0.95rem; }
  .project-grid, .article-grid, .doc-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid.cols-3, .feature-grid.cols-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-grid.two { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-scroll { display: none; }
  .media-stack.two { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .map-canvas { min-height: 360px; }
  .frame-note { left: 0.6rem; bottom: 0.6rem; }
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .action-bar.show { display: grid; }
}

/* ============================== REDUCED MOTION ============================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-l, .reveal-r, .reveal-scale { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================== RISK LIST ============================== */
.risklist { display: flex; flex-direction: column; gap: 1.2rem; max-width: 38rem; }
.risk { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.5rem 1.6rem; background: var(--surface); border: 1px solid var(--line-light); }
.risk span { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--red); line-height: 1; }
.risk p { font-size: 0.94rem; color: var(--muted); line-height: 1.6; }
.risk strong { color: var(--forest-deep); font-weight: 700; }
.on-dark .risk { background: rgba(246,243,236,0.03); border-color: var(--line-dark); }
.on-dark .risk strong { color: var(--ivory); }
.on-dark .risk p { color: var(--muted-on-dark); }