/* ============================================================
   trivanceai.com — education-first preview (v2 rebrand pass)
   TRIVANCE AI brand. Palette (Kyle, authoritative):
     --green #59BE3B  primary accent (links, primary btn, active nav,
                      brand marks, highlights, chip numbers)
     --green-deep #126F4A secondary (secondary buttons, fills, hovers)
     --blue   #10466C structural deep blue (header/footer/hero, chrome)
     --chrome #0a1f33 very dark blue-black body canvas (brand family)
   NO grey body text. Card titles live OUTSIDE the white card.
   ============================================================ */

:root {
  /* ============ BRAND TOKENS (Kyle, authoritative — from the logo) ============
     --brand-primary:   #59BE3B  bright green  (logo primary — links, buttons, marks)
     --brand-secondary: #10466C  deep blue     (logo secondary — structural chrome)
     --brand-accent:    #126F4A  dark green    (logo accent — secondary buttons, fills)
     Use these three. Derive tints ONLY by mixing with white/black if ever needed.
     ======================================================================== */
  --brand-primary: #59BE3B;
  --brand-secondary: #10466C;
  --brand-accent: #126F4A;

  /* canvas + surfaces */
  --chrome: #0a1f33;     /* body canvas: deep blue-black, brand family */
  --blue: var(--brand-secondary);  /* structural deep blue: header, footer, bands */
  --blue-deep: #0d2b47;  /* darker blue-black block / hover canvas */
  --white: #ffffff;

  /* brand accents (aliased to brand tokens — change the token, whole site follows) */
  --green: var(--brand-primary);      /* PRIMARY accent — links, primary buttons, marks */
  --green-deep: var(--brand-accent);  /* secondary accent — secondary buttons, hovers */
  --green-lite: #8adc66; /* light green lift for hairlines / soft fills */

  /* text on white surfaces: never grey */
  --ink-strong: #111111;
  --ink-head: #1a1a1a;
  --ink-body: #222222;

  /* de-emphasized chrome on dark (white alpha only, never grey) */
  --chrome-soft: rgba(255, 255, 255, 0.82);

  /* white gradient hairline on dark canvas */
  --hairline: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);

  /* soft green hairline variant */
  --hairline-green: linear-gradient(90deg, transparent, var(--green), transparent);

  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", Times, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-ui);
  background: var(--chrome);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   Decorative brand shapes (blobs / field dots) drawn via CSS
   so no external assets are needed.
   ============================================================ */
.deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.deco .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.deco .b-green  { background: var(--brand-primary); }
.deco .b-blue   { background: var(--brand-secondary); }
.deco .b-lite   { background: var(--green-lite); }
.deco .b-deep   { background: var(--brand-accent); }

/* floating brand dots / node ring motif */
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--green);
  opacity: 0.22;
}
.deco-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.55;
}

/* ---------- preview ribbon ---------- */
.preview-bar {
  background: var(--green-deep);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 0.4rem 1rem;
  text-transform: uppercase;
}

/* ---------- layout ---------- */
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: 48rem; margin: 0 auto; padding: 0 1.5rem; }
.rel { position: relative; }

/* ---------- header / nav ---------- */
.site-header {
  background: #101F32;
  border-bottom: 2px solid transparent;
  border-image: var(--hairline-green) 1;
  position: relative;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  line-height: 0;
}
.brand img.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}
.brand .brand-dot { color: var(--green); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  color: rgba(255, 255, 255, 0.94);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.25rem 0;
  position: relative;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--green-lite); }
