/* People's Science Institute preview
   Palette sampled from the PSI emblem: pot saffron, tree green, trunk terracotta, banner red. */
:root {
  --paper: #f7f4ee;
  --paper-2: #efe9dd;
  --white: #fffdf9;
  --ink: #101812;
  --ink-2: #1e2b22;
  --muted: #33463a;
  --terracotta-text: #8a3833;
  --line: rgba(21, 35, 26, 0.14);
  --forest: #1d3a26;
  --forest-2: #274b31;
  --forest-deep: #142a1b;
  --forest-ink: #eef4ea;
  --leaf: #4f7a3a;
  --saffron: #f2b01e;
  --saffron-2: #f7c955;
  --saffron-soft: #fbedc6;
  --terracotta: #b0473f;
  --brand-red: #a5251f;

  /* One typeface, Satoshi, self hosted from Fontshare files. Hierarchy comes from weight, size and tracking. */
  --sans: "Satoshi", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1280px;
  --section: clamp(84px, 10vw, 160px);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --bar-h: 76px;
  --tabs-h: 50px;
  --hdr-h: var(--bar-h);
}

@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis-smooth { scroll-behavior: auto; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-synthesis-weight: none;
  font-size: 1.0625rem;
  line-height: 1.68;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
a { color: inherit; }
strong { font-weight: 700; color: var(--ink); }
h1, h2, h3 { font-family: var(--sans); margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6.6vw, 6.2rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 900; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1.02; letter-spacing: -0.038em; font-weight: 700; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.22; letter-spacing: -0.022em; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-2); font-weight: 400; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.55; letter-spacing: -0.012em; color: var(--ink-2); font-weight: 400; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-flush { padding-top: 0; }
.section-tint { background: var(--paper-2); }
.section-forest { background: var(--forest); color: var(--forest-ink); }
.section-forest h2, .section-forest h3 { color: #fff; }
.section-forest p { color: var(--forest-ink); }
.section-forest strong { color: #fff; }

/* ---------- Labels, tags, buttons ---------- */

.tag {
  display: inline-flex; align-items: center;
  padding: 5px 12px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; line-height: 1.4;
}
.tag-soft { background: var(--saffron-soft); }
.tag-on-img { position: absolute; left: 16px; bottom: 16px; background: var(--white); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; }

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 24px; border-radius: 999px;
  background: var(--forest); color: #fff;
  font-weight: 700; font-size: 1rem; line-height: 1; letter-spacing: -0.01em; text-decoration: none;
  transition: background 0.45s var(--ease), transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.btn-icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--saffron); color: var(--ink);
  transition: transform 0.6s var(--ease);
}
.btn-icon svg { width: 18px; height: 18px; }
.btn:hover { background: var(--forest-2); transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(21, 35, 26, 0.55); }
.btn:hover .btn-icon { transform: translateX(3px); }
.btn-saffron { background: var(--saffron); color: var(--ink); }
.btn-saffron .btn-icon { background: var(--forest); color: #fff; }
.btn-saffron:hover { background: var(--saffron-2); }
.btn-sm { padding: 6px 6px 6px 20px; font-size: 0.95rem; gap: 12px; }
.btn-sm .btn-icon { width: 34px; height: 34px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.link-light { color: #fff; font-weight: 700; transition: text-decoration-color 0.4s var(--ease); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: rgba(255,255,255,.4); }
.link-light:hover { text-decoration-color: var(--saffron); }
.split-copy .btn, .duo-cta-copy .btn { margin-top: 14px; }

/* ---------- Header ---------- */
.hdr { position: fixed; z-index: 50; left: 0; right: 0; top: 14px; padding: 0 var(--gutter); pointer-events: none; }
.hdr-bar {
  pointer-events: auto;
  max-width: var(--maxw); margin: 0 auto; height: var(--bar-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 14px 0 14px;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  backdrop-filter: blur(8px) saturate(1.1);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(21, 35, 26, 0.06), 0 0 0 1px rgba(21, 35, 26, 0.06);
  transition: box-shadow 0.4s var(--ease);
}
.hdr.is-scrolled .hdr-bar { box-shadow: 0 10px 30px -12px rgba(21, 35, 26, 0.28); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; flex: none; }
.brand-mark { width: auto; height: 52px; flex: none; display: block; }
.brand-name { font-family: var(--sans); font-size: 1.22rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--brand-red); white-space: nowrap; }
.nav { display: flex; margin-left: auto; min-width: 0; }
.nav a {
  padding: 9px 14px; border-radius: 999px;
  font-size: 0.97rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); text-decoration: none;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { background: var(--paper-2); color: var(--forest); font-weight: 700; }
.hdr-cta { flex: none; }
.hdr-cta[aria-current="page"] { background: var(--forest-2); }
.menu-btn {
  display: none; margin-left: auto; flex: none;
  width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0;
  background: var(--forest); color: #fff; cursor: pointer;
}
.menu-btn-lines { display: grid; gap: 6px; width: 20px; margin: 0 auto; }
.menu-btn-lines i { display: block; height: 1.8px; background: currentColor; border-radius: 2px; }
.menu-btn-lines i:last-child { width: 13px; justify-self: end; }

@media (max-width: 1180px) {
  .nav, .hdr-cta { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 600px) {
  :root { --bar-h: 62px; --tabs-h: 46px; }
  .hdr { top: 10px; padding: 0 12px; }
  .hdr-bar { padding: 0 6px 0 10px; gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: auto; height: 44px; }
  .brand-name { font-size: 1.08rem; }
  .menu-btn { width: 50px; height: 50px; }
}
@media (max-width: 370px) {
  .brand-name { font-size: 1rem; }
}

/* ---------- Mobile / tablet menu (full screen) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  padding: 10px 12px calc(28px + env(safe-area-inset-bottom));
  background: var(--forest); color: #fff;
  overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity 0.35s var(--ease); }
.menu-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  height: var(--bar-h); padding: 0 6px 0 10px;
  background: rgba(255, 255, 255, 0.06); border-radius: 999px; flex: none;
}
.menu-top .brand-name { color: #fff; }
/* menu header uses same full logo, resized only - no plate/padding treatment */
.menu:focus { outline: none; }
.menu-close {
  width: 50px; height: 50px; border-radius: 50%; border: 0; padding: 0; flex: none;
  background: var(--saffron); color: var(--ink); cursor: pointer; display: grid; place-items: center;
}
.menu-close svg { width: 22px; height: 22px; }
.menu-nav { flex: 1; display: flex; align-items: center; padding: 28px 10px; }
.menu-nav ul { list-style: none; margin: 0; padding: 0; width: 100%; }
.menu-nav li + li { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.menu-nav a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 13px 4px; min-height: 56px;
  font-family: var(--sans); font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.04em;
  color: #fff; text-decoration: none;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.2s;
}
.menu.is-open .menu-nav a { opacity: 1; transform: none; }
.menu.is-open li:nth-child(2) a { transition-delay: 0.03s; }
.menu.is-open li:nth-child(3) a { transition-delay: 0.06s; }
.menu.is-open li:nth-child(4) a { transition-delay: 0.09s; }
.menu.is-open li:nth-child(5) a { transition-delay: 0.12s; }
.menu.is-open li:nth-child(6) a { transition-delay: 0.15s; }
.menu.is-open li:nth-child(7) a { transition-delay: 0.18s; }
.menu.is-open li:nth-child(8) a { transition-delay: 0.21s; }
.menu-num { font-family: var(--sans); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.1em; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.82); min-width: 22px; }
.menu-nav a:hover, .menu-nav a[aria-current="page"] { color: var(--saffron-2); }
.menu-nav a[aria-current="page"] .menu-num { color: var(--saffron-2); }
.menu-foot { margin: 0; padding: 0 14px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.88); }
html.menu-open, html.menu-open body { overflow: hidden; }
@media (min-width: 1181px) { .menu { display: none; } }

/* ---------- Home hero ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  min-height: max(680px, 100svh); background: var(--forest); color: #fff;
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--hdr-h) + 90px) clamp(24px, 5vw, 72px) 90px max(var(--gutter), calc((100vw - var(--maxw)) / 2));
}
.hero h1 { color: #fff; font-size: clamp(2.9rem, 6vw, 5.8rem); max-width: 11ch; }
.hero-sub { margin: 22px 0 0; font-weight: 400; font-size: clamp(1.45rem, 2.3vw, 2.1rem); line-height: 1.2; letter-spacing: -0.03em; color: var(--saffron-2); }
.hero-text { margin: 28px 0 38px; max-width: 34em; font-size: 1.12rem; color: var(--forest-ink); }
.hero-text strong { color: #fff; }
.hero-media { position: relative; overflow: hidden; }
.hero-media img { position: absolute; left: 0; top: 0; width: 100%; height: 124%; object-fit: cover; object-position: 68% 50%; }
.hero-media img.hero-survey { object-position: 38% 40%; }
.pos-people .media-frame img { object-position: 70% 50%; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: calc(var(--hdr-h) + 64px) var(--gutter) 56px; }
  .hero-media { height: min(72vw, 520px); margin: 0 var(--gutter) 0; border-radius: var(--radius) var(--radius) 0 0; }
}

/* ---------- Stats ---------- */
.stats { padding-top: clamp(56px, 7vw, 96px); padding-bottom: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 8px clamp(16px, 3vw, 40px); text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { margin: 0; font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 900; line-height: 1; letter-spacing: -0.05em; color: var(--forest); white-space: nowrap; }
.stat-label { margin: 14px 0 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.note { margin: 28px auto 0; max-width: 48em; text-align: center; font-size: 0.86rem; color: var(--muted); }
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { padding: 22px 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Media ---------- */
.media { margin: 0; }
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
[data-parallax] img { will-change: transform; }
.media-wide .media-frame { aspect-ratio: 21 / 9; }
.media-tall .media-frame { aspect-ratio: 4 / 5; }
.media figcaption, .media + figcaption { margin-top: 12px; font-size: 0.86rem; color: var(--muted); }
@media (max-width: 700px) { .media-wide .media-frame { aspect-ratio: 4 / 3; } }

/* ---------- Split, heads ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.split-copy h2 { margin-bottom: 26px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .media-tall .media-frame { aspect-ratio: 4 / 3; } }

.center-head { max-width: 820px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.center-head h2 + .lead { margin-top: 20px; }
.row-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.row-head .lead { max-width: 30em; margin: 0; }
@media (max-width: 760px) { .row-head { grid-template-columns: 1fr; } }

/* ---------- Purpose panels ---------- */
.stack { display: grid; gap: 22px; }
.panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px) clamp(26px, 4.5vw, 64px);
  background: var(--paper); border-radius: calc(var(--radius) + 6px);
}
.panel-label { margin: 0 0 18px; font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.04em; color: var(--forest); }
.section-forest .panel p.panel-label { color: var(--forest); }
.section-forest .panel p.panel-text { color: var(--ink-2); font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; max-width: 30em; }
.section-forest .panel strong { color: var(--ink); }
.panel-media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.panel-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .panel { grid-template-columns: 1fr; padding: 26px 22px 22px; }
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: clamp(18px, 2vw, 28px); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards-3 { grid-template-columns: 1fr; } }
.card { transition: box-shadow 0.6s var(--ease), transform 0.8s var(--ease); display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); text-decoration: none; color: inherit; box-shadow: 0 0 0 1px var(--line); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), scale 1.4s var(--ease); }
.card-body { flex: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 24px 24px 26px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { margin: 0; font-size: 0.98rem; }
.round-arrow { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: #fff; transition: background 0.3s, transform 0.4s var(--ease); }
.round-arrow svg { width: 18px; height: 18px; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(21, 35, 26, 0.45); }
a.card:hover .card-media img { transform: scale(1.04); }
a.card:hover .round-arrow { background: var(--saffron); color: var(--ink); transform: rotate(45deg); }

/* ---------- Interlude (full bleed image + approach) ---------- */
.interlude { position: relative; overflow: hidden; background: var(--forest); color: #fff; padding: clamp(140px, 22vw, 320px) 0 var(--section); }
.interlude-media { position: absolute; inset: 0 0 auto 0; height: 85%; overflow: hidden; }
.interlude-media img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }
.interlude-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 58, 38, 0.25) 0%, rgba(29, 58, 38, 0.72) 45%, var(--forest) 100%); }
.interlude-copy { position: relative; }
.interlude h2 { color: #fff; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trio-item { padding: 0 clamp(20px, 3vw, 44px); }
.trio-item + .trio-item { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.trio-num { margin: 0 0 18px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--saffron-2); }
.trio-item h3 { color: #fff; margin-bottom: 12px; }
.trio-item p { color: var(--forest-ink); }
@media (max-width: 820px) {
  .trio { grid-template-columns: 1fr; }
  .trio-item { padding: 26px 0; }
  .trio-item + .trio-item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
}

/* ---------- Duo CTA (image + forest panel) ---------- */
.duo-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(88vh, 860px); background: var(--forest); }
.duo-cta-media { position: relative; overflow: hidden; min-height: 420px; }
.duo-cta-media img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.duo-cta-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(56px, 8vw, 120px) max(var(--gutter), calc((100vw - var(--maxw)) / 2)) clamp(56px, 8vw, 120px) clamp(32px, 6vw, 96px); }
.duo-cta-copy h2 { color: #fff; max-width: 12ch; margin-bottom: 22px; }
.duo-cta-copy p { color: var(--forest-ink); max-width: 32em; }
.duo-cta-page { min-height: 0; }
.duo-cta-page .duo-cta-copy h2 { max-width: 14ch; }
@media (max-width: 860px) {
  .duo-cta { grid-template-columns: 1fr; min-height: 0; }
  .duo-cta-media { min-height: 0; aspect-ratio: 4 / 3; }
  .duo-cta-copy { padding: 64px var(--gutter) 80px; }
}

/* ---------- Inner page hero ---------- */
.phero { padding: calc(var(--hdr-h) + clamp(56px, 7vw, 100px)) 0 clamp(56px, 7vw, 96px); }
.phero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 64px; align-items: end; }
.phero-lead { margin: 0; max-width: 30em; padding-bottom: 10px; }
.phero .media { margin-top: clamp(48px, 6vw, 84px); }
@media (max-width: 860px) { .phero-grid { grid-template-columns: 1fr; } .phero-lead { padding-bottom: 0; } }

