/* COLG CDC site styles
   Brand colors from the official color sheet: burgundy #471628, gold #d8af52. */

:root {
  --burgundy: #471628;
  --burgundy-deep: #2e0d19;
  --burgundy-soft: #6a2a40;
  --gold: #d8af52;
  --gold-light: #ecd59c;
  --gold-text: #7a5c15;       /* gold that passes contrast on light backgrounds */
  --cream: #fbf7f0;
  --sand: #f3ead9;
  --ink: #1f1a1c;
  --muted: #5b5257;
  --line: #e4d9c6;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(46, 13, 25, .06), 0 8px 24px rgba(46, 13, 25, .08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); text-underline-offset: .18em; }
a:hover { color: var(--burgundy-soft); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--burgundy);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--burgundy); color: #f6ecef; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark a { color: var(--gold-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }

.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--muted); max-width: 46ch; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Draft banner (remove at launch) */
.draft-bar {
  background: var(--gold); color: var(--burgundy-deep);
  font-size: .85rem; font-weight: 600; text-align: center; padding: 6px 16px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--burgundy-deep); }
.btn--gold:hover { background: var(--gold-light); color: var(--burgundy-deep); }
.btn--burgundy { background: var(--burgundy); color: var(--white); }
.btn--burgundy:hover { background: var(--burgundy-soft); color: var(--white); }
.btn--ghost { border-color: currentColor; color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn--outline { border-color: var(--burgundy); color: var(--burgundy); }
.btn--outline:hover { background: var(--burgundy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--burgundy); }
.brand img { width: 40px; height: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .01em; }
.brand-name span { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--burgundy); color: var(--burgundy);
  border-radius: 10px; padding: 8px 12px; font: 700 .95rem var(--font-body); cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem;
}
.site-nav a:hover { background: var(--sand); color: var(--burgundy); }
.site-nav a[aria-current="page"] { color: var(--burgundy); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.site-nav .nav-give a { background: var(--burgundy); color: var(--white); margin-left: 8px; padding: 9px 20px; }
.site-nav .nav-give a:hover { background: var(--burgundy-soft); color: var(--white); }
.site-nav .nav-give a[aria-current="page"] { box-shadow: none; border-radius: 999px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; gap: 0; }
  .site-nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); padding-left: 14px; }
  .site-nav .nav-give a { margin: 16px 0 0; text-align: center; border-radius: 999px; border: 0; }
}

/* Home hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(216,175,82,.16), transparent 60%),
    linear-gradient(160deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  color: #f6ecef;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: clamp(32px, 6vw, 80px);
  padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(64px, 10vw, 140px);
}
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero .lead { color: #e9d9df; margin-bottom: 2rem; }
.hero-crest { position: relative; justify-self: center; width: min(340px, 70vw); }
.hero-crest::before {
  /* pointed-oval halo that echoes the crest's shape */
  content: ""; position: absolute; inset: -9% -14%;
  border: 1.5px solid rgba(216,175,82,.45);
  border-radius: 50% / 62%;
}
.hero-crest::after {
  content: ""; position: absolute; inset: -18% -26%;
  border: 1px solid rgba(216,175,82,.18);
  border-radius: 50% / 62%;
}
.hero-crest img { position: relative; z-index: 1; filter: drop-shadow(0 18px 40px rgba(0,0,0,.35)); }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: left; }
  .hero-crest { order: -1; width: 150px; justify-self: start; }
  .hero-crest::before, .hero-crest::after { display: none; }
}

/* Facts strip */
.facts { background: var(--burgundy-deep); color: #f1e3e8; border-top: 1px solid rgba(216,175,82,.25); }
.facts ul {
  list-style: none; margin: 0; padding: 22px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.facts li { display: flex; flex-direction: column; padding-left: 16px; border-left: 2px solid var(--gold); }
.facts strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); line-height: 1.2; }
.facts span { font-size: .92rem; }
@media (max-width: 760px) { .facts ul { grid-template-columns: repeat(2, 1fr); row-gap: 20px; } }

/* Interior page hero */
.page-hero {
  background: linear-gradient(160deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  color: #ead9df; position: relative; overflow: hidden;
}
.page-hero .wrap { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); position: relative; }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lead { color: #e9d9df; }
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: 50%; width: 420px; height: 560px; transform: translateY(-50%);
  border: 1.5px solid rgba(216,175,82,.3); border-radius: 50% / 62%;
}
@media (max-width: 760px) { .page-hero::after { display: none; } }

