/* =====================================================
   ONE GOOD COOKIE — Design System
   A registered student organization at UT Dallas.
   Palette: cream paper, cookie brown, powder blue.
   ===================================================== */

:root {
  /* Color tokens */
  --cream:        #FBF3E4;   /* main background — warm paper */
  --cream-deep:   #F2E6CE;   /* secondary panel background */
  --paper-white:  #FFFDF8;   /* card surfaces */
  --brown-900:    #382417;   /* headings / high-contrast ink */
  --brown-700:    #6B4428;   /* primary brand brown */
  --brown-500:    #8A6446;   /* secondary text, borders */
  --brown-200:    #D9C4A6;   /* hairlines on cream */
  --blue-400:     #7FA6BD;   /* powder blue, deeper (buttons/links) */
  --blue-200:     #BBDCE7;   /* powder blue, soft accent */
  --blue-100:     #E7F2F4;   /* pale blue panel */
  --crumb:        #C98A4B;   /* warm gold-brown, tiny accents only */
  --ink:          #3A2A1C;   /* body copy color */
  --shadow-soft:  0 18px 40px -22px rgba(56, 36, 23, 0.35);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body:    "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-hand:    "Caveat", cursive;

  --max-width: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brown-900);
  line-height: 1.08;
  margin: 0;
  font-weight: 600;
}

p { margin: 0 0 1em; max-width: 62ch; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

.section {
  padding: 84px 0;
}
@media (max-width: 720px) {
  .section { padding: 56px 0; }
}

.section-tight { padding: 48px 0; }

.bg-deep   { background: var(--cream-deep); }
.bg-blue   { background: var(--blue-100); }
.bg-brown  { background: var(--brown-700); color: var(--cream); }
.bg-brown h1, .bg-brown h2, .bg-brown h3 { color: var(--paper-white); }

/* ---------- Focus & accessibility ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brown-900);
  color: var(--paper-white);
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- Kicker / small labels (sentence case, not tracked caps) ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown-700);
  background: var(--paper-white);
  border: 1px solid var(--brown-200);
  padding: 7px 14px;
  border-radius: 100px;
}
.kicker.on-blue { background: var(--paper-white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 100px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brown-700);
  color: var(--paper-white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--brown-900); }

.btn-ghost {
  background: transparent;
  border-color: var(--brown-700);
  color: var(--brown-700);
}
.btn-ghost:hover { background: var(--paper-white); }

.btn-on-brown {
  background: var(--blue-200);
  color: var(--brown-900);
}
.btn-on-brown:hover { background: var(--paper-white); }

.btn-disabled,
.btn[aria-disabled="true"] {
  background: var(--cream-deep);
  color: var(--brown-500);
  border: 2px dashed var(--brown-200);
  cursor: default;
  transform: none !important;
  box-shadow: none;
}

.btn-sm { padding: 10px 20px; font-size: 0.92rem; }

/* ---------- Site header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 243, 228, 0.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--brown-200);
  box-shadow: 0 12px 24px -20px rgba(56,36,23,0.4);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--brown-900);
}
.brand .crumb-mark { font-size: 1.2rem; transform: translateY(-1px); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--brown-700);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brown-900);
  border-bottom-color: var(--crumb);
}

.nav-cta { display: flex; align-items: center; gap: 14px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--brown-900);
}
.menu-toggle svg { width: 26px; height: 26px; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 22px;
  background: var(--cream);
  border-bottom: 1px solid var(--brown-200);
}
.mobile-menu a {
  text-decoration: none;
  color: var(--brown-900);
  font-weight: 700;
  font-size: 1.08rem;
  padding: 12px 4px;
  border-bottom: 1px solid var(--brown-200);
}
.mobile-menu.is-open { display: flex; }

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-eyebrow {
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.01em;
}
.hero h1 .tagline-line {
  display: block;
  color: var(--brown-700);
  font-style: italic;
  font-size: 0.42em;
  margin-top: 14px;
  font-family: var(--font-hand);
  font-style: normal;
}

.hero-copy {
  font-size: 1.15rem;
  color: var(--brown-700);
  margin: 24px 0 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Hand-drawn underline accent ---------- */
.hand-underline {
  position: relative;
  display: inline-block;
}
.hand-underline::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.08em;
  height: 0.22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 10 C 40 2, 80 14, 120 6 S 180 2, 198 8' fill='none' stroke='%23C98A4B' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ---------- Progression moment (One cookie. One card. -> Small acts. Big impact.) ---------- */
.progression {
  text-align: center;
  padding: 30px 0 10px;
}
.progression .step {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.4vw, 2.6rem);
  color: var(--brown-500);
  margin: 4px 0;
}
.progression .arrow {
  font-family: var(--font-hand);
  font-size: 1.8rem;
  color: var(--crumb);
  display: block;
  margin: 6px 0;
}
.progression .final {
  color: var(--brown-900);
  font-weight: 700;
}