/* ---------- Editorial (label left, prose right) ---------- */
.editorial { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(40px, 7vw, 120px); align-items: start; }
.editorial-head { position: sticky; top: calc(var(--hdr-h) + 48px); }
.prose p { font-size: 1.12rem; line-height: 1.8; }
.prose .pull { margin-top: 1.6em; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.28; letter-spacing: -0.03em; color: var(--forest); }
.duo-media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: clamp(56px, 7vw, 96px); }
.duo-media .media-frame { aspect-ratio: 4 / 3; }
.phero .duo-media-hero { margin-top: clamp(48px, 6vw, 84px); }
.phero .duo-media-hero .media { margin-top: 0; }
@media (max-width: 860px) {
  .editorial { grid-template-columns: 1fr; }
  .editorial-head { position: static; }
}
@media (max-width: 620px) { .duo-media { grid-template-columns: 1fr; } }

/* ---------- Tiles ---------- */
.tiles { display: grid; gap: clamp(16px, 2vw, 24px); }
.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .tiles-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tiles-3 { grid-template-columns: 1fr; } }
.tile { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 3vw, 40px); background: var(--white); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.tile-num { margin: 0 0 clamp(36px, 5vw, 64px); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--terracotta-text); }
.tile h3 { margin-bottom: 12px; }
.tile .tag { margin-top: auto; }
.tile p + .tag { margin-top: 22px; }
.section-tint .tile { background: var(--paper); }
.center-note { max-width: 40em; margin: clamp(40px, 5vw, 64px) auto 0; text-align: center; font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.025em; color: var(--forest); }
.center-note-light { color: #fff; }
.section-forest .center-note-light { color: var(--forest-ink); font-size: 1.15rem; font-weight: 400; letter-spacing: -0.01em; }

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.fact { padding: 0 clamp(16px, 2.4vw, 36px); }
.fact + .fact { border-left: 1px solid rgba(255, 255, 255, 0.18); }
.fact dt { margin-bottom: 14px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--saffron-2); }
.fact dd { margin: 0; color: var(--forest-ink); }
@media (max-width: 980px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .fact:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; row-gap: 0; }
  .fact { padding: 22px 0; }
  .fact + .fact { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
}

/* ---------- Four roots ---------- */
.roots { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; }
.roots li { display: flex; align-items: baseline; gap: clamp(18px, 3vw, 40px); padding: clamp(18px, 2.4vw, 28px) 0; font-size: clamp(1.6rem, 3.4vw, 2.8rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.04em; color: #fff; }
.roots li + li { border-top: 1px solid rgba(255, 255, 255, 0.18); }
.roots span { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; letter-spacing: 0.1em; color: var(--saffron-2); min-width: 26px; }
.center-btn { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Projects ---------- */
.projs { display: grid; gap: clamp(72px, 9vw, 140px); }
.proj { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(36px, 6vw, 96px); align-items: center; }
.proj:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.proj:nth-child(even) .proj-media { order: 2; }
.proj-media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--paper-2); }
.proj-media img { width: 100%; height: 100%; object-fit: cover; }
.proj-media-wide { aspect-ratio: auto; background: var(--white); padding: clamp(10px, 1.4vw, 18px); box-shadow: 0 0 0 1px var(--line); }
.proj-media-wide img { height: auto; object-fit: contain; border-radius: 8px; }
.proj-num { margin: 0 0 18px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--terracotta-text); }
.proj-copy h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.038em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 22px; }
.proj-copy p:last-child { font-size: 1.1rem; }
@media (max-width: 860px) {
  .proj, .proj:nth-child(even) { grid-template-columns: 1fr; }
  .proj:nth-child(even) .proj-media { order: 0; }
}

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 980px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .people { grid-template-columns: 1fr; } }
.person { padding: clamp(24px, 3vw, 36px); background: var(--white); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.person-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); }
.monogram { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--forest); color: var(--saffron-2); font-size: 1.35rem; font-weight: 900; letter-spacing: -0.04em; flex: none; }
.person h3 { margin-bottom: 12px; }
.person p { font-size: 0.98rem; }

