/* christiewalkermd.com
   Layout idea: a quiet editorial column on warm cream, with photography and plaster-toned image bands
   giving the page its rhythm. One visual world (light only), warm grays for type and rules. */
:root {
  --cream: #FDFBF7;        /* page: light, creamy */
  --cream-deep: #DFDEDA;   /* alternate sections: cool plaster gray */
  --stone: #C4C2BE;        /* rules */
  --gray: #73726F;         /* secondary text */
  --gray-deep: #4A4D51;    /* accent, links, buttons: cool charcoal */
  --ink: #2C2C2B;          /* body text */

  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Hanken Grotesk", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.1rem;
  --step-4: clamp(2.3rem, 1.6rem + 2.6vw, 3.5rem);

  --measure: 64ch;
  --wrap: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --space: clamp(4rem, 8vw, 7rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gray-deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gray-deep); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
  margin: 0 0 0.6em;
}
h1 { font-size: var(--step-4); font-weight: 300; }
h2 { font-size: var(--step-3); font-weight: 300; }
h3 { font-size: var(--step-1); font-weight: 500; }
p { margin: 0 0 1.1em; max-width: var(--measure); }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink); }
.muted { color: var(--gray); }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--space); }
.section--alt { background: var(--cream-deep); }
.section + .section:not(.section--alt):not(.band-wrap) { border-top: 1px solid var(--stone); }

/* Label above a heading: always names the section's real subject */
.kicker {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 1rem;
}

/* Header */
.site-header { border-bottom: 1px solid var(--stone); background: var(--cream); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 28px; height: 28px; }
.brand span { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.nav a { text-decoration: none; color: var(--gray-deep); font-size: 0.95rem; font-weight: 500; padding-block: 0.4rem; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gray-deep); }
.nav-toggle { display: none; background: none; border: 1px solid var(--stone); border-radius: 4px; color: var(--ink); font: inherit; font-size: 0.9rem; padding: 0.45rem 0.8rem; cursor: pointer; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--cream); border-bottom: 1px solid var(--stone); z-index: 5; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 0.5rem var(--gutter) 1rem; }
  .nav a { display: block; padding-block: 0.75rem; border-bottom: 1px solid var(--stone); }
  .site-header { position: relative; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 500; font-size: 0.98rem;
  padding: 0.85rem 1.4rem; border-radius: 3px; border: 1px solid var(--gray-deep);
  background: var(--gray-deep); color: var(--cream); cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn--quiet { background: transparent; color: var(--ink); border-color: var(--stone); }
.btn--quiet:hover { background: var(--cream-deep); color: var(--ink); border-color: var(--gray); }

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 6rem); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero-name { font-size: var(--step-0); font-weight: 600; margin: 0 0 0.3rem; color: var(--ink); }
.hero-role { margin: 0 0 1.8rem; color: var(--gray); font-size: var(--step-0); }
.hero h1 { margin-bottom: 1.4rem; }
.portrait { margin: 0; position: relative; }
.portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.portrait::before {
  content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid var(--stone); border-radius: 2px; z-index: -1;
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
}

