/* =====================================================================
   Common Good Development — "The Architectural Monograph"
   Warm paper canvas · charcoal ink · sage + tan · hairline drawing rules
   Type: Fraunces (display) · Space Grotesk (UI/body) · IBM Plex Mono (labels)
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --paper:        #f6f1e8;   /* warm cream */
  --paper-2:      #efe8db;   /* slightly deeper panel */
  --paper-3:      #e9e0d0;   /* deepest paper */
  --ink:          #232019;   /* warm near-black */
  --ink-soft:     #3a352c;
  --muted:        #857c6c;   /* warm gray — captions, rules text */
  --line:         #d8cdb8;   /* hairline rule on paper */
  --line-soft:    #e4dccb;

  --sage:         #688858;
  --sage-deep:    #4d6740;
  --sage-ink:     #34432a;   /* dark sage for dark sections */
  --tan:          #e0a868;
  --tan-deep:     #c68a45;   /* decorative only (rules, ticks, plus, bars) */
  --tan-text:     #87591f;   /* AA-safe amber for small text on paper (>=4.5:1) */
  --muted-ink:    #635b4c;   /* AA-safe warm gray for small text on paper (>=4.5:1) */

  --forest:       #262319;   /* dark section bg (warm charcoal) */
  --forest-2:     #2f2b20;

  /* Typography */
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-sans:    "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Rhythm */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 132px);
  --radius: 3px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--f-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.68;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* subtle paper grain */
  background-image:
    radial-gradient(rgba(120,108,86,.05) 1px, transparent 1px);
  background-size: 4px 4px;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }
::selection { background: var(--tan); color: var(--ink); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; font-family: var(--f-mono); font-size: .8rem; border-radius: 0 0 var(--radius) 0; }
.skip-link:focus { left: 8px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }

/* hairline dividers with tick marks — the "drawing sheet" motif */
.rule { border: 0; border-top: 1px solid var(--line); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 380; line-height: 1.04; letter-spacing: -.015em; color: var(--ink); }
.display {
  font-family: var(--f-display);
  font-weight: 360;
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.02em;
  font-optical-sizing: auto;
}
.h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.serif-i { font-style: italic; }
.accent-sage { color: var(--sage-deep); }
.accent-tan  { color: var(--tan-deep); }

.lead { font-size: clamp(1.12rem, 1.6vw, 1.4rem); line-height: 1.6; color: var(--ink-soft); font-weight: 400; }
p.body { color: var(--ink-soft); max-width: 62ch; }
p.body + p.body { margin-top: 1.1em; }