/* ---------- Two-up editorial rows ---------- */
.editorial-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--brown-200);
}
.editorial-row:last-child { border-bottom: none; }
.editorial-row.flip > :first-child { order: 2; }
@media (max-width: 820px) {
  .editorial-row { grid-template-columns: 1fr; gap: 28px; }
  .editorial-row.flip > :first-child { order: 0; }
}

.editorial-title { font-size: 1.5rem; margin-bottom: 10px; }

/* ---------- Pull quote / why this matters ---------- */
.pull-statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  color: var(--paper-white);
  max-width: 20ch;
  line-height: 1.25;
}
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }
.why-grid ul { padding-left: 20px; margin: 0; }
.why-grid li { margin-bottom: 10px; }

/* ---------- Events ---------- */
.event-card {
  background: var(--paper-white);
  border: 1px solid var(--brown-200);
  border-radius: 16px;
  padding: 26px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.event-date-badge {
  background: var(--brown-700);
  color: var(--paper-white);
  border-radius: 12px;
  text-align: center;
  padding: 10px 6px;
  font-weight: 700;
  line-height: 1.15;
}
.event-date-badge .month { display: block; font-size: 0.72rem; letter-spacing: 0.04em; }
.event-date-badge .day { display: block; font-size: 1.5rem; font-family: var(--font-display); }

.empty-state {
  text-align: center;
  padding: 56px 24px;
  background: var(--paper-white);
  border: 1px dashed var(--brown-200);
  border-radius: 20px;
}
.empty-state .crumb-icon { font-size: 2.2rem; display: block; margin-bottom: 14px; }
.empty-state h3 { margin-bottom: 10px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  background: var(--blue-100);
  color: var(--brown-700);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- FAQ accordion ---------- */
.faq-item {
  border-bottom: 1px solid var(--brown-200);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brown-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus { flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[open] .plus { transform: rotate(45deg); }
.faq-item p { padding: 0 4px 20px; color: var(--brown-700); }

/* ---------- Step list (how to join) ---------- */
.step-list { counter-reset: step; display: flex; flex-direction: column; gap: 22px; }
.step-list li {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.step-list li::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brown-700);
  color: var(--paper-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--brown-700);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  color: var(--paper-white);
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: var(--paper-white); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-banner p { color: var(--blue-100); margin: 16px auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown-900);
  color: var(--cream-deep);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.footer-brand { font-family: var(--font-display); font-size: 1.3rem; color: var(--paper-white); margin-bottom: 8px; }
.footer-tag { font-family: var(--font-hand); font-size: 1.2rem; color: var(--blue-200); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { text-decoration: none; color: var(--cream-deep); opacity: 0.85; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-heading { font-weight: 700; color: var(--paper-white); margin-bottom: 14px; font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.85rem;
  color: rgba(242,230,206,0.65);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}
.footer-disclaimer { max-width: 60ch; }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  padding: 56px 0 20px;
}
.page-header h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.page-header p { font-size: 1.1rem; color: var(--brown-700); margin-top: 16px; }

/* ---------- Utility ---------- */
.stack-sm > * + * { margin-top: 14px; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.narrow { max-width: 680px; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--brown-700); font-size: 1.08rem; }

/* =====================================================
   PHOTOGRAPHY
   Real One Good Cookie photos, framed by the brand.
   .print  = scrapbook print (paper border, optional tilt/tape)
   .photo  = clean editorial image (rounded, no border)
   Aspect ratio is set on the figure so there's no layout
   shift while images load.
   ===================================================== */
.print,
.photo {
  margin: 0;
  position: relative;
}
.print {
  --tilt: 0deg;
  background: var(--paper-white);
  padding: 10px 10px 12px;
  border-radius: 3px;
  box-shadow: 0 22px 38px -24px rgba(56, 36, 23, 0.55), 0 1px 0 rgba(56,36,23,0.06);
  transform: rotate(var(--tilt));
}
.print img,
.photo img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--ratio, 4 / 5);
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  background: var(--cream-deep);
}
.print img { border-radius: 2px; }
.photo img { border-radius: 18px; }
.print figcaption {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--brown-700);
  text-align: center;
  padding-top: 8px;
}
.photo figcaption {
  font-size: 0.9rem;
  color: var(--brown-500);
  margin-top: 10px;
}

.tape {
  position: absolute;
  width: 78px;
  height: 26px;
  background: rgba(187, 220, 231, 0.78);
  border: 1px solid rgba(122, 156, 171, 0.35);
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  z-index: 2;
}
.tape.corner-l { left: 14%; transform: translateX(-50%) rotate(-32deg); }
.tape.corner-r { left: 86%; transform: translateX(-50%) rotate(28deg); }

/* Hand-drawn cookie doodle (inline SVG) */
.doodle { position: absolute; pointer-events: none; color: var(--brown-500); }
.doodle svg { width: 100%; height: auto; display: block; }

@media (max-width: 720px) {
  .print { --tilt: 0deg !important; padding: 8px 8px 10px; }
  .print figcaption { font-size: 1.1rem; }
  .photo img { border-radius: 14px; }
}

/* ---------- Hero with photo ---------- */
@media (min-width: 901px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.hero-photo {
  position: relative;
  width: min(100%, 430px);
  justify-self: center;
}
.hero-photo .print { --tilt: 2.5deg; }
.hero-photo .doodle { width: 92px; left: -46px; bottom: 54px; transform: rotate(-12deg); }
.hero-note {
  position: absolute;
  right: -18px;
  top: 38%;
  background: var(--blue-100);
  border: 1px solid var(--blue-200);
  padding: 8px 14px;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--brown-900);
  transform: rotate(-5deg);
  box-shadow: 0 10px 18px -12px rgba(56,36,23,0.45);
  z-index: 3;
}
@media (max-width: 900px) {
  .hero { padding-top: 36px; }
  .hero-photo { width: min(86%, 380px); margin-top: 8px; }
  .hero-photo .print { --tilt: 1.5deg !important; }
  .hero-photo img { --ratio: 4 / 5; }
  .hero-photo .doodle { width: 64px; left: -22px; bottom: 36px; }
  .hero-note { right: -10px; top: auto; bottom: 64px; font-size: 1.15rem; }
}

/* ---------- Home: what we do (three photo-led columns) ---------- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.trio-item .print { margin-bottom: 22px; }
.trio-item:nth-child(1) .print { --tilt: -2deg; }
.trio-item:nth-child(2) .print { --tilt: 1.5deg; }
.trio-item:nth-child(3) .print { --tilt: -1deg; }
.trio-item h3 { font-size: 1.4rem; margin-bottom: 8px; }
.trio-item p { color: var(--brown-700); }
@media (max-width: 860px) {
  .trio { grid-template-columns: 1fr; gap: 30px; }
  .trio-item {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 18px;
    align-items: center;
  }
  .trio-item .print { margin-bottom: 0; }
  .trio-item p { margin-bottom: 0; font-size: 0.98rem; }
}

/* ---------- Moments scrapbook (config-driven) ---------- */
.scrapbook {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: 12px;
}
.scrapbook .print:nth-child(4n+1) { --tilt: -3deg; }
.scrapbook .print:nth-child(4n+2) { --tilt: 2deg;  margin-top: 34px; }
.scrapbook .print:nth-child(4n+3) { --tilt: -1.5deg; margin-top: 8px; }
.scrapbook .print:nth-child(4n+4) { --tilt: 3deg;  margin-top: 42px; }
@media (max-width: 900px) {
  .scrapbook { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .scrapbook .print { margin-top: 0 !important; }
}
.scrapbook-foot { margin-top: 36px; text-align: center; }
.text-link {
  font-weight: 700;
  color: var(--brown-700);
  text-decoration-color: var(--crumb);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.text-link:hover { color: var(--brown-900); }

/* ---------- Editorial rows with photos ---------- */
.editorial-row .print { width: min(100%, 440px); justify-self: center; }
.editorial-row .photo { width: 100%; }
.editorial-row .print.tilt-l { --tilt: -2deg; }
.editorial-row .print.tilt-r { --tilt: 2deg; }

/* ---------- Note card (empty states) ---------- */
.note-card {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  background: var(--paper-white);
  padding: 44px 32px 36px;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 22px 38px -26px rgba(56, 36, 23, 0.55);
  transform: rotate(-0.8deg);
  background-image: repeating-linear-gradient(var(--paper-white) 0 33px, rgba(127,166,189,0.18) 33px 34px);
}
.note-card h3 { font-size: clamp(1.5rem, 3.4vw, 1.9rem); margin-bottom: 12px; }
.note-card p { margin: 0 auto 22px; color: var(--brown-700); }
.note-card .doodle { position: static; width: 56px; margin: 0 auto 14px; }
@media (max-width: 720px) {
  .note-card { transform: none; padding: 38px 22px 30px; }
}

/* ---------- Events: past moments ---------- */
.moments-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
}
.moments-side { display: grid; gap: 34px; }
.moments-pair {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px;
  align-items: start;
}
.moments-pair .print:first-child { --tilt: 2deg; }
.moments-pair .print:last-child { --tilt: -3deg; margin-top: 40px; }
@media (max-width: 860px) {
  .moments-grid { grid-template-columns: 1fr; gap: 32px; }
  .moments-pair .print:last-child { margin-top: 0; }
}

/* ---------- Impact story ---------- */
.story { display: flex; flex-direction: column; gap: 8px; }
.chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 40px 0;
}
.chapter.flip > :first-child { order: 2; }
.chapter.wide { grid-template-columns: 1.3fr 0.7fr; }
.chapter .print { width: min(100%, 460px); justify-self: center; }
.chapter.wide .photo { width: 100%; }
.chapter-step {
  display: block;
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: var(--crumb);
  margin-bottom: 4px;
}
.chapter h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 14px; }
.chapter p { color: var(--brown-700); font-size: 1.06rem; }
.chapter blockquote {
  margin: 18px 0 0;
  font-family: var(--font-hand);
  font-size: 1.7rem;
  color: var(--brown-900);
  line-height: 1.2;
}
@media (max-width: 860px) {
  .chapter, .chapter.wide { grid-template-columns: 1fr; gap: 26px; padding: 28px 0; }
  .chapter.flip > :first-child { order: 0; }
}

/* ---------- Team: one group photo + simple list ---------- */
.board-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 56px;
  align-items: center;
}
.board-layout .print { --tilt: -1.2deg; }
.board-layout .print img { --ratio: 4 / 3; --pos: 50% 40%; }
.board-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.board-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--brown-200);
}
.board-list li:first-child { padding-top: 0; }
.board-list li:last-child { border-bottom: none; }
.board-name { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--brown-900); line-height: 1.25; }
.board-role { display: block; color: var(--brown-700); font-weight: 600; font-size: 0.92rem; }
.board-year {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: var(--crumb);
  display: block;
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  .board-layout { grid-template-columns: 1fr; gap: 32px; }
  .board-list { columns: 2; column-gap: 24px; }
  .board-list li { break-inside: avoid; padding: 10px 0; border-bottom: none; }
  .board-list li:first-child { padding-top: 10px; }
}
@media (max-width: 420px) {
  .board-list { columns: 1; }
  .board-list li { border-bottom: 1px solid var(--brown-200); }
}
.closing-line {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--brown-900);
  max-width: 30ch;
  margin: 0 auto 24px;
  line-height: 1.3;
}

