/* ==========================================================================
   EDRA — inner pages (Approach, Platform, Frameworks, About, Contact, legal).
   Tokens and type scale are taken from index.html / brsr-core.html so every
   page reads as one site.
   ========================================================================== */

:root {
  --bg: #f1efe7;
  --bg-alt: #e8e6db;
  --card: #ffffff;
  --card-2: #f7f6f0;
  --line: #dcd9cc;
  --line-2: #ece9df;
  --ink: #18201b;
  --body: #3c4540;
  --muted: #59625b;
  --faint: #9aa196;
  --forest: #1d4a37;
  --forest-hover: #123426;
  --green: #2f7a5a;
  --on-dark: #c7d8cd;
  --chip: #b7b9aa;
  --focus: #c99a3c;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'IBM Plex Sans', 'Helvetica Neue', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--forest); }
a:hover { color: var(--forest-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ── Top bar (same as the homepage) ───────────────────────────────────── */
.site-head { position: relative; z-index: 5; max-width: 1280px; width: 100%; margin: 0 auto; padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.brand span { font-size: 20px; font-weight: 600; letter-spacing: 0.42em; }
.navlinks { display: flex; align-items: center; gap: 34px; font-size: 15px; }
.navlinks a { color: var(--ink); text-decoration: none; }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--forest); }
.navlinks a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.navlinks .live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.navlinks .live b { padding: 2px 7px; border-radius: 999px; background: var(--green); color: #fff; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; }
.head-actions { display: flex; align-items: center; gap: 22px; }
.head-actions .signin { font-size: 15px; font-weight: 500; color: var(--forest); text-decoration: none; padding: 12px 2px; }
@media (max-width: 900px) { .navlinks { display: none !important; } }
@media (max-width: 640px) { .site-head { padding: 20px; } .brand span { font-size: 17px; } }

/* ── Buttons & links ──────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--forest); color: #fff; font-size: 16px; font-weight: 500; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--forest-hover); color: #fff; }
.btn.sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn.light { background: #fff; color: var(--forest); }
.btn.light:hover { background: #eef3ef; color: var(--forest-hover); }
.btn svg { width: 16px; height: 16px; flex: none; }
.tlink { font-size: 16px; font-weight: 500; color: var(--forest); text-decoration: underline; text-underline-offset: 4px; padding: 12px 0; }
.on-dark .tlink { color: #fff; }

/* ── Type ─────────────────────────────────────────────────────────────── */
.eyebrow { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); }
.on-dark .eyebrow { color: #9fcbb2; }
.h1 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.025em; }
.h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -0.02em; }
.h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.2; }
.h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.25; }
.h1 em, .h2 em { font-style: italic; color: var(--forest); }
.on-dark .h2, .on-dark .h3, .on-dark .h4 { color: #fff; }
.on-dark .h2 em { color: #bfe0cc; }
.lead { margin: 0; max-width: 640px; font-size: 19px; line-height: 1.6; color: var(--body); }
.copy { margin: 0; max-width: 580px; font-size: 18px; line-height: 1.62; color: var(--body); }
.small { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }
.note { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.7; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.on-dark .copy, .on-dark .small { color: var(--on-dark); }

/* ── Page hero ────────────────────────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; background: var(--bg); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 236px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 32px; align-items: end; }
.page-hero .stack { padding-right: 32px; }
.page-hero .stack { display: flex; flex-direction: column; gap: 26px; }
.page-hero .side { display: flex; flex-direction: column; gap: 26px; padding-bottom: 6px; }
.page-hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 220px; display: block; pointer-events: none; }
@media (max-width: 860px) { .hills { height: 150px; } }
.closing { position: relative; overflow: hidden; padding-bottom: 210px !important; }
.closing .hills { height: 170px; }
.closing .wrap { position: relative; z-index: 1; }

/* scroll reveal, only once the script has switched it on */
.rv-on .rv { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.rv-on .rv.in { opacity: 1; transform: none; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 170px; } }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: 120px 0; background: var(--bg); }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--forest); color: #fff; }
.section.tight { padding: 96px 0; }
@media (max-width: 720px) { .section { padding: 84px 0; } .section.tight { padding: 72px 0; } }

.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; align-items: end; margin-bottom: 56px; }
.sec-head > div { padding-right: 64px; }
.sec-head > div { display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } .sec-head > div, .split > :first-child, .view > .stack, .fw .id, .page-hero .stack { padding-right: 0; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 32px; align-items: start; }
.split > :first-child { padding-right: 64px; }
.split > .stack { display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* columns with a rule on top (Know / Act / Record / Prove) */
.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.cols.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1020px) { .cols, .cols.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cols, .cols.three { grid-template-columns: 1fr; } }
.col { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid var(--ink); }
.col .eyebrow { letter-spacing: 0.14em; }
.on-dark .col { border-top-color: rgba(255, 255, 255, 0.4); }

