/* ───────────────────────── DESIGN SYSTEM ───────────────────────── */
:root {
  /* Color · disciplined executive palette */
  --paper:        #ffffff;
  --canvas:       #f6f7fa;   /* cool near-white with navy undertone */
  --canvas-deep:  #e9ecf2;
  --ink:          #0e1a2e;   /* primary text */
  --navy:         #0b1d3a;   /* primary surface */
  --navy-2:       #14264a;
  --navy-3:       #1e3358;
  --slate:        #4a5468;
  --slate-soft:   #8a93a4;
  --slate-faint:  #b8bdc7;
  --hairline:     #e6e8ee;
  --hairline-2:   #d4d8e1;
  --gold:         #c8a96e;
  --gold-soft:    #e6d6b0;
  --gold-deep:    #a48650;
  --gold-tint:    #f5efde;

  /* Type */
  --serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Rhythm */
  --container: 1180px;
  --gutter: 56px;
  --rhythm: 96px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  /* Legacy aliases used by inline styles inside case-study / prompt-library pages */
  --white: var(--paper);
  --off-white: var(--canvas);
  --bg: var(--canvas);
  --navy-mid: var(--navy-2);
  --slate-light: var(--slate-soft);
  --slate-dim: var(--slate-faint);
  --border: var(--hairline);
  --accent-blue: var(--navy-2);
  --accent-light: var(--gold-tint);
  --accent-mid: var(--gold-soft);
  --gold-light: var(--gold-tint);
  --gold-mid: var(--gold-soft);

}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--navy); color: var(--gold-soft); }

/* ───────────────────────── NAV ───────────────────────── */
nav.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline);
  height: 72px;
}
.topnav-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter); height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.brand-mark {
  width: 38px; height: 38px;
  background: var(--navy); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 15px; font-weight: 500;
  border-radius: 2px;
  letter-spacing: 0.02em;
}
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); line-height: 1;
}
.brand-role {
  font-family: var(--serif); font-style: italic;
  font-size: 12px; color: var(--slate-soft);
  letter-spacing: 0.01em; line-height: 1;
}
.nav-links { display: flex; gap: 20px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--slate);
  letter-spacing: 0.04em;
  cursor: pointer; transition: color 0.2s var(--ease);
  position: relative;
}
.nav-links a:not(.nav-cta):hover { color: var(--navy); }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--gold); transform: scaleX(0);
  transform-origin: left center; transition: transform 0.25s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--navy); color: var(--paper) !important;
  padding: 11px 22px; border-radius: 3px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-cta:hover { background: var(--navy-3); transform: translateY(-1px); }

/* ───────────────────────── PAGES ───────────────────────── */
.page { display: none; min-height: 100vh; padding-top: 72px; }
.page.active { display: block; }

/* ───────────────────────── SHARED PRIMITIVES ───────────────────────── */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--rhythm) 0; }
.section-tight { padding: 72px 0; }

.eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ""; display: block; width: 32px; height: 1px;
  background: var(--gold);
}

.title-display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.title-display em { font-style: italic; font-weight: 400; color: var(--navy-2); }