/* ---------- Footer ---------- */
.ftr { background: var(--forest-deep); color: var(--forest-ink); padding: clamp(56px, 7vw, 96px) 0 clamp(8px, 1.5vw, 20px); overflow: hidden; }
.ftr-giant-box { container-type: inline-size; margin-top: clamp(40px, 5vw, 72px); }
.ftr .ftr-giant {
  margin: 0; white-space: nowrap; font-size: 8.2vw; font-size: calc(100cqw / 11.7); font-weight: 900; line-height: 1.12; letter-spacing: -0.04em;
  padding: 0.04em 0.04em 0.16em 0; color: transparent; user-select: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)); -webkit-background-clip: text; background-clip: text;
}
.ftr-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: clamp(36px, 4vw, 52px) 0; border-top: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.ftr-about .ftr-logo { width: 120px; height: auto; margin-bottom: 18px; display: block; }
.ftr .ftr-title { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.03em; color: #fff; margin-bottom: 10px; }
.ftr p { color: var(--forest-ink); font-size: 0.98rem; }
.ftr-about p:last-child { max-width: 26em; }
.ftr-head { margin-bottom: 16px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--saffron-2) !important; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr ul a { color: #fff; text-decoration: none; transition: color 0.4s var(--ease); }
.ftr ul a:hover { color: var(--saffron-2); }
.ftr-muted { color: rgba(238, 244, 234, 0.92) !important; font-size: 0.9rem !important; }
.ftr-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 26px; }
.ftr-bar p { margin: 0; font-size: 0.88rem; color: rgba(238, 244, 234, 0.95); }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ftr-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Motion ----------
   Framer Motion feel without React: long ease out curves, no springs, no overshoot.
   site.js adds .is-in (reveals), .is-loaded (hero sequence) and the parallax transforms. */
:root { --ease-out: cubic-bezier(0.22, 1, 0.36, 1); --reveal-dur: 1.1s; }

/* Fade and rise, with stagger delay set per element by site.js (--rd) */
.js .reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity var(--reveal-dur) var(--ease-out) var(--rd, 0s), transform var(--reveal-dur) var(--ease-out) var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Images settle from a gentle zoom as they enter. Parallax frames keep a 1.1 base so the drift never shows an edge. */
:where([data-parallax]:not(.hero-media):not(.interlude-media):not(.duo-cta-media)) { --base: 1.16; }
:where([data-parallax]:not(.hero-media):not(.interlude-media):not(.duo-cta-media)) img { scale: var(--base); }
.media-frame img, .panel-media img, .tl-media img, .proj-media img { transition: scale 1.6s var(--ease-out); }
.js .reveal .media-frame img, .js .reveal .card-media img, .js .reveal .panel-media img, .js .reveal .tl-media img, .js .reveal .proj-media img, .js .reveal.proj .proj-media img { scale: calc(var(--base, 1) * 1.12); }
.js .reveal.is-in .media-frame img, .js .reveal.is-in .card-media img, .js .reveal.is-in .panel-media img, .js .reveal.is-in .tl-media img, .js .reveal.is-in .proj-media img { scale: var(--base, 1); }

/* Page load hero sequence: headline word by word, subline, text, buttons, then the photo */
.js [data-load] { opacity: 0; transform: translate3d(0, 22px, 0); }
.js.is-loaded [data-load] { opacity: 1; transform: none; transition: opacity 1s var(--ease-out) var(--ld, 0s), transform 1.1s var(--ease-out) var(--ld, 0s); }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-words .w > span { display: inline-block; }
.js .split-words .w > span { transform: translate3d(0, 108%, 0); }
.js.is-loaded .split-words .w > span { transform: none; transition: transform 1.15s var(--ease-out) calc(var(--ld, 0s) + var(--wi, 0) * 0.06s); }
.js .split-words[data-load] { opacity: 1; transform: none; }
.js .hero-media::after { content: ""; position: absolute; inset: 0; background: var(--forest); transform-origin: 50% 0; transition: transform 1.3s var(--ease-out) 0.25s; z-index: 1; }
.js.is-loaded .hero-media::after { transform: scaleY(0); }
.js .hero-media img { scale: 1.14; transition: scale 2.2s var(--ease-out) 0.25s; }
.js.is-loaded .hero-media img { scale: 1; }

/* Parallax layers only ever get translate3d from site.js */
[data-parallax] img, [data-depth] { will-change: transform; }

/* Calm hover states */
.tile, .person { transition: transform 0.8s var(--ease-out), box-shadow 0.8s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover, .person:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -30px rgba(21, 35, 26, 0.4); }
  .menu-nav a:hover { transform: translateX(6px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js [data-load], .js .split-words .w > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .hero-media::after { display: none; }
  .js .hero-media img, .js .reveal img, [data-parallax] img { scale: 1 !important; transform: none !important; transition: none !important; }
  .hero-media img { height: 100%; }
  [data-depth] { transform: none !important; }
  .menu, .menu-nav a { transition: none !important; }
  .menu-nav a { opacity: 1; transform: none; }
  .card, .card-media img, .btn, .btn-icon, .round-arrow, .tile, .person { transition: none !important; }
  .btn:hover, a.card:hover, .tile:hover, .person:hover { transform: none; }
}

/* Verbatim source prose blocks added in the 2026-10-19 content audit */
.src-prose { max-width: 820px; margin: 0 auto; }
.src-prose p { font-size: 1.12rem; line-height: 1.8; }
.interlude .src-prose p { color: var(--forest-ink); }
.interlude .src-prose strong, .section-forest .src-prose strong { color: #fff; }
.section-forest .panel p.panel-text { max-width: 44em; }
.proj-copy p { font-size: 1.08rem; }
.proj-copy p + p { margin-top: 0.4em; }
.tile h3 { margin-bottom: 0; }
.person-top { margin-bottom: 22px; }
@media (prefers-reduced-motion: reduce) {
  .hdr-bar { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Contrast pass 2026-10-19: copy paragraphs are Satoshi 400 (not bold, not light).
   Headings, nav, buttons, labels and display numerals keep their own weights above. */
p, .lead, .phero-lead, .hero-text, .panel-text, .prose p, .src-prose p,
.tl-body p, .proj-copy p, .card-body p, .person p, .tile p, .trio-item p,
.duo-cta-copy p, .section-forest p, .ftr p, .note, .menu-foot,
.media figcaption, .media + figcaption, .fact dd { font-weight: 400; }

/* =====================================================================
   v4 (2026-10-23): richer sections restored on the new build, plus the
   scroll-driven timeline. Satoshi only. No coloured card stripes.
   ===================================================================== */
.anchor, .tl-item, .proj { scroll-margin-top: 110px; }
.center-wrap { text-align: center; }
.center-wrap .stat-label, .center-wrap .stat { text-align: center; }
.left-head { max-width: 760px; margin: 0 0 clamp(40px, 5vw, 64px); }
.tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .tiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tiles-4 { grid-template-columns: 1fr; } }

/* stats */
.stats-title { max-width: 18em; margin: 0 auto clamp(36px, 5vw, 64px); text-align: center; font-size: clamp(1.9rem, 3.8vw, 3.3rem); }
.stat-unit { font-size: 0.42em; font-weight: 700; letter-spacing: -0.02em; margin-left: 0.08em; }
.section-forest .stat-num, .tl-close .stat-num { color: var(--saffron-2); }
.section-forest .stat-label, .tl-close .stat-label { color: var(--forest-ink); }
.section-forest .stat + .stat, .tl-close .stat + .stat { border-left-color: rgba(255, 255, 255, 0.2); }
.section-forest .stats-grid, .tl-close .stats-grid { margin: clamp(36px, 5vw, 64px) 0; }
@media (max-width: 640px) { .section-forest .stat + .stat, .tl-close .stat + .stat { border-top-color: rgba(255, 255, 255, 0.2); } }

/* home story */
.split-lead { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.38; letter-spacing: -0.025em; font-weight: 500; color: var(--forest); margin-bottom: 1.1em; }
.split-lead strong { color: var(--forest); font-weight: 900; background: linear-gradient(transparent 62%, var(--saffron-soft) 62%); }
.split-copy strong, .step strong, .pillar strong, .diff-col strong, .fact-card strong, .journey strong, .statement strong, .capart strong, .tile strong { background: linear-gradient(transparent 64%, var(--saffron-soft) 64%); }
.section-forest .panel strong, .section-forest .journey strong { background: linear-gradient(transparent 64%, rgba(242, 176, 30, 0.55) 64%); }
.journey-card strong { color: #fff; }
.split-rev .media { order: 2; }
.split-rev .split-copy { order: 1; }
@media (max-width: 860px) { .split-rev .media, .split-rev .split-copy { order: 0; } }

/* about hero fact band */
.media-stack { position: relative; margin-top: clamp(48px, 6vw, 84px); }
.media-stack .media { margin: 0; }
.factband { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: calc(clamp(40px, 5vw, 72px) * -1) clamp(12px, 3vw, 48px) 0; padding: clamp(22px, 3vw, 36px) 0; background: var(--forest); color: #fff; border-radius: var(--radius); z-index: 2; }
.factband > div { padding: 0 clamp(16px, 2.6vw, 40px); }
.factband > div + div { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.factband dt { order: 2; margin-top: 8px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest-ink); }
.factband dd { margin: 0; font-size: clamp(1.8rem, 3.6vw, 3.2rem); font-weight: 900; line-height: 1; letter-spacing: -0.04em; color: var(--saffron-2); }
.factband > div { display: flex; flex-direction: column; }
@media (max-width: 760px) {
  .factband { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; margin: -28px 8px 0; padding: 24px 0; }
  .factband > div:nth-child(3) { border-left: 0; }
}

/* pull quote */
.pullquote { max-width: 980px; margin: clamp(56px, 7vw, 104px) auto 0; padding: 0; text-align: center; position: relative; }
.pullquote::before { content: "\201C"; display: block; font-size: clamp(5rem, 11vw, 9rem); font-weight: 900; line-height: 0.6; color: var(--saffron); height: 0.5em; margin-bottom: 0.1em; }
.pullquote p { font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.22; letter-spacing: -0.035em; font-weight: 700; color: var(--forest); margin: 0; }
.pullquote cite { display: block; margin-top: 18px; font-style: normal; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta-text); }

/* journey (then and now) */
.journey { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(14px, 2vw, 28px); align-items: stretch; margin-bottom: clamp(28px, 3vw, 44px); }
.journey-card { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.journey-now { background: rgba(255, 255, 255, 0.13); }
.journey-tag { margin: 0 0 14px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--saffron-2) !important; }
.journey-card p { font-size: 1.08rem; }
.journey-arrow { display: grid; place-items: center; width: 56px; color: var(--ink); }
.journey-arrow svg { width: 24px; height: 24px; padding: 14px; box-sizing: content-box; border-radius: 50%; background: var(--saffron); }
@media (max-width: 860px) {
  .journey { grid-template-columns: 1fr; }
  .journey-arrow { width: auto; transform: rotate(90deg); }
}

/* panels (Vision, Mission) */
.panels { display: grid; gap: clamp(18px, 2vw, 26px); }
.panel-num { margin: 0 0 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; color: var(--terracotta-text); }
.panel-flip { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); padding: clamp(22px, 3vw, 32px) clamp(26px, 4.5vw, 64px) clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px); }
.panel-flip .panel-media { order: -1; }
.panel-media { position: relative; aspect-ratio: 5 / 4; }
.panel-media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.panel-label { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
@media (max-width: 760px) { .panel-flip { grid-template-columns: 1fr; padding: 26px 22px 22px; } .panel-flip .panel-media { order: 0; } }

/* pillars (Values) */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); align-items: stretch; }
.pillar { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: transform 0.8s var(--ease-out), box-shadow 0.8s var(--ease-out); }
.pillar-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pillar-media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.pillar-body { padding: clamp(24px, 2.6vw, 36px); }
.pillar-num { margin: 0 0 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; color: var(--terracotta-text); }
.pillar h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: 14px; }
.pillar p { font-size: 1rem; }
@media (hover: hover) and (pointer: fine) { .pillar:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -30px rgba(21, 35, 26, 0.4); } }
@media (max-width: 980px) { .pillars { grid-template-columns: 1fr; } .pillars-full .pillar { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .pillars-full .pillar-media { aspect-ratio: auto; min-height: 260px; } }
@media (max-width: 640px) { .pillars-full .pillar { display: flex; } .pillars-full .pillar-media { aspect-ratio: 16 / 10; min-height: 0; } }

/* statement */
.statement { margin: clamp(48px, 6vw, 88px) auto 0; max-width: 980px; text-align: center; }
.statement-left { text-align: left; margin-left: 0; max-width: 1040px; margin-top: 0; }
.statement-big { margin: 0; font-size: clamp(1.7rem, 3.6vw, 3.2rem); line-height: 1.14; letter-spacing: -0.04em; font-weight: 700; color: var(--forest); }
.statement-big strong { font-weight: 900; }
.statement-sub { margin: 22px auto 0; max-width: 36em; font-size: 1.12rem; }

/* approach steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); counter-reset: s; }
.step { position: relative; padding: clamp(28px, 3.4vw, 48px); background: var(--white); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.step-num { margin: 0 0 clamp(18px, 2.6vw, 34px); font-size: clamp(3.6rem, 7vw, 6rem); font-weight: 900; line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px var(--forest); }
.step h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: 16px; }
.step p { font-size: 1.02rem; }
.step .chips { margin-top: 18px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* chips */
.chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--saffron-soft); color: var(--ink); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.01em; }
.numchips { list-style: none; margin: 18px 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.numchips li { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; background: var(--paper-2); min-width: 0; }
.numchips strong { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; color: var(--forest); background: none !important; }
.numchips span { font-size: 0.8rem; font-weight: 500; line-height: 1.3; color: var(--ink-2); }
.section-tint .numchips li, .tl-card .numchips li { background: var(--paper-2); }
.section-tint .chips li { background: var(--white); }

/* what makes us different */
.diff-lead { max-width: 820px; margin: clamp(28px, 3vw, 44px) 0 clamp(36px, 5vw, 64px); }
.diff-lead p { font-size: 1.12rem; }
.diff-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.diff-col { padding: clamp(26px, 3vw, 40px); background: var(--paper); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.diff-num { margin: 0 0 clamp(26px, 3.6vw, 48px); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--forest); color: var(--saffron-2); font-size: 1.1rem; font-weight: 900; }
.diff-col h3 { margin-bottom: 14px; }
.diff-col p { font-size: 1rem; }
.capart { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 56px); margin-top: clamp(28px, 3vw, 44px); padding: clamp(28px, 4vw, 52px); background: var(--forest); border-radius: var(--radius); }
.capart-year { margin: 0; font-size: clamp(3.4rem, 9vw, 8rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.06em; color: var(--saffron-2); }
.capart p { color: var(--forest-ink); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.capart strong { color: #fff; background: linear-gradient(transparent 64%, rgba(242, 176, 30, 0.55) 64%); }
@media (max-width: 980px) { .diff-cols { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .capart { grid-template-columns: 1fr; } }

/* recognition cards, campus, legal */
.cards-text { align-items: stretch; }
.fact-card { padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.fact-big { margin: 0 0 14px; font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.055em; color: var(--forest); }
.fact-card h3 { margin-bottom: 12px; font-size: clamp(1.15rem, 1.5vw, 1.35rem); }
.fact-card p { font-size: 1rem; }
.campus { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.campus-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.campus-facts > div { padding: 0 clamp(14px, 2vw, 28px); }
.campus-facts > div + div { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.campus-facts > div:first-child { padding-left: 0; }
.section-forest .campus .fact-big { color: var(--saffron-2); }
.campus-facts p:last-child { font-size: 0.95rem; }
@media (max-width: 980px) { .campus { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .campus-facts { grid-template-columns: 1fr; } .campus-facts > div { padding: 18px 0; } .campus-facts > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); } }
.tile-big .tile-num { margin-bottom: clamp(24px, 3vw, 40px); }
.tile-big h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }

/* partners marquee */
.marquee { display: flex; overflow: hidden; margin-top: clamp(8px, 2vw, 24px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { flex: none; display: flex; gap: 12px; margin: 0; padding: 0 6px; list-style: none; min-width: 100%; justify-content: space-around; animation: marq 70s linear infinite; }
.marquee-row li { white-space: nowrap; padding: 14px 24px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; color: var(--forest); }
@keyframes marq { to { transform: translateX(-100%); } }
.marquee:hover .marquee-row { animation-play-state: paused; }

/* home: timeline teaser, trio cards */
.tl-teaser { background: var(--forest-deep); color: #fff; padding: clamp(72px, 9vw, 140px) 0; overflow: hidden; }
.tl-teaser-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.tl-teaser h2 { color: #fff; margin-bottom: 20px; }
.tl-teaser .lead { color: var(--forest-ink); margin-bottom: 30px; max-width: 30em; }
.tl-teaser-years { list-style: none; margin: 0; padding: 0 0 0 36px; position: relative; display: grid; gap: 4px; }
.tl-teaser-years::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--saffron), rgba(255, 255, 255, 0.18)); }
.tl-teaser-years li { position: relative; font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 900; line-height: 1.02; letter-spacing: -0.055em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55); }
.tl-teaser-years li::before { content: ""; position: absolute; left: -36px; top: 50%; width: 17px; height: 17px; margin-top: -8px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 5px rgba(242, 176, 30, 0.22); }
.tl-teaser-years li:last-child { color: var(--saffron-2); -webkit-text-stroke: 0; }
@media (max-width: 860px) { .tl-teaser-in { grid-template-columns: 1fr; } .tl-teaser-years { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 0; } .tl-teaser-years::before, .tl-teaser-years li::before { display: none; } }
.trio-card { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: rgba(20, 42, 27, 0.72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.trio { gap: clamp(14px, 2vw, 24px); }
.trio-card h3 { color: #fff; margin-bottom: 12px; }
.trio-card p { color: var(--forest-ink); font-size: 1.02rem; }
.trio-card strong { color: #fff; background: linear-gradient(transparent 64%, rgba(242, 176, 30, 0.55) 64%); }
/* cards: work themes */
.card-body-col { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; }
.card-body-col p { color: var(--ink-2); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; font-size: 0.98rem; color: var(--forest); text-decoration: none; }
.text-link svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.theme .card-media { aspect-ratio: 16 / 10; }
.theme { box-shadow: 0 0 0 1px var(--line); }
@media (hover: hover) and (pointer: fine) { .theme:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(21, 35, 26, 0.45); } .theme:hover .card-media img { transform: scale(1.04); } }
.theme { transition: transform 0.8s var(--ease-out), box-shadow 0.8s var(--ease-out); }

/* projects */
.proj-orig { margin: 12px 0 0; font-size: 0.86rem !important; line-height: 1.45; color: var(--muted); font-weight: 500 !important; }
.proj-copy .numchips { margin-top: 20px; }
.proj-copy > p:not(.proj-num):not(.proj-orig) { font-size: 1.05rem; }
.proj-media { position: relative; }
.proj-media figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: var(--white); font-size: 0.78rem; font-weight: 700; color: var(--ink); margin: 0; }
.proj-media-wide figcaption { position: static; margin-top: 10px; background: none; padding: 0; }
.proj-media { margin: 0; }
.projs { gap: clamp(72px, 8vw, 120px); }

/* people */
.since { margin: 0 0 14px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta-text); }

/* ================= TIMELINE ================= */
.tl-hero { position: relative; display: flex; align-items: flex-end; min-height: max(700px, 100svh); background: var(--forest); color: #fff; overflow: hidden; }
.tl-hero .interlude-media { height: 100%; }
.tl-hero .interlude-media::after { background: linear-gradient(180deg, rgba(20, 42, 27, 0.55) 0%, rgba(20, 42, 27, 0.78) 55%, var(--forest-deep) 100%); }
.tl-hero-in { position: relative; z-index: 2; padding-top: calc(var(--hdr-h) + 90px); padding-bottom: clamp(56px, 8vw, 110px); }
.tl-hero h1 { color: #fff; font-size: clamp(3rem, 9vw, 9rem); line-height: 0.92; max-width: 11ch; }
.tl-hero-lead { margin: 28px 0 0; max-width: 32em; color: var(--forest-ink) !important; font-size: clamp(1.15rem, 1.8vw, 1.5rem); }
.tl-hero-meta { display: flex; flex-wrap: wrap; gap: 18px clamp(28px, 6vw, 88px); margin: clamp(32px, 5vw, 56px) 0 0; }
.tl-hero-meta p { margin: 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest-ink); }
.tl-hero-meta strong { display: block; font-size: clamp(2.6rem, 5.4vw, 4.8rem); font-weight: 900; line-height: 1; letter-spacing: -0.05em; color: var(--saffron-2); margin-bottom: 4px; text-transform: none; }
.tl-scrollcue { position: absolute; right: var(--gutter); bottom: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.tl-scrollcue i { display: block; width: 2px; height: 72px; background: rgba(255, 255, 255, 0.25); position: relative; overflow: hidden; border-radius: 2px; }
.tl-scrollcue i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--saffron); animation: cue 2.2s var(--ease-out) infinite; border-radius: 2px; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
@media (max-width: 700px) { .tl-scrollcue { display: none; } }

.tl-wrap { position: relative; background: var(--paper); padding: clamp(72px, 9vw, 140px) 0 clamp(56px, 7vw, 104px); }
.tl-track { position: relative; list-style: none; margin: 0; padding: 0; }
.tl-spine { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px; list-style: none; z-index: 0; pointer-events: none; }
.tl-spine-base { position: absolute; inset: 0; border-radius: 4px; background: rgba(21, 35, 26, 0.12); }
.tl-spine-fill { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 4px; background: linear-gradient(180deg, var(--forest) 0%, var(--forest-2) 60%, var(--saffron) 100%); transform-origin: 50% 0; transform: scaleY(0); will-change: transform; }

.tl-item { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: stretch; padding: clamp(28px, 4vw, 64px) 0; }
.tl-yearcol { align-self: stretch; }
.tl-r .tl-yearcol { grid-column: 1; grid-row: 1; text-align: right; padding-right: clamp(8px, 2vw, 32px); }
.tl-r .tl-card { grid-column: 3; grid-row: 1; }
.tl-l .tl-yearcol { grid-column: 3; grid-row: 1; text-align: left; padding-left: clamp(8px, 2vw, 32px); }
.tl-l .tl-card { grid-column: 1; grid-row: 1; }
.tl-node { grid-column: 2; grid-row: 1; justify-self: center; align-self: start; margin-top: clamp(26px, 2.6vw, 40px); position: relative; z-index: 2; }
.tl-node i { position: relative; display: block; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px rgba(21, 35, 26, 0.22); transition: background 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), transform 0.7s var(--ease-out); }
.tl-node i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--saffron); opacity: 0; }
.tl-item.is-lit .tl-node i { background: var(--saffron); transform: scale(1.12); box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--forest), 0 0 0 16px rgba(242, 176, 30, 0.25); }
.tl-item.is-lit .tl-node i::after { animation: ping 1.8s var(--ease-out) 1; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(3); opacity: 0; } }

.tl-year { position: sticky; top: 26vh; margin: 0; display: inline-block; font-size: clamp(4rem, 10.5vw, 9.6rem); font-weight: 900; line-height: 0.85; letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 2px rgba(29, 58, 38, 0.3); transition: color 0.8s var(--ease-out), -webkit-text-stroke-color 0.8s var(--ease-out); font-variant-numeric: tabular-nums; }
.tl-year-long { font-size: clamp(3rem, 7.4vw, 6.8rem); }
.tl-item.is-lit .tl-year { color: var(--forest); -webkit-text-stroke-color: var(--forest); }

.tl-card { position: relative; padding: clamp(26px, 3vw, 46px); background: var(--white); border-radius: calc(var(--radius) + 4px); box-shadow: 0 0 0 1px var(--line); transition: box-shadow 0.9s var(--ease-out); min-width: 0; }
.tl-item.is-lit .tl-card { box-shadow: 0 0 0 1px var(--line), 0 34px 70px -40px rgba(21, 35, 26, 0.55); }
.tl-num { margin: 0 0 14px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; color: var(--terracotta-text); }
.tl-num span { color: var(--muted); font-weight: 500; letter-spacing: 0.06em; }
.tl-yearline { display: inline-block; margin: 0 0 14px; padding: 5px 14px; border-radius: 999px; background: var(--saffron-soft); font-size: 0.82rem; font-weight: 900; letter-spacing: 0.06em; color: var(--ink); }
.tl-card h3 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.06; letter-spacing: -0.04em; margin-bottom: 8px; }
.tl-subtitle { margin: 0 0 6px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta-text); }
.tl-copy { margin-top: 18px; }
.tl-copy p { font-size: 1.04rem; line-height: 1.7; }
.tl-copy p + p { margin-top: 0.2em; }
.tl-sub { margin: 28px 0 4px; font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.15; color: var(--forest); }
.tl-copy .pullquote { margin: 26px 0 8px; text-align: left; max-width: none; }
.tl-copy .pullquote::before { font-size: 5.5rem; height: 0.42em; }
.tl-copy .pullquote p { font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.26; }
.tl-photos { display: grid; gap: 12px; margin-top: 22px; align-items: end; }
.tl-photos-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tl-photos-3 { grid-template-columns: 1.7fr 1fr 0.7fr; }
.tl-photo { margin: 0; width: 100%; }
.tl-photo .media-frame { width: 100%; border-radius: var(--radius-sm); }
.tl-photo figcaption { margin-top: 8px; font-size: 0.8rem; font-weight: 500; line-height: 1.35; color: var(--muted); }
.tl-photos-1 .tl-photo { max-width: 100%; }