/* ruled list (We ask, so your team… ) */
.rlist { border-bottom: 1px solid var(--line); }
.rlist > div { display: flex; flex-direction: column; gap: 8px; padding: 26px 0; border-top: 1px solid var(--line); }
.rlist .h4 { font-size: 24px; }

/* bordered card grid (Frameworks) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cards > * { background: var(--card); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cards > .soft { background: var(--card-2); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }

.chip { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--chip); color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.chip.live { background: var(--green); border-color: var(--green); color: #fff; padding: 4px 9px; }
.meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.row-sb { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* principles on dark */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.principles > div { padding-right: 32px; }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; } }
.principles > div { display: flex; flex-direction: column; gap: 12px; }
.principles .big { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.18; color: #fff; }
.principles .small { font-size: 15px; color: var(--on-dark); }

/* closing CTA */
.closing { text-align: center; }
.closing .wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 8px; padding-bottom: 8px; }
.closing .h2 { max-width: 820px; }
.closing .copy { max-width: 580px; }

/* screenshot frame (as on the BRSR Core page) */
.frame { background: var(--card-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(24, 32, 27, 0.35); }
.frame-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7d4c8; display: inline-block; }
.frame-bar span { margin-left: 8px; }
.frame img { width: 100%; height: auto; max-height: 640px; object-fit: cover; object-position: top center; }

/* view rows on Platform */
.view { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; align-items: start; padding: 64px 0; border-top: 1px solid var(--line); }
.view > .stack { padding-right: 64px; padding-top: 8px; }
.sec-head + .view { border-top: 0; padding-top: 0; }
.view .stack { display: flex; flex-direction: column; gap: 18px; }
.view ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.view li { display: flex; gap: 12px; font-size: 16px; line-height: 1.55; color: var(--body); }
.view li::before { content: ""; width: 7px; height: 7px; margin-top: 9px; flex: none; background: var(--green); }
@media (max-width: 860px) { .view { grid-template-columns: 1fr; } }

/* lineage chain */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); counter-reset: c; }
.chain li { position: relative; padding: 28px 22px 0 0; counter-increment: c; display: flex; flex-direction: column; gap: 10px; }
.chain li::before { content: counter(c, decimal-leading-zero); font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--green); }
.chain li::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--forest); }
.chain strong { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.25; }
.chain span { font-size: 15px; line-height: 1.55; color: var(--body); }
@media (max-width: 1080px) { .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 620px) { .chain { grid-template-columns: 1fr 1fr; } }

/* status legend */
.legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legend.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.legend > div { display: flex; gap: 12px; padding: 22px 0; }
.legend .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; flex: none; }
.legend .dot.full { background: var(--forest); }
.legend .dot.ring { border: 1.5px solid var(--forest); }
.legend .dot.half { background: linear-gradient(90deg, var(--forest) 50%, transparent 50%); border: 1.5px solid var(--forest); }
.legend .dot.dash { height: 2px; border-radius: 0; margin-top: 11px; background: var(--forest); }
.legend strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.legend span { font-size: 15px; line-height: 1.55; color: var(--body); }

/* who-does-what table */
.who { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.who th, .who td { text-align: left; vertical-align: top; padding: 20px 24px; border-bottom: 1px solid var(--line-2); font-size: 15.5px; line-height: 1.55; color: var(--body); }
.who thead th { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); background: var(--card-2); border-bottom: 1px solid var(--line); }
.who tbody th { font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--ink); width: 22%; }
.who tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 760px) {
  .who thead { display: none; }
  .who, .who tbody, .who tr, .who th, .who td { display: block; width: 100%; }
  .who tr { padding: 18px 20px; border-bottom: 1px solid var(--line-2); }
  .who tbody tr:last-child { border-bottom: 0; }
  .who th, .who td { padding: 4px 0; border: 0; }
  .who td::before { content: attr(data-l); display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
}

/* timeline (Approach) */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); margin-left: 4px; }
.timeline li { position: relative; padding: 0 0 44px 40px; display: grid; grid-template-columns: calc(50% - 38px) 1fr; gap: 12px 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg-alt); border: 1.5px solid var(--forest); }
.timeline li.done::before { background: var(--forest); }
.timeline .when { display: flex; flex-direction: column; gap: 8px; }
.timeline .rule { display: block; margin-top: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--forest); border-left: 2px solid var(--focus); padding-left: 12px; }
@media (max-width: 860px) { .timeline li { grid-template-columns: 1fr; padding-left: 28px; } }