.title-section {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.title-section em { font-style: italic; font-weight: 400; color: var(--navy-2); }

.lede {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.75;
  max-width: 56ch;
}

/* gold hairline divider */
.rule-gold {
  width: 100%; max-width: var(--container); margin: 0 auto;
  border: 0; border-top: 1px solid var(--hairline-2);
}
.rule-gold-thin {
  border: 0; border-top: 1px solid var(--gold-soft); opacity: 0.7;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 3px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer; transition: all 0.25s var(--ease);
  text-decoration: none;
}
.btn-primary { background: var(--navy); color: var(--paper); }
.btn-primary:hover { background: var(--navy-3); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(11,29,58,0.18); }
.btn-secondary {
  background: transparent; color: var(--navy);
  border-color: rgba(11,29,58,0.22);
}
.btn-secondary:hover { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-deep); color: var(--paper); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ───────────────────────── HERO ───────────────────────── */
.hero {
  padding: 88px 0 64px;
  position: relative;
  background:
    linear-gradient(180deg, var(--canvas) 0%, var(--paper) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(200,169,110,0.06), transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 72px;
  align-items: end;
}
.hero-headshot {
  width: 240px; height: 290px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--canvas-deep);
  position: relative;
  box-shadow: 0 30px 60px -25px rgba(11,29,58,0.25);
  animation: fadeUp 0.8s var(--ease) 0.25s both;
}
.hero-headshot img { width: 100%; height: 100%; object-fit: cover; }
.hero-headshot::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(11,29,58,0.08);
  border-radius: 4px; pointer-events: none;
}
.hero h1 { margin: 16px 0 14px; animation: fadeUp 0.8s var(--ease) 0.15s both; }
.hero h1 .mba {
  font-family: var(--sans);
  font-size: 0.45em;
  font-weight: 400;
  color: var(--slate-soft);
  letter-spacing: 0.08em;
  margin-left: 8px;
  vertical-align: 0.35em;
  text-transform: uppercase;
}
.hero-role {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  font-style: italic;
  font-weight: 400;
  color: var(--navy-2);
  margin-bottom: 24px;
  animation: fadeUp 0.8s var(--ease) 0.25s both;
}
.hero-skills {
  margin: 0 0 28px;
  padding: 18px 0 20px;
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
  animation: fadeUp 0.8s var(--ease) 0.3s both;
  position: relative;
}
.hero-skills::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 48px; height: 2px;
  background: var(--gold);
}
.hero-skills-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 12px;
  display: block;
}
.hero-skills-list {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.9;
}
.hero-skills-list .sep {
  display: inline-block;
  color: var(--gold);
  margin: 0 10px;
  font-weight: 400;
  transform: translateY(-1px);
}
.hero-skills-list .row { display: block; }
@media (max-width: 720px) {
  .hero-skills { padding: 14px 0 16px; }
  .hero-skills-list { font-size: 11px; letter-spacing: 0.1em; line-height: 1.85; }
  .hero-skills-list .sep { margin: 0 8px; }
}

.hero-vp {
  font-size: 18px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 56ch;
  margin-bottom: 36px;
  animation: fadeUp 0.8s var(--ease) 0.35s both;
}
.hero-vp strong { color: var(--ink); font-weight: 500; }
.hero-cta { animation: fadeUp 0.8s var(--ease) 0.45s both; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero .eyebrow { animation: fadeUp 0.8s var(--ease) 0.05s both; }

/* Silent credibility bar */
.cred-bar {
  margin-top: 56px;
  padding: 28px 0;
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
  display: flex; flex-direction: column;
  gap: 20px;
  animation: fadeUp 0.8s var(--ease) 0.6s both;
}
.cred-bar-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cred-bar-row-alumni {
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  position: relative;
}
.cred-bar-row-alumni::before {
  content: "";
  position: absolute;
  top: -3px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--paper);
}
.cred-bar-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--slate-soft);
  flex-shrink: 0;
}
.cred-bar-orgs {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.cred-bar-orgs-alumni {
  font-style: italic;
  font-weight: 500;
  color: var(--navy);
}
.cred-bar-orgs span { display: inline-flex; align-items: center; gap: 20px; }
.cred-bar-orgs .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); display: inline-block; }

/* Logo treatment — uniform baseline */
.cred-bar-logos {
  gap: 32px;
  align-items: center;
}
.cred-bar-logos .dot { flex-shrink: 0; }
.cred-logo {
  display: inline-flex;
  align-items: center;
  height: 32px;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.cred-logo svg {
  height: 22px;
  width: auto;
  display: block;
}
.cred-logo:hover { opacity: 0.72; }

/* Image-based logos (universities) — even, aspect-locked sizing */
.cred-logo-img {
  height: 40px;
}
.cred-logo-img img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.25s var(--ease);
}