/* ---------- Get involved ---------- */
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.join-grid .print { --tilt: -2deg; width: min(100%, 470px); justify-self: center; }
.join-grid .print img { --pos: 50% 35%; }
@media (max-width: 860px) {
  .join-grid { grid-template-columns: 1fr; gap: 36px; }
}
.small-note { font-size: 0.92rem; color: var(--brown-500); margin-top: 14px; }

/* ---------- Simple check list (ways to help) ---------- */
.help-list { list-style: none; padding: 0; margin: 18px 0 26px; }
.help-list li {
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--brown-200);
}
.help-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--crumb);
  box-shadow: inset 3px 3px 0 -1px rgba(56,36,23,0.5), inset -4px -2px 0 -2px rgba(56,36,23,0.45);
}

/* ---------- CTA banner variant on cream ---------- */
.cta-banner .btn-ghost.on-dark { border-color: var(--paper-white); color: var(--paper-white); }
.cta-banner .btn-ghost.on-dark:hover { background: rgba(255,255,255,0.1); }

/* ---------- Impact stats (hidden until verified data exists) ---------- */
.stats-row { display: flex; flex-wrap: wrap; gap: 36px; justify-content: center; margin-top: 30px; }
.stat { text-align: center; min-width: 140px; }
.stat-value { display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--brown-900); }
.stat-label { display: block; color: var(--brown-700); font-weight: 600; font-size: 0.95rem; }
.tag-cloud { list-style: none; padding: 0; margin: 0; }
[hidden] { display: none !important; }
.print.tilt-l { --tilt: -2deg; }
.print.tilt-r { --tilt: 2deg; }

