/* Fund Public Schools — site styles
   Palette pulled from the shirt: sage green, cream, brick. */
:root {
  --sage: #5d7a5f;
  --sage-dark: #3f5a43;
  --sage-deep: #263a2a;
  --sage-light: #e3eadf;
  --cream: #f4eedf;
  --cream-2: #ebe2cc;
  --paper: #fbf8f1;
  --brick: #9c4632;
  --brick-dark: #7d3524;
  --ink: #1f2a20;
  --ink-2: #4a554b;
  --line: #d9d1bc;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(31,42,32,.06), 0 6px 20px rgba(31,42,32,.08);
  --max: 1140px;
  --head: "Graduate", "Rockwell", "Courier New", serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;          /* 18px — easy for older readers */
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-dark); text-underline-offset: 3px; }
a:hover { color: var(--brick); }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.15; letter-spacing: .01em; margin: 0 0 .5em; color: var(--sage-deep); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.3rem; color: var(--ink-2); }
.eyebrow { font-family: var(--body); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brick); margin-bottom: .6em; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
section { padding: 72px 0; }
.bg-cream { background: var(--cream); }
.bg-sage { background: var(--sage-dark); color: var(--cream); }
.bg-sage h2, .bg-sage h3 { color: var(--cream); }
.bg-sage a { color: var(--cream); }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--body); font-weight: 700; font-size: 1.05rem;
  padding: 14px 26px; min-height: 52px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brick); color: var(--white); }
.btn-primary:hover { background: var(--brick-dark); color: var(--white); }
.btn-sage { background: var(--sage-dark); color: var(--cream); }
.btn-sage:hover { background: var(--sage-deep); color: var(--cream); }
.btn-outline { border-color: currentColor; color: var(--sage-deep); background: transparent; }
.btn-outline:hover { background: var(--sage-deep); color: var(--cream); border-color: var(--sage-deep); }
.btn-light { background: var(--cream); color: var(--sage-deep); }
.btn-light:hover { background: var(--white); color: var(--sage-deep); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,248,241,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.logo { font-family: var(--head); font-size: 1.15rem; line-height: 1; color: var(--sage-deep); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo span { display: block; }
.logo small { display: block; font-size: .72rem; letter-spacing: .08em; color: var(--sage); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 10px 14px; border-radius: 8px; }
.nav a:hover { background: var(--sage-light); color: var(--sage-deep); }
.nav a[aria-current="page"] { color: var(--brick); }
.nav .btn { margin-left: 8px; padding: 10px 20px; min-height: 44px; color: var(--white); }
.nav .btn:hover { background: var(--brick-dark); color: var(--white); }
.nav-toggle { display: none; background: none; border: 2px solid var(--sage-deep); border-radius: 8px; padding: 8px 12px; font: 700 1rem var(--body); color: var(--sage-deep); cursor: pointer; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.15rem; }
  .nav .btn { margin: 8px 0 0; }
}

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); background: var(--sage-deep); color: var(--cream); padding: 0; min-height: 600px; }
.hero-media { position: relative; overflow: hidden; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-copy { align-self: center; justify-self: end; max-width: 560px; padding: 64px 48px 104px 20px; }
.hero h1 { color: var(--cream); }
.hero .lead { color: #e6e0cf; }
.hero .eyebrow { color: #f0c9a8; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; aspect-ratio: 4 / 3; }
  .hero-copy { justify-self: stretch; max-width: none; padding: 32px 20px 88px; }
}
@media (max-width: 460px) { .hero-copy { padding-bottom: 36px; } }

.page-head { background: var(--sage-dark); color: var(--cream); padding: 56px 0 48px; }
.page-head h1 { color: var(--cream); margin-bottom: .3em; }
.page-head .lead { color: #e2dccb; margin: 0; max-width: 760px; }
.page-head .eyebrow { color: #f0c9a8; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -48px; position: relative; z-index: 2; overflow: hidden; }
.stat { padding: 26px 22px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--head); font-weight: 400; font-size: 2.2rem; color: var(--brick); line-height: 1.05; margin-bottom: 6px; }
.stat span { font-size: 1rem; color: var(--ink-2); line-height: 1.4; display: block; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; margin-top: 24px; } .stat { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Grid + cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-bottom: .4em; }
.card p:last-of-type { flex: 1; }
.card .num { font-family: var(--head); font-size: 1rem; width: 44px; height: 44px; border-radius: 50%; background: var(--sage-light); color: var(--sage-deep); display: grid; place-items: center; margin-bottom: 14px; }
.card .btn { align-self: flex-start; margin-top: 8px; }
.card-keep { border-top: 6px solid var(--sage); }
.card-return { border-top: 6px solid var(--brick); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.reverse > :first-child { order: 0; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; }

/* Video */
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #111; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cc-tip { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 2px solid var(--sage); border-radius: var(--radius); padding: 16px 20px; margin-top: 18px; color: var(--ink); }
.cc-tip .cc { flex: none; font: 700 .95rem var(--body); border: 2px solid var(--ink); border-radius: 5px; padding: 1px 7px; margin-top: 3px; }
.cc-tip p { margin: 0; }

/* Callout */
.callout { background: var(--cream); border-left: 6px solid var(--brick); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 24px 0; }
.callout p:last-child { margin-bottom: 0; }
.callout.sage { border-left-color: var(--sage); background: var(--sage-light); }

/* Facts */
.fact { padding: 40px 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact-num { font-family: var(--head); font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--brick); line-height: 1; margin-bottom: 8px; }
.sources { font-size: .95rem; color: var(--ink-2); margin-top: 14px; }
.sources a { color: var(--ink-2); }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.toc a { background: rgba(255,255,255,.12); color: var(--cream); text-decoration: none; padding: 8px 16px; border-radius: 999px; font-weight: 600; border: 1px solid rgba(255,255,255,.3); }
.toc a:hover { background: var(--cream); color: var(--sage-deep); }

/* Penny visual */
.dollar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; max-width: 360px; margin: 18px 0 8px; }
.dollar i { aspect-ratio: 1; border-radius: 50%; background: var(--brick); }
.dollar i.o { background: var(--line); }
.legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: .95rem; color: var(--ink-2); }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; background: var(--brick); }
.legend span.o::before { background: var(--line); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding: 20px 22px 20px 78px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 42px; height: 42px; border-radius: 50%; background: var(--sage-dark); color: var(--cream); font-family: var(--head); display: grid; place-items: center; font-size: 1.1rem; }
.steps h3 { font-family: var(--body); font-weight: 700; font-size: 1.2rem; color: var(--ink); margin-bottom: .25em; }
.steps p:last-child { margin-bottom: 0; }

/* Letter / templates */
.template { background: var(--white); border: 1px dashed var(--sage); border-radius: var(--radius); padding: 22px 24px; white-space: pre-wrap; font-size: 1.02rem; line-height: 1.6; }
.template-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.template-head h3 { margin: 0; }
.copy-btn { font: 700 .95rem var(--body); background: var(--sage-light); color: var(--sage-deep); border: 1px solid var(--sage); border-radius: 999px; padding: 8px 16px; cursor: pointer; min-height: 40px; }
.copy-btn:hover { background: var(--sage-dark); color: var(--cream); }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tab { font: 700 1rem var(--body); background: var(--white); border: 2px solid var(--line); color: var(--ink); padding: 10px 18px; border-radius: 999px; cursor: pointer; min-height: 46px; }
.tab[aria-selected="true"] { background: var(--sage-dark); border-color: var(--sage-dark); color: var(--cream); }
.tabpanel[hidden] { display: none; }

/* Forms */
form .field { margin-bottom: 18px; }
label { display: block; font-weight: 700; margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--ink-2); }
.hint { font-size: .95rem; color: var(--ink-2); margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 1.1rem; padding: 12px 14px; min-height: 52px;
  border: 2px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--sage); outline: none; box-shadow: 0 0 0 3px rgba(93,122,95,.25); }