@media (max-width: 720px) {
  .cred-logo svg { height: 18px; }
  .cred-logo, .cred-logo-img, .cred-logo-img img { height: 30px; }
  .cred-bar-logos { gap: 20px; }
}
.cred-bar-meta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.alumni-flourish {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--slate-soft);
}
.alumni-flourish .flourish-line {
  display: inline-block;
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.alumni-flourish .flourish-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
}
.mba-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid var(--gold);
  border-radius: 2px; color: var(--gold-deep);
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold-tint);
}
.mba-badge::before { content: "✓"; font-size: 10px; }
.linkedin-inline {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--slate);
  transition: color 0.2s var(--ease);
}
.linkedin-inline:hover { color: var(--navy); }
.linkedin-inline svg { width: 14px; height: 14px; }

/* ───────────────────────── HERO METRICS STRIP ───────────────────────── */
.metrics-strip {
  background: var(--canvas);
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
  padding: 56px 0;
}
.metrics-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.metrics-strip-cell {
  padding: 8px 28px;
  border-left: 1px solid var(--hairline-2);
  display: flex; flex-direction: column; gap: 8px;
}
.metrics-strip-cell:first-child { border-left: 0; padding-left: 0; }
.metrics-strip-cell:last-child { padding-right: 0; }
.metric-num {
  font-family: var(--serif);
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.metric-num em { font-style: italic; color: var(--gold-deep); font-size: 0.7em; }
.metric-label {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
  max-width: 22ch;
}

/* ───────────────────────── ABOUT ───────────────────────── */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 88px;
  margin-top: 56px;
  align-items: start;
}
.about-text p {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.85;
  margin-bottom: 22px;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { font-weight: 500; color: var(--navy); }
.about-sidebar {
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: var(--canvas);
  overflow: hidden;
}
.sb-row {
  padding: 18px 24px;
  border-bottom: 1px solid var(--hairline);
}
.sb-row:last-child { border-bottom: 0; }
.sb-key {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 6px;
}
.sb-val { font-size: 14px; color: var(--ink); line-height: 1.55; }
.sb-val strong { font-weight: 500; }
.pill {
  display: inline-block;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 2px;
  background: var(--paper);
  border: 1px solid var(--hairline-2);
  color: var(--slate);
  margin: 2px 3px 2px 0;
  transition: all 0.2s var(--ease);
}
.pill-link { text-decoration: none; cursor: pointer; }
.pill-link:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-tint); }

/* ───────────────────────── CASE STUDIES (homepage cards) ───────────────────────── */
.cs-list { display: flex; flex-direction: column; gap: 18px; margin-top: 56px; }
.cs-row {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 40px 44px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.cs-row::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0;
  width: 3px; background: var(--gold);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.35s var(--ease);
}
.cs-row:hover {
  transform: translateY(-3px);
  border-color: var(--hairline-2);
  box-shadow: 0 18px 48px -18px rgba(11,29,58,0.18);
}
.cs-row:hover::before { transform: scaleY(1); }