.tl-end { position: relative; z-index: 1; list-style: none; height: 0; }
.tl-end i { position: absolute; left: 50%; top: 0; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px rgba(21, 35, 26, 0.22); transition: background 0.6s, box-shadow 0.6s; }
.tl-end.is-lit i { background: var(--saffron); box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--forest), 0 0 0 16px rgba(242, 176, 30, 0.25); }

/* year rail (desktop) and pill (everything else) */
.tl-rail { position: fixed; z-index: 40; right: 12px; top: 50%; transform: translate(12px, -50%); padding: 14px 12px 14px 10px; background: rgba(247, 244, 238, 0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 999px 0 0 999px; box-shadow: 0 0 0 1px var(--line); opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); display: none; }
.tl-rail.is-on { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.tl-rail ol { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.tl-rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 3px 0; text-decoration: none; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); transition: color 0.4s, font-size 0.4s; }
.tl-rail a i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--paper-2); box-shadow: 0 0 0 2px rgba(21, 35, 26, 0.25); transition: background 0.4s, transform 0.4s var(--ease-out), box-shadow 0.4s; }
.tl-rail a.is-past { color: var(--forest-2); }
.tl-rail a.is-past i { background: var(--forest); box-shadow: 0 0 0 2px var(--forest); }
.tl-rail a.is-active { color: var(--ink); font-size: 0.9rem; font-weight: 900; }
.tl-rail a.is-active i { background: var(--saffron); transform: scale(1.5); box-shadow: 0 0 0 2px var(--forest); }
.tl-rail a:hover { color: var(--ink); }
.tl-rail-bar { position: absolute; right: 16.5px; top: 24px; bottom: 24px; width: 2px; background: rgba(21, 35, 26, 0.14); z-index: 0; }
.tl-rail-bar b { display: block; width: 100%; height: 0; background: var(--forest); }
@media (min-width: 1380px) { .tl-rail { display: block; } }