.site-nav a.active {
  color: var(--green);
  font-weight: 700;
}
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.28rem;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
}
.nav-burger span { display: block; height: 2px; background: #fff; border-radius: 2px; }

/* ---------- eyebrow (meta chrome) ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chrome-soft);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}
.eyebrow .eyebrow-ico { flex: 0 0 auto; display: inline-flex; }
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 2px;
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.eyebrow.on-white { color: var(--green-deep); }
.eyebrow.on-white::before { background: var(--green); }

/* ---------- typography on dark ---------- */
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 7px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--green); color: #06281a; }
.btn-primary:hover { background: var(--green-deep); color: #fff; }
.btn-secondary { background: var(--green-deep); color: #fff; }
.btn-secondary:hover { background: var(--blue); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--green-lite);
  border-color: rgba(89, 190, 59, 0.55);
}
.btn-ghost:hover { border-color: var(--green); background: rgba(89, 190, 59, 0.10); color: var(--green-lite); }
.btn-arrow::after { content: "\2192"; margin-left: 0.35rem; }

.link {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  font-weight: 600;
}
.link:hover { color: var(--green-lite); }
.link-arrow::after { content: "\2192"; margin-left: 0.4rem; }

/* ---------- white gradient hairline ---------- */
.hairline {
  border: 0;
  height: 1px;
  background: var(--hairline);
  margin: 0 auto;
}
.hairline.thick { height: 2px; }

/* ---------- hero (home) ---------- */
.hero { padding: clamp(4.5rem, 11vw, 8.5rem) 0 0; position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; }
.hero-title {
  color: #fff;
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 17ch;
}
.hero-sub {
  color: #fff;
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  line-height: 1.5;
  max-width: 40rem;
  margin-top: 1.8rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.6rem 2.2rem;
  margin-top: 2.6rem;
}
.secondary-cta { display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; }
.cta-note { font-size: 0.85rem; color: var(--chrome-soft); }

/* ---------- proof chips (count-first) ---------- */
.proof { padding: 3.2rem 0 1rem; position: relative; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.6rem, 6vw, 4.5rem);
  padding: 0.5rem 0 0.5rem;
}
.chip { display: flex; flex-direction: column; align-items: flex-start; }
.chip .num {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--green);
}
.chip .label {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.chip .label svg { opacity: 0.9; }
.proof-note { margin-top: 1.4rem; font-size: 0.95rem; }

/* ---------- section rhythm on dark ---------- */
.home-section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-rule { margin-bottom: clamp(4rem, 8vw, 6.5rem); }

/* Card title OUTSIDE the white card (authoritative) */
.card-title {
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

/* ---------- white cards on dark canvas ---------- */
.card {
  background: var(--white);
  color: var(--ink-body);
  border-radius: 12px;
  padding: clamp(1.8rem, 3.4vw, 3rem);
  border-top: 4px solid var(--green);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
}
.card h3 {
  color: var(--ink-head);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.card p { color: var(--ink-body); }
.card p + p { margin-top: 0.9rem; }
.card .card-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card .card-kicker svg { opacity: 0.9; }
.card .card-actions { margin-top: 1.8rem; display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }

/* feature card inner split */
.feature-split { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.feature-split .card-actions { margin-top: 1.6rem; }

/* feature card icon block */
.card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background:
    radial-gradient(circle at 70% 20%, rgba(89, 190, 59, 0.28), transparent 60%),
    linear-gradient(160deg, var(--blue), var(--blue-deep));
  padding: 1.6rem;
}
.card-visual svg { width: 64px; height: 64px; }

/* light-surface step list (white surface pages) */
.steps { list-style: none; padding: 0; margin: 1.6rem 0 1rem; }
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 0;
  border: none;
}
.steps li + li { margin-top: 1.4rem; }
.step-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  background: linear-gradient(150deg, var(--green), var(--green-deep));
  color: #fff;
  flex: 0 0 auto;
}
.step-ico svg { width: 22px; height: 22px; }
.steps strong { color: var(--ink-head); display: inline; }
.meta-pill {
  background: rgba(89,190,59,0.14);
  color: #eaffdd;
  border: 1px solid rgba(89,190,59,0.45);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  white-space: nowrap;
}


/* ---------- glyph badges (brand icon chips) ---------- */
.glyph {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.glyph svg { width: 30px; height: 30px; }
.glyph-green {
  background: linear-gradient(150deg, var(--green), var(--green-deep));
  color: #fff;
}
.glyph-blue {
  background: linear-gradient(150deg, var(--blue), var(--blue-deep));
  color: var(--green-lite);
}
.glyph-lite {
  background: rgba(89, 190, 59, 0.14);
  color: var(--green-deep);
  border: 1px solid rgba(89, 190, 59, 0.4);
}
/* a badge that floats on a white card */
.card-badge {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}
.card-badge .badge-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink-head);
  letter-spacing: -0.01em;
}