.cs-row-num {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.cs-row-num .org {
  color: var(--gold-deep);
  letter-spacing: 0.14em;
}
.cs-row-title {
  font-family: var(--serif);
  font-size: 26px; font-weight: 500; line-height: 1.18;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.cs-row-desc {
  font-size: 15px; line-height: 1.7;
  color: var(--slate);
  margin-bottom: 22px;
}
.cs-row-link {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.cs-row:hover .cs-row-link { gap: 14px; color: var(--gold-deep); }

.cs-row-metrics {
  display: flex; flex-direction: column;
  border-left: 1px solid var(--hairline-2);
  padding-left: 32px;
  justify-content: center;
  gap: 22px;
}
.cs-row-metric { display: flex; flex-direction: column; gap: 4px; }
.cs-row-metric .n {
  font-family: var(--serif);
  font-size: 36px; font-weight: 500;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.cs-row.flagship {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--paper);
}
.cs-row.flagship::before { background: var(--gold); }
.cs-row.flagship:hover {
  border-color: var(--navy-2);
  box-shadow: 0 22px 56px -18px rgba(11,29,58,0.45);
}
.cs-row.flagship .cs-row-num { color: rgba(255,255,255,0.55); }
.cs-row.flagship .cs-row-num .org { color: var(--gold); }
.cs-row.flagship .cs-row-title { color: var(--paper); }
.cs-row.flagship .cs-row-desc { color: rgba(255,255,255,0.7); }
.cs-row.flagship .cs-row-link {
  color: var(--gold);
  border-bottom-color: rgba(200,169,110,0.5);
}
.cs-row.flagship:hover .cs-row-link { color: var(--gold-soft); }
.cs-row.flagship .cs-row-metrics { border-left-color: rgba(200,169,110,0.35); }
.cs-row.flagship .cs-row-metric .n { color: var(--gold); }
.cs-row.flagship .cs-row-metric .n em { color: var(--gold-soft); }
.cs-row.flagship .cs-row-metric .l { color: rgba(255,255,255,0.55); }

.cs-row-metric .n em { color: var(--gold-deep); font-style: normal; }
.cs-row-metric .l {
  font-size: 12px;
  color: var(--slate);
  line-height: 1.45;
}

/* ───────────────────────── PROMPT LIB CALLOUT ───────────────────────── */
.prompts-callout {
  background: var(--navy);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.prompts-callout::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(200,169,110,0.10), transparent 50%);
}
.prompts-callout-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}
.prompts-callout .eyebrow {
  color: var(--gold);
}
.prompts-callout h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--paper);
  margin: 14px 0 16px;
  letter-spacing: -0.005em;
}
.prompts-callout h2 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.prompts-callout p {
  font-size: 16px; line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 52ch;
}
.prompts-callout .stats {
  display: flex; gap: 40px;
  border-left: 1px solid rgba(200,169,110,0.4);
  padding-left: 48px;
}
.prompts-callout .stats div { display: flex; flex-direction: column; gap: 8px; }
.prompts-callout .stats .n {
  font-family: var(--serif);
  font-size: 48px; font-weight: 500;
  line-height: 1;
  color: var(--gold);
}
.prompts-callout .stats .l {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.prompts-callout-cta { margin-top: 28px; display: inline-block; }

/* ───────────────────────── CREDENTIALS (homepage strip) · NAVY BAND ───────────────────────── */
.creds-bg {
  background: var(--navy);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.creds-bg::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(200,169,110,0.08), transparent 55%);
  pointer-events: none;
}
.creds-bg .wrap { position: relative; }
.creds-bg .eyebrow { color: var(--gold); }
.creds-bg .title-section { color: var(--paper); }
.creds-bg .title-section em { color: var(--gold-soft); }
.creds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
  border-radius: 4px;
  overflow: hidden;
}
.cred-cell {
  background: var(--navy);
  padding: 26px 24px;
  transition: background 0.25s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; color: inherit;
}
.cred-cell:hover { background: var(--navy-2); }
.cred-cell-flag {
  background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(200,169,110,0.18);
}
.cred-cell-flag::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
}
.cred-cell-flag .cred-verified {
  color: var(--gold);
}
.cred-cell-flag:hover {
  background: linear-gradient(180deg, var(--navy-3) 0%, var(--navy-2) 100%);
}
.cred-verified {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 4px;
}
.cred-verified::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); display: inline-block;
}
.cred-title {
  font-size: 14px; font-weight: 500;
  color: var(--paper); line-height: 1.35;
}
.cred-sub {
  font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.5;
}
.cred-year {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em;
  margin-top: auto;
  padding-top: 4px;
  color: var(--gold);
  margin-top: auto;
  padding-top: 8px;
}