/* Page header (inner pages) */
.page-head { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.page-head h1 { max-width: 20ch; }

/* Statement */
.statement h2 { max-width: 24ch; }

/* Image bands: Adobe Stock slots. Placeholder texture until licensed images are dropped in. */
.band { margin: 0; position: relative; overflow: hidden; }
.band img { width: 100%; height: clamp(220px, 32vw, 420px); object-fit: cover; }
.band--ph {
  height: clamp(220px, 32vw, 420px);
  background:
    radial-gradient(120% 90% at 20% 15%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(80% 70% at 85% 80%, rgba(74,77,81,0.16), transparent 70%),
    linear-gradient(115deg, #E6E5E2 0%, #D6D5D2 45%, #C4C3C0 100%);
}
.band--ph::after {
  content: ""; position: absolute; inset: 0; opacity: 0.35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.41 0 0 0 0 0.39 0 0 0 0.45 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ph-note {
  position: absolute; left: var(--gutter); bottom: 1rem; z-index: 1;
  font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink);
  background: rgba(253,251,247,0.9); padding: 0.3rem 0.6rem; border-radius: 2px;
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 2.5rem 0 2rem; border-top: 1px solid var(--stone); }
.stat { padding: 2rem 2rem 1rem 0; border-right: 1px solid var(--stone); }
.stat + .stat { padding-left: 2rem; }
.stat:last-child { border-right: 0; }
.stat .stat-figure { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; color: var(--ink); margin: 0 0 0.9rem; font-variant-numeric: lining-nums tabular-nums; }
.stat p:not(.stat-figure) { font-size: 0.98rem; color: var(--gray-deep); margin: 0; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 1.6rem 0; border-right: 0; border-bottom: 1px solid var(--stone); }
}

/* Three-up */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.5rem; }
.trio > div { border-top: 1px solid var(--gray-deep); padding-top: 1.2rem; }
.trio p { font-size: 1rem; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.steps li { counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--gray); margin-bottom: 0.6rem; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 0.4rem; }
.steps p { font-size: 0.98rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { list-style: none; margin: 2.5rem 0 2rem; padding: 0; border-top: 1px solid var(--stone); max-width: 860px; }
.timeline li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1.5rem; padding: 1.3rem 0; border-bottom: 1px solid var(--stone); }
.timeline .years { color: var(--gray); font-variant-numeric: tabular-nums; font-size: 0.95rem; padding-top: 0.15rem; }
.timeline .org { font-weight: 600; display: block; }
.timeline .role { color: var(--gray-deep); font-size: 0.98rem; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 0.2rem; } }

/* Closing */
.closing { text-align: left; }
.closing blockquote { margin: 0 0 1.5rem; font-family: var(--font-display); font-weight: 300; font-size: var(--step-3); line-height: 1.25; max-width: 26ch; text-wrap: balance; }

/* Story */
.story-intro .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .story-intro .wrap { grid-template-columns: 1fr; } .story-intro .portrait { max-width: 400px; } }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2rem; }
.pillars > div { border-top: 1px solid var(--gray-deep); padding-top: 1.2rem; }
.pillars blockquote { margin: 0; font-family: var(--font-display); font-size: var(--step-2); font-weight: 300; line-height: 1.3; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.values { list-style: none; padding: 0; margin: 2rem 0 0; max-width: 860px; border-top: 1px solid var(--stone); }
.values li { display: grid; grid-template-columns: 14rem 1fr; gap: 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid var(--stone); }
.values strong { font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); }
.values span { color: var(--ink); }
@media (max-width: 640px) { .values li { grid-template-columns: 1fr; gap: 0.3rem; } }
.prose p { max-width: var(--measure); }
.prose h3 { margin-top: 2rem; }

/* Impact cases */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 1rem; }
.case { background: var(--cream); border: 1px solid var(--stone); border-radius: 3px; padding: clamp(1.5rem, 3vw, 2.2rem); display: flex; flex-direction: column; }
.case .where { font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); font-weight: 600; margin: 0 0 0.8rem; }
.case h3 { font-size: var(--step-2); font-weight: 400; margin-bottom: 1rem; }
.case dl { margin: 0; }
.case dt { font-weight: 600; font-size: 0.9rem; color: var(--gray-deep); margin-top: 0.9rem; }
.case dd { margin: 0.2rem 0 0; font-size: 0.98rem; }
.case .result { margin-top: auto; padding-top: 1.3rem; }
.case .result p { margin: 0; padding-top: 1rem; border-top: 1px solid var(--stone); font-family: var(--font-display); font-size: var(--step-1); line-height: 1.4; }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } }

/* Credentials */
.cred-grid { display: grid; grid-template-columns: 14rem 1fr; gap: 1.5rem 3rem; }
.cred-grid + .cred-grid { margin-top: var(--space); padding-top: var(--space); border-top: 1px solid var(--stone); }
.cred-grid h2 { font-size: var(--step-2); }
.cred-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--stone); }
.cred-list li { padding: 1rem 0; border-bottom: 1px solid var(--stone); }
.cred-list strong { display: block; font-weight: 600; }
.cred-list span { color: var(--gray-deep); font-size: 0.98rem; }
@media (max-width: 760px) { .cred-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } }
.contact-lines { list-style: none; padding: 0; margin: 2rem 0; border-top: 1px solid var(--stone); }
.contact-lines li { padding: 1rem 0; border-bottom: 1px solid var(--stone); }
.contact-lines .label { display: block; font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); font-weight: 600; }
.form { background: var(--cream-deep); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 3px; display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field .opt { color: var(--gray); font-weight: 400; }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream);
  border: 1px solid var(--stone); border-radius: 3px; padding: 0.75rem 0.85rem; width: 100%;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--gray-deep); outline-offset: 1px; border-color: var(--gray-deep); }
.field textarea { min-height: 9rem; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.form-note { font-size: 0.9rem; color: var(--gray-deep); margin: 0; }
.form-status { font-size: 0.95rem; margin: 0; padding: 0.8rem 1rem; background: var(--cream); border-left: 3px solid var(--gray-deep); }
.form-status[hidden] { display: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--stone); padding-block: 3rem; font-size: 0.95rem; color: var(--gray-deep); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; align-items: start; }
.site-footer p { margin: 0.3rem 0 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.site-footer a { color: var(--gray-deep); }

@media (prefers-reduced-motion: no-preference) {
  .btn, .nav a { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
}

@media (max-width: 560px) { .portrait::before { display: none; } }

/* Four-up "at a glance" variant of the stats row */
.stats--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .stats--four { grid-template-columns: 1fr 1fr; } .stats--four .stat:nth-child(2) { border-right: 0; } .stats--four .stat:nth-child(3) { padding-left: 0; } .stats--four .stat:nth-child(n+3) { border-top: 1px solid var(--stone); } }
@media (max-width: 760px) { .stats--four { grid-template-columns: 1fr; } .stats--four .stat { border-top: 0 !important; } }

/* National stage feature on Impact */
.feature { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding: clamp(1.75rem, 4vw, 2.75rem); background: var(--cream-deep); border-radius: 3px; margin: 2.5rem 0; }
.feature-figure { font-family: var(--font-display); font-weight: 300; font-size: clamp(4.5rem, 3rem + 6vw, 7.5rem); line-height: 0.85; color: var(--ink); margin: 0; }
.feature h3 { font-size: var(--step-2); font-weight: 400; margin-bottom: 0.6rem; }
.talk-list { list-style: none; padding: 0; margin: 1.2rem 0 1.4rem; border-top: 1px solid var(--stone); }
.talk-list li { display: grid; grid-template-columns: 11.5rem 1fr; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--stone); font-size: 0.98rem; }
.talk-list .when { color: var(--gray); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .feature { grid-template-columns: 1fr; } .talk-list li { grid-template-columns: 1fr; gap: 0.1rem; } }
.case .source { font-size: 0.92rem; margin: 0.8rem 0 0; }

/* Facets on My story */
.facets h3 { font-family: var(--font-display); font-size: var(--step-2); font-weight: 400; }
.value-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2rem; }
.value-pair > div { border-top: 1px solid var(--gray-deep); padding-top: 1.2rem; }
.value-pair h3 { font-family: var(--font-display); font-size: var(--step-3); font-weight: 300; margin-bottom: 0.5rem; }
.value-pair .looks { color: var(--gray-deep); font-size: 0.98rem; }
@media (max-width: 760px) { .value-pair { grid-template-columns: 1fr; } }