/* Mono eyebrow / labels — "spec sheet" voice */
.eyebrow {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px; background: var(--tan-deep);
  display: inline-block;
}
.eyebrow.no-tick::before { display: none; }
.mono { font-family: var(--f-mono); }
.mono-sm { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; color: var(--muted-ink); }
.num-tag { font-family: var(--f-mono); font-size: .82rem; letter-spacing: .1em; color: var(--tan-text); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: .7em;
  padding: .95em 1.5em;
  font-family: var(--f-mono);
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  background: var(--bg); color: var(--fg);
  border-radius: var(--radius);
  border: 1px solid var(--bg);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease-out), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn .arrow { transition: transform .35s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--sage { --bg: var(--sage-deep); --fg: #fff; }
.btn--tan  { --bg: var(--tan); --fg: var(--ink); border-color: var(--tan); }
.btn--outline {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--ghost-light {
  background: transparent; color: var(--paper); border-color: rgba(246,241,232,.4);
}
.btn--ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.textlink {
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sage-deep); display: inline-flex; align-items: center; gap: .5em;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: gap .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.textlink:hover { gap: .9em; border-color: var(--tan-deep); color: var(--ink); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: clamp(14px, 2vw, 22px);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled {
  background: rgba(246,241,232,.9);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
  padding-block: 12px;
}
/* over-hero: guarantee a legible backdrop so nav never composites on bare photo */
.site-header:not(.scrolled).over-hero {
  background: linear-gradient(180deg, rgba(20,18,13,.58), rgba(20,18,13,0));
}
.brand { display: flex; align-items: center; gap: 12px; z-index: 2; }
.brand img { height: 40px; width: auto; transition: height .4s var(--ease); }
.site-header.scrolled .brand img { height: 34px; }
/* hero-overlay (transparent) header uses white logo */
.site-header:not(.scrolled).over-hero .brand .logo-dark { display: none; }
.site-header:not(.scrolled).over-hero .brand .logo-light { display: block; }
.brand .logo-light { display: none; }
.site-header.scrolled .brand .logo-light { display: none; }
.site-header.scrolled .brand .logo-dark { display: block; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav a {
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); position: relative; padding-block: 4px; transition: color .3s var(--ease);
}
.site-header:not(.scrolled).over-hero .nav a,
.site-header:not(.scrolled).over-hero .nav .nav-cta { color: var(--paper); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0; background: var(--tan-deep);
  transition: width .35s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
/* current page: color + weight + a distinct 2px sage underline (not color alone) */
.nav a[aria-current="page"] { color: var(--sage-deep); font-weight: 600; }
.nav a[aria-current="page"]::after { height: 2px; background: var(--sage-deep); }
.site-header:not(.scrolled).over-hero .nav a[aria-current="page"] { color: #fff; }
.site-header:not(.scrolled).over-hero .nav a[aria-current="page"]::after { background: var(--paper); }
.nav-cta {
  border: 1px solid currentColor; padding: .6em 1.1em !important; border-radius: var(--radius);
  transition: background .3s var(--ease), color .3s var(--ease) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--tan); color: var(--ink) !important; border-color: var(--tan); }

/* mobile nav */
.nav-toggle { display: none; width: 44px; height: 44px; z-index: 2; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 28px; }
.site-header:not(.scrolled).over-hero .nav-toggle { color: var(--paper); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 30px;
    background: var(--forest); color: var(--paper);
    transform: translateY(-100%); transition: transform .5s var(--ease-out), visibility .5s;
    padding: var(--gutter);
    visibility: hidden; /* keep links out of tab order while closed */
  }
  body.nav-open .nav { transform: translateY(0); visibility: visible; }
  .nav a { color: var(--paper) !important; font-size: 1rem; }
  .nav a[aria-current="page"] { color: var(--tan) !important; }
  .nav-cta { border-color: var(--tan); color: var(--tan) !important; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--paper); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s var(--ease-out) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    /* darken the left column where the headline/CTAs sit */
    linear-gradient(90deg, rgba(18,16,11,.78) 0%, rgba(18,16,11,.5) 32%, rgba(18,16,11,.12) 66%, rgba(18,16,11,0) 88%),
    /* darken top (nav) and bottom, keep the middle-right of the render visible */
    linear-gradient(180deg, rgba(18,16,11,.55) 0%, rgba(18,16,11,.22) 26%, rgba(18,16,11,.5) 60%, rgba(18,16,11,.92) 100%);
}
.hero .wrap { width: 100%; padding-bottom: clamp(48px, 8vh, 110px); padding-top: 140px; }
.hero__eyebrow { color: var(--tan); text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.hero__eyebrow::before { background: var(--tan); }
.hero h1 { color: #fff; max-width: 16ch; margin-top: .5em; text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 2px 30px rgba(0,0,0,.5); }
.hero h1 .accent-tan { white-space: nowrap; } /* keep "Common Good" emphasis intact on mobile */
.hero__sub { max-width: 46ch; margin-top: 1.4em; color: rgba(246,241,232,.95); font-size: clamp(1.05rem,1.5vw,1.3rem); line-height: 1.55; text-shadow: 0 1px 3px rgba(0,0,0,.55); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2.2em; }
.hero__spec {
  position: absolute; right: var(--gutter); bottom: clamp(48px, 8vh, 110px); z-index: 1;
  display: grid; gap: 14px; text-align: right;
}
.hero__spec .kv { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; color: rgba(246,241,232,.85); text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.hero__spec .kv b { display: block; color: var(--tan); font-weight: 500; margin-bottom: 2px; }
@media (max-width: 900px) { .hero__spec { display: none; } }

.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 22px; z-index: 1;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(246,241,232,.7);
  display: flex; align-items: center; gap: 10px;
}
.hero__scroll .line { width: 40px; height: 1px; background: var(--tan); transform-origin: left; animation: scrollLine 2.4s var(--ease) infinite; }
@keyframes scrollLine { 0%,100% { transform: scaleX(.4); opacity: .5; } 50% { transform: scaleX(1); opacity: 1; } }
@media (max-width: 900px) { .hero__scroll { display: none; } }

/* page header (interior pages) */
.page-header { position: relative; padding-top: clamp(150px, 20vh, 220px); padding-bottom: clamp(60px, 9vw, 110px); color: var(--paper); overflow: hidden; }
.page-header__media { position: absolute; inset: 0; z-index: -2; }
.page-header__media img { width: 100%; height: 100%; object-fit: cover; }
.page-header::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,13,.62), rgba(20,18,13,.42) 40%, rgba(20,18,13,.75)); }
.page-header h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 18ch; }
.page-header .eyebrow { color: var(--tan); }
.page-header .eyebrow::before { background: var(--tan); }
.page-header__sub { color: rgba(246,241,232,.9); max-width: 54ch; margin-top: 1.2em; font-size: clamp(1.05rem,1.4vw,1.25rem); }
.crumb { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,241,232,.65); margin-bottom: 1.4em; }
.crumb a:hover { color: var(--tan); }

/* =====================================================================
   Signature motif: corner crop marks on framed blocks
   ===================================================================== */
.crop { position: relative; }
.crop::before, .crop::after,
.crop > .crop-tr, .crop > .crop-br {
  content: ""; position: absolute; width: 12px; height: 12px; pointer-events: none;
  border-color: var(--tan-deep); opacity: .8;
}
.crop::before { top: -1px; left: -1px; border-top: 1.5px solid; border-left: 1.5px solid; }
.crop::after  { top: -1px; right: -1px; border-top: 1.5px solid; border-right: 1.5px solid; }
.crop > .crop-tr { bottom: -1px; left: -1px; border-bottom: 1.5px solid; border-left: 1.5px solid; }
.crop > .crop-br { bottom: -1px; right: -1px; border-bottom: 1.5px solid; border-right: 1.5px solid; }

/* =====================================================================
   Section header block
   ===================================================================== */
.section-head { display: grid; gap: 1rem; max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head .h2 { margin-top: .2em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--wide-r { grid-template-columns: .85fr 1.15fr; }
.split--wide-l { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 880px) { .split, .split--wide-r, .split--wide-l { grid-template-columns: 1fr; } }

/* =====================================================================
   Intro / mission
   ===================================================================== */
.intro-figure { position: relative; }
.intro-figure img { border-radius: var(--radius); width: 100%; object-fit: cover; aspect-ratio: 3/2; }
.intro-figure .caption { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; color: var(--muted-ink); margin-top: 12px; text-transform: uppercase; }
.figure-stack { position: relative; }
.figure-stack .fs-2 {
  position: absolute; right: -8%; bottom: -14%; width: 46%; border: 6px solid var(--paper); border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(35,32,25,.45);
}
@media (max-width: 880px) { .figure-stack .fs-2 { position: static; width: 60%; margin: -30px 0 0 auto; } }

/* quote band (replaces fabricated stats/testimonials) */
.quote-band { background: var(--sage-ink); color: var(--paper); position: relative; overflow: hidden; }
.quote-band .mark { position: absolute; font-family: var(--f-display); font-size: 22rem; line-height: 1; color: rgba(224,168,104,.12); top: -4rem; left: 2rem; pointer-events: none; }
.quote-band blockquote { font-family: var(--f-display); font-weight: 360; font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.16; letter-spacing: -.015em; max-width: 20ch; position: relative; }
.quote-band .cite { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tan); margin-top: 1.6em; }
.quote-band .wrap { display: grid; gap: 1.4rem; }

/* =====================================================================
   Services grid
   ===================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  background: var(--paper); padding: clamp(28px, 3.4vw, 48px); position: relative; overflow: hidden;
  transition: background .4s var(--ease); min-height: 260px; display: flex; flex-direction: column;
}
.svc::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: var(--tan); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease-out); }
.svc:hover { background: var(--paper-2); }
.svc:hover::after { transform: scaleY(1); }
.svc__num { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .1em; color: var(--tan-text); }
.svc__icon { width: 42px; height: 42px; margin: 18px 0 20px; color: var(--sage-deep); }
.svc__icon svg { width: 100%; height: 100%; }
.svc h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: .5em; }
.svc p { color: var(--ink-soft); font-size: .98rem; flex: 1; }

/* =====================================================================
   Reasons / values (numbered list)
   ===================================================================== */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 3vw, 48px) clamp(36px, 5vw, 72px); }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; } }