/* ───────────────────────── RECOMMENDATIONS ───────────────────────── */
.recs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.rec {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 5px;
  padding: 32px 36px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
  display: flex; flex-direction: column; gap: 22px;
}
.rec:hover { border-color: var(--hairline-2); transform: translateY(-2px); }
.rec-mark {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--gold);
  line-height: 0.6;
  margin-bottom: -10px;
  font-style: italic;
}
.rec blockquote {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
}
.rec-author {
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 3px;
}
.rec-name { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.rec-affil { font-size: 12px; color: var(--slate); }
.rec.flagship {
  background: var(--navy);
  border-color: var(--navy);
  position: relative;
  overflow: hidden;
}
.rec.flagship::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(200,169,110,0.10), transparent 55%);
  pointer-events: none;
}
.rec.flagship:hover { border-color: var(--navy-2); }
.rec.flagship .rec-mark { color: var(--gold); }
.rec.flagship blockquote { color: var(--paper); }
.rec.flagship .rec-author { border-top-color: rgba(200,169,110,0.25); }
.rec.flagship .rec-name { color: var(--paper); }
.rec.flagship .rec-affil { color: rgba(255,255,255,0.6); }
.rec.flagship .rec-rel { color: var(--gold); }

.rec-rel { font-size: 11px; color: var(--slate-soft); font-style: italic; margin-top: 2px; }

/* ───────────────────────── CONTACT ───────────────────────── */
.contact { background: var(--navy); color: var(--paper); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(200,169,110,0.08), transparent 60%);
}
.contact-inner {
  position: relative; text-align: center;
  padding: 110px 0 100px;
  max-width: 720px; margin: 0 auto;
}
.contact .eyebrow { color: var(--gold); justify-content: center; }
.contact h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  color: var(--paper);
  margin: 16px 0 24px;
  letter-spacing: -0.01em;
}
.contact h2 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.contact p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 44px;
}
.contact-meta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
.contact-meta span {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
}
.contact-email {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-soft);
  display: inline-block;
  border-bottom: 1px solid rgba(200,169,110,0.4);
  padding-bottom: 4px;
  margin-bottom: 36px;
  transition: border-color 0.25s var(--ease);
}
.contact-email:hover { border-color: var(--gold); color: var(--gold); }
.contact-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-on-navy {
  background: var(--gold); color: var(--navy);
  border: 1px solid var(--gold);
}
.btn-on-navy:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--paper); }
.btn-ghost-light {
  background: transparent; color: var(--paper);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.btn-ghost-light svg { width: 14px; height: 14px; }

/* ───────────────────────── FOOTER ───────────────────────── */
footer.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline-2);
  padding: 28px 0;
  font-size: 12px; color: var(--slate-soft);
}
footer.site-footer .wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
footer.site-footer strong { color: var(--ink); font-weight: 500; }
footer.site-footer .footer-back { cursor: pointer; transition: color 0.2s var(--ease); }
footer.site-footer .footer-back:hover { color: var(--navy); }

/* ───────────────────────── CASE STUDY DETAIL PAGES ───────────────────────── */
.cs-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate);
  cursor: pointer;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--hairline);
  background: var(--canvas);
  width: 100%;
  transition: color 0.2s var(--ease);
}
.cs-back:hover { color: var(--navy); }

.cs-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  padding: 64px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.cs-breadcrumb {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.cs-breadcrumb span { color: var(--slate-soft); }
.cs-layout {
  display: grid;
  grid-template-columns: 1.5fr 340px;
  gap: 64px;
  align-items: start;
}
.cs-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.cs-eyebrow::before {
  content: ""; display: block; width: 28px; height: 1px;
  background: var(--gold);
}
.cs-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 24px;
}
.cs-title em { font-style: italic; font-weight: 400; color: var(--navy-2); }
.cs-desc {
  font-size: 17px;
  font-weight: 400;
  color: var(--slate);
  line-height: 1.75;
}
.meta-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 5px;
  overflow: hidden;
}
.meta-card-header {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 14px 22px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.meta-row {
  padding: 14px 22px;
  border-bottom: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 4px;
}
.meta-row:last-child { border-bottom: 0; }
.meta-key {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate-soft);
}
.meta-val { font-size: 13px; color: var(--ink); line-height: 1.5; }
.meta-val strong { color: var(--navy); font-weight: 600; }