/* ---------- mastheads (subpages, dark canvas) ---------- */
.masthead { padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5rem); position: relative; overflow: hidden; }
.masthead .wrap-narrow, .masthead .wrap { position: relative; z-index: 2; }
.masthead h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.2vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 24ch;
}
.masthead-dek {
  color: #fff;
  font-size: clamp(1.08rem, 1.9vw, 1.3rem);
  line-height: 1.6;
  max-width: 46rem;
  margin-top: 1.7rem;
}
/* essay masthead: kicker, serif title + dek (moved from inline styles) */
.essay-kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.kicker-line {
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-deep));
  border-radius: 2px;
  display: inline-block;
  flex: 0 0 auto;
}
.kicker-label {
  color: var(--green-lite);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.essay-title {
  font-family: var(--font-serif);
  font-weight: 700;
}
.essay-dek {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
}
.masthead-meta {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--chrome-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
}
.masthead-meta .meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(89, 190, 59, 0.14);
  border: 1px solid rgba(89, 190, 59, 0.35);
  color: var(--green-lite);
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

/* ---------- white reading surface ---------- */
.surface { background: var(--white); color: var(--ink-body); }
.surface-inner { max-width: 44rem; margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) 1.5rem; }


/* whitepaper: code blocks on the cream reading surface */
.essay-body pre {
  background: #0e1c2e;
  color: #dce6ee;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.86rem;
  line-height: 1.6;
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
  overflow-x: auto;
  margin: 1.4rem 0;
  border: 1px solid rgba(89, 190, 59, 0.25);
}
.essay-body pre code { background: transparent; padding: 0; font-size: inherit; color: inherit; }
.essay-body code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.86em;
  background: rgba(16, 70, 108, 0.08);
  border-radius: 5px;
  padding: 0.12em 0.35em;
  color: #0d4a35;
}
.essay-body h1 { font-family: var(--font-serif); color: var(--ink-head); font-size: 1.9rem; line-height: 1.3; margin: 2rem 0 1rem; }
.essay-body h3 { font-family: var(--font-serif); color: var(--ink-head); font-size: 1.32rem; margin-top: 1.8rem; }
.essay-body ul, .essay-body ol { margin: 1rem 0 1rem 1.4rem; }
.essay-body li { margin: 0.4rem 0; }
.essay-body blockquote { border-left: 3px solid var(--green-deep); margin: 1.4rem 0; padding: 0.4rem 1.2rem; color: var(--ink-body); background: rgba(89,190,59,0.06); border-radius: 0 8px 8px 0; }
.essay-body hr { border: 0; border-top: 1px solid rgba(0,0,0,0.15); margin: 2.4rem 0; }
.essay-body a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 2px; }
.essay-body strong { color: var(--ink-head); }

/* essay body */
.essay-body { font-family: var(--font-serif); font-size: 1.19rem; line-height: 1.82; }
.essay-body .lede {
  font-size: 1.32rem;
  line-height: 1.62;
  color: var(--ink-strong);
}
.essay-body h2 {
  font-family: var(--font-serif);
  color: var(--ink-head);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 2.6rem 0 1.1rem;
}
.essay-body h2:first-child { margin-top: 0; }
.essay-body p { margin: 1.15rem 0; color: var(--ink-body); }
.essay-body strong { color: var(--ink-strong); font-weight: 700; }
.essay-body em { color: var(--ink-strong); }
.essay-body ol, .essay-body ul { margin: 1.2rem 0 1.4rem; padding-left: 1.35rem; }
.essay-body li { margin: 0.7rem 0; }
.essay-body li::marker { color: var(--green-deep); font-weight: 700; }
.essay-body a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.essay-body a:hover { color: var(--green); }

/* pull quote */
.pullquote {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--blue);
  margin: 2.6rem 0;
  padding: 1.6rem 0 1.6rem 1.5rem;
  border-left: 4px solid var(--green);
  background: linear-gradient(90deg, rgba(89, 190, 59, 0.08), transparent 70%);
  border-radius: 0 12px 12px 0;
}
.pullquote em { color: var(--blue); }

.essay-closer {
  font-size: 1.22rem;
  color: var(--ink-strong);
  border-top: 2px solid var(--green);
  margin-top: 3rem;
  padding-top: 2rem;
}

/* ---------- collapsible sources ---------- */
.sources { margin-top: 2.6rem; border-top: 1px solid rgba(0, 0, 0, 0.15); padding-top: 1.4rem; }
.sources summary {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-head);
  cursor: pointer;
  list-style-position: inside;
  user-select: none;
}
.sources summary::-webkit-details-marker { color: var(--green); }
.sources summary:hover { color: var(--green-deep); }
.sources[open] summary { margin-bottom: 1rem; }
.sources p { font-family: var(--font-serif); font-size: 1.02rem; margin-bottom: 1rem; }
.sources ul { list-style: none; padding: 0; }
.sources li {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0.85rem;
  padding-left: 1.1rem;
  position: relative;
}
.sources li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--green);
}