/* Textured backgrounds (landing hero, contact) from licensed plaster and cast-padding photos */
.hero--textured { background: linear-gradient(rgba(253,251,247,0.35), rgba(253,251,247,0.35)), url("img/bg-gauze.jpg") center / cover no-repeat; }
.contact--textured { background: linear-gradient(rgba(253,251,247,0.35), rgba(253,251,247,0.35)), url("img/bg-mask.jpg") center / cover no-repeat; }
.contact--textured .form { background: rgba(223,222,218,0.82); }
.hero--bone { background: linear-gradient(rgba(253,251,247,0.35), rgba(253,251,247,0.35)), url("img/bg-bone.jpg") center / cover no-repeat; }

/* Contact page: fits one desktop screen */
.contact-row { display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem; align-items: start; margin-top: 1.5rem; }
.contact-photo { margin: 0; max-width: 380px; }
.contact-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.contact-row .contact-lines { margin: 0; }
@media (min-width: 861px) {
  .hero.contact { padding-block: 3.25rem; }
  .contact h1 { margin-bottom: 1rem; }
  .contact .field textarea { min-height: 8rem; }
  .closing--compact { padding-block: 3rem; }
  .closing--compact blockquote { font-size: clamp(1.7rem, 1.3rem + 1vw, 2.1rem); margin: 0; max-width: none; }
}
@media (max-width: 480px) { .contact-row { grid-template-columns: 110px 1fr; gap: 1rem; } }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.contact .contact-lines a { overflow-wrap: anywhere; }

/* Footer page links */
.site-footer .footer-nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.site-footer .footer-nav a:hover { text-decoration: underline; }
.footer-links { display: grid; gap: 0.9rem; justify-items: end; }
@media (max-width: 760px) { .footer-links { justify-items: start; } }

/* Contact: compact detail rows, larger headshot, form box ends level with the photo */
@media (min-width: 861px) {
  .contact .wrap { align-items: stretch; }
  .contact .contact-lines { margin: 1.25rem 0; }
  .contact .contact-lines li { padding: 0.45rem 0; }
  .contact .form { display: flex; flex-direction: column; gap: 1.1rem; }
  .contact .field--message { flex: 1; grid-template-rows: auto 1fr; }
  .contact .field--message textarea { height: 100%; }
}

/* Offset frame behind each headshot (kept above textured section backgrounds) */
.portrait, .contact-photo { position: relative; z-index: 0; }
.contact-photo::before {
  content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid var(--stone); border-radius: 2px; z-index: -1;
}
@media (max-width: 560px) { .contact-photo::before { display: none; } }
.portrait::before, .contact-photo::before { border-color: #ADAAA5; }
@media (min-width: 861px) { .contact .lead { font-size: 1.15rem; } }
@media (min-width: 861px) { .contact .contact-photo { margin-bottom: 1.1rem; } }

/* Landing page: faint plaster texture under each cream section */
.section--textured { background: linear-gradient(rgba(253,251,247,0.35), rgba(253,251,247,0.35)), url("img/bg-plaster-faint.jpg") center / cover no-repeat; }
.section--textured + .section--textured, .section.section--textured { border-top: 0; }
.section--textured-cast { background: linear-gradient(rgba(253,251,247,0.35), rgba(253,251,247,0.35)), url("img/bg-cast-faint.jpg") center / cover no-repeat; border-top: 0 !important; }
.section.section--textured { border-top: 0 !important; }

/* Impact and Credentials: header texture + cream-section texture */
.head--gauze { background: linear-gradient(rgba(253,251,247,0.35), rgba(253,251,247,0.35)), url("img/bg-gauze-soft.jpg") center / cover no-repeat; }
.head--xray { background: linear-gradient(rgba(253,251,247,0.35), rgba(253,251,247,0.35)), url("img/bg-xray-faint.jpg") center / cover no-repeat; }
.section--tex-fibers { background: linear-gradient(rgba(253,251,247,0.35), rgba(253,251,247,0.35)), url("img/bg-fibers-faint.jpg") center / cover no-repeat; border-top: 0 !important; }
.section--tex-padding { background: linear-gradient(rgba(253,251,247,0.35), rgba(253,251,247,0.35)), url("img/bg-padding-faint.jpg") center / cover no-repeat; border-top: 0 !important; }

/* Credentials: proof strip, three pillars, expandable presentations */
.proof { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); margin-top: 2rem; }
.proof div { padding: 1.2rem 1.1rem 1.1rem 0; border-right: 1px solid var(--stone); }
.proof div + div { padding-left: 1.1rem; }
.proof div:last-child { border-right: 0; }
.proof b { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3rem); line-height: 1; margin-bottom: .45rem; font-variant-numeric: lining-nums; color: var(--ink); }
.proof span { font-size: .92rem; color: var(--gray-deep); display: block; }
@media (max-width: 900px) { .proof { grid-template-columns: 1fr 1fr; } .proof div, .proof div + div { padding: 1rem 1rem 1rem 0; border-right: 0; border-bottom: 1px solid var(--stone); } .proof div:last-child { border-bottom: 0; } }