.tl-pill { position: fixed; z-index: 40; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translate(-50%, 140%); display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 4px 14px; padding: 10px 20px 14px; background: var(--forest-deep); color: #fff; border-radius: 22px; box-shadow: 0 14px 40px -12px rgba(0, 0, 0, 0.45); transition: transform 0.6s var(--ease-out); pointer-events: none; }
.tl-pill.is-on { transform: translate(-50%, 0); }
.tl-pill-year { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--saffron-2); font-variant-numeric: tabular-nums; }
.tl-pill-count { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; color: var(--forest-ink); text-align: right; }
.tl-pill-bar { grid-column: 1 / -1; display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); overflow: hidden; margin-top: 4px; min-width: 150px; }
.tl-pill-bar b { display: block; height: 100%; width: 0; background: var(--saffron); border-radius: 3px; }
@media (min-width: 1380px) { .tl-pill { display: none; } }

.tl-close { background: var(--forest); color: #fff; padding: clamp(80px, 11vw, 170px) 0; }
.tl-close-title { color: #fff; font-size: clamp(2.4rem, 6.4vw, 6rem); line-height: 0.98; letter-spacing: -0.05em; font-weight: 900; max-width: 14ch; margin: 0 auto; }
.tl-close .btn-row { justify-content: center; }

/* timeline: tablet and phone (single column, spine on the left) */
@media (max-width: 900px) {
  .tl-spine { left: 22px; margin-left: -2px; }
  .tl-item { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 14px; padding: 26px 0 30px; }
  .tl-r .tl-yearcol, .tl-l .tl-yearcol { grid-column: 2; grid-row: 1; text-align: left; padding: 0; }
  .tl-r .tl-card, .tl-l .tl-card { grid-column: 2; grid-row: 2; }
  .tl-node { grid-column: 1; grid-row: 1; margin-top: 12px; justify-self: start; margin-left: 8px; }
  .tl-node i { width: 26px; height: 26px; margin-left: 1px; }
  .tl-year { position: static; font-size: clamp(3.4rem, 17vw, 5.4rem); }
  .tl-year-long { font-size: clamp(2.8rem, 13vw, 4.6rem); }
  .tl-yearline { display: none; }
  .tl-end i { left: 22px; }
  .tl-photos-3 { grid-template-columns: 1.5fr 1fr; }
  .tl-photos-3 .tl-photo:nth-child(3) { display: none; }
  .tl-pill { bottom: calc(12px + env(safe-area-inset-bottom)); }
}
@media (min-width: 901px) { .tl-yearline { display: none; } }
@media (max-width: 560px) {
  .tl-photos-2 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tl-card { padding: 22px 20px 24px; }
}
body.theme-timeline .ftr { margin-top: 0; }

/* reduced motion: static, fully drawn timeline, no marquee drift, no count animation */
@media (prefers-reduced-motion: reduce) {
  .tl-spine-fill { transform: scaleY(1) !important; transition: none !important; }
  .tl-item .tl-year { color: var(--forest); -webkit-text-stroke-color: var(--forest); transition: none; }
  .tl-item .tl-node i { background: var(--saffron); box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--forest); transition: none; transform: none; }
  .tl-item .tl-node i::after, .tl-scrollcue i::after { animation: none !important; }
  .tl-end i { background: var(--saffron); }
  .tl-rail, .tl-pill { transition: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-row { animation: none !important; flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
  .marquee { display: block; }
  .marquee-row[aria-hidden="true"] { display: none; }
  .pillar, .theme { transition: none !important; }
  .pillar:hover, .theme:hover { transform: none !important; }
}

/* Display and label paragraphs keep their own weight (beats the generic copy weight rule above) */
body p.panel-label, body p.stat-num, body p.fact-big, body p.capart-year, body p.step-num, body p.tl-year, body p.statement-big, body p.tl-sub, body p.diff-num { font-weight: 900; }
body p.panel-num, body p.journey-tag, body p.tile-num, body p.proj-num, body p.since, body p.stat-label, body p.tl-num, body p.tl-subtitle, body p.pillar-num, body p.trio-num, body p.hero-sub-label { font-weight: 700; }
body p.tl-yearline { font-weight: 900; }
body .step-num, body .tl-year { color: transparent; }
body .tl-item.is-lit .tl-year { color: var(--forest); }
body .tl-teaser-years li { font-weight: 900; }
body .journey-tag { color: var(--saffron-2); }
body .tl-hero-lead, body .tl-hero-meta p { color: var(--forest-ink); }
body .proj-orig { font-weight: 500; }
@media (prefers-reduced-motion: reduce) { body .tl-item .tl-year { color: var(--forest); } }
.campus-facts .fact-big { font-size: clamp(2.4rem, 4vw, 3.6rem); white-space: nowrap; }

/* ============ v4b: project index ============ */
.pi-sec { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.pi-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.pi-title-h { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.pi-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.pi-filters[hidden], .pi-item[hidden], .pi-count[hidden] { display: none; }
.pi-chip { appearance: none; border: 0; cursor: pointer; font: inherit; font-size: 0.9rem; font-weight: 700; line-height: 1.2; padding: 10px 18px; border-radius: 999px; background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line); transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease); }
.pi-chip:hover { background: var(--saffron-soft); }
.pi-chip.is-on { background: var(--forest); color: #fff; }
.pi-chip:focus-visible, .pi-card:focus-visible, .proj-top:focus-visible, .dir-link:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
.ftr .dir-link:focus-visible, .section-forest .dir-link:focus-visible, .duo-cta-copy .dir-link:focus-visible { outline-color: var(--saffron-2); }
.pi-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pi-item { min-width: 0; }
.pi-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: start; height: 100%; padding: clamp(18px, 2vw, 26px); background: var(--white); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.pi-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgba(16, 24, 18, 0.28); }
.pi-num { min-width: 1.6em; font-size: clamp(2.2rem, 3.2vw, 3rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--forest); transition: color 0.4s var(--ease); }
.pi-card:hover .pi-num, .pi-card:focus-visible .pi-num { color: var(--forest); }
.pi-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding-top: 4px; }
.pi-title { font-size: clamp(1.05rem, 1.25vw, 1.2rem); font-weight: 700; line-height: 1.28; letter-spacing: -0.02em; text-wrap: balance; }
.pi-meta { display: flex; flex-direction: column; gap: 1px; font-size: 0.84rem; font-weight: 500; line-height: 1.4; color: var(--muted); }
.pi-go { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-top: 4px; border-radius: 50%; background: var(--paper-2); color: var(--forest); transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease); }
.pi-card:hover .pi-go, .pi-card:focus-visible .pi-go { background: var(--saffron); color: var(--ink); transform: translateY(3px); }
.pi-count { margin: 18px 0 0; font-size: 0.9rem; color: var(--muted); }
.proj-top { display: inline-block; margin-top: 22px; font-size: 0.9rem; font-weight: 700; color: var(--forest); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--saffron); text-decoration-thickness: 2px; }
.proj-top:hover { text-decoration-color: var(--forest); }
@media (max-width: 1099px) { .pi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 679px) {
  .pi-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pi-card { grid-template-columns: auto minmax(0, 1fr); gap: 14px; }
  .pi-go { display: none; }
  .pi-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter, 20px) * -1); padding-inline: var(--gutter, 20px); padding-bottom: 6px; max-width: 100vw; scrollbar-width: none; }
  .pi-chip { flex: none; }
  .pi-head { display: block; }
  .pi-filters { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) { .pi-card, .pi-go, .pi-chip, .pi-num { transition: none !important; } .pi-card:hover { transform: none; } }