/* Cards and grids */
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); }
.card .card-link { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .card-link::after { content: " \2192"; }
.card-tag { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .4em; }

/* Pointed-oval icon badge */
.badge {
  width: 64px; height: 80px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: var(--burgundy); color: var(--gold);
  border-radius: 50% / 60%;
  box-shadow: inset 0 0 0 3px var(--burgundy), inset 0 0 0 5px var(--gold);
}
.badge svg { width: 30px; height: 30px; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Delivery modes */
.modes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.modes li {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
}
.modes svg { width: 28px; height: 28px; color: var(--burgundy); margin-top: 4px; justify-self: center; }
.modes strong { display: block; color: var(--burgundy); font-size: 1.05rem; }
.modes span { color: var(--muted); font-size: 1rem; }

/* Quote / statement */
.statement {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3;
  color: var(--white); max-width: 26ch; margin: 0;
}
.statement-src { margin-top: 1rem; color: var(--gold-light); font-size: 1rem; }

/* Mission and vision panels */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }
.mv-panel { background: var(--white); border-radius: var(--radius); border-top: 4px solid var(--gold); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.mv-panel p:not(.eyebrow) { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; color: var(--ink); margin: 0; }

/* People */
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .people { grid-template-columns: 1fr; } }
.person {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center;
}
.monogram {
  width: 72px; height: 90px; margin: 0 auto 14px; display: grid; place-items: center;
  border-radius: 50% / 60%; background: var(--sand); color: var(--burgundy);
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  box-shadow: inset 0 0 0 2px var(--gold);
}
.person strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--burgundy); line-height: 1.25; }
.person span { display: block; color: var(--muted); font-size: .95rem; margin-top: 4px; }
.person .officer { display: inline-block; margin-top: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }

/* Program detail */
.program { scroll-margin-top: 100px; }
.program + .program { border-top: 1px solid var(--line); }
.program .split { align-items: start; }
.program-name { font-family: var(--font-display); font-style: italic; color: var(--gold-text); font-size: 1.2rem; margin-bottom: .3em; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23471628' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list .planned { color: var(--muted); }
.check-list .planned::before { background: var(--sand); box-shadow: inset 0 0 0 2px var(--gold); background-image: none; }
.legend { font-size: .9rem; color: var(--muted); margin-top: 16px; }
.panel { background: var(--sand); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.panel h3 { font-size: 1.15rem; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 26px 40px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--gold);
}
.timeline time { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); }
.timeline strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--burgundy); font-weight: 600; }
.timeline span { color: var(--muted); font-size: 1rem; }
.year-label { font-family: var(--font-display); font-size: 1.6rem; color: var(--burgundy); margin: 8px 0 18px; }

/* Notice / empty state */
.notice {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
  background: var(--white); border: 1px dashed var(--gold); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px);
}
.notice svg { width: 40px; height: 40px; color: var(--gold-text); }
.notice p { margin: 0; color: var(--muted); }
.notice strong { color: var(--burgundy); display: block; font-size: 1.15rem; margin-bottom: 4px; }
@media (max-width: 520px) { .notice { grid-template-columns: 1fr; } }

/* Give page */
.give-card { border-top: 4px solid var(--gold); }
.give-card .status { display: inline-block; align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--sand); color: var(--gold-text); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.address { font-style: normal; background: var(--sand); border-radius: 10px; padding: 14px 16px; margin: 4px 0 18px; color: var(--ink); line-height: 1.5; }
.fine { font-size: .92rem; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--gold); color: var(--burgundy-deep); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.cta-band h2 { color: var(--burgundy-deep); margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 24ch; }

/* Contact */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list svg { width: 24px; height: 24px; color: var(--burgundy); margin-top: 4px; justify-self: center; }
.contact-list strong { display: block; color: var(--burgundy); }

/* Footer */
.site-footer { background: var(--burgundy-deep); color: #d9c6cd; font-size: 1rem; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { width: 64px; }
.footer-brand p { margin: 0; }
.footer-brand strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 6px; }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #f1e3e8; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.55; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(216,175,82,.45); }
.social a:hover { background: rgba(216,175,82,.15); text-decoration: none; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-base {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(216,175,82,.2);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; color: #b8a2aa;
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Refinements */
.h3 { font-size: 1.35rem; }
.card-title { font-size: 1.6rem; }
.split--top { align-items: start; }
.panel--white { background: var(--white); }
.ein { margin: 0; }
@media (max-width: 420px) {
  .brand img { width: 34px; }
  .brand-name strong { font-size: 1.2rem; }
  .brand-name span { font-size: .6rem; letter-spacing: .05em; }
}
@media print {
  .site-header, .draft-bar, .cta-band, .site-footer .social { display: none; }
  .hero, .page-hero, .section--dark, .facts { background: none; color: var(--ink); }
  .hero h1, .page-hero h1, .section--dark h2, .section--dark h3, .statement { color: var(--burgundy); }
}