/* framework detail rows */
.fw { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 32px; padding: 64px 0; border-top: 1px solid var(--line); }
.fw .id { padding-right: 64px; }
.fw:first-child { border-top: 0; padding-top: 0; }
.fw .id { display: flex; flex-direction: column; gap: 16px; }
.fw .name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.fw .body { display: flex; flex-direction: column; gap: 22px; }
.fw dl { margin: 0; display: grid; grid-template-columns: 170px 1fr; border-top: 1px solid var(--line-2); }
.fw dt, .fw dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 15.5px; line-height: 1.55; }
.fw dt { color: var(--muted); font-size: 14px; padding-right: 20px; }
.fw dd { color: var(--ink); }
@media (max-width: 860px) { .fw { grid-template-columns: 1fr; } .fw dl { grid-template-columns: 1fr; } .fw dt { border-bottom: 0; padding-bottom: 0; } }

/* one record → many diagram */
.fan { width: 100%; height: auto; display: block; }

/* values (About) */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.values { column-gap: 32px; }
.values > div { padding: 30px 16px 6px 0; display: flex; flex-direction: column; gap: 12px; }
.values .h3 { font-size: 32px; }
@media (max-width: 960px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } .values > div { padding: 24px 0; border-bottom: 1px solid var(--line); } }
.quote { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.2; letter-spacing: -0.015em; max-width: 960px; color: #fff; }
.quote em { color: #bfe0cc; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.logos img { height: 48px; width: auto; filter: grayscale(1); opacity: 0.75; transition: filter .2s, opacity .2s; }
.logos img:hover { filter: none; opacity: 1; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .facts, .legend { grid-template-columns: 1fr 1fr; } }
.facts > div { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.facts .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.facts .v { font-size: 16px; line-height: 1.5; color: var(--ink); }

/* contact form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field label i { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #c9c6b8; border-radius: 10px; padding: 0 14px; min-height: 50px; width: 100%; }
.field textarea { padding: 12px 14px; min-height: 130px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); outline: 2px solid rgba(29, 74, 55, 0.15); outline-offset: 0; }
.field .err { min-height: 18px; font-size: 13px; color: #9b2c1f; }
.field.bad input, .field.bad select { border-color: #9b2c1f; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.form-status { margin: 0; font-size: 15px; color: var(--forest); }
.form-status.bad { color: #9b2c1f; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* legal pages */
.legal { max-width: 780px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.7; color: var(--body); }
.legal p { margin: 0 0 16px; }
.legal h2 { margin: 48px 0 16px; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.2; color: var(--ink); }
.legal h3 { margin: 40px 0 12px; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.25; color: var(--ink); }
.legal h4 { margin: 24px 0 8px; font-size: 16px; font-weight: 600; color: var(--ink); }
.legal ul, .legal ol { margin: 0 0 18px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal b, .legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--forest); text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 14.5px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--line); line-height: 1.5; color: var(--body); }
.legal th { background: var(--card-2); color: var(--ink); font-weight: 600; }
.legal .legal-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.legal .legal-intro { font-size: 18px; color: var(--ink); }
.legal .legal-divider { margin: 56px 0 6px; padding-top: 28px; border-top: 1px solid var(--ink); font-family: var(--serif); font-size: 28px; line-height: 1.2; color: var(--ink); }
.legal .legal-divider-sub { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.legal .upper { text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; font-weight: 600; color: var(--ink); }
.legal-wrap-outer { overflow-x: auto; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-foot { background: var(--bg); border-top: 1px solid var(--line); }
.site-foot .top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.site-foot .brand img { width: 32px; height: 32px; border-radius: 7px; }
.site-foot .brand span { font-size: 16px; }
.site-foot p { margin: 16px 0 0; max-width: 340px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.site-foot h4 { margin: 0 0 14px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-foot ul a { display: inline-block; padding: 6px 0; font-size: 14.5px; color: var(--body); text-decoration: none; }
.site-foot ul a:hover { color: var(--forest); }
.site-foot .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .site-foot .top { grid-template-columns: 1fr 1fr; } .site-foot .top > :first-child { grid-column: 1 / -1; } }

/* people (About) */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.person { display: grid; grid-template-columns: 112px 1fr; gap: 28px; padding: 36px 36px 36px 0; border-top: 1px solid var(--ink); }
.person img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; filter: saturate(.85); }
.person .who-is { display: flex; flex-direction: column; gap: 6px; }
.person .role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.person .h3 { font-size: 30px; }
.person p { margin: 14px 0 0; font-size: 16px; line-height: 1.62; color: var(--body); }
.person .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.person .in { margin-top: 16px; font-size: 14.5px; }
@media (max-width: 960px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .person { grid-template-columns: 1fr; padding-right: 0; } }

/* ── Homepage flow components ─────────────────────────────────────────── */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; font-size: 16.5px; line-height: 1.55; color: var(--body); }
.ticks li::before { content: ""; width: 7px; height: 7px; margin-top: 9px; flex: none; background: var(--green); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

.mtabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.mtab { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.mtab .n { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mtab[aria-selected="true"] { border-color: var(--forest); background: var(--forest); color: #fff; }
.mtab[aria-selected="true"] .n { color: #b9d3c3; }
.mpanel { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.mpanel > .stack { display: flex; flex-direction: column; gap: 18px; padding-right: 64px; padding-top: 8px; }
.mpanel[hidden] { display: none; }
.mpanel .frame { animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mpanel .frame { animation: none; } }
@media (max-width: 860px) { .mpanel { grid-template-columns: 1fr; } .mpanel > .stack { padding-right: 0; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14.5px; color: var(--ink); }
.chips span::before { content: ""; width: 6px; height: 6px; background: var(--green); }
.flow-label { margin: 0 0 16px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.serves { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.serves > div { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid var(--ink); }
.serves strong { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.25; }
.serves span { font-size: 15px; line-height: 1.55; color: var(--body); }
@media (max-width: 1020px) { .serves { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .serves { grid-template-columns: 1fr; } }

.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.caps > div { background: #fff; padding: 30px 26px 32px; display: flex; flex-direction: column; gap: 12px; }
.caps svg { width: 34px; height: 34px; color: var(--forest); }
.caps strong { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.25; }
.caps span { font-size: 15px; line-height: 1.55; color: var(--body); }
@media (max-width: 1020px) { .caps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--ink); padding-top: 32px; }
.stats > div { display: flex; flex-direction: column; gap: 10px; }
.stats b { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.stats span { font-size: 15px; line-height: 1.5; color: var(--body); }
@media (max-width: 1020px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ── Landing page (meet-edra) ─────────────────────────────────────────── */
.ps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ps > div { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--ink); }
.ps .q { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ps .h3 { font-size: 25px; }
.ps .tlink { margin-top: auto; align-self: flex-start; font-size: 15px; }
@media (max-width: 1020px) { .ps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ps { grid-template-columns: 1fr; } }
.mods { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.mod-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-right: 64px; }
.mod { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 20px 0 20px 20px; border: 0; border-bottom: 1px solid var(--line); border-left: 2px solid transparent; background: none; font: inherit; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.mod b { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.25; }
.mod span { font-size: 15px; line-height: 1.5; color: var(--body); }
.mod:hover { background: rgba(255, 255, 255, 0.45); }
.mod[aria-selected="true"] { border-left-color: var(--forest); background: #fff; }
.mod-view { animation: fadeUp .45s ease both; }
@media (max-width: 860px) { .mods { grid-template-columns: 1fr; } .mod-list { padding-right: 0; } }

/* ── Inner page hero: text left, page glyph animation right ───────────── */
.page-hero .wrap { grid-template-areas: "a g" "b g"; align-items: start; padding-bottom: 96px; }
.page-hero .stack { grid-area: a; align-self: end; }
.page-hero .side { grid-area: b; }
.page-hero .glyph { grid-area: g; align-self: center; }
.page-hero .glyph canvas { display: block; width: 100%; height: 560px; }
.page-hero .wrap:not(:has(.glyph)) { grid-template-areas: "a b"; align-items: end; }
@media (max-width: 860px) {
  .page-hero .wrap { grid-template-areas: "a" "b" "g"; padding-bottom: 56px; }
  .page-hero .glyph canvas { height: 380px; }
}
.closing { padding-bottom: 120px !important; }
@media (max-width: 720px) { .closing { padding-bottom: 84px !important; } }

/* Links that land on the form leave room for the top of the page */
#contact-form { scroll-margin-top: 24px; }