.section-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px var(--gutter);
}

.metrics-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 8px 0 40px;
}
.bento-cell {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 26px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.bento-cell:hover {
  border-color: var(--gold-soft);
  transform: translateY(-2px);
}
.bento-cell.featured { background: var(--navy); border-color: var(--navy); }
.bento-num {
  font-family: var(--serif);
  font-size: 38px; font-weight: 500;
  line-height: 1; color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.bento-cell.featured .bento-num { color: var(--gold-soft); }
.bento-label {
  font-size: 13px; color: var(--slate); line-height: 1.5;
}
.bento-cell.featured .bento-label { color: rgba(255,255,255,0.65); }

.section-divider {
  display: flex; align-items: center; gap: 18px;
  margin: 52px 0 32px;
}
.section-divider-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
}
.section-divider-line { flex: 1; height: 1px; background: var(--gold-soft); }

.pillar-section {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 20px;
}
.pillar-header {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 32px;
  border-bottom: 1px solid var(--hairline);
  background: var(--canvas);
}
.pillar-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 14px; font-weight: 500;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.pillar-tag {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 4px;
}
.pillar-title {
  font-family: var(--serif);
  font-size: 20px; font-weight: 500;
  color: var(--ink); line-height: 1.25;
  letter-spacing: -0.005em;
}
.pillar-body { padding: 32px; }
.pillar-body p {
  color: var(--ink); font-size: 16px;
  font-weight: 400;
  line-height: 1.85; margin-bottom: 20px;
}
.pillar-body p:last-child { margin-bottom: 0; }
.pillar-body p strong { color: var(--navy); font-weight: 500; }

.callout {
  border-left: 2px solid var(--navy);
  background: var(--canvas);
  padding: 18px 22px;
  border-radius: 0 4px 4px 0;
  margin: 22px 0;
}
.callout-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.callout p {
  font-size: 14px; font-weight: 400; color: var(--ink); line-height: 1.7; margin: 0 !important;
}
.callout.gold { border-left-color: var(--gold); background: var(--gold-tint); }
.callout.gold .callout-label { color: var(--gold-deep); }

/* Prompt before/after compare */
.prompt-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
}
.prompt-box { border-radius: 4px; overflow: hidden; border: 1px solid var(--hairline); }
.prompt-box-header {
  padding: 11px 18px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.prompt-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.prompt-box.before .prompt-box-header {
  background: #fbf3f1; color: #8a3a2e;
  border-bottom: 1px solid #f0d8d3;
}
.prompt-box.after .prompt-box-header {
  background: var(--gold-tint); color: var(--gold-deep);
  border-bottom: 1px solid var(--gold-soft);
}
.prompt-box-body {
  padding: 18px;
  background: var(--canvas);
  font-size: 13px;
  color: var(--ink);
  line-height: 1.7;
  font-style: italic;
}

/* Evaluation table */
.eval-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 22px 0;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  overflow: hidden;
}
.eval-table th {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 13px 18px;
  text-align: left;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.eval-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  vertical-align: top;
}
.eval-table tr:last-child td { border-bottom: 0; }
.eval-table tr:nth-child(even) td { background: var(--canvas); }
.pass { color: var(--gold-deep); font-weight: 600; font-size: 11px; letter-spacing: 0.1em; }
.flag { color: #8a3a2e; font-weight: 600; font-size: 11px; letter-spacing: 0.1em; }

/* Impact grid */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0;
}
.impact-cell {
  background: var(--gold-tint);
  border: 1px solid var(--gold-soft);
  border-radius: 4px;
  padding: 22px;
}
.impact-num {
  font-family: var(--serif);
  font-size: 32px; font-weight: 500;
  color: var(--navy);
  line-height: 1; margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.impact-desc { font-size: 13px; color: var(--ink); line-height: 1.5; }

/* Two-column process boxes */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
}
.process-box { border: 1px solid var(--hairline); border-radius: 4px; overflow: hidden; }
.process-box-header {
  padding: 11px 18px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.process-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.process-box.before .process-box-header {
  background: #fbf3f1; color: #8a3a2e;
  border-bottom: 1px solid #f0d8d3;
}
.process-box.after .process-box-header {
  background: var(--gold-tint); color: var(--gold-deep);
  border-bottom: 1px solid var(--gold-soft);
}
.process-box-body {
  padding: 18px;
  background: var(--canvas);
  font-size: 13px;
  color: var(--ink);
  line-height: 1.7;
}
.process-box-body ul { padding-left: 18px; }
.process-box-body li { margin-bottom: 6px; }

/* Two-problem banner */
.two-problem-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
}
.problem-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 22px;
}
.problem-card-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.problem-card-title {
  font-family: var(--serif);
  font-size: 17px; font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.problem-card p { font-size: 13px; color: var(--ink); line-height: 1.65; }

/* Case study mini-metrics on detail pages */
.case-metrics-mini {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 4px; overflow: hidden;
}
.mini-metric {
  background: var(--paper);
  padding: 15px 20px;
  display: flex; align-items: baseline; gap: 12px;
}
.mini-num {
  font-family: var(--serif);
  font-size: 26px; font-weight: 500;
  color: var(--navy);
  line-height: 1; flex-shrink: 0;
}
.mini-label { font-size: 12px; color: var(--slate); line-height: 1.4; }

/* ───────────────────────── PROMPT LIBRARY PAGE ───────────────────────── */
.prompt-library-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--rhythm) var(--gutter);
}
.prompt-filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 56px;
}
.filter-btn {
  font-family: inherit;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  border-radius: 3px;
  border: 1px solid var(--hairline-2);
  color: var(--slate);
  background: var(--paper);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-deep); }