/* ---------- Heading scale ---------- */
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.section-head h2 { margin-bottom: 12px; }
.scrapbook-foot { max-width: none; }
.hero-photo .doodle { z-index: 4; }

/* ---------- Small phones: keep the header on one line ---------- */
.brand { white-space: nowrap; }
@media (max-width: 480px) {
  .nav-row { padding: 12px 18px; }
  .brand { font-size: 1.2rem; }
  .nav-cta .btn-primary { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .kicker { font-size: 0.84rem; }
}
@media (max-width: 900px) {
  .hero-note { display: none; }
  .hero-photo .doodle { width: 52px; left: -30px; bottom: 44px; }
}
.chapter.wide.flip { grid-template-columns: 0.75fr 1.25fr; }
@media (max-width: 860px) {
  .chapter.wide.flip { grid-template-columns: 1fr; }
  .why-grid { gap: 20px; }
}
.note-card { background-image: repeating-linear-gradient(var(--paper-white) 0 33px, rgba(127,166,189,0.11) 33px 34px); }

/* =====================================================
   HOMEPAGE STORYTELLING (structure update)
   ===================================================== */

/* Header: Join Us is the one standout action */
.nav-cta .btn-primary { display: inline-flex; }
@media (max-width: 480px) {
  .nav-cta .btn-primary { display: inline-flex; padding: 8px 14px; font-size: 0.86rem; }
}
.mobile-menu .mobile-join { margin-top: 14px; border-bottom: none; color: var(--paper-white); justify-content: center; }
.mobile-menu a[aria-current="page"] { color: var(--crumb); }

/* Intro statement */
.intro { padding-bottom: 12px; }
.intro-statement {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  line-height: 1.4;
  color: var(--brown-900);
  max-width: 34ch;
  margin: 0 auto;
  text-align: center;
}

/* A cookie. A card. A conversation. */
.ccc-section { padding-top: 40px; }
.ccc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: start;
}
.ccc-item { text-align: center; }
.ccc-word {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--brown-900);
  margin-bottom: 22px;
}
.ccc-item .print { margin: 0 auto 22px; }
.ccc-item:nth-child(2) { margin-top: 36px; }
.ccc-item p { color: var(--brown-700); max-width: 30ch; margin: 0 auto; }
.ccc-final {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  color: var(--brown-900);
  text-align: center;
  margin: 64px auto 0;
  max-width: none;
}
@media (max-width: 860px) {
  .ccc { grid-template-columns: 1fr; gap: 52px; }
  .ccc-item:nth-child(2) { margin-top: 0; }
  .ccc-item .print { width: min(82%, 340px); }
  .ccc-word { margin-bottom: 16px; }
  .ccc-final { margin-top: 48px; }
}

