/* Ty Bommarito for Youth Chair
   Brand: burgundy #800020 + navy #13294B + white.
   Rule: never set burgundy text on navy (or navy on burgundy). Separate them with white. */

@font-face { font-family: "Barlow"; src: url("assets/fonts/Barlow-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/Barlow-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/Barlow-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --burgundy: #800020;
  --burgundy-dark: #660019;
  --navy: #13294B;
  --navy-dark: #0C1C35;
  --white: #FFFFFF;
  --tint: #F6F3EF;
  --ink: #13294B;
  --muted: #4A5872;
  --line: #E2DDD6;
  --radius: 6px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 18px/1.6 "Barlow", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 44px); letter-spacing: -0.01em; }
h3 { font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.eyebrow {
  margin: 0 0 12px;
  font-weight: 800; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--burgundy);
}
.eyebrow--light { color: rgba(255,255,255,.85); }
.lead { font-size: 21px; color: var(--muted); }

/* Placeholder highlight: remove <mark class="ph"> wrappers once real content is in. */
mark.ph { background: #FFF1B8; color: #5A4500; padding: 0 4px; border-radius: 3px; }
mark.ph--dark { background: rgba(255,241,184,.18); color: #FFE9A0; }

/* Buttons */
.btn {
  display: inline-block; padding: 15px 30px; border-radius: var(--radius); border: 2px solid transparent;
  font: 800 15px/1 "Barlow", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--white { background: var(--white); color: var(--burgundy); }
.btn--white:hover { background: var(--tint); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.8); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--burgundy { background: var(--burgundy); color: var(--white); }
.btn--burgundy:hover { background: var(--burgundy-dark); }
:focus-visible { outline: 3px solid #F2B705; outline-offset: 2px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__brand { font-weight: 800; font-size: 20px; letter-spacing: 0.16em; color: var(--burgundy); text-decoration: none; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav__links a:not(.btn):hover { color: var(--burgundy); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.08), transparent 60%),
    var(--burgundy);
  color: var(--white);
  padding: 72px 0 80px;
  text-align: center;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__logo { width: min(760px, 100%); margin: 8px 0 28px; }
.hero__logo img { width: 100%; }
.hero__tag { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* Slogan band */
.band { background: var(--navy); color: var(--white); border-top: 4px solid var(--white); }
.band__inner {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; padding: 22px 24px;
  font-weight: 800; font-size: 20px; letter-spacing: 0.2em; text-transform: uppercase;
}

/* Sections */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 680px; margin-bottom: 48px; }

/* About */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.about__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--navy); position: relative; }
.about__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--burgundy); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-ph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: rgba(255,255,255,.6); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
.photo-ph svg { width: 96px; fill: rgba(255,255,255,.25); }
.about__text h2 { margin-bottom: 20px; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; }
.facts strong { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--burgundy); }
.facts span { font-size: 16px; }

/* Service */
.service { background: var(--navy); color: var(--white); padding: 96px 0; }
.service__inner { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.service__photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; border-bottom: 10px solid var(--white); }
.service__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.service h2 { margin-bottom: 20px; }
.service p { color: rgba(255,255,255,.88); }
.service .disclaimer { margin-top: 28px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.45); border-radius: 4px; font-size: 15px; line-height: 1.5; color: var(--white); }
@media (max-width: 960px) { .service__inner { grid-template-columns: 1fr; gap: 40px; } .service__photo { max-width: 420px; } }
@media (max-width: 760px) { .service { padding: 64px 0; } }

/* Why */
.why__bridge { width: 220px; margin: 0 0 28px; }
#why h2 { margin-bottom: 28px; }
.letter p { font-size: 19px; }
.sig { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--burgundy); margin-top: 28px; }
.draft-note { font-size: 14px; color: var(--muted); font-style: italic; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 32px; }

/* Plan cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--burgundy); border-radius: var(--radius); padding: 28px 24px; }
.card__num { display: block; font-weight: 800; font-size: 40px; color: var(--navy); opacity: .18; line-height: 1; margin-bottom: 14px; }
.card h3 { color: var(--burgundy); margin-bottom: 12px; }
.card p { font-size: 16px; color: var(--muted); margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.gallery .g-big { grid-column: span 2; grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 11px; color: var(--white); font-weight: 600; font-size: 15px; line-height: 1.3; background: linear-gradient(transparent, rgba(12,28,53,.88)); }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery .g-big, .gallery .g-wide { grid-column: auto; grid-row: auto; }
  .gallery .g-big { grid-row: span 1; height: 300px; }
}

/* Delegate CTA */
.cta-band { background: var(--burgundy); color: var(--white); padding: 56px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 19px; opacity: .9; }
.cta-band .btn { flex-shrink: 0; }