/* ---------- dark CTA band (blue brand band) ---------- */
.band {
  background:
    radial-gradient(circle at 15% 20%, rgba(89, 190, 59, 0.16), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(16, 70, 108, 0.6), transparent 50%),
    var(--blue);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.band-center { text-align: center; position: relative; z-index: 2; }
.band h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.band-center h2 { margin: 0 auto; }
.band p { color: rgba(255, 255, 255, 0.94); margin: 1.2rem auto 0; max-width: 38rem; }
.band .band-actions { margin-top: 2.2rem; display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: center; align-items: center; }

/* ---------- generic white-surface prose pages ---------- */
.prose h2 {
  color: var(--ink-head);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 2.4rem 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.prose h3 { color: var(--ink-head); font-size: 1.2rem; font-weight: 700; margin: 1.6rem 0 0.5rem; }
.prose p { margin: 1rem 0; color: var(--ink-body); }
.prose ul, .prose ol { margin: 1rem 0 1.2rem; padding-left: 1.4rem; }
.prose li { margin: 0.55rem 0; }
.prose li::marker { color: var(--green-deep); font-weight: 700; }
.prose a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--green); }
.prose .big-lead { font-size: 1.28rem; line-height: 1.6; color: var(--ink-strong); }
.prose .sub-lead { color: var(--ink-strong); }

/* numbered / icon steps (workshop, playbook) on white surface */
.steps { list-style: none; padding-left: 0 !important; margin: 1.6rem 0 2.2rem; }
.steps li {
  display: flex;
  gap: 1.1rem;
  margin: 1.5rem 0;
  padding: 1.2rem 1.2rem 1.2rem 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  background: rgba(89, 190, 59, 0.045);
}
.steps .step-ico { flex: 0 0 auto; }
.steps .step-ico svg { width: 34px; height: 34px; }
.steps .step-body strong { color: var(--ink-head); }
.steps .step-body p, .steps .step-body { color: var(--ink-body); }
.steps .step-body p { margin: 0.2rem 0 0; }

/* fact strip on white */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: 1.6rem 0;
  margin: 2rem 0;
}
.fact-strip .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-deep);
  letter-spacing: -0.03em;
  line-height: 1;
}
.fact-strip .label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-top: 0.4rem;
}

/* ---------- contact doors card ---------- */
.door-list { list-style: none; padding-left: 0 !important; }
.door-list li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.door-list li:first-child { padding-top: 0.4rem; }
.door-list li:last-child { border-bottom: 0; padding-bottom: 0.2rem; }
.door-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.door-value { font-size: 1.15rem; font-weight: 700; color: var(--ink-head); }
.door-note { font-size: 0.95rem; color: var(--ink-body); }
.door-value a { color: var(--ink-head); text-decoration: none; }
.door-value a:hover { color: var(--green-deep); }
.door-note a { color: var(--green-deep); }
/* playbook "what's in it" rows: icon chip above text */
.door-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: var(--green-deep);
  background: rgba(89, 190, 59, 0.13);
  border: 1px solid rgba(89, 190, 59, 0.35);
  margin-bottom: 0.5rem;
}
.door-ico svg { width: 24px; height: 24px; }
.door-ico .door-img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  object-fit: cover;
  display: block;
}
/* playbook masthead path banner */
.pb-path {
  margin: clamp(1.8rem, 3.5vw, 2.6rem) auto 0;
  max-width: 52rem;
}
.pb-path .img-frame { border-radius: 18px; }
.door-text { display: flex; flex-direction: column; gap: 0.3rem; }

/* playbook "what's in it" hero graphic (replaces standing cover + icon rows) */
.pb-hero {
  margin: clamp(1.6rem, 3vw, 2.4rem) auto 0;
  max-width: 60rem;
}
.pb-hero .img-frame { border-radius: 18px; display: block; width: 100%; height: auto; }

/* numbered move rows inside the what's-in-it card */
.door-list.pb-moves li { padding: 1.15rem 0; }
.door-num {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: var(--green-deep);
  border-radius: 7px;
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
}