.pillars3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; align-items: stretch; }
.pillar { background: var(--cream); border: 1px solid var(--stone); border-radius: 3px; display: flex; flex-direction: column; overflow: hidden; }
.pillar-top { padding: 1.5rem 1.5rem 1.1rem; border-bottom: 1px solid var(--stone); }
.pillar-top .num { font-family: var(--font-display); font-size: 1rem; color: var(--gray); }
.pillar-top h3 { font-size: 1.8rem; font-weight: 300; margin: .2rem 0 .35rem; }
.pillar-top p { font-size: .95rem; color: var(--gray-deep); margin: 0; }
.pillar > ul { list-style: none; margin: 0; padding: .4rem 1.5rem 1rem; }
.pillar li { padding: .7rem 0; border-bottom: 1px solid #E6E4E0; font-size: .95rem; }
.pillar li:last-child { border-bottom: 0; }
.pillar li b { display: block; font-weight: 600; color: var(--ink); }
.pillar li span { color: var(--gray-deep); font-size: .9rem; display: block; }
.pillar .stat { margin-top: auto; background: var(--cream-deep); padding: 1rem 1.5rem; font-size: .95rem; color: var(--gray-deep); }
.pillar .stat b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 300; margin-right: .45rem; color: var(--ink); }
.pubs { margin-top: auto; background: var(--cream-deep); padding: 1rem 1.5rem; font-size: .95rem; }
.pubs summary { cursor: pointer; color: var(--gray-deep); font-weight: 500; }
.pubs summary::marker { color: var(--gray); }
.pubs ul { list-style: none; margin: .6rem 0 0; padding: 0; }
.pubs li { border-bottom-color: var(--stone); }
@media (max-width: 960px) { .pillars3 { grid-template-columns: 1fr; } }

.acc { margin-top: 2rem; border-top: 1px solid var(--stone); }
.acc details { border-bottom: 1px solid var(--stone); }
.acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 10rem 1fr auto; gap: 1.5rem; align-items: center; padding: 1.25rem .25rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc .venue { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); line-height: 1.5; }
.acc .title { font-family: var(--font-display); font-size: var(--step-1); color: var(--ink); }
.acc .plus { width: 32px; height: 32px; border: 1px solid var(--stone); border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; color: var(--gray-deep); background: var(--cream); }
.acc details[open] .plus { transform: rotate(45deg); }
.acc .body { display: grid; grid-template-columns: 10rem 1fr 16rem; gap: 1.5rem; padding: 0 .25rem 1.5rem; }
.acc .body p { margin: 0; color: var(--gray-deep); }
.acc .result { background: var(--cream-deep); border-radius: 3px; padding: .9rem 1.1rem; font-size: .92rem; color: var(--gray-deep); }
.acc .result b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 300; line-height: 1.15; color: var(--ink); margin-bottom: .2rem; }
@media (prefers-reduced-motion: no-preference) { .acc .plus { transition: transform .2s ease; } }
@media (max-width: 760px) { .acc summary { grid-template-columns: 1fr auto; gap: .5rem 1rem; } .acc summary .venue { grid-column: 1 / -1; } .acc .body { grid-template-columns: 1fr; } .acc .body > span { display: none; } }
/* Equal pillar rows: tops, lists and gray footers line up across all three */
@supports (grid-template-rows: subgrid) {
  .pillars3 { grid-template-rows: auto 1fr auto; }
  .pillar { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
  .pillar .stat { margin-top: 0; }
}
.pillar .stat { display: flex; align-items: baseline; }
/* Publications panel */
.pub-panel { margin-top: 1.5rem; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); max-width: 900px; }
.pub-panel summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 1rem .25rem; font-weight: 500; color: var(--gray-deep); }
.pub-panel summary::-webkit-details-marker { display: none; }
.pub-panel .plus, .faqs .plus { width: 32px; height: 32px; border: 1px solid var(--stone); border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; background: var(--cream); }
.pub-panel[open] .plus, .faqs details[open] .plus { transform: rotate(45deg); }
.pub-list { list-style: none; margin: 0; padding: 0 .25rem 1rem; }
.pub-list li { padding: .75rem 0; border-top: 1px solid var(--stone); }
.pub-list b { display: block; font-weight: 600; }
.pub-list span { color: var(--gray-deep); font-size: .92rem; }

/* Concept F: credential web (center node + three branches + side card) */
.web-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem; align-items: stretch; margin-top: 1.75rem; }
.web { position: relative; min-height: 380px; align-self: center; }
.web svg.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.web svg.links line { stroke: var(--stone); stroke-width: 1.5; transition: stroke .25s; }
.web svg.links line.on { stroke: var(--gray-deep); stroke-width: 2; }
.hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 120px; height: 120px; border-radius: 50%; background: var(--cream); border: 1px solid var(--stone); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(223,222,218,.5); z-index: 1; }
.hub span { font-family: var(--font-display); font-size: .95rem; color: var(--ink); }
.node { position: absolute; transform: translate(-50%, -50%); width: 180px; text-align: left; background: var(--gray-deep); border: 1px solid var(--gray-deep); border-radius: 6px; padding: .8rem 1rem; cursor: pointer; font: inherit; color: var(--cream); transition: background .2s, box-shadow .2s, transform .2s; z-index: 1; }
.node:hover { background: #3E4145; }
.node:focus-visible { outline: 2px solid var(--gray-deep); outline-offset: 3px; }
.node[aria-selected="true"] { background: var(--ink); box-shadow: 0 0 0 3px var(--cream), 0 0 0 4px var(--gray-deep); }
.node .n { font-family: var(--font-display); font-size: .85rem; color: #CFCDC9; display: block; }
.node b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.15; }
.node small { display: block; font-size: .82rem; color: #DCDAD6; margin-top: .15rem; }
.node.t { left: 26%; top: 19%; } .node.b { left: 74%; top: 19%; } .node.p { left: 50%; top: 86%; }
.web-card { background: var(--cream); border: 1px solid var(--stone); border-radius: 6px; padding: 1.6rem 1.8rem; display: flex; flex-direction: column; }
.web-card[hidden] { display: none; }
.web-card .kick { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); margin: 0 0 .4rem; }
.web-card h4 { font-size: 1.8rem; font-weight: 300; margin: 0 0 .4rem; }
.web-card .lede { color: var(--gray-deep); font-size: .98rem; margin-bottom: .6rem; }
.web-card ul { list-style: none; margin: 0 0 1rem; padding: 0; border-top: 1px solid #E6E4E0; }
.web-card li { padding: .6rem 0; border-bottom: 1px solid #E6E4E0; font-size: .94rem; }
.web-card li b { display: block; font-weight: 600; }
.web-card li span { color: var(--gray-deep); font-size: .88rem; }
.web-card .stat { margin-top: auto; background: var(--cream-deep); border-radius: 4px; padding: .9rem 1.1rem; color: var(--gray-deep); font-size: .95rem; }
.web-card .stat b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 300; color: var(--ink); margin-right: .4rem; }
@media (prefers-reduced-motion: no-preference) { .web-card:not([hidden]) { animation: cardIn .3s ease; } @keyframes cardIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } } }
@media (max-width: 900px) {
  .web-wrap { grid-template-columns: 1fr; }
  .web { min-height: 340px; }
  .node { width: 128px; padding: .55rem .7rem; } .node b { font-size: 1.1rem; } .node small { display: none; }
  .node.t { left: 24%; top: 14%; } .node.b { left: 76%; top: 14%; } .node.p { top: 88%; }
  .hub { width: 96px; height: 96px; } .hub svg { width: 76px; height: 76px; }
}
.web-hint { color: var(--gray-deep); margin: 0; }

/* Credential web: larger, equal-length branches (positioned by script), creamier hub */
.web { min-height: 470px; }
.hub { width: 142px; height: 142px; background: #F4EEE2; border-color: #D9D1C2; box-shadow: 0 0 0 10px rgba(244,238,226,.55); }
.hub svg { width: 112px; height: 112px; }
.node { width: 196px; padding: .9rem 1.1rem; }
.node b { font-size: 1.5rem; }
.node small { font-size: .86rem; }
@media (max-width: 900px) {
  .web { min-height: 380px; }
  .hub { width: 108px; height: 108px; } .hub svg { width: 84px; height: 84px; }
  .node { width: 132px; padding: .6rem .75rem; } .node b { font-size: 1.15rem; }
}
.web-wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; }
.node { width: 176px; }
@media (max-width: 900px) { .web-wrap { grid-template-columns: 1fr; } .node { width: 124px; } .node small { display: none; } }
.node { width: 184px; } .node small { white-space: nowrap; }
.web { min-height: 500px; }
@media (max-width: 900px) { .web { min-height: 400px; } .node { width: 128px; } }
/* Tighter web, larger boxes */
.web-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
.web { min-height: 430px; }
.node { width: 220px; padding: 1.1rem 1.25rem; }
.node b { font-size: 1.75rem; }
.node .n { font-size: .95rem; }
.node small { font-size: .95rem; }
@media (max-width: 900px) { .web { min-height: 360px; } .node { width: 140px; padding: .7rem .85rem; } .node b { font-size: 1.25rem; } }
@media (max-width: 900px) { .web-wrap { grid-template-columns: 1fr; } }
.node { width: 204px; }
@media (max-width: 900px) { .node { width: 140px; } }
.node { width: 196px; }
.hub { width: 130px; height: 130px; } .hub svg { width: 104px; height: 104px; }
@media (max-width: 900px) { .node { width: 140px; } .hub { width: 104px; height: 104px; } .hub svg { width: 82px; height: 82px; } }
.node { line-height: 1.3; padding: .85rem 1.1rem; }
.node b { line-height: 1.1; margin: .1rem 0; }
.web { min-height: 440px; }
@media (max-width: 900px) { .web { min-height: 360px; } .node { padding: .6rem .8rem; } }
/* Common questions (About page) */
.faqs { margin-top: 1.5rem; max-width: 900px; border-top: 1px solid var(--stone); }
.faqs details { border-bottom: 1px solid var(--stone); }
.faqs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem .25rem; font-weight: 500; color: var(--gray-deep); }
.faqs summary::-webkit-details-marker { display: none; }
.faqs .plus { flex: none; }
.faqs p { margin: 0; padding: 0 .25rem 1.25rem; max-width: 70ch; }