/* Moments scrapbook adapts to 2–4 photos */
.scrapbook {
  grid-template-columns: repeat(var(--n, 4), 1fr);
  max-width: calc(var(--n, 4) * 290px);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .scrapbook { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .scrapbook .print:last-child:nth-child(odd) { grid-column: 1 / -1; width: 62%; justify-self: center; }
}

/* Meet the Board: compact, secondary */
.board-section { padding: 64px 0; }
.board-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  max-width: 1000px;
}
.board-compact .print { --tilt: -1.2deg; width: min(100%, 520px); justify-self: center; }
.board-compact .print img { --ratio: 4 / 3; --pos: 50% 40%; }
.board-compact h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); }
.board-sub { color: var(--brown-700); margin: 8px 0 18px; }
.board-compact .board-list li { padding: 9px 0; }
.board-compact .board-name { font-size: 1.08rem; }
.board-compact .board-role { font-size: 0.86rem; }
@media (max-width: 900px) {
  .board-section { padding: 48px 0; }
  .board-compact { grid-template-columns: 1fr; gap: 26px; }
}

/* Stay connected row */
.stay-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 40px;
}
.stay-title { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 6px; }
.stay-row p { margin: 0; color: var(--brown-700); }
.stay-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* About: mission block */
.about-mission { max-width: 720px; }
.about-mission h2 { margin-bottom: 14px; }
.about-mission p { font-size: 1.12rem; color: var(--brown-700); }