.reason { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding-top: 26px; border-top: 1px solid var(--line); }
.reason .rn { font-family: var(--f-mono); font-size: .9rem; color: var(--tan-text); letter-spacing: .06em; padding-top: 4px; }
.reason h3 { font-size: 1.2rem; margin-bottom: .4em; font-family: var(--f-sans); font-weight: 600; letter-spacing: -.01em; }
.reason p { color: var(--ink-soft); font-size: .96rem; }

/* value cards variant */
.values { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 700px){ .values { grid-template-columns: 1fr; } }
.value { background: var(--paper); padding: clamp(26px,3vw,40px); }
.value .vlabel { font-family: var(--f-display); font-style: italic; font-size: 1.5rem; color: var(--sage-deep); margin-bottom: .3em; }
.value p { color: var(--ink-soft); font-size: .98rem; }

/* =====================================================================
   Projects
   ===================================================================== */
.proj-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px,4vw,64px); align-items: center; }
.proj-feature.flip { grid-template-columns: 1fr 1.2fr; }
.proj-feature.flip .proj-media { order: 2; }
@media (max-width: 860px) { .proj-feature, .proj-feature.flip { grid-template-columns: 1fr; } .proj-feature.flip .proj-media { order: 0; } }
.proj-media { position: relative; border-radius: var(--radius); overflow: hidden; }
.proj-media img { width: 100%; aspect-ratio: 16/11; object-fit: cover; transition: transform .8s var(--ease-out); }
.proj-feature:hover .proj-media img { transform: scale(1.04); }
.proj-media .tag { position: absolute; top: 16px; left: 16px; background: var(--paper); color: var(--ink); font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: .5em .9em; border-radius: 2px; }
.proj-body .kicker { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tan-text); }
.proj-body h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: .3em 0 .5em; }
.proj-body .meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 1.2em 0; }
.proj-body .meta span { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; color: var(--muted-ink); display: inline-flex; gap: .5em; }
.proj-body .meta b { color: var(--sage-deep); font-weight: 500; }