input[type=file] { font: inherit; font-size: 1rem; padding: 14px; width: 100%; border: 2px dashed var(--sage); border-radius: 8px; background: var(--sage-light); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.check input { width: 22px; height: 22px; margin-top: 4px; flex: none; accent-color: var(--sage-dark); }
.form-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } .form-card { padding: 22px; } }
.hp { position: absolute; left: -5000px; }

/* Shop */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; gap: 28px; } }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--cream-2); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.thumbs button { padding: 0; border: 3px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-pressed="true"] { border-color: var(--brick); }
.price { font-family: var(--head); font-size: 2.2rem; color: var(--brick); margin: 4px 0 14px; }
.size-table { width: 100%; border-collapse: collapse; margin: 6px 0 4px; }
.size-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.size-table td:first-child { font-weight: 700; width: 70px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--white); }
.qty button { width: 44px; height: 44px; border: 0; background: var(--white); font-size: 1.3rem; font-weight: 700; cursor: pointer; color: var(--sage-deep); }
.qty button:hover { background: var(--sage-light); }
.qty output { min-width: 38px; text-align: center; font-weight: 700; }
.total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.2rem; padding: 14px 0; }
.notice { background: #fff6e5; border: 1px solid #e8c98a; border-radius: 8px; padding: 12px 16px; font-size: 1rem; margin-top: 12px; }
.form-msg { color: var(--brick); font-weight: 700; margin-top: 10px; min-height: 1.2em; }
.badges { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .98rem; color: var(--ink-2); margin-top: 14px; }

/* FAQ */
details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; position: relative; padding-right: 30px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--sage); }
details[open] summary::after { content: "–"; }
details > div { padding-bottom: 18px; }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { padding-left: 32px; position: relative; margin-bottom: 10px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--sage); font-size: 1.1rem; }
.card-return .check-list li::before { content: "→"; color: var(--brick); }

/* Level cards on act page */
.level { display: flex; flex-direction: column; gap: 6px; }
.level .who { font-size: 1rem; color: var(--ink-2); }
.asks { counter-reset: ask; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.asks li { counter-increment: ask; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 18px 20px 18px 66px; position: relative; }
.asks li::before { content: counter(ask); position: absolute; left: 18px; top: 16px; font-family: var(--head); font-size: 1.6rem; color: #f0c9a8; }
.asks strong { display: block; font-size: 1.15rem; }

/* CTA band */
.cta-band { background: var(--brick); color: var(--white); padding: 56px 0; }
.cta-band h2 { color: var(--white); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band p { margin: 0; font-size: 1.2rem; max-width: 620px; }

/* Footer */
.site-footer { background: var(--sage-deep); color: #d5dccf; padding: 56px 0 32px; font-size: 1rem; }
.site-footer a { color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--head); font-weight: 400; color: var(--cream); font-size: 1.1rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 20px; font-size: .9rem; color: #aab6a6; }

.thanks { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.nav .btn[aria-current="page"] { color: var(--white); }
.bg-sage .btn-light, .bg-sage .btn-light:hover { color: var(--sage-deep); }