.filter-btn.active {
  background: var(--navy); color: var(--paper); border-color: var(--navy);
}
.prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.prompt-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 5px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  display: none;
}
.prompt-card.visible { display: block; }
.prompt-card:hover {
  border-color: var(--gold-soft);
  box-shadow: 0 12px 32px -16px rgba(11,29,58,0.16);
  transform: translateY(-2px);
}
.prompt-card-header { padding: 24px 28px 0; }
.prompt-card-cat {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.prompt-card-title {
  font-family: var(--serif);
  font-size: 22px; font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.prompt-card-desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
  padding: 0 28px 18px;
}
.prompt-card-body {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 22px 28px;
}
.prompt-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 12px;
}
.prompt-text {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.7;
  font-style: italic;
  font-family: 'ui-monospace', 'SF Mono', Menlo, Consolas, monospace;
  white-space: pre-wrap;
}
.prompt-card-footer {
  padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
}
.prompt-tags-mini { display: flex; gap: 6px; flex-wrap: wrap; }
.prompt-tag-mini {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 2px;
  background: var(--canvas);
  color: var(--slate);
  border: 1px solid var(--hairline);
}
.copy-btn {
  font-family: inherit;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--navy);
  padding: 8px 16px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.copy-btn:hover { background: var(--navy); color: var(--paper); }
.copy-btn.copied { background: var(--gold-tint); color: var(--gold-deep); border-color: var(--gold); }