/* selected work gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
@media (max-width: 820px){ .gallery { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px){ .gallery { grid-template-columns: 1fr; } }
.gcard { position: relative; border-radius: var(--radius); overflow: hidden; }
.gcard img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .7s var(--ease-out); }
.gcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20,18,13,.78)); }
.gcard figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 1; color: var(--paper); }
.gcard figcaption .t { font-family: var(--f-display); font-size: 1.15rem; }
.gcard figcaption .s { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tan); }
.gcard:hover img { transform: scale(1.06); }

/* =====================================================================
   Process (timeline steps)
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (max-width: 820px){ .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .steps { grid-template-columns: 1fr; } }
.step { background: var(--paper); padding: clamp(24px,2.6vw,36px) clamp(20px,2vw,30px); position: relative; }
.step .sn { font-family: var(--f-mono); font-size: .8rem; color: var(--tan-text); letter-spacing: .1em; }
.step .sbar { height: 2px; background: var(--sage); width: 34px; margin: 14px 0 16px; }
.step h3 { font-family: var(--f-sans); font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; margin-bottom: .5em; }
.step p { color: var(--ink-soft); font-size: .92rem; }

/* strength bars (qualitative, no fake %) */
.strengths { display: grid; gap: 22px; max-width: 520px; }
.strength { display: grid; gap: 8px; }
.strength .sh { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.strength .sh .lbl { color: var(--ink); }
.strength .sh .val { color: var(--tan-text); }
.strength .track { height: 5px; background: var(--paper-3); border-radius: 4px; overflow: hidden; }
.strength .fill { height: 100%; background: linear-gradient(90deg, var(--sage), var(--tan)); width: 0; border-radius: 4px; transition: width 1.3s var(--ease-out); }

/* =====================================================================
   Timeline (Our Story)
   ===================================================================== */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: auto 1fr; gap: 26px; padding: 22px 0; position: relative; }
.tl-item .dot { width: 15px; height: 15px; border-radius: 50%; border: 3px solid var(--tan); background: var(--paper); margin-top: 6px; z-index: 1; }
.tl-item .yr { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em; color: var(--sage-deep); margin-bottom: .3em; }
.tl-item h3 { font-family: var(--f-sans); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: .35em; }
.tl-item p { color: var(--ink-soft); font-size: .96rem; max-width: 60ch; }