/* ---------- playbook accents (green family replaces orange) ---------- */
.pb-link { color: var(--green-deep); }
.pb-link:hover { color: var(--green); }
.btn-orange { background: var(--green-deep); color: #fff; }
.btn-orange:hover { background: var(--blue); color: #fff; }
.pb-note { color: var(--chrome-soft); }
.eyebrow.eyebrow-orange::before { background: var(--green); }

/* pb form card */
.pb-form { margin-top: 0.4rem; }
.pb-form .btn { margin-top: 0.2rem; }

/* form */
.field { margin-bottom: 1.1rem; }
.field input[type="email"] {
  width: 100%;
  padding: 0.85rem 1rem;
  font: 500 1rem var(--font-ui);
  color: var(--ink-strong);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 6px;
}
.field input:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.form-note { font-size: 0.85rem; margin-top: 0.8rem; color: var(--ink-body); }

/* ---------- writing index ---------- */
.post-item { padding: 1.6rem 0; border-bottom: 1px solid rgba(0, 0, 0, 0.12); position: relative; }
.post-item:last-child { border-bottom: 0; }
.post-meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.post-item h3 { color: var(--ink-head); font-size: 1.45rem; font-weight: 800; margin: 0.5rem 0 0.4rem; }
.post-item p { color: var(--ink-body); max-width: 44rem; }
.post-item .link { margin-top: 0.9rem; display: inline-block; }
.post-item.placeholder { opacity: 0.82; }
.post-item.placeholder h3 { color: var(--ink-head); }

/* ---------- footer (brand deep blue) ---------- */
.site-footer {
  background:
    radial-gradient(circle at 8% 0%, rgba(89, 190, 59, 0.10), transparent 40%),
    var(--blue);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 3.5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-grid .brand { font-size: 0.95rem; display: inline-block; }
.footer-brand {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  text-decoration: none;
}
.footer-brand:hover { color: var(--green-lite); }
.footer-tag { margin-top: 0.9rem; color: rgba(255, 255, 255, 0.85); max-width: 26rem; font-size: 0.95rem; }
.footer-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-lite);
  margin-bottom: 1rem;
}
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 0.55rem; }
.footer-list a { color: rgba(255, 255, 255, 0.92); text-decoration: none; font-size: 0.95rem; }
.footer-list a:hover { color: var(--green-lite); }
.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 1.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 820px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 1rem 1.25rem; row-gap: 0.6rem; }
  .nav-burger { display: flex; margin-left: auto; }
  .brand img.brand-logo { height: 34px; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    padding: 0.7rem 0 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .site-nav a { padding: 0.6rem 0; font-size: 1.08rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .site-nav a.active::after { display: none; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .card { padding: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ============================================================
   Real imagery pass (v2 preview) — premium editorial frames.
   Real photos are feature visuals, not wallpaper: generous
   spacing, rounded corners, subtle ring/shadow, no distortion.
   ============================================================ */

/* shared premium photo frame: rounded 16px + soft green ring + lift */
.img-frame {
  display: block;
  width: 100%;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(89, 190, 59, 0.20),
    0 0 0 7px rgba(16, 70, 108, 0.28),
    0 34px 70px -26px rgba(0, 0, 0, 0.85);
}
.img-frame img {
  display: block;
  width: 100%;
  border-radius: inherit;
}
.photo { margin: 0; }

/* ---------- home hero split: copy left, real visual right ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-media { min-width: 0; }

/* ---------- essay banner (wide, under byline, on dark) ---------- */
.masthead.has-banner { padding-bottom: clamp(2.2rem, 5vw, 3.2rem); }
.essay-banner {
  position: relative;
  z-index: 2;
  max-width: 48rem;          /* align with the masthead text column (.wrap-narrow) */
  margin: clamp(2.2rem, 4vw, 3.2rem) auto 0;
  padding: 0 1.5rem;         /* same side padding as .wrap-narrow */
}

/* ---------- workshop: room visual split masthead ---------- */
.ws-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.ws-copy { min-width: 0; }
.ws-media { min-width: 0; }

/* ---------- about: artifact photo split inside white card ---------- */
.card.card-split {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(1.6rem, 3.4vw, 2.8rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.card-split-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(89, 190, 59, 0.18),
    0 0 0 5px rgba(16, 70, 108, 0.22),
    0 22px 44px -18px rgba(0, 0, 0, 0.55);
}
.card-split-body { min-width: 0; }

/* ---------- playbook: standing cover beside the what's-in-it card ---------- */
.pb-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.pb-cover-wrap { display: flex; justify-content: center; }
.pb-cover {
  margin: clamp(0.4rem, 2vw, 1.4rem) 0 0;
  width: min(100%, 320px);
  transform: rotate(-1.6deg);
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.45));
}
.pb-cover img {
  display: block;
  width: 100%;
  border-radius: 4px 14px 14px 4px;
  box-shadow:
    0 0 0 1px rgba(89, 190, 59, 0.16),
    0 0 0 5px rgba(16, 70, 108, 0.20);
}
.pb-cover-note { display: none; }

/* ---------- responsive: imagery layouts ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .ws-split,
  .pb-showcase { grid-template-columns: 1fr; }
  .hero-media { max-width: 36rem; justify-self: center; }
  .ws-media { max-width: 40rem; justify-self: center; }
  .pb-cover { margin: 0 auto clamp(1rem, 3vw, 1.6rem); transform: rotate(-1deg); }
}

@media (max-width: 780px) {
  .card.card-split {
    grid-template-columns: 1fr;
    padding: 1.6rem;
  }
  .card-split-media { max-width: 24rem; margin: 0 auto; }
}


/* ============================================================
   POLISH PASS v1 (2026-09-03, Director review w/ vision)
   ============================================================ */

/* 1. preview bar: quieter, readable */
.preview-bar {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.72);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* 2. contrast: small chrome labels brighter + slightly larger */
:root {
  --chrome-soft: rgba(255, 255, 255, 0.92);
}
.eyebrow { font-size: 0.82rem; color: var(--chrome-soft); }
.chip .label { font-size: 0.82rem; color: rgba(255,255,255,0.94); }
.cta-note { font-size: 0.92rem; color: rgba(255,255,255,0.9); }
.masthead-meta { color: rgba(255,255,255,0.92); }
.masthead-meta .meta-pill {
  color: #fff;
  background: rgba(89,190,59,0.22);
  border-color: rgba(89,190,59,0.7);
  font-size: 0.84rem;
}

/* 3. hero: give visual a defined frame so it doesn't dangle */

/* papers: whitepaper teaser visual inside the coming card */
.wp-teaser { margin: 0 0 1.2rem; }
.wp-teaser .img-frame { max-width: 26rem; }
.post-item.coming figure img { display: block; }

/* about: homelab proof photo under the architecture card */
.about-lab {
  margin: 1.8rem auto 0;
  max-width: 26rem;
  text-align: center;
}
.about-lab figcaption {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}
.about-lab .img-frame { border-radius: 14px; }


/* home hero image: native 16:9 (generated art has its own canvas), no side crop */
.hero-media .img-frame.home-hero-img { aspect-ratio: 16 / 9; }
.hero-media { position: relative; }
.hero-mark {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  width: auto;
  height: 45px;
  opacity: 0.92;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-mark { right: 50%; transform: translateX(50%); }
}

.hero { padding-bottom: clamp(3rem, 7vw, 5rem); }
.hero-grid { align-items: center; }
.hero-media { display: flex; align-items: center; }
.hero-media .img-frame { aspect-ratio: 16 / 10; object-fit: cover; }

/* 4. proof rhythm tighter */
.proof { padding: 2.4rem 0 1rem; }
.chip .num { text-shadow: none; }

/* 5. essay feature card: no duplicate H3, button not stranded */
.feature-split { grid-template-columns: 1fr; align-items: start; }
.feature-split .card-actions { margin-top: 1.2rem; justify-content: flex-start; }
.feature-split .card-actions .btn { align-self: flex-start; }

/* 6. grid-2 cards equal height + aligned bottoms */
.grid-2 { align-items: stretch; }
.grid-2 > div { display: flex; flex-direction: column; }
.grid-2 .card { flex: 1 1 auto; display: flex; flex-direction: column; }
.grid-2 .card .card-actions { margin-top: auto; padding-top: 1.2rem; }

/* 6b. essay card summary lead (H3 was redundant with hero) */
.card-summary {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink-strong);
  margin-bottom: 0.9rem;
}

/* 7. workshop: bigger, framed photo + pill contrast */
.ws-split { align-items: center; }
.ws-media { display: flex; align-items: center; }
.ws-media .img-frame { aspect-ratio: 4 / 3; object-fit: cover; }
.meta-pill { color: #fff; background: rgba(89,190,59,0.22); border-color: rgba(89,190,59,0.7); }

/* 8. about: equal visual weight across artifact cards */
.card.card-split { align-items: center; }

/* 9. directory visual: brand panel matching photo squares */
.dir-visual {
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 1 / 1; border-radius: 14px;
  background:
    radial-gradient(circle at 70% 20%, rgba(89,190,59,0.30), transparent 60%),
    linear-gradient(160deg, var(--brand-secondary), var(--blue-deep));
  box-shadow:
    0 0 0 1px rgba(89,190,59,0.18),
    0 0 0 5px rgba(16,70,108,0.22),
    0 22px 44px -18px rgba(0,0,0,0.55);
}
.dir-visual svg { width: 58%; height: 58%; color: #fff; opacity: 0.95; }

/* 10. essay masthead: tighter before banner */
.masthead.has-banner { padding-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.essay-banner { margin-top: clamp(1.4rem, 2.6vw, 2rem); }
.masthead-meta { gap: 0.4rem 1.4rem; }

/* 11. playbook: banner constrained to text column, cover straight */
.pb-path { max-width: 48rem; margin-top: clamp(1.4rem, 2.6vw, 2rem); }
.pb-path .img-frame { aspect-ratio: 2.6 / 1; object-fit: cover; object-position: right center; }
.pb-cover { transform: rotate(0deg); }
.pb-cover img { box-shadow: 0 22px 40px -20px rgba(0,0,0,0.5); }

/* 12. disabled button honest state */
.btn:disabled, .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  filter: saturate(0.55);
}
.form-note { font-size: 0.9rem; color: var(--ink-body); }

/* 13. writing page: make post list feel like real cards, placeholders ghosted */
.post-item {
  padding: 2rem 1.8rem;
  margin-bottom: 1.6rem;
  border: 1px solid rgba(0,0,0,0.10);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  background: #fff;
}
.post-item.placeholder {
  opacity: 1;
  border-left-color: rgba(0,0,0,0.18);
  background: linear-gradient(180deg, #fff, rgba(89,190,59,0.03));
}
.post-item.placeholder h3 { color: var(--ink-head); opacity: 0.75; }
.post-item.placeholder p { opacity: 0.8; }
.post-item.placeholder .post-meta { color: rgba(18,111,74,0.75); }

/* 14. contact: align doors card with heading grid, buttons even */
.home-section .card { width: 100%; }
.band-actions .btn { min-width: 0; }
.door-label { color: var(--green-deep); opacity: 0.95; }

/* 15. footer link contrast */
.footer-list a { color: rgba(255,255,255,0.94); }
.footer-tag { color: rgba(255,255,255,0.9); }

/* 16. essay FAQ section (schema-aligned Q&A, same reading surface) */
.essay-faq { margin-top: 3rem; padding-top: 1rem; border-top: 2px solid rgba(17, 17, 17, 0.12); }
.essay-faq h2 { margin-bottom: 0.4rem; }
.essay-faq h3 { font-family: var(--font-serif); color: var(--ink-head); font-size: 1.42rem; margin: 2rem 0 0.2rem; }
.essay-faq .faq-a { color: var(--ink-body); }

/* ============================================================
   COMPANY PAGE REBUILD (pixel, 2026-09) — index / about / papers
   New building blocks only. Existing component styles untouched.
   ============================================================ */

/* 3-up grid used for origin beats, practice/proof triads, offers */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 3vw, 2.5rem);
  align-items: stretch;
}
.grid-3 > div { display: flex; flex-direction: column; }

/* section intro rule that carries the brand triad */
.section-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}
.section-eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--green);
  border-radius: 2px;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

/* white visual panel (transparent logo sits on white so brand navy reads) */
.visual-panel {
  background: #fff;
  border-radius: 16px;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(89, 190, 59, 0.20),
    0 0 0 7px rgba(16, 70, 108, 0.28),
    0 34px 70px -26px rgba(0, 0, 0, 0.85);
}
.visual-panel img { width: 100%; height: auto; display: block; }
.visual-panel img.logo-wide { max-width: 460px; margin: 0 auto; }

/* editorial subheading used on the dark canvas (serif, per house style) */
.ed-heading {
  color: #fff;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 1.1rem;
}
.ed-heading .accent-g { color: var(--green); }
.ed-heading .accent-d { color: var(--green-lite); }
.ed-heading .accent-b { color: var(--green-lite); }
.ed-lead {
  color: #fff;
  font-size: clamp(1.1rem, 1.9vw, 1.32rem);
  line-height: 1.6;
  max-width: 46rem;
}

/* brand lockup anchor inside a section (logo on dark is risky; used on light) */
.tri-anchor { margin: 0 0 1.4rem; }

/* practice triad cards that make up the home "spine" */
.practice {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(1.6rem, 3.4vw, 2.8rem);
  align-items: start;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.practice:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.practice-label { position: relative; top: 0.15rem; }
.practice-label .pnum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem; height: 2.1rem;
  border-radius: 8px;
  background: rgba(89, 190, 59, 0.14);
  color: var(--green-lite);
  border: 1px solid rgba(89, 190, 59, 0.4);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.practice-label .pnum.deep  { background: rgba(18,111,74,0.35); border-color: rgba(89,190,59,0.5); }
.practice-label .pnum.blue  { background: rgba(16,70,108,0.6); border-color: rgba(89,190,59,0.4); color: var(--green-lite); }
.practice-name {
  font-family: var(--font-serif);
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.practice-sub { font-size: 0.9rem; color: rgba(255,255,255,0.92); line-height: 1.5; max-width: 20rem; }

/* card top-border accent echoes the practice color (readable on white) */
.card-edge-g   { border-top-color: var(--green); }
.card-edge-d   { border-top-color: var(--green-deep); }
.card-edge-b   { border-top-color: var(--blue); }

/* proof-of line inside practice / offer cards */
.proof-line {
  color: var(--green-deep);
  font-weight: 600;
  margin-top: 1.1rem;
}
.proof-line strong { color: var(--green-deep); }

/* offer kicker label */
.offer-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

/* papers page: "coming" whitepaper teaser is a real card, quieter */
.post-item.coming .post-meta {
  color: var(--green-deep);
}
.post-item.coming h3 { font-family: var(--font-serif); }
.tag-coming {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green-deep);
  border-radius: 999px;
  padding: 0.16rem 0.7rem;
  margin-left: 0.6rem;
  vertical-align: middle;
}

/* about: architecture map (label + description rows, light) */
.arch-map { list-style: none; margin: 0; padding: 0; }
.arch-map li {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: baseline;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
}
.arch-map li:first-child { border-top: 0; }
.arch-label {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink-head);
}
.arch-desc { color: var(--ink-body); font-size: 1rem; line-height: 1.6; }
.arch-desc .accent-deep { color: var(--green-deep); font-weight: 600; }
.arch-desc .accent-blue { color: var(--green-deep); font-weight: 600; }

/* about: four teaching principles, 2x2 */
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.6rem, 3vw, 2.5rem); align-items: stretch; }
/* equal title shelf + equal-height cards so both cards in a row start and end on the same line
   (a 2-line title next to a 1-line title must not push its card higher) */