/* Impact: interstitial + connect */
.interstitial { text-align: center; padding: 48px 0 24px; }
.interstitial-line {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  color: var(--brown-900);
  margin: 6px auto 8px;
  max-width: 24ch;
  line-height: 1.25;
}
.interstitial-sub { color: var(--brown-700); margin: 0 auto; }
.chapter.connect { grid-template-columns: 1.1fr 0.9fr; }
.chapter.connect .print { width: min(100%, 540px); }
@media (max-width: 860px) { .chapter.connect { grid-template-columns: 1fr; } }

/* Joining steps with titles */
.step-list.titled li div { display: flex; flex-direction: column; }
.step-list.titled strong { color: var(--brown-900); font-size: 1.05rem; }
.step-list.titled span { color: var(--brown-700); }
.join-grid h2 { margin-bottom: 4px; }
@media (max-width: 900px) {
  .board-compact .board-list { columns: 2; column-gap: 18px; }
  .board-compact .board-list li { break-inside: avoid; border-bottom: none; padding: 7px 0; }
  .board-compact .board-list li:first-child { padding-top: 7px; }
}

/* ---------- Support: online giving (Zelle) ---------- */
.giving-card { max-width: 560px; }
.giving-card .chapter-step { margin-bottom: 2px; }
.giving-title { font-size: clamp(1.4rem, 3.2vw, 1.8rem); margin-bottom: 20px; }
.zelle-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--cream);
  border: 1px solid var(--brown-200);
  border-radius: 14px;
  padding: 12px 22px;
  margin-bottom: 18px;
  max-width: 100%;
}
.zelle-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brown-500); }
.zelle-email { font-weight: 700; font-size: clamp(1rem, 3.6vw, 1.15rem); color: var(--brown-900); overflow-wrap: anywhere; user-select: all; }
.btn.is-copied { background: var(--blue-200); color: var(--brown-900); }
.giving-note { margin-top: 20px !important; margin-bottom: 6px !important; }
.giving-fine { font-size: 0.86rem; color: var(--brown-500) !important; margin-bottom: 0 !important; }

/* ---------- Support: contact ---------- */
.contact-list { margin: 18px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 48px; }
.contact-list div { text-align: center; }
.contact-list dt { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brown-500); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-size: 1.08rem; overflow-wrap: anywhere; }
.footer-email { color: inherit; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.zelle-email { overflow-wrap: normal; word-break: normal; }
@media (max-width: 480px) {
  .giving-card { padding-left: 16px; padding-right: 16px; }
  .zelle-box { padding: 10px 14px; }
  .zelle-email { font-size: 0.98rem; }
}