/* =====================================================================
   Team
   ===================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 30px); }
@media (max-width: 900px){ .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px){ .team-grid { grid-template-columns: 1fr; } }
.member figure { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; background: var(--paper-3); }
.member img { aspect-ratio: 4/5; object-fit: cover; width: 100%; filter: grayscale(.15) contrast(1.02); transition: filter .5s var(--ease), transform .7s var(--ease-out); }
.member:hover img { filter: grayscale(0); transform: scale(1.03); }
.member figure::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -60px 60px -50px rgba(35,32,25,.5); }
.member h3 { font-size: 1.25rem; font-family: var(--f-display); font-weight: 400; }
.member .role { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tan-text); margin-top: 4px; }
.member p { color: var(--ink-soft); font-size: .9rem; margin-top: .8em; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--f-display); font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 400; color: var(--ink); transition: color .3s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--sage-deep); }
.faq .plus { position: relative; width: 20px; height: 20px; flex: none; }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; background: var(--tan-deep); transition: transform .35s var(--ease); }
.faq .plus::before { left: 0; right: 0; top: 9px; height: 2px; }
.faq .plus::after { top: 0; bottom: 0; left: 9px; width: 2px; }
.faq details[open] .plus::after { transform: scaleY(0); }
.faq .answer { overflow: hidden; transition: height .4s var(--ease); }
.faq .answer p { color: var(--ink-soft); padding-bottom: 26px; max-width: 74ch; font-size: 1rem; }

/* =====================================================================
   CTA band
   ===================================================================== */
.cta-band { position: relative; color: var(--paper); overflow: hidden; text-align: center; }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(38,35,25,.86), rgba(38,35,25,.78)); }
.cta-band .wrap { display: grid; justify-items: center; gap: 1.6rem; padding-block: clamp(72px, 11vw, 150px); }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); max-width: 20ch; }
.cta-band p { color: rgba(246,241,232,.88); max-width: 56ch; font-size: 1.1rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: .6rem; }

/* =====================================================================
   Contact
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
@media (max-width: 900px){ .contact-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-ink); }
.field input, .field textarea, .field select {
  font-family: var(--f-sans); font-size: 1rem; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px; width: 100%;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sage); background: var(--paper); }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px){ .field.two { grid-template-columns: 1fr; } }
.form-note { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted-ink); margin-top: 6px; }

.contact-aside { display: grid; gap: 26px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--paper-2); }
.contact-card .clabel { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tan-text); margin-bottom: 8px; }
.contact-card .cval { font-family: var(--f-display); font-size: 1.3rem; }
.contact-card .cval a:hover { color: var(--sage-deep); }
.contact-card p { color: var(--ink-soft); font-size: .95rem; }
.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--ink); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.socials a:hover { background: var(--sage-deep); color: #fff; border-color: var(--sage-deep); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

.form-success { display: none; border: 1px solid var(--sage); background: rgba(104,136,88,.1); border-radius: var(--radius); padding: 22px; color: var(--sage-deep); font-family: var(--f-mono); font-size: .85rem; letter-spacing: .04em; }
.form-success.show { display: block; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--forest); color: rgba(246,241,232,.72); padding-top: clamp(56px, 7vw, 96px); }
.site-footer a { transition: color .3s var(--ease); }
.site-footer a:hover { color: var(--tan); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 60px); padding-bottom: 56px; }
@media (max-width: 860px){ .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 46px; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; font-size: .95rem; }
.footer-col h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tan); font-weight: 500; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a, .footer-col li { font-size: .95rem; }
.footer-contact .row { margin-bottom: 14px; }
.footer-contact .k { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,241,232,.72); display: block; margin-bottom: 3px; }
.footer-bottom { border-top: 1px solid rgba(246,241,232,.14); padding-block: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.footer-bottom p, .footer-bottom a { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; color: rgba(246,241,232,.72); }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { color: rgba(246,241,232,.7); }
.footer-socials svg { width: 17px; height: 17px; }

/* =====================================================================
   Scroll reveal
   ===================================================================== */
/* Reveal is a progressive enhancement: only hide when JS is present (html.js).
   Without JS, all content is visible by default (robust + SEO-safe). */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); will-change: opacity, transform; }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: .08s; }
.js [data-reveal][data-delay="2"] { transition-delay: .16s; }
.js [data-reveal][data-delay="3"] { transition-delay: .24s; }
.js [data-reveal][data-delay="4"] { transition-delay: .32s; }

/* hero staggered load */
.hero [data-load] { opacity: 0; transform: translateY(24px); animation: loadUp 1s var(--ease-out) forwards; }
.hero [data-load="1"] { animation-delay: .15s; }
.hero [data-load="2"] { animation-delay: .32s; }
.hero [data-load="3"] { animation-delay: .49s; }
.hero [data-load="4"] { animation-delay: .66s; }
.hero__spec[data-load], .hero__scroll[data-load] { animation-delay: .9s; }
@keyframes loadUp { to { opacity: 1; transform: none; } }

/* utilities */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.bg-panel { background: var(--paper-2); }
.center { text-align: center; }
.maxw { max-width: 760px; }
.hairline-top { border-top: 1px solid var(--line); }