/* ============ v4b: address ============ */
.addr { font-style: normal; font-size: 1.05rem; font-weight: 500; line-height: 1.55; letter-spacing: -0.01em; color: var(--ink); max-width: 24em; margin: 0 0 16px; }
.addr-light { color: var(--forest-ink); }
.dir-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 700; color: var(--forest); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--saffron); text-decoration-thickness: 2px; }
.dir-link:hover { text-decoration-color: var(--forest); }
.ftr .dir-link, .section-forest .dir-link, .duo-cta-copy .dir-link { color: #fff; }
.ftr .dir-link:hover, .section-forest .dir-link:hover, .duo-cta-copy .dir-link:hover { text-decoration-color: #fff; }
.tile .dir-link { margin-top: auto; }
.tile p + .dir-link, .tile .addr + .dir-link { margin-top: 6px; }
.ftr .ftr-head { margin: 0 0 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--saffron-2); }
.ftr .ftr-addr { font-style: normal; font-size: 0.95rem; line-height: 1.55; color: var(--forest-ink); margin: 0 0 14px; max-width: 20em; }

/* ============ v4b: heading and glyph clipping fix ============ */
/* Reveal masks: room for descenders and for the overhang caused by negative tracking */
.split-words .w { padding: 0.14em 0.16em 0.26em; margin: -0.14em -0.16em -0.26em; }
.js .split-words .w > span { transform: translate3d(0, 140%, 0); }
.js.is-loaded .split-words .w > span { transform: none; }
/* Display line heights, no tighter than 1.08 */
h1 { line-height: 1.08; }
h2 { line-height: 1.12; }
.proj-copy h3 { line-height: 1.14; }
.tl-card h3 { line-height: 1.14; }
.tl-hero h1 { line-height: 1.06; }
.tl-close-title { line-height: 1.1; padding-bottom: 0.06em; }
.panel-label { line-height: 1.14; }
.stat-num { line-height: 1.12; }
.factband dd, .tl-hero-meta strong { line-height: 1.12; }
.fact-big { line-height: 1.08; }
.capart-year { line-height: 1.08; }
.step-num { line-height: 1.04; margin-bottom: clamp(10px, 1.8vw, 24px); }
.tl-teaser-years li { line-height: 1.1; }
.tl-year { line-height: 1.02; padding: 0.04em 0.14em 0.06em 0; }
.numchips strong { line-height: 1.15; }
.tl-pill-year { line-height: 1.2; }
.statement-big { line-height: 1.2; }
.pullquote p { line-height: 1.26; }
.tl-sub { line-height: 1.22; }
/* Footer watermark uses background-clip:text, so the element box must hold the whole glyph */

/* v4c: cards (work card body stacks vertically, link pinned to the bottom, equal heights) */
.cards { align-items: stretch; }
.card.theme .card-body, .card-body.card-body-col { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px; padding: 24px 26px 26px; flex: 1 1 auto; }
.card.theme .card-body h3 { margin: 0; }
.card.theme .card-body p { margin: 0; max-width: 46ch; }
.card.theme .card-body .text-link { margin-top: auto; padding-top: 14px; }
a.card > .card-body { align-items: flex-start; }
a.card > .card-body > .round-arrow { align-self: flex-end; }

/* v4c: tiles (resources / contact): breathing room under the title, tag or link pinned to the bottom, equal heights */
.tile { gap: 0; }
.tile h3 { margin-bottom: 12px; }
.tile .tag, .tile p + .tag { margin-top: auto; }
.tile .addr, .tile p { margin-bottom: 0; }
.tile .dir-link, .tile p + .dir-link, .tile .addr + .dir-link { margin-top: auto; padding-top: 18px; }
.tile .tag { align-self: flex-start; }
.tile h3 + .tag { margin-top: 26px; }
.tile > h3 + .tag, .tile > h3:only-child { margin-top: 0; }
@media (min-width: 621px) { .tile { min-height: clamp(150px, 13vw, 190px); } .tile h3 + .tag { margin-top: auto; } }

/* v4c: contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 32px); align-items: start; }
.contact-side { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (max-width: 980px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-side .tile { min-height: 0; }
.reach { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.reach li { display: grid; gap: 2px; }
.reach-k { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); }
.reach a { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em; color: var(--forest); text-decoration: underline; text-decoration-color: rgba(29, 58, 38, 0.3); text-underline-offset: 5px; overflow-wrap: anywhere; transition: text-decoration-color 0.3s; }
.reach a:hover { text-decoration-color: var(--forest); }
.reach a:focus-visible { outline: 2px solid var(--forest); outline-offset: 4px; border-radius: 4px; }

.cform-card { position: relative; background: var(--white); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -44px rgba(21, 35, 26, 0.35); padding: clamp(24px, 3.4vw, 48px); }
.cform-title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 900; letter-spacing: -0.035em; margin-bottom: 26px; }
.cform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 620px) { .cform-grid { grid-template-columns: minmax(0, 1fr); } }
.field { position: relative; }
.field input, .field textarea {
  display: block; width: 100%; font: inherit; font-size: 1rem; font-weight: 500; color: var(--ink); letter-spacing: -0.01em;
  background: var(--paper); border: 1.5px solid rgba(21, 35, 26, 0.3); border-radius: 14px; padding: 25px 16px 9px; min-height: 60px;
  appearance: none; -webkit-appearance: none; transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 168px; line-height: 1.55; padding-top: 30px; }
.field label { position: absolute; left: 17px; top: 19px; max-width: calc(100% - 34px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1rem; font-weight: 500; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform 0.25s var(--ease-out), color 0.25s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(0.78); }
.field input:hover, .field textarea:hover { border-color: rgba(21, 35, 26, 0.55); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--forest); background: #fff; box-shadow: 0 0 0 3px rgba(29, 58, 38, 0.18); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--terracotta-text); background: #fffaf8; }
.field.is-invalid input:focus, .field.is-invalid textarea:focus { box-shadow: 0 0 0 3px rgba(138, 56, 51, 0.18); }
.field.is-valid input { border-color: rgba(29, 58, 38, 0.55); }
.field-msg { margin: 6px 4px 0; min-height: 0; font-size: 0.86rem; line-height: 1.4; font-weight: 600; color: var(--terracotta-text); }
.field-msg:empty { display: none; }
.field-foot { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.field-foot .field-msg { flex: 1; }
.field-count { margin: 6px 4px 0 auto; font-size: 0.82rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.field-count.is-near { color: var(--terracotta-text); }
.chips { border: 0; margin: 22px 0 18px; padding: 0; min-width: 0; }
.chips legend { padding: 0; margin: 0 0 10px; font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(21, 35, 26, 0.3); background: var(--paper); color: var(--ink); font-size: 0.95rem; font-weight: 700; letter-spacing: -0.01em; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.chip:hover span { border-color: var(--forest); }
.chip input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--saffron); outline-offset: 2px; }
.field-area { margin-top: 0; }
.check { margin: 18px 0 4px; }
.check-row { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.check-row input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.check-box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 7px; border: 1.5px solid rgba(21, 35, 26, 0.45); background: var(--paper); color: transparent; transition: background 0.25s, border-color 0.25s, color 0.25s; }
.check-box svg { width: 16px; height: 16px; }
.check-row input:checked + .check-box { background: var(--forest); border-color: var(--forest); color: #fff; }
.check-row input:focus-visible + .check-box { outline: 3px solid var(--saffron); outline-offset: 2px; }
.check.is-invalid .check-box { border-color: var(--terracotta-text); }
.check-text { font-size: 0.98rem; line-height: 1.5; color: var(--ink-2); font-weight: 500; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cform-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.cform-actions .btn { border: 0; cursor: pointer; font-family: inherit; }
.cform-note { margin: 0; font-size: 0.88rem; color: var(--muted); }
.cform-summary { margin: 0 0 22px; padding: 16px 18px; border-radius: 14px; background: #fbeeec; color: #5e211d; font-size: 0.95rem; line-height: 1.5; }
.cform-summary p { margin: 0 0 6px; color: #5e211d; font-weight: 700; }
.cform-summary ul { margin: 0; padding-left: 1.1em; }
.cform-summary a { color: #5e211d; font-weight: 600; text-underline-offset: 3px; }
.cform-summary:focus { outline: 2px solid var(--terracotta-text); outline-offset: 2px; }
.btn .spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.4px solid rgba(16, 24, 18, 0.25); border-top-color: var(--ink); animation: cfspin 0.8s linear infinite; }
.btn[aria-busy="true"] .spin { display: block; }
.btn[aria-busy="true"] .ic-arrow { display: none; }
.btn[aria-busy="true"] { opacity: 0.85; cursor: progress; pointer-events: none; }
@keyframes cfspin { to { transform: rotate(360deg); } }
.btn-ghost { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); padding: 0 24px; min-height: 52px; border: 0; cursor: pointer; font-family: inherit; }
.btn-ghost:hover { background: var(--forest); color: #fff; }
.cform-done, .cform-fail { text-align: left; }
.cform-done:focus, .cform-fail:focus { outline: none; }
.cform-done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(12px, 3vw, 40px) 0; }
.cform-done h2 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 900; letter-spacing: -0.04em; }
.cform-done p { margin: 0 0 10px; font-size: 1.15rem; }
.done-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--forest); color: var(--saffron-2); }
.done-mark svg { width: 30px; height: 30px; }
.cform-fail { margin-top: 22px; padding: 20px 22px; border-radius: 16px; background: #fbeeec; }
.cform-fail h3 { font-size: 1.15rem; color: #5e211d; margin-bottom: 6px; }
.cform-fail p { color: #5e211d; margin: 0 0 14px; }
.cform-card.is-sent .cform { display: none; }
@media (max-width: 620px) { .field input, .field textarea { font-size: 16px; } .chips-row { gap: 8px; } .chip span { padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) { .field input, .field textarea, .field label, .chip span, .check-box { transition: none; } .btn .spin { animation-duration: 2s; } }
/* address on the green block: always light, never italic */
.duo-cta-copy address, .duo-cta-copy .addr { color: var(--forest-ink); font-style: normal; }

.cform-done[hidden], .cform-fail[hidden], .cform-summary[hidden] { display: none !important; }
@media (min-width: 981px) { .contact-side { position: sticky; top: calc(var(--hdr-h, 80px) + 24px); } }

/* v4c: timeline rail as a floating frosted-glass capsule (vertical tablet) */
.tl-rail {
  right: clamp(16px, 1.6vw, 28px); top: 50%; transform: translate(28px, -50%);
  padding: 30px 20px 30px 22px; border-radius: 999px;
  background: rgba(255, 253, 249, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 22px 54px -20px rgba(16, 24, 18, 0.38), 0 2px 8px rgba(16, 24, 18, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.tl-rail.is-on { transform: translate(0, -50%); }
.tl-rail a { padding: 0; min-height: 28px; gap: 12px; font-size: 0.78rem; color: var(--forest-2); border-radius: 999px; }
.tl-rail a span { transition: transform 0.4s var(--ease-out); }
.tl-rail a i { width: 10px; height: 10px; background: #fff; box-shadow: 0 0 0 2px rgba(29, 58, 38, 0.38); }
.tl-rail a.is-past { color: var(--forest); }
.tl-rail a.is-past i { background: var(--forest); box-shadow: 0 0 0 2px var(--forest); }
.tl-rail a.is-active { color: var(--ink); font-size: 0.95rem; font-weight: 900; }
.tl-rail a.is-active i { background: var(--saffron); transform: scale(1.4); box-shadow: 0 0 0 2px var(--forest); }
.tl-rail a:hover { color: var(--ink); }
.tl-rail a:hover span { transform: translateX(-2px); }
.tl-rail a:hover i { box-shadow: 0 0 0 2px var(--forest); }
.tl-rail a:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; }
.tl-rail-bar { right: 26px; top: 44px; bottom: 44px; width: 2px; background: rgba(29, 58, 38, 0.2); }
.tl-rail-bar b { background: var(--forest); }
@media (max-height: 640px) { .tl-rail a { min-height: 22px; } .tl-rail { padding-top: 22px; padding-bottom: 22px; } .tl-rail-bar { top: 33px; bottom: 33px; } }
/* keep milestone cards clear of the floating rail (symmetric so the spine stays centred) */
@media (min-width: 1380px) { .tl-track { max-width: calc(100vw - 324px); margin-left: auto; margin-right: auto; } }

/* v4c contrast: bold / marked words are light on every dark surface, no tinted underline that dims the letters */
:is(.duo-cta-copy, .section-forest, .interlude, .tl-hero, .tl-close, .tl-teaser, .ftr, .menu, .mmenu, .trio-card, .journey, .journey-card, .capart, .hero-text, .factband) :is(strong, b, mark) { color: #fff; background: none; font-weight: 700; }
.section-forest .panel :is(strong, b, mark) { color: var(--ink); background: linear-gradient(transparent 64%, var(--saffron-soft) 64%); }
.tl-hero-meta strong { color: var(--saffron-2); }
.factband strong { color: #fff; }
:is(.section-forest, .interlude) .panel :is(strong, b, mark) { color: var(--ink); background: linear-gradient(transparent 64%, var(--saffron-soft) 64%); }
:is(.section-forest, .interlude) .panel p.panel-num { color: var(--terracotta-text); }
.section-forest .journey .journey-card strong, .journey-card strong { color: #fff; background: none; }

/* v4d: stat cards (numchips) */
.numchips { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.numchips li, .section-tint .numchips li, .tl-card .numchips li { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 20px 22px 18px; border-radius: 18px; background: linear-gradient(180deg, #f6f2ea 0%, var(--paper-2) 100%); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(21, 35, 26, 0.04), 0 8px 24px -14px rgba(21, 35, 26, 0.18); min-width: 0; }
.numchips strong { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.28em; margin: 0; font-size: clamp(2rem, 2.6vw, 2.5rem); font-weight: 900; letter-spacing: -0.045em; line-height: 1.15; color: var(--forest); font-variant-numeric: tabular-nums lining-nums; background: none !important; }
.numchips .nc-unit { font-size: 0.46em; font-weight: 700; letter-spacing: -0.01em; color: var(--forest); opacity: 0.78; }
.numchips strong.nc-word { font-size: clamp(1.35rem, 1.8vw, 1.6rem); letter-spacing: -0.03em; }
.numchips .nc-label { display: block; padding-top: 10px; border-top: 1px solid var(--line); font-size: 0.9rem; font-weight: 500; line-height: 1.38; color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 640px) {
  .numchips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .numchips li:only-child, .numchips li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .numchips li { padding: 16px 16px 14px; border-radius: 16px; }
  .numchips strong { font-size: 1.9rem; }
  .numchips .nc-label { font-size: 0.85rem; }
}
.numchips li, .section-tint .numchips li, .tl-card .numchips li { justify-content: flex-start; }
.numchips .nc-num { font-size: 1em; font-weight: inherit; line-height: inherit; color: inherit; letter-spacing: inherit; }
.numchips .nc-unit { font-size: 0.46em; line-height: 1; }

/* v4e: partner logo marquee */
.marquee-row { gap: 14px; padding: 4px 7px; animation-duration: 170s; justify-content: flex-start; }
.marquee-row li { display: flex; align-items: center; justify-content: center; flex: none; width: 184px; height: 96px; padding: 0; border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), 0 6px 18px -14px rgba(21, 35, 26, 0.25); }
.marquee-row img { display: block; width: var(--w); height: var(--h); max-width: none; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: 0.72; transition: filter 0.35s ease, opacity 0.35s ease; }
.marquee-row li:hover img { filter: none; opacity: 1; }
@media (max-width: 640px) {
  .marquee-row { gap: 10px; animation-duration: 130s; }
  .marquee-row li { width: 148px; height: 80px; border-radius: 16px; }
  .marquee-row img { width: calc(var(--w) * 0.82); height: calc(var(--h) * 0.82); }
}
@media (hover: none) { .marquee-row img { filter: none; opacity: 0.92; } }
@media (prefers-reduced-motion: reduce) { .marquee-row { animation: none !important; flex-wrap: wrap; justify-content: center; } }
.marquee-row li { width: 188px; height: 100px; transition: transform 0.35s ease, box-shadow 0.35s ease; }
.marquee-row img { filter: none; opacity: 1; }
.marquee-row li:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line), 0 12px 26px -14px rgba(21, 35, 26, 0.32); }
@media (max-width: 640px) { .marquee-row li { width: 150px; height: 82px; } }

/* ================================================================ v5: tab layout */
.hdr-tag { margin: 0 8px 0 auto; font-size: 0.95rem; font-weight: 500; font-style: italic; letter-spacing: -0.01em; color: var(--muted); white-space: nowrap; }
.tabs { pointer-events: auto; max-width: var(--maxw); margin: 8px auto 0; height: var(--tabs-h); background: rgba(255, 255, 255, 0.97); -webkit-backdrop-filter: blur(8px) saturate(1.1); backdrop-filter: blur(8px) saturate(1.1); border-radius: 999px; box-shadow: 0 1px 0 rgba(21, 35, 26, 0.06), 0 0 0 1px rgba(21, 35, 26, 0.06); overflow: hidden; transition: box-shadow 0.4s var(--ease); }
.hdr.is-scrolled .tabs { box-shadow: 0 10px 30px -12px rgba(21, 35, 26, 0.28); }
.tabs-in { display: flex; align-items: center; justify-content: space-between; gap: 2px; height: 100%; padding: 0 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.tabs-in::-webkit-scrollbar { display: none; }
.tabs-in a { flex: none; scroll-snap-align: center; padding: 8px 13px; border-radius: 999px; font-size: 0.92rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; white-space: nowrap; transition: background 0.35s var(--ease), color 0.35s var(--ease); }
.tabs-in a:hover { background: var(--paper-2); }
.tabs-in a[aria-current="page"] { background: var(--forest); color: #fff; font-weight: 700; }
.tabs-in a:focus-visible { outline: 2px solid var(--forest); outline-offset: -2px; }
@media (max-width: 1240px) { .tabs-in { justify-content: flex-start; } }
@media (max-width: 600px) { .tabs { margin-top: 6px; } .tabs-in a { padding: 7px 12px; font-size: 0.88rem; } }

/* In-page sub tabs (About, Our Work) */
.stabs-bar-wrap { position: relative; padding: clamp(28px, 4vw, 48px) 0 0; }
.stabs-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.stab { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-size: 0.98rem; font-weight: 500; line-height: 1.3; transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease); }
.stab:hover { border-color: rgba(21, 35, 26, 0.35); }
.stab[aria-selected="true"] { background: var(--saffron); border-color: var(--saffron); color: var(--ink); font-weight: 700; }
.js .stab-panel[hidden] { display: none; }
.stab-panel > .section:first-child { padding-top: clamp(40px, 5vw, 72px); }
.stab-panel.is-showing { animation: stabIn 0.6s var(--ease); }
@keyframes stabIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .stabs-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
  .stabs-bar::-webkit-scrollbar { display: none; }
  .stab { flex: none; white-space: nowrap; }
}

/* Home: photo trio */
.photo-trio { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; min-height: 520px; }
.photo-trio .media { margin: 0; height: 100%; }
.photo-trio .media-frame { height: 100%; }
.photo-trio .pt-a { grid-row: 1 / 3; }
.photo-trio img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .photo-trio { min-height: 380px; } }

/* Home: impact map */
.stats-title-light { color: #fff; }
.impact-map { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(24px, 4vw, 48px); }
.map-box { position: relative; }
.india-map { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; overflow: visible; }
.map-st { fill: rgba(255, 255, 255, 0.1); stroke: rgba(255, 255, 255, 0.34); stroke-width: 0.7; stroke-linejoin: round; transition: fill 0.3s var(--ease); }
.map-st.is-on { fill: rgba(242, 176, 30, 0.62); stroke: var(--forest); cursor: pointer; }
.map-st.is-on:hover, .map-st.is-on:focus, .map-st.is-on.is-active { fill: var(--saffron-2); outline: none; }
.map-hq circle { fill: var(--brand-red); stroke: #fff; stroke-width: 1.6; }
.map-hq .map-hq-ring { fill: rgba(165, 37, 31, 0.25); stroke: none; transform-origin: 0 0; animation: hqPulse 2.4s ease-out infinite; }
@keyframes hqPulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map-hq .map-hq-ring { animation: none; } }
.map-tip { position: absolute; z-index: 3; max-width: 260px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--white); color: var(--ink); box-shadow: 0 14px 40px -12px rgba(0, 0, 0, 0.45); font-size: 0.92rem; line-height: 1.45; pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); }
.map-tip strong { display: block; color: var(--forest); font-size: 1rem; }
.map-side h3 { margin: 0 0 10px; }
.map-keys { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; }
.map-key { display: grid; width: 100%; text-align: left; gap: 2px; padding: 10px 14px; border: 0; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.06); color: var(--forest-ink); cursor: pointer; transition: background 0.3s var(--ease); }
.map-key:hover, .map-key.is-active { background: rgba(255, 255, 255, 0.16); }
.map-key-name { font-weight: 700; color: #fff; }
.map-key-places { font-size: 0.88rem; line-height: 1.45; }
.section-forest p.map-note { margin-top: 16px; font-size: 0.9rem; color: var(--forest-ink); opacity: 0.85; }
@media (max-width: 900px) { .impact-map { grid-template-columns: 1fr; } }

/* Home: stepping stones */
.stones-sec .tl-teaser-in { grid-template-columns: 1fr; }
.stones-sec h2 { max-width: 18em; }
.stones { list-style: none; margin: clamp(36px, 5vw, 60px) calc(-1 * var(--gutter)) 0; padding: 26px var(--gutter) 12px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.3) transparent; position: relative; }
.stone { flex: none; width: 220px; scroll-snap-align: start; position: relative; }
.stone::before { content: ""; position: absolute; top: -18px; left: 0; right: -14px; height: 2px; background: rgba(255, 255, 255, 0.22); }
.stone::after { content: ""; position: absolute; top: -24px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 5px rgba(242, 176, 30, 0.22); }
.stone a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.06); color: #fff; text-decoration: none; transition: background 0.35s var(--ease), transform 0.35s var(--ease); }
.stone a:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-4px); }
.stone-year { font-size: 2rem; font-weight: 900; line-height: 1.1; letter-spacing: -0.04em; color: var(--saffron-2); }
.stone-title { font-size: 1rem; font-weight: 500; line-height: 1.4; }

/* About: values */
.values { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: clamp(36px, 5vw, 60px); }
.value { grid-column: span 2; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.value:nth-child(4) { grid-column: 2 / span 2; }
.value-media { aspect-ratio: 16 / 10; overflow: hidden; }
.value-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.value:hover .value-media img { transform: scale(1.05); }
.value-body { padding: 22px 24px 26px; }
.value-num { margin: 0 0 6px; font-weight: 900; color: var(--terracotta-text); letter-spacing: -0.02em; }
.value h3 { margin: 0 0 10px; }
.value p:last-child { margin: 0; color: var(--ink-2); }
@media (max-width: 980px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } .value, .value:nth-child(4) { grid-column: auto; } }
@media (max-width: 620px) { .values { grid-template-columns: 1fr; } }

/* Cards in two columns */
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .cards-2 { grid-template-columns: 1fr; } }