@media (min-width: 761px) {
  .principle-grid > div { display: flex; flex-direction: column; min-width: 0; }
  .principle-grid .card-title { line-height: 1.15; min-height: 2.3em; }
  .principle-grid .card { flex: 1 1 auto; }
}
.principle { display: flex; flex-direction: column; }

@media (max-width: 980px) {
  .practice { grid-template-columns: 1fr; }
  .arch-map li { grid-template-columns: 1fr; gap: 0.4rem; }
}
@media (max-width: 760px) {
  .grid-3, .principle-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   HOME HERO: Review CTA under the hero visual (2026-09-08)
   The hero-media figure is wrapped in .hero-media-col so the
   blue-green readiness button sits under the image and the
   wrapper inherits the grid-centering the figure used to own.
   ============================================================ */
.hero-media-col { min-width: 0; display: flex; flex-direction: column; gap: 1.15rem; align-items: stretch; }

.btn-review {
  background: #23b8a6;            /* blue-green: sits between brand green #59BE3B and brand blue #10466C */
  color: #06281a;
  border: 1px solid rgba(6, 40, 26, 0.25);
  box-shadow: 0 10px 26px -14px rgba(35, 184, 166, 0.55);
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn-review:hover { background: #1a9585; color: #fff; box-shadow: 0 14px 30px -14px rgba(35, 184, 166, 0.8); }
.hero-media-col .btn-review { width: 100%; align-self: stretch; text-align: center; line-height: 1.35; }

@media (max-width: 900px) {
  .hero-media-col { max-width: 36rem; justify-self: center; }
}