/* Endorsements */
.endorse { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.endorse__item { margin: 0; padding: 28px; background: var(--tint); border-left: 5px solid var(--navy); border-radius: var(--radius); }
.endorse blockquote { margin: 0 0 18px; font-size: 19px; font-style: italic; }
.endorse figcaption strong { display: block; }
.endorse figcaption span { font-size: 15px; color: var(--muted); }

/* Join */
.join { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.join__intro h2 { margin-bottom: 16px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li { padding-left: 34px; position: relative; margin-bottom: 12px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--burgundy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

.form { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--navy); border-radius: var(--radius); padding: 32px; display: grid; gap: 18px; box-shadow: 0 10px 30px rgba(19,41,75,.08); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--navy); }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  font: 400 17px/1.4 "Barlow", sans-serif; color: var(--ink); padding: 12px 14px;
  border: 1.5px solid #CBD2DD; border-radius: 4px; background: var(--white); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(19,41,75,.15); }
.form .invalid { border-color: var(--burgundy); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
legend { font-size: 14px; font-weight: 600; letter-spacing: .04em; margin-bottom: 10px; padding: 0; }
.form label.check { display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 16px; letter-spacing: 0; }
.check input { width: 18px; height: 18px; accent-color: var(--burgundy); flex-shrink: 0; }
.form__status { margin: 0; font-weight: 600; min-height: 1.2em; }
.form__status.ok { color: #1D6B3A; }
.form__status.err { color: var(--burgundy); }

/* Donate */
.donate { background: var(--navy); color: var(--white); padding: 96px 0; }
.donate h2 { margin-bottom: 16px; }
.donate .lead { color: rgba(255,255,255,.8); }
.amounts { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 32px 0 16px; }
.amount {
  min-width: 108px; padding: 18px 20px; border-radius: var(--radius); background: var(--white); color: var(--navy);
  font-weight: 800; font-size: 22px; text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.amount:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.donate__note { font-size: 15px; color: rgba(255,255,255,.7); margin: 0; }

/* Footer */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding: 56px 0 40px; text-align: center; font-size: 15px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; }
.footer__logo { width: 220px; margin-bottom: 28px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.footer__links a { color: var(--white); text-decoration: none; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }
.footer__paid { border: 1px solid rgba(255,255,255,.4); padding: 8px 14px; display: inline-block; margin-bottom: 14px; }
.footer__dod { max-width: 640px; margin-bottom: 10px !important; }
.footer__fine { margin: 0; font-size: 13px; opacity: .7; }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .endorse { grid-template-columns: 1fr; }
  .about, .join { grid-template-columns: 1fr; gap: 40px; }
  .about__photo { max-width: 420px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid var(--line);
  }
  .nav__links.open { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 16px; text-align: center; }
  .hero { padding: 48px 0 56px; }
  .band__inner { gap: 6px 20px; font-size: 15px; letter-spacing: .14em; padding: 16px; }
  .section, .donate { padding: 64px 0; }
  .cards { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .form { padding: 22px 18px; }
  .form__row, fieldset { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .amount { transition: none; } }

/* 2026 record */
.record { background: var(--tint); padding: 72px 0; border-top: 1px solid var(--line); }
.record h2 { margin-bottom: 32px; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats li { background: var(--white); border-left: 6px solid var(--burgundy); border-radius: var(--radius); padding: 22px 20px; }
.stats strong { display: block; font-size: 44px; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.stats span { font-size: 16px; color: var(--muted); line-height: 1.4; display: block; }
.record__note { margin: 24px 0 0; max-width: 760px; color: var(--muted); }
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats strong { font-size: 36px; } }

/* Reforms list */
.reforms { margin-top: 40px; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 32px 36px; }
.reforms h3 { color: var(--white); margin: 0 0 16px; }
.reforms ul { margin: 0; padding-left: 20px; columns: 2; column-gap: 40px; }
.reforms li { margin-bottom: 10px; break-inside: avoid; color: rgba(255,255,255,.9); }
@media (max-width: 760px) { .reforms { padding: 24px 20px; } .reforms ul { columns: 1; } }
.record__sub { color: var(--burgundy); margin: 36px 0 16px; }
.stats--alt li { border-left-color: var(--navy); }
.stats--alt strong { color: var(--burgundy); }

/* Why photo */
.why__photo { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.why__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 35%; display: block; }