/* ───────────────────────── COMMUNITY / VOLUNTEERING SECTION ───────────────────────── */
.community {
  background: var(--canvas);
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
}
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 56px;
  align-items: start;
}
.community-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline-2);
}
.community-meta .org {
  color: var(--gold-deep);
}
.community-meta .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); display: inline-block;
}
.community-role {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -0.005em;
}
.community-role em { font-style: italic; color: var(--navy-2); font-weight: 400; }
.narrative-block { margin-bottom: 28px; }
.narrative-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
  display: inline-flex; align-items: center; gap: 12px;
}
.narrative-label::before {
  content: ""; display: block; width: 20px; height: 1px; background: var(--gold);
}
.narrative-block p {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.8;
}
.narrative-block p strong { color: var(--navy); font-weight: 500; }
.community-metric-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 22px;
  margin-top: 32px;
  padding: 22px 24px;
  background: var(--navy);
  border-radius: 5px;
  color: var(--paper);
}
.community-metric-row .n {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 500;
  line-height: 0.9;
  color: var(--gold);
  letter-spacing: -0.01em;
}
.community-metric-row .l {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
}
.community-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.community-gallery figure {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: var(--canvas-deep);
  box-shadow: 0 12px 28px -16px rgba(11,29,58,0.25);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.community-gallery figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px -16px rgba(11,29,58,0.35);
}
.community-gallery figure::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(11,29,58,0.08);
  border-radius: 4px; pointer-events: none;
}
.community-gallery figure.hero-img {
  grid-column: 1 / span 2;
  aspect-ratio: 16 / 9;
}
.community-gallery figure.hero-img img { object-position: center 30%; }
.community-gallery figure:not(.hero-img) {
  aspect-ratio: 4 / 5;
}
.community-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.community-gallery figcaption {
  position: absolute; left: 12px; bottom: 12px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--paper);
  background: rgba(11,29,58,0.78);
  padding: 5px 10px;
  border-radius: 2px;
  border-left: 2px solid var(--gold);
  backdrop-filter: blur(4px);
}
@media (max-width: 820px) {
  .community-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ───────────────────────── REVEAL ON SCROLL ───────────────────────── */
/* Default: VISIBLE. JS may add `.reveal-armed` to opt-in to the fade. */
.reveal { opacity: 1; transform: none; }
.reveal-armed { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-armed.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ───────────────────────── RESPONSIVE ───────────────────────── */
@media (max-width: 1024px) {
  :root { --gutter: 40px; --rhythm: 80px; }
  .hero-inner { grid-template-columns: 1fr 220px; gap: 48px; }
  .hero-headshot { width: 200px; height: 240px; }
  .cs-layout { grid-template-columns: 1fr 300px; gap: 40px; }
  .about-grid { gap: 56px; }
}
@media (max-width: 820px) {
  :root { --gutter: 24px; --rhythm: 64px; }
  .topnav { height: 64px; }
  .topnav-inner { padding: 0 24px; }
  .nav-links li:not(.nav-cta-li) { display: none; }
  .nav-links { gap: 16px; }
  .page { padding-top: 64px; }
  .hero { padding: 56px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-headshot { width: 160px; height: 200px; order: -1; }
  .cred-bar { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cred-bar-orgs { font-size: 16px; gap: 20px; }
  .cred-bar-orgs span { gap: 20px; }
  .metrics-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .metrics-strip-cell { border-left: 0; padding: 0 0 0 22px; border-left: 1px solid var(--hairline-2); }
  .metrics-strip-cell:nth-child(odd) { border-left: 0; padding-left: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .cs-row { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .cs-row-metrics { border-left: 0; border-top: 1px solid var(--hairline-2); padding: 24px 0 0; }
  .prompts-callout-inner { grid-template-columns: 1fr; gap: 20px; padding: 64px 0; }
  .prompts-callout .stats { padding-left: 0; border-left: 0; border-top: 1px solid rgba(200,169,110,0.4); padding-top: 28px; }
  .creds-grid { grid-template-columns: repeat(2, 1fr); }
  .recs-grid { grid-template-columns: 1fr; }
  .cs-layout { grid-template-columns: 1fr; gap: 20px; }
  .metrics-bento { grid-template-columns: repeat(2, 1fr); }
  .prompt-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .two-col, .prompt-compare, .two-problem-banner { grid-template-columns: 1fr; }
  footer.site-footer .wrap { flex-direction: column; text-align: center; }
}