/* Citizenship Health Institute
   Shared stylesheet. Colors and type live in :root so the palette can be
   swapped in one place. */

:root {
  --ink: #1d2a2f;
  --ink-soft: #46565c;
  --teal: #0e5a61;
  --teal-deep: #093f45;
  --teal-tint: #e3efee;
  --gold: #d69d33;
  --gold-tint: #fbf1dc;
  --clay: #b0503a;
  --clay-tint: #f6e4de;
  --leaf: #567f4c;
  --leaf-tint: #e6efe2;
  --plum: #6b4a74;
  --plum-tint: #eee6f0;
  --cream: #faf6ef;
  --paper: #ffffff;
  --line: #e2dccf;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 42, 47, .06), 0 8px 24px rgba(29, 42, 47, .06);
  --max: 1140px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.075rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: .75rem;
}
.lead { font-size: 1.25rem; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 100; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; max-width: 1280px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.1; }
.brand-sub { display: block; font-family: var(--font-body); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: 8px 10px; border-radius: 8px;
}
.nav a:hover { background: var(--teal-tint); color: var(--teal-deep); }
.nav a[aria-current="page"] { color: var(--teal); background: var(--teal-tint); }
.nav .nav-cta { background: var(--teal); color: #fff; margin-left: 6px; }
.nav .nav-cta:hover { background: var(--teal-deep); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* Hero */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero-art { justify-self: center; width: min(360px, 80vw); }
.hero-quotes { display: grid; gap: 12px; margin-top: 26px; max-width: 640px; }
.hero-quote { margin: 0; padding: 14px 18px; border-left: 4px solid var(--accent, #f2542d); background: rgba(255,255,255,.55); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-display); font-size: 1.08rem; line-height: 1.45; }
.hero-quote small { display: block; margin-top: 6px; font-family: var(--font-body); font-size: .85rem; opacity: .8; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { width: 220px; order: -1; } .hero { padding-top: 40px; } }
.page-hero { padding: 64px 0 36px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper), var(--cream)); }
.page-hero .lead { max-width: 760px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 12px 20px; border-radius: 999px; border: 2px solid var(--teal);
  background: var(--teal); color: #fff; transition: background .15s, color .15s;
}
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--teal); }
.btn.ghost:hover { background: var(--teal-tint); color: var(--teal-deep); }

/* Sections */
section { padding: 64px 0; }
section.tight { padding: 40px 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--teal-deep); color: #eaf3f2; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark a { color: var(--gold); }
.section-head { max-width: 760px; margin-bottom: 32px; }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card.link { text-decoration: none; color: inherit; display: block; transition: transform .15s, box-shadow .15s; }
.card.link:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(29,42,47,.08), 0 14px 32px rgba(29,42,47,.10); color: inherit; }
.card .more { display: inline-block; margin-top: .75rem; font-weight: 700; color: var(--teal); }
.accent-teal { border-top: 5px solid var(--teal); }
.accent-gold { border-top: 5px solid var(--gold); }
.accent-clay { border-top: 5px solid var(--clay); }
.accent-leaf { border-top: 5px solid var(--leaf); }
.accent-plum { border-top: 5px solid var(--plum); }
.tag {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-deep); margin: 0 6px 6px 0;
}
.tag.gold { background: var(--gold-tint); color: #7a5414; }
.tag.clay { background: var(--clay-tint); color: #7d3424; }
.tag.leaf { background: var(--leaf-tint); color: #355130; }
.tag.plum { background: var(--plum-tint); color: #4a3051; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--teal); line-height: 1.1; }
.stat span { font-size: .95rem; color: var(--ink-soft); }

/* Steps (IDEAS, incubator, CIRCLE) */
.steps { display: grid; gap: 16px; counter-reset: step; }
.steps.five { grid-template-columns: repeat(5, 1fr); }
.steps.six { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 960px) { .steps.five, .steps.six { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps.five, .steps.six { grid-template-columns: 1fr; } }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.step .letter {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; margin-bottom: 12px;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; background: var(--teal);
}
.step:nth-child(6n+2) .letter { background: var(--gold); }
.step:nth-child(6n+3) .letter { background: var(--clay); }
.step:nth-child(6n+4) .letter { background: var(--leaf); }
.step:nth-child(6n+5) .letter { background: var(--plum); }
.step:nth-child(6n+6) .letter { background: var(--teal-deep); }
.step h3 { font-size: 1.15rem; margin-bottom: .3em; }
.step p { font-size: .97rem; margin: 0; color: var(--ink-soft); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .98rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--teal-tint); color: var(--teal-deep); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

/* Quote / callout */
.callout { border-left: 5px solid var(--gold); background: var(--gold-tint); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; }
.callout.teal { border-color: var(--teal); background: var(--teal-tint); }
.callout.clay { border-color: var(--clay); background: var(--clay-tint); }
.pull { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; font-weight: 500; }

/* Case cards (portfolio) */
.case dl { margin: 12px 0 0; display: grid; gap: 10px; }
.case dt { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); }
.case dd { margin: 0; font-size: .98rem; }

/* Lists */
.check { list-style: none; padding: 0; margin: 0; }
.check li { padding-left: 28px; position: relative; margin-bottom: .55em; }
.check li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.pubs { list-style: none; padding: 0; margin: 0; }
.pubs li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.pubs li:last-child { border-bottom: 0; }
.pubs .pdf { font-size: .85rem; font-weight: 700; margin-left: 6px; }

/* Gallery */
.gallery-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.gallery-controls label { font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.gallery-controls select, .gallery-controls input {
  font: inherit; font-size: .95rem; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink);
}
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.poster {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column; cursor: pointer; text-align: left; padding: 0; font: inherit; color: inherit;
}
.poster:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.poster .thumb { aspect-ratio: 4 / 3; background: var(--teal-tint); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.poster .thumb img { width: 100%; height: 100%; object-fit: cover; }
.poster .thumb .doc { font-weight: 700; color: var(--teal-deep); font-size: 1.1rem; }
.poster .meta { padding: 12px 14px 16px; }
.poster .meta b { display: block; font-size: .98rem; line-height: 1.3; margin-bottom: 4px; }
.poster .meta span { font-size: .85rem; color: var(--ink-soft); }
.gallery-empty { padding: 40px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--ink-soft); background: var(--paper); }
.lightbox { position: fixed; inset: 0; background: rgba(9, 25, 28, .88); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1000px; width: 100%; max-height: 92vh; display: flex; flex-direction: column; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 8px; background: #fff; }
.lightbox figcaption { color: #eaf3f2; padding: 12px 4px 0; text-align: center; }
.lightbox button { position: absolute; top: 14px; right: 16px; background: rgba(255,255,255,.15); color: #fff; border: 0; border-radius: 999px; width: 44px; height: 44px; font-size: 1.4rem; cursor: pointer; }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { font-weight: 700; font-size: .92rem; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink);
}
.form textarea { min-height: 140px; }
.notice-dev { font-size: .85rem; color: var(--clay); }

/* Protected area banner */
.restricted-bar { background: var(--clay); color: #fff; text-align: center; font-size: .9rem; font-weight: 600; padding: 8px 16px; }

/* Footer */
.site-footer { background: var(--ink); color: #cfd8da; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; color: var(--gold); }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: .82rem; color: #9fb0b4; }

/* ============================================================
   v2 refresh (2026-10-27): more color, softer shapes, centered heads
   ============================================================ */
:root { --radius: 18px; --shadow: 0 1px 2px rgba(29,42,47,.05), 0 12px 32px rgba(29,42,47,.08); }
body { background: #fbf8f2; }
.eyebrow { background: var(--clay-tint); color: #8a3b28; padding: 4px 12px; border-radius: 999px; font-size: .74rem; }
section.dark .eyebrow, .pw-hero .eyebrow { background: transparent; padding: 0; }
.section-head { margin-left: auto; margin-right: auto; text-align: center; max-width: 820px; }
.section-head h2 { position: relative; }
.section-head h2::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 3px; margin: 14px auto 0; background: linear-gradient(90deg, var(--teal), var(--gold), var(--clay)); }
.hero { background: radial-gradient(900px 500px at 85% 10%, var(--gold-tint) 0%, transparent 60%), radial-gradient(700px 500px at 5% 90%, var(--teal-tint) 0%, transparent 60%), linear-gradient(180deg, #fff, #fbf8f2); }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); }
.page-hero { background: radial-gradient(800px 420px at 90% 0%, var(--gold-tint) 0%, transparent 60%), radial-gradient(600px 400px at 0% 100%, var(--teal-tint) 0%, transparent 60%), linear-gradient(180deg, #fff, #fbf8f2); border-bottom: 0; }
.page-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); }
.btn { box-shadow: 0 6px 16px rgba(14,90,97,.18); }
.btn.ghost { box-shadow: none; }
.card { border-radius: var(--radius); border-color: transparent; }
.card.accent-teal { background: linear-gradient(180deg, #fff, var(--teal-tint)); }
.card.accent-gold { background: linear-gradient(180deg, #fff, var(--gold-tint)); }
.card.accent-clay { background: linear-gradient(180deg, #fff, var(--clay-tint)); }
.card.accent-leaf { background: linear-gradient(180deg, #fff, var(--leaf-tint)); }
.card.accent-plum { background: linear-gradient(180deg, #fff, var(--plum-tint)); }
.card.link:hover { transform: translateY(-4px); }
.stat { border: 0; border-top: 6px solid var(--teal); }
.stats .stat:nth-child(2) { border-top-color: var(--gold); } .stats .stat:nth-child(2) b { color: #a06f17; }
.stats .stat:nth-child(3) { border-top-color: var(--clay); } .stats .stat:nth-child(3) b { color: var(--clay); }
.stats .stat:nth-child(4) { border-top-color: var(--plum); } .stats .stat:nth-child(4) b { color: var(--plum); }
.step { border: 0; background: #fff; box-shadow: var(--shadow); }
.steps .step:nth-child(6n+1) { background: linear-gradient(180deg, #fff, var(--teal-tint)); }
.steps .step:nth-child(6n+2) { background: linear-gradient(180deg, #fff, var(--gold-tint)); }
.steps .step:nth-child(6n+3) { background: linear-gradient(180deg, #fff, var(--clay-tint)); }
.steps .step:nth-child(6n+4) { background: linear-gradient(180deg, #fff, var(--leaf-tint)); }
.steps .step:nth-child(6n+5) { background: linear-gradient(180deg, #fff, var(--plum-tint)); }
.steps .step:nth-child(6n+6) { background: linear-gradient(180deg, #fff, #e3eef0); }
.site-footer { background: linear-gradient(135deg, #0b3338, #1d2a2f 60%, #2a1f2d); }
th { background: var(--teal); color: #fff; }
.callout { border-radius: var(--radius); border-left-width: 8px; }
section.band { padding: 56px 0; color: #fff; }
section.band h2, section.band h3 { color: #fff; }
section.band.teal { background: linear-gradient(135deg, var(--teal-deep), var(--teal)); }
section.band.gold { background: linear-gradient(135deg, #a06f17, var(--gold)); color: #1d2a2f; }
section.band.gold h2, section.band.gold h3 { color: #1d2a2f; }
section.band.clay { background: linear-gradient(135deg, #7d3424, var(--clay)); }
section.band.plum { background: linear-gradient(135deg, #4a3051, var(--plum)); }
section.band .eyebrow { background: rgba(255,255,255,.2); color: #fff; }
section.band .section-head h2::after { background: rgba(255,255,255,.7); }
section.band .btn { background: #fff; color: var(--teal-deep); border-color: #fff; box-shadow: none; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 18px; max-width: 900px; margin: 0 auto; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 4px; border-radius: 2px; background: linear-gradient(180deg, var(--teal), var(--gold), var(--clay), var(--plum)); }
.tl { position: relative; background: #fff; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); }
.tl::before { content: ""; position: absolute; left: -26px; top: 20px; width: 16px; height: 16px; border-radius: 50%; background: var(--teal); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--teal); }
.tl:nth-child(4n+2)::before { background: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.tl:nth-child(4n+3)::before { background: var(--clay); box-shadow: 0 0 0 2px var(--clay); }
.tl:nth-child(4n+4)::before { background: var(--plum); box-shadow: 0 0 0 2px var(--plum); }
.tl b.yr { display: inline-block; font-family: var(--font-display); font-size: 1.25rem; color: var(--teal-deep); margin-right: 10px; }
.tl p { margin: 4px 0 0; font-size: .98rem; }
.tl .src { font-size: .8rem; color: var(--ink-soft); }

/* Quote band */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.quote { background: rgba(255,255,255,.12); border-radius: var(--radius); padding: 20px 22px; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.4; }
.quote small { display: block; margin-top: 10px; font-family: var(--font-body); font-size: .82rem; opacity: .85; }

/* Team tiles (High Tech) */
.teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.team { background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); border-top: 6px solid var(--tc, var(--teal)); }
.team .n { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tc, var(--teal)); }
.team h3 { font-size: 1.08rem; margin: 2px 0 6px; }
.team p { font-size: .92rem; color: var(--ink-soft); margin: 0 0 6px; }
.team .pt { font-size: .82rem; color: var(--ink); }
.team:nth-child(6n+2) { --tc: var(--gold); } .team:nth-child(6n+3) { --tc: var(--clay); } .team:nth-child(6n+4) { --tc: var(--leaf); } .team:nth-child(6n+5) { --tc: var(--plum); } .team:nth-child(6n+6) { --tc: var(--teal-deep); }

/* Download tiles */
.dls { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.dlt { background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; border-left: 6px solid var(--dc, var(--teal)); }
.dlt h3 { font-size: 1.05rem; margin: 0 0 4px; }
.dlt p { font-size: .9rem; color: var(--ink-soft); margin: 0 0 10px; flex: 1; }
.dlt .row { display: flex; gap: 8px; flex-wrap: wrap; }
.dlt .row a { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; text-decoration: none; background: var(--teal-tint); color: var(--teal-deep); }
.dlt .row a:hover { background: var(--teal); color: #fff; }
.dlt:nth-child(5n+2) { --dc: var(--gold); } .dlt:nth-child(5n+3) { --dc: var(--clay); } .dlt:nth-child(5n+4) { --dc: var(--leaf); } .dlt:nth-child(5n+5) { --dc: var(--plum); }

/* Bars (asset report) */
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 190px 1fr 46px; align-items: center; gap: 12px; font-size: .95rem; }
.bar i { display: block; height: 16px; border-radius: 8px; background: linear-gradient(90deg, var(--teal), var(--gold)); }
.bar.ch i { background: linear-gradient(90deg, var(--clay), var(--plum)); }
.bar b { text-align: right; }
@media (max-width: 560px) { .bar { grid-template-columns: 1fr 40px; } .bar span { grid-column: 1 / -1; } }

/* Video */
.video-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-wrap video { width: 100%; display: block; aspect-ratio: 16 / 9; }

/* ============================================================
   v3 vibrant palette (2026-10-28): bold, bright, no dark backgrounds
   ============================================================ */
:root {
  --ink: #1b2240; --ink-soft: #4a5370;
  --teal: #0a7cc2; --teal-deep: #0b5fa5; --teal-tint: #e3f1ff;
  --gold: #ffb703; --gold-tint: #fff2c4;
  --clay: #f2542d; --clay-tint: #ffe3d9;
  --leaf: #22b573; --leaf-tint: #dcf7e8;
  --plum: #8b3fd9; --plum-tint: #efe3fd;
  --aqua: #12b5c9; --aqua-tint: #d9f6f9;
  --pink: #ec4899; --pink-tint: #fde2ef;
  --cream: #ffffff; --paper: #ffffff; --line: #e6ebf5;
  --shadow: 0 2px 4px rgba(27,34,64,.05), 0 14px 36px rgba(27,34,64,.09);
  --grad-brand: linear-gradient(135deg, #0a7cc2, #8b3fd9);
  --grad-warm: linear-gradient(135deg, #f2542d, #ec4899);
  --grad-sun: linear-gradient(135deg, #ffb703, #ff7a18);
  --grad-rainbow: linear-gradient(90deg, #0a7cc2, #12b5c9, #22b573, #ffb703, #f2542d, #ec4899, #8b3fd9);
}
body { background: #ffffff; }
h1, h2, h3, h4 { color: var(--ink); }
.hero h1, .page-hero h1 { background: linear-gradient(90deg, #0b5fa5, #8b3fd9 55%, #f2542d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { background: var(--grad-warm); color: #fff; }
.site-header { background: rgba(255,255,255,.92); border-bottom: 0; box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(27,34,64,.05); }
.site-header::after { content: ""; display: block; height: 4px; background: var(--grad-rainbow); }
.nav a:hover { background: var(--teal-tint); color: var(--teal-deep); }
.nav a[aria-current="page"] { background: var(--teal-tint); color: var(--teal-deep); }
.nav .nav-cta { background: var(--grad-warm); border: 0; box-shadow: 0 6px 16px rgba(242,84,45,.28); }
.nav .nav-cta:hover { background: linear-gradient(135deg, #e0401a, #d6307f); }
.hero { background:
  radial-gradient(640px 420px at 88% 8%, #ffe3a8 0%, transparent 62%),
  radial-gradient(560px 420px at 2% 96%, #c8ebff 0%, transparent 60%),
  radial-gradient(420px 320px at 60% 110%, #ffd3e6 0%, transparent 60%),
  radial-gradient(360px 300px at 30% 0%, #d4f7ea 0%, transparent 60%), #fff; }
.page-hero { background:
  radial-gradient(640px 380px at 92% 0%, #ffe3a8 0%, transparent 60%),
  radial-gradient(520px 360px at 0% 100%, #c8ebff 0%, transparent 60%),
  radial-gradient(360px 280px at 55% 120%, #ffd3e6 0%, transparent 60%), #fff; }
.hero-art { filter: drop-shadow(0 18px 40px rgba(139,63,217,.25)); }
.btn { background: var(--grad-warm); border: 0; padding: 14px 22px; box-shadow: 0 8px 22px rgba(236,72,153,.28); }
.btn:hover { background: linear-gradient(135deg, #e0401a, #d6307f); color: #fff; }
.btn.ghost { background: #fff; color: var(--teal-deep); border: 2px solid var(--teal); box-shadow: none; }
.btn.ghost:hover { background: var(--teal-tint); color: var(--teal-deep); }
section.alt { background: linear-gradient(180deg, #f4f9ff, #fff7fb); border: 0; }
.section-head h2::after { background: var(--grad-rainbow); height: 6px; width: 96px; }
.card { box-shadow: var(--shadow); }
.card.accent-teal { background: linear-gradient(180deg, #fff 30%, var(--teal-tint)); border-top-color: var(--teal); }
.card.accent-gold { background: linear-gradient(180deg, #fff 30%, var(--gold-tint)); border-top-color: var(--gold); }
.card.accent-clay { background: linear-gradient(180deg, #fff 30%, var(--clay-tint)); border-top-color: var(--clay); }
.card.accent-leaf { background: linear-gradient(180deg, #fff 30%, var(--leaf-tint)); border-top-color: var(--leaf); }
.card.accent-plum { background: linear-gradient(180deg, #fff 30%, var(--plum-tint)); border-top-color: var(--plum); }
.card .more { color: var(--clay); }
.tag { background: var(--teal-tint); color: var(--teal-deep); }
.tag.gold { background: var(--gold-tint); color: #8a5a00; } .tag.clay { background: var(--clay-tint); color: #b83a16; }
.tag.leaf { background: var(--leaf-tint); color: #157a4c; } .tag.plum { background: var(--plum-tint); color: #6a2bb0; }
.stat { background: #fff; box-shadow: var(--shadow); border-top-width: 8px; }
.stat b { font-size: 2.4rem; }
.stats .stat:nth-child(2) b { color: #e08f00; } .stats .stat:nth-child(3) b { color: var(--clay); } .stats .stat:nth-child(4) b { color: var(--plum); }
.steps .step:nth-child(6n+6) { background: linear-gradient(180deg, #fff, var(--aqua-tint)); }
.step:nth-child(6n+6) .letter { background: var(--aqua); }
th { background: var(--grad-brand); color: #fff; }
.callout.teal { border-color: var(--teal); background: var(--teal-tint); }
.check li::before { background: var(--grad-warm); }
.poster .thumb { background: var(--teal-tint); }
.restricted-bar { background: var(--grad-warm); }

/* Dark sections become bright */
section.dark { background: var(--grad-brand); color: #fff; }
section.dark a { color: #ffd766; }
section.dark .eyebrow { background: rgba(255,255,255,.22); }
section.band.teal { background: linear-gradient(135deg, #0a7cc2, #12b5c9 55%, #22b573); }
section.band.clay { background: var(--grad-warm); }
section.band.plum { background: linear-gradient(135deg, #8b3fd9, #ec4899); }
section.band.gold { background: linear-gradient(135deg, #ffd166, #ffb703 50%, #ff8a3d); color: var(--ink); }
section.band .btn { background: #fff; color: var(--teal-deep); }
.quote { background: rgba(255,255,255,.2); }

/* Timeline, tiles, bars */
.timeline::before { background: var(--grad-rainbow); background: linear-gradient(180deg, #0a7cc2, #12b5c9, #22b573, #ffb703, #f2542d, #ec4899, #8b3fd9); }
.tl b.yr { color: var(--teal); }
.team:nth-child(6n+6) { --tc: var(--aqua); }
.dlt .row a { background: var(--teal-tint); color: var(--teal-deep); }
.dlt .row a:hover { background: var(--teal); color: #fff; }
.bar i { background: linear-gradient(90deg, #0a7cc2, #12b5c9, #22b573); }
.bar.ch i { background: linear-gradient(90deg, #ffb703, #f2542d, #ec4899); }

/* Footer: bright, not dark */
.site-footer { background: linear-gradient(135deg, #0a7cc2 0%, #6b3fd9 60%, #c23b9a 100%); color: #f3f6ff; }
.site-footer a { color: #fff; }
.site-footer h4 { color: #ffe08a; }
.footer-grid a:hover { color: #ffe08a; }
.legal { border-top-color: rgba(255,255,255,.25); color: #e4e9ff; }

/* Photos (2026-10-28) */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photos.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .photos.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .photos { grid-template-columns: repeat(2, 1fr); } }
.photos figure { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--teal-tint); aspect-ratio: 4 / 3; position: relative; }
.photos.tall figure { aspect-ratio: 3 / 4; }
.photos img { width: 100%; height: 100%; object-fit: cover; }
.photos figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; font-size: .88rem; font-weight: 700; color: #fff; background: linear-gradient(180deg, transparent, rgba(27,34,64,.72)); }
.photo-note { font-size: .85rem; color: var(--ink-soft); text-align: center; margin-top: 14px; }

/* Stories page and figures (2026-10-28) */
.fig { margin: 28px auto 0; max-width: 1100px; }
.fig a { display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); }
.fig img { width: 100%; height: auto; display: block; }
.fig figcaption { margin-top: 12px; font-size: .92rem; color: var(--ink-soft); text-align: center; }
.fig figcaption a { display: inline; box-shadow: none; border: 0; font-weight: 700; }
.lenses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .lenses { grid-template-columns: 1fr; } }
.lens { background: #fff; border-radius: 22px; padding: 28px 24px 26px; box-shadow: var(--shadow); border-top: 10px solid var(--c); text-align: center; }
.lens .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; background: linear-gradient(135deg, var(--c), var(--c2, var(--c))); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.lens h3 { font-size: 1.15rem; margin-bottom: .4em; }
.lens p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.eras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 820px) { .eras { grid-template-columns: 1fr; } }
.era { padding: 28px 26px; color: #fff; }
.era:nth-child(1) { background: linear-gradient(160deg, #0b5fa5, #0a7cc2); } .era:nth-child(2) { background: linear-gradient(160deg, #12b5c9, #22b573); } .era:nth-child(3) { background: linear-gradient(160deg, #f2542d, #ffb703); }
.era h3 { color: #fff; font-size: 1.35rem; margin-bottom: .3em; } .era .k { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; opacity: .9; }
.era p { margin: 10px 0 0; font-size: .97rem; } .era p.src { font-size: .8rem; opacity: .9; }
.story-quote { max-width: 900px; margin: 0 auto; padding: 32px 36px; border-radius: 24px; background: linear-gradient(135deg, #e3f1ff, #fff3d6 60%, #fde4ec); box-shadow: var(--shadow); }
.story-quote p { margin: 0 0 1em; } .story-quote p:last-child { margin: 0; }
.story-quote .pull { color: var(--ink); }
.draft { display: inline-block; background: var(--gold-tint, #fff3d6); color: #7a4a00; font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }

/* v4 (2026-10-28 evening): Gina's redesign notes. Bigger name, mixed type, everything centered,
   the blue-violet-pink gradient as the site's frame, new tree-ring mark. */
:root { --font-head: "Bricolage Grotesque", "Fraunces", Georgia, serif; --grad-site: linear-gradient(135deg, #0a7cc2 0%, #6b3fd9 55%, #c23b9a 100%); --grad-soft: linear-gradient(135deg, #e8f2ff, #efe6ff 55%, #ffe6f1); }
body { background: var(--grad-site) fixed; background-attachment: fixed; }
main { background: #fff; max-width: 1320px; margin: 0 auto 28px; border-radius: 0 0 30px 30px; overflow: hidden; box-shadow: 0 30px 80px rgba(20,20,60,.25); }
@media (max-width: 1340px) { main { border-radius: 0; margin-bottom: 0; } }
.site-header { background: var(--grad-site); box-shadow: none; }
.site-header::after { display: none; }
.header-inner { max-width: 1320px; padding: 14px 24px; }
.brand { color: #fff; gap: 14px; }
.brand img { width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 6px 18px rgba(0,0,0,.25); background: #fff; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; letter-spacing: -.01em; color: #fff; }
.brand-sub { color: rgba(255,255,255,.85); font-size: .7rem; letter-spacing: .14em; }
.nav a { color: #fff; font-weight: 700; padding: 9px 13px; border-radius: 999px; }
.nav a:hover { background: rgba(255,255,255,.18); color: #fff; }
.nav a[aria-current="page"] { background: #fff; color: #6b3fd9; }
.nav .nav-cta { background: #ffb703; color: #1b2240; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.nav .nav-cta:hover { background: #ffc531; color: #1b2240; }
.nav-toggle { color: #fff; border-color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .nav { background: var(--grad-site); } }
h1 { font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em; }
h2 { font-family: var(--font-display); font-weight: 600; }
h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.01em; }
.eyebrow { font-family: var(--font-head); letter-spacing: .12em; }
.hero, .page-hero { text-align: center; background: var(--grad-soft); border: 0; }
.hero .wrap, .page-hero .wrap { display: flex; flex-direction: column; align-items: center; }
.hero-grid { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero-grid > div { max-width: 860px; }
.hero-art { width: min(300px, 70vw); order: -1; filter: drop-shadow(0 18px 40px rgba(107,63,217,.3)); }
.hero .lead, .page-hero .lead { margin-left: auto; margin-right: auto; max-width: 780px; }
.hero .btn-row, .page-hero .btn-row { justify-content: center; }
.hero h1, .page-hero h1 { background: var(--grad-site); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
section { text-align: center; }
section .grid, section .steps, section .photos, section .pubs, section .timeline, section .cases, section .teams, section .dls, section .dlt, section .table-wrap, section ul.check, section .form { text-align: left; }
.section-head { max-width: 860px; }
.section-head p, .wrap.narrow > p { margin-left: auto; margin-right: auto; }
.btn-row { justify-content: center; }
section.alt { background: var(--grad-soft); }
section.dark { background: var(--grad-site); color: #fff; }
section.dark .pull, section.dark a { color: #fff; }
section.dark a { text-decoration: underline; }
.site-footer { background: transparent; color: #fff; }
.site-footer .wrap { max-width: 1320px; }
.card, .case, .way, .tl, .step { text-align: left; }
.lenses, .eras, .story-quote { text-align: left; }
.lens, .era { text-align: center; }
.rings-art { max-width: 520px; margin: 0 auto 24px; filter: drop-shadow(0 18px 40px rgba(107,63,217,.25)); }
.big-word { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; background: var(--grad-site); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tiles3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .tiles3 { grid-template-columns: 1fr; } }
.tile { background: #fff; border-radius: 22px; padding: 26px 22px; box-shadow: var(--shadow); border-top: 8px solid var(--c, #6b3fd9); text-align: left; }
.tile h3 { margin-bottom: .3em; } .tile p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.tile .more { display: inline-block; margin-top: 10px; font-weight: 800; color: var(--c, #6b3fd9); }
a.tile { display: block; text-decoration: none; color: var(--ink); transition: transform .15s; } a.tile:hover { transform: translateY(-4px); }
.lib-item { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; }
.lib-item:last-child { border-bottom: 0; }
.lib-item .k { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--grad-soft); }
.lib-item b { display: block; } .lib-item p { margin: 4px 0 0; font-size: .95rem; color: var(--ink-soft); } .lib-item .cite { font-size: .85rem; color: var(--ink-soft); }
.preview-note { background: #fff3d6; color: #7a4a00; border-radius: 14px; padding: 10px 16px; font-weight: 700; font-size: .92rem; display: inline-block; }

/* Video cards (2026-11-02): click-to-play YouTube, nothing loads until pressed */
.vids { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.vid { background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(20,40,90,.08); overflow: hidden; text-align: left; }
.vid .frame { position: relative; aspect-ratio: 16/9; background: var(--grad-soft); display: block; width: 100%; border: 0; padding: 0; cursor: pointer; }
.vid .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid .frame .play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: var(--grad-site); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.vid .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid .meta { padding: 14px 18px 18px; } .vid .meta .kind { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #6b3fd9; }
.vid .meta b { display: block; font-family: var(--font-head, inherit); font-size: 1.1rem; margin: 4px 0; } .vid .meta p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.vid .frame video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
a.vid-frame-link, .vid a.frame { text-decoration: none; }
.vid .frame .ext { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 14px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .85rem; font-weight: 700; text-align: center; }
.vchips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 22px; }
.vchips .chip { border: 2px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .9rem; cursor: pointer; }
.vchips .chip.on { background: var(--grad-site); color: #fff; border-color: transparent; }

/* Scholars Day numbers (2026-11-02) */
.tiles3 .tile .k { font-family: var(--font-head, inherit); font-weight: 800; font-size: 2rem; background: var(--grad-site); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tiles3 .tile b { display: block; margin: 4px 0 6px; font-size: 1.05rem; }
.tiles4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .tiles4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tiles4 { grid-template-columns: 1fr; } }
ul.plain { list-style: none; padding: 0; margin: 0 0 10px; } ul.plain li { padding: 6px 0; border-bottom: 1px solid var(--line); } ul.plain li:last-child { border-bottom: 0; }

/* 2026-11-02: Gina: "the quotes need to be more centered." Hero quotes now sit on the page's center
   line with centered text and a top accent instead of a left bar; quote bands (HPAC, High Tech, Journal)
   center their text too. */
.hero-quotes { margin: 26px auto 0; max-width: 680px; justify-items: center; }
.hero-quote { width: 100%; text-align: center; border-left: 0; border-top: 4px solid var(--accent, #f2542d); border-radius: var(--radius); }
.hero-quote small { text-align: center; }
.hero .lead, .hero .story-line { margin-left: auto; margin-right: auto; }
.story-line { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.45; max-width: 760px; margin: 0 auto 14px; color: var(--ink); }
.quotes { justify-items: stretch; }
.quote { text-align: center; }
.loop { max-width: 900px; margin: 26px auto 0; background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 28px 32px; border-top: 8px solid #6b3fd9; text-align: left; }
.loop h3 { text-align: center; margin-bottom: .5em; }
.loop ol { margin: 10px 0 0 1.2em; padding: 0; } .loop li { margin: 6px 0; }

/* 2026-11-02: featured HPAC video at the top of hpac.html */
.feature-video { max-width: 880px; margin: 30px auto 0; }
.feature-video .video-wrap { box-shadow: 0 24px 60px rgba(107,63,217,.25); }