/* Gallery + lightbox */
.gallery { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: 14px; }
.gal-item { break-inside: avoid; margin: 0 0 14px; }
.gal-item a { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.gal-item img { width: 100%; height: auto; transition: transform 0.8s var(--ease); }
.gal-item a:hover img { transform: scale(1.04); }
.lb { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; background: rgba(10, 18, 12, 0.94); padding: 20px; }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; display: grid; justify-items: center; gap: 12px; }
.lb-fig img { max-width: 100%; max-height: 82vh; width: auto; height: auto; border-radius: 10px; }
.lb-fig figcaption { color: var(--forest-ink); font-size: 0.95rem; text-align: center; max-width: 40em; }
.lb-close, .lb-nav { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }
.lb-close { position: absolute; top: 18px; right: 18px; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, 0.24); }
@media (max-width: 600px) { .lb { grid-template-columns: 44px minmax(0, 1fr) 44px; padding: 10px; } .lb-nav { width: 40px; height: 40px; } }

/* ================================================================ v6: main menu with dropdowns */
.hdr-bar { gap: 14px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav .nav-top { display: block; padding: 8px 9px; border-radius: 12px; font-size: 0.88rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; text-align: center; max-width: 9.5em; color: var(--ink); text-decoration: none; }
.nav-item.has-sub .nav-top { padding-right: 2px; }
.nav .nav-top:hover, .nav-item:hover > .nav-top, .nav-item.is-open > .nav-top { background: var(--paper-2); }
.nav .nav-top[aria-current="page"] { color: var(--forest); font-weight: 700; background: var(--paper-2); }
.nav-tog { flex: none; width: 22px; height: 28px; margin-right: 2px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.nav-tog svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nav-item:hover .nav-tog svg, .nav-item.is-open .nav-tog svg { transform: rotate(180deg); }
.nav-tog:focus-visible { outline: 2px solid var(--forest); outline-offset: 1px; }
.nav-sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 14px); left: 0; z-index: 5; min-width: 250px; max-width: 340px; background: var(--white); border-radius: 16px; box-shadow: 0 22px 50px -18px rgba(21, 35, 26, 0.38), 0 0 0 1px rgba(21, 35, 26, 0.07);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s; }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item:nth-last-child(-n+3) .nav-sub { left: auto; right: 0; }
.nav-item:hover > .nav-sub, .nav-item:focus-within > .nav-sub, .nav-item.is-open > .nav-sub { opacity: 1; visibility: visible; transform: none; transition: opacity 0.22s var(--ease), transform 0.22s var(--ease); }
.nav-item.is-closed > .nav-sub { opacity: 0; visibility: hidden; }
.nav-sub a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 0.93rem; line-height: 1.35; color: var(--ink); text-decoration: none; }
.nav-sub a:hover, .nav-sub a:focus-visible { background: var(--paper-2); color: var(--forest); outline: none; }
@media (max-width: 1320px) { .brand-name { font-size: 1.05rem; } .nav .nav-top { font-size: 0.84rem; padding: 7px 7px; } .nav-item.has-sub .nav-top { padding-right: 1px; } }

/* Mobile menu with expandable sections */
.menu-nav { align-items: flex-start; }
.m-list { list-style: none; margin: 0; padding: 0; width: 100%; }
.m-item + .m-item { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.m-row { display: flex; align-items: center; gap: 10px; }
.menu-nav .m-row a { flex: 1; display: block; min-height: 0; padding: 14px 4px; font-size: clamp(1.25rem, 5.4vw, 1.6rem); line-height: 1.2; letter-spacing: -0.02em; }
.m-tog { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; display: grid; place-items: center; }
.m-tog svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.m-tog[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-sub { list-style: none; margin: 0 0 14px; padding: 0 0 0 14px; border-left: 1px solid rgba(255, 255, 255, 0.2); }
.menu-nav .m-sub a { display: block; min-height: 0; padding: 8px 4px; font-size: 1.02rem; font-weight: 500; letter-spacing: 0; line-height: 1.35; color: var(--forest-ink); opacity: 1; transform: none; }
.menu-nav .m-sub a:hover { color: var(--saffron-2); }
.sec-anchor, [id] { scroll-margin-top: calc(var(--hdr-h) + 40px); }
.menu-nav .m-sub li + li { border-top: 0; }

/* v6.1: larger top-level labels, spread evenly across the bar */
.nav { flex: 1 1 auto; margin-left: 12px; }
.nav-list { flex: 1; justify-content: space-between; gap: 4px; }
.nav .nav-top { font-size: 1.0625rem; font-weight: 500; padding: 11px 12px; max-width: none; white-space: nowrap; line-height: 1.2; }
.nav-item.has-sub .nav-top { padding-right: 3px; }
.nav-tog { width: 26px; height: 40px; }
.nav-tog svg { width: 15px; height: 15px; }
.nav-sub { top: calc(100% + 12px); }
@media (max-width: 1320px) { .brand-name { font-size: 1.05rem; } .nav .nav-top { font-size: 1.0625rem; padding: 10px 9px; } .nav-item.has-sub .nav-top { padding-right: 2px; } }
@media (max-width: 1180px) { .nav { display: flex; } .menu-btn { display: none; } .brand-name { display: none; } .nav .nav-top { font-size: 1rem; padding: 10px 8px; } .nav-tog { width: 22px; } }
@media (max-width: 960px) { .nav { display: none; } .menu-btn { display: block; } .brand-name { display: inline; } }
