/* =================================================================
   Hope Circle Foundation — styles.css
   Editorial / refined / warm.
================================================================= */

:root {
  /* paper & ink */
  --cream:        #F4EEE5;
  --cream-deep:   #ECE4D5;
  --cream-card:   #FBF7EF;
  --ink:          #1A1714;
  --ink-soft:     #423B33;
  --ink-mute:     #6B6155;
  --rule:         #DCD3C2;

  /* lavender accents */
  --lav-50:       #EFEAF7;
  --lav-100:      #E0D7F1;
  --lav-200:      #C9BCE6;
  --lav-300:      #A893D8;
  --lav-500:      #5A4FCF;
  --lav-700:      #3F36A8;

  /* dark surface (impact section + footer) */
  --night:        #15110D;
  --night-soft:   #221C16;
  --night-rule:   #312920;

  /* error */
  --err:          #A2391E;

  /* type */
  --serif: "Fraunces", "Iowan Old Style", "Apple Garamond", "Georgia", serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* layout */
  --pad: clamp(20px, 4vw, 48px);
  --container: 1240px;

  /* radius scale — soft pill-and-paper feel */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  /* subtle grain — gives the cream a tactile, paper feel */
  background-image:
    radial-gradient(rgba(63, 50, 38, 0.045) 1px, transparent 1px);
  background-size: 3px 3px;
  background-attachment: fixed;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

/* selection */
::selection { background: var(--lav-200); color: var(--ink); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* =================================================================
   TYPOGRAPHY — display
================================================================= */

.display {
  font-family: var(--serif);
  font-weight: 480;            /* variable axis, between book and medium */
  font-variation-settings: "opsz" 144, "SOFT" 60;
  letter-spacing: -0.025em;
  line-height: 0.98;
  font-size: clamp(2.4rem, 6.2vw, 5.4rem);
  margin: 0;
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--lav-500);
  font-weight: 380;
}
.display--lg { font-size: clamp(2.8rem, 7vw, 6.4rem); }
.display--md { font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.02; }
.display--sm { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.06; }

.display--light { color: var(--cream); }
.display--light em { color: var(--lav-200); }

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.55;
  margin: 1.4em 0 0;
}

.section__lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 1.2em 0 0;
}

/* eyebrow tag */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--lav-100);
  padding: 7px 14px 6px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(90, 79, 207, 0.18);
}
.eyebrow__dot {
  width: 6px; height: 6px;
  background: var(--lav-500);
  border-radius: 50%;
  display: inline-block;
}
.eyebrow--ink {
  background: rgba(255,255,255,0.06);
  color: var(--cream);
  border-color: rgba(255,255,255,0.14);
}
.eyebrow--ink .eyebrow__dot { background: var(--lav-300); }

/* section header — small numbered label */
.section__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.section__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--lav-500);
  text-transform: none;
}
.section__head--light {
  color: rgba(244, 238, 229, 0.55);
  border-color: var(--night-rule);
}
.section__head--light .section__num {
  color: var(--lav-300);
}

/* =================================================================
   BUTTONS
================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 16px 26px; font-size: 15px; }
.btn--block { width: 100%; }

.btn--ink {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 8px 22px -10px rgba(26,23,20,0.45);
}
.btn--ink:hover {
  background: #2A241E;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 12px 28px -10px rgba(26,23,20,0.55);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn__spinner {
  animation: spin 800ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =================================================================
   NAV
================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 238, 229, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, background 180ms ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--rule);
  background: rgba(244, 238, 229, 0.92);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
}
.nav__logo {
  height: 40px;
  width: auto;          /* preserve approved horizontal lockup aspect */
  display: block;
  /* no border-radius, no padding, no shadow — it's a finished brand mark */
}
@media (max-width: 480px) {
  .nav__logo { height: 34px; }
}
.nav__links {
  display: flex;
  gap: 28px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { padding: 10px 18px; font-size: 13.5px; }

.nav__menu-btn {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  padding: 0;
  position: relative;
}
.nav__menu-btn span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 200ms ease;
}
.nav__menu-btn span:nth-child(1) { top: 15px; }
.nav__menu-btn span:nth-child(2) { bottom: 15px; }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__menu-btn { display: block; }
  .nav.is-menu-open .nav__menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-menu-open .nav__menu-btn span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }
  .nav.is-menu-open .nav__links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    padding: 8px var(--pad) 20px;
  }
  .nav.is-menu-open .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav.is-menu-open .nav__links a:last-child { border-bottom: none; }
}

/* =================================================================
   HERO
================================================================= */
.hero {
  padding: clamp(40px, 7vw, 80px) 0 0;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero__copy { padding: 8px 0; }
.hero__ctas {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero__meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px 28px;
  margin: 56px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.hero__meta div { display: flex; flex-direction: column; gap: 4px; }
.hero__meta dt {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.hero__meta dd {
  margin: 0;
  font-family: var(--serif);
  font-weight: 450;
  font-variation-settings: "opsz" 14, "SOFT" 60;
  font-size: 15px;
  color: var(--ink);
}

.hero__image {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 28px 60px -28px rgba(26,23,20,0.4);
}
.hero__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}
.hero__image-tag {
  position: absolute;
  left: 18px; bottom: 18px; right: 18px;
  background: rgba(244, 238, 229, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 14px 18px;
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.5);
}
.hero__image-tag-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lav-500);
  font-weight: 600;
}
.hero__image-tag-line {
  font-family: var(--serif);
  font-weight: 450;
  font-variation-settings: "opsz" 14, "SOFT" 60;
  font-size: 14px;
  color: var(--ink);
}

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__image { aspect-ratio: 4 / 3.5; order: -1; }
  .hero__meta { grid-template-columns: 1fr; gap: 16px; }
}

/* marquee — stylistic accent strip */
.marquee {
  margin-top: clamp(48px, 7vw, 84px);
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  background: var(--cream-deep);
}
.marquee__track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 14, "SOFT" 100;
  font-size: 19px;
  color: var(--ink-soft);
  animation: marquee 36s linear infinite;
  width: max-content;
}
.marquee__dot { color: var(--lav-500); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =================================================================
   SECTIONS — generic
================================================================= */
.section {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}
.section--alt { background: var(--cream-deep); }

/* mission */
.mission__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.mission__body p {
  margin: 0 0 18px;
  color: var(--ink-soft);
}
.decree-card {
  margin-top: 32px;
  padding: 22px 24px;
  background: var(--cream-card);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
}
.decree-card__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.decree-card__row:last-child { border-bottom: none; }
.decree-card__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  align-self: center;
}
.decree-card__value {
  font-family: var(--serif);
  font-weight: 450;
  font-variation-settings: "opsz" 14, "SOFT" 50;
  font-size: 14.5px;
  color: var(--ink);
  word-break: break-word;
}
@media (max-width: 880px) {
  .mission__grid { grid-template-columns: 1fr; }
  .decree-card__row { grid-template-columns: 1fr; gap: 4px; }
}

/* =================================================================
   PILLARS
================================================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 56px;
}
.pillar {
  background: var(--cream-card);
  padding: clamp(28px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background 220ms ease;
}
.pillar:hover { background: white; }
.pillar__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.pillar__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--lav-500);
  font-variation-settings: "opsz" 14, "SOFT" 100;
}
.pillar h3 {
  font-family: var(--serif);
  font-weight: 480;
  font-variation-settings: "opsz" 96, "SOFT" 50;
  letter-spacing: -0.015em;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin: 0;
  line-height: 1;
}
.pillar p {
  margin: 0;
  color: var(--ink-soft);
  flex: 1;
}
.pillar__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lav-500);
  margin-top: 10px;
  align-self: flex-start;
  transition: gap 200ms ease;
}
.pillar__more:hover { gap: 10px; color: var(--lav-700); }

@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr; }
}

/* =================================================================
   DEEP DIVE rows (alternating image + copy)
================================================================= */
.deep {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.deep--reverse { /* image on left, copy on right via natural order */ }

.deep__copy { padding: clamp(8px, 2vw, 24px) 0; }
.deep__copy .display { margin-top: 18px; }

.deep__image {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
  box-shadow: 0 28px 60px -28px rgba(26,23,20,0.32);
}
.deep__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.02);
}

@media (max-width: 880px) {
  .deep { grid-template-columns: 1fr; }
  .deep__image { aspect-ratio: 4 / 3.5; }
  .deep--reverse .deep__image { order: -1; }
}

/* feature list — numbered editorial bullets */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: flex;
  flex-direction: column;
}
.feature-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.feature-list li:last-child { border-bottom: 1px solid var(--rule); }
.feature-list__num {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 14, "SOFT" 100;
  font-size: 22px;
  color: var(--lav-500);
  line-height: 1.3;
}
.feature-list h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 14, "SOFT" 60;
  font-size: 1.15rem;
  margin: 0 0 4px;
  letter-spacing: -0.005em;
}
.feature-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* pull quote */
.pullquote {
  margin: 36px 0 0;
  padding: 24px 26px;
  border-left: 3px solid var(--lav-500);
  background: var(--lav-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.pullquote p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 14, "SOFT" 100;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
}
.pullquote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}

/* opportunity */
.opportunity__head { max-width: 760px; }
.opportunity__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.opp-card {
  background: var(--cream-card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
}
.opp-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 50;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin: 0 0 14px;
  letter-spacing: -0.015em;
}
.opp-card p { margin: 0; color: var(--ink-soft); }
@media (max-width: 720px) {
  .opportunity__cards { grid-template-columns: 1fr; }
}

/* =================================================================
   IMPACT (dark band)
================================================================= */
.section--impact {
  background: var(--night);
  color: var(--cream);
  /* subtle inverse grain */
  background-image:
    radial-gradient(rgba(244, 238, 229, 0.025) 1px, transparent 1px);
  background-size: 3px 3px;
}
.section--impact .display { color: var(--cream); }
.section--impact .display em { color: var(--lav-300); }
.section--impact .section__lede { color: rgba(244, 238, 229, 0.7); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--night-rule);
  margin-top: 64px;
  border-top: 1px solid var(--night-rule);
  border-bottom: 1px solid var(--night-rule);
}
.stat {
  background: var(--night);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat__num {
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--cream);
}
.stat__num-sup {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 14, "SOFT" 100;
  font-size: 0.4em;
  vertical-align: top;
  color: var(--lav-300);
  margin-left: 2px;
}
.stat__label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
}
.stat__note {
  font-size: 13.5px;
  color: rgba(244, 238, 229, 0.55);
  line-height: 1.55;
  margin-top: 4px;
}
@media (max-width: 980px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .stats { grid-template-columns: 1fr; } }

/* =================================================================
   FOUNDER + BOARD
================================================================= */
.founder {
  margin-top: 16px;
  max-width: 820px;     /* single column, comfortable reading width */
}
.founder__title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lav-500);
  margin: 8px 0 28px;
}
.founder__copy p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  max-width: 60ch;
}
.pullquote--founder {
  margin-top: 32px;
}

/* board as a full-width grid below the founder bio */
.board-block {
  margin-top: clamp(56px, 6vw, 96px);
  padding-top: clamp(40px, 4vw, 56px);
  border-top: 1px solid var(--rule);
}
.board-block__head {
  max-width: 720px;
  margin: 0 0 clamp(28px, 3vw, 48px);
}
.board-block__title {
  font-family: var(--serif);
  font-weight: 480;
  font-variation-settings: "opsz" 36, "SOFT" 60;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -0.012em;
  margin: 0 0 14px;
}
.board-block__lede {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
.board-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.board-card {
  background: var(--cream);
  padding: clamp(20px, 2vw, 28px);
  display: flex;
  flex-direction: column;
}
.board-card strong {
  font-family: var(--serif);
  font-weight: 480;
  font-variation-settings: "opsz" 18, "SOFT" 50;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.board-card__role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lav-500);
  margin-bottom: 12px;
}
.board-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 1100px) {
  .board-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .board-grid { grid-template-columns: 1fr; }
}

/* =================================================================
   SPORT — THE WHOLE ATHLETE (character grid)
================================================================= */
.section--character { background: var(--cream-deep); }
.character__head {
  max-width: 760px;
  margin: 0 0 clamp(40px, 4vw, 64px);
}
.character__head .display {
  margin: 14px 0 18px;
}
.character__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.character-card {
  background: var(--cream);
  padding: clamp(28px, 3.2vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.character-card__num {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 16, "SOFT" 80;
  font-size: 1.05rem;
  color: var(--lav-500);
  letter-spacing: 0.01em;
}
.character-card h3 {
  font-family: var(--serif);
  font-weight: 480;
  font-variation-settings: "opsz" 24, "SOFT" 60;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  margin: 0 0 8px;
  letter-spacing: -0.012em;
}
.character-card p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: 50ch;
}
@media (max-width: 720px) {
  .character__grid { grid-template-columns: 1fr; }
}

/* =================================================================
   GRATITUDE
================================================================= */
.section--gratitude {
  background: var(--cream);
  padding-bottom: clamp(80px, 9vw, 140px);
}
.gratitude__title {
  margin: 14px 0 24px;
  max-width: 18ch;
}
.gratitude__lede {
  max-width: 62ch;
  margin: 0 0 clamp(40px, 4vw, 64px);
}
.gratitude__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
}
.gratitude-card {
  background: var(--lav-50, #EFEAF7);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid rgba(90, 79, 207, 0.08);
}
.gratitude-card h3 {
  font-family: var(--serif);
  font-weight: 480;
  font-variation-settings: "opsz" 22, "SOFT" 80;
  font-style: italic;
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  color: var(--lav-700, #3a32a8);
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.gratitude-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
.gratitude__signoff {
  margin-top: clamp(36px, 4vw, 56px);
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 18, "SOFT" 100;
  font-size: 1.1rem;
  color: var(--lav-500);
  letter-spacing: 0.005em;
}
@media (max-width: 720px) {
  .gratitude__grid { grid-template-columns: 1fr; }
}

/* footer wider-community line */
.footer__community {
  display: block;
  font-size: 12px;
  color: rgba(244, 238, 229, 0.55);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

@media (max-width: 880px) {
  .founder { max-width: 100%; }
}

/* =================================================================
   GET INVOLVED CTA
================================================================= */
.section--cta { background: var(--cream-deep); }
.cta { max-width: 1100px; margin: 0 auto; }
.cta__lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 24px 0 56px;
}
.cta__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cta-card {
  background: var(--cream-card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-card--primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.cta-card--primary .btn--ink {
  background: var(--cream);
  color: var(--ink);
}
.cta-card--primary .btn--ink:hover {
  background: var(--lav-200);
  color: var(--ink);
}
.cta-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 50;
  font-size: 1.5rem;
  margin: 0;
  letter-spacing: -0.01em;
}
.cta-card p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; flex: 1; }
.cta-card--primary p { color: rgba(244, 238, 229, 0.92); }
.cta-card .btn { align-self: flex-start; }
@media (max-width: 980px) { .cta__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cta__grid { grid-template-columns: 1fr; } }

/* =================================================================
   FOOTER
================================================================= */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(60px, 8vw, 100px) 0 36px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--night-rule);
}
.footer__logo {
  height: 44px;
  width: auto;
  display: block;
  /* footer is on the dark "night" band, so add a soft cream halo behind the
     logo to keep the wordmark legible without altering the mark itself */
  background: var(--cream);
  padding: 8px 14px;
  border-radius: 999px;
}
.footer__tag {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 14, "SOFT" 100;
  font-size: 1.05rem;
  margin: 16px 0 0;
  color: rgba(244, 238, 229, 0.78);
  max-width: 28ch;
}
.footer__col h4 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 238, 229, 0.55);
  margin: 0 0 16px;
  font-weight: 600;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  color: var(--cream);
  font-size: 14px;
  transition: color 180ms ease;
}
.footer__col a:hover { color: var(--lav-300); }
.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  font-size: 12px;
  color: rgba(244, 238, 229, 0.5);
}
.footer__circle { font-size: 24px; color: var(--lav-300); }

@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* =================================================================
   MODAL — donate form
================================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
@media (min-width: 720px) {
  .modal { align-items: center; padding: 24px; }
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modal-fade 280ms ease both;
}
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }

.modal__panel {
  position: relative;
  background: var(--cream-card);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 -30px 80px -10px rgba(26,23,20,0.5);
  animation: modal-up 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@media (min-width: 720px) {
  .modal__panel {
    border-radius: var(--r-lg);
    box-shadow: 0 30px 80px -10px rgba(26,23,20,0.5);
    animation: modal-pop 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
}
@keyframes modal-up { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes modal-pop { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  z-index: 2;
  transition: background 180ms ease, transform 180ms ease;
}
.modal__close:hover { background: var(--lav-100); transform: rotate(90deg); }

.modal__body {
  padding: clamp(24px, 4vw, 36px) clamp(20px, 4vw, 36px) clamp(24px, 4vw, 36px);
}
.modal__body .display { margin-top: 14px; }
.modal__body .display em { color: var(--lav-500); }
.modal__lede {
  margin: 12px 0 24px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* =================================================================
   FORM
================================================================= */
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: flex; flex-direction: column; gap: 8px; }
.form__row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form__row--two > div { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 540px) { .form__row--two { grid-template-columns: 1fr; } }

.form__label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.form__opt {
  font-weight: 400;
  color: var(--ink-mute);
  font-size: 12.5px;
}

.form__input {
  font: inherit;
  font-size: 15px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  padding: 13px 18px;
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  width: 100%;
}
.form__input::placeholder { color: var(--ink-mute); }
.form__input:focus {
  outline: none;
  border-color: var(--lav-500);
  box-shadow: 0 0 0 4px rgba(90, 79, 207, 0.12);
  background: white;
}
.form__input--ta {
  border-radius: var(--r-md);
  resize: vertical;
  min-height: 84px;
  padding: 14px 18px;
  line-height: 1.5;
}
select.form__input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%231A1714' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
}

/* amount row — currency selector + input combined into one pill */
.amount-row {
  display: flex;
  align-items: stretch;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.amount-row:focus-within {
  border-color: var(--lav-500);
  box-shadow: 0 0 0 4px rgba(90, 79, 207, 0.12);
  background: white;
}
.amount-row__currency {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  border-right: 1px solid var(--rule);
  padding: 13px 32px 13px 20px;
  min-width: 100px;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%231A1714' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  flex-shrink: 0;
}
.amount-row__currency:focus { outline: none; }
.amount-row__input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 13px 18px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.amount-row__input:focus { outline: none; }

/* presets */
.presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.preset-btn {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  cursor: pointer;
  color: var(--ink);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.preset-btn:hover { background: var(--lav-100); border-color: var(--lav-500); }
.preset-btn.is-active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__fineprint {
  font-size: 12.5px;
  color: var(--ink-mute);
  margin: 6px 0 0;
  line-height: 1.5;
}

.form__error {
  background: rgba(162, 57, 30, 0.08);
  border: 1px solid rgba(162, 57, 30, 0.25);
  color: var(--err);
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 14px;
}

/* =================================================================
   SUCCESS STATE
================================================================= */
.success {
  text-align: center;
  padding: 16px 0 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.success__check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--lav-100);
  color: var(--lav-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  animation: check-pop 480ms cubic-bezier(0.2, 0.9, 0.2, 1.4) both;
}
@keyframes check-pop {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}
.success p {
  color: var(--ink-soft);
  max-width: 38ch;
  font-size: 0.97rem;
}
.success a { color: var(--lav-500); text-decoration: underline; text-underline-offset: 2px; }

/* =================================================================
   reduced motion
================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
}

/* =================================================================
   PRINT — when someone exports the page to PDF or prints it
   Goals:
   - Preserve brand colors and visual weight (force background printing)
   - Hide chrome (sticky nav, marquee, modal, hover effects)
   - Keep hero compact and on one page
   - Convert dark Impact band to light bg with same serif numerals
   - Stop cards/sections from breaking awkwardly across pages
   - Add a subtle print-only header with the decree and URL
================================================================= */
@media print {

  /* page setup — A4 with comfortable margins so content doesn't crash into edges */
  @page {
    size: A4;
    margin: 16mm 14mm 18mm 14mm;
  }

  /* force background colors and images to print (Chrome/Edge default to drop them) */
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  /* kill animations and transitions so nothing renders mid-state */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  html, body {
    background: #fff !important;
    font-size: 10.5pt;
    line-height: 1.5;
  }
  body {
    background-image: none !important; /* drop the paper grain */
  }

  /* === hide interactive chrome === */
  .nav,
  .marquee,
  .modal,
  .modal__backdrop,
  .nav__menu-btn,
  .form__honeypot,
  .footer__legal a,
  [aria-hidden="true"] {
    display: none !important;
  }

  /* show URLs after links so a printed copy has navigable references — but only for the footer */
  .footer a[href^="http"]::after,
  .footer a[href^="mailto"]::after { content: ""; }
  a { color: inherit !important; text-decoration: none !important; }

  /* === print-only header: appears once on page 1 above the hero === */
  .hero::before {
    content: "Hope Circle Foundation · hopecirclefoundation.org · Decree №000061/O/MINAT/SG/DAP/SDLP/SONG/BA/BG · Issued 28 April 2026";
    display: block;
    font-size: 7.5pt;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #6a6560;
    border-bottom: 0.5pt solid #d8d2c5;
    padding-bottom: 4mm;
    margin-bottom: 6mm;
  }

  /* === HERO === */
  .hero {
    padding: 0 !important;
    page-break-after: always;
  }
  .hero__grid {
    display: grid !important;
    grid-template-columns: 1.05fr 0.95fr !important;
    gap: 8mm !important;
    align-items: start !important;
  }
  .hero__copy { padding: 0 !important; }
  .hero__image {
    max-height: 110mm;
    width: 100%;
    object-fit: cover;
    border-radius: 6pt;
    page-break-inside: avoid;
  }
  .hero__image-tag { padding: 4mm !important; font-size: 8pt !important; }
  .hero__meta { margin-top: 6mm !important; gap: 6mm !important; }

  /* === TYPOGRAPHY scale-down for print === */
  .display, .display--lg { font-size: 28pt !important; line-height: 1.04 !important; margin: 4mm 0 !important; }
  .display--md           { font-size: 22pt !important; line-height: 1.06 !important; margin: 4mm 0 !important; }
  .display--sm           { font-size: 16pt !important; line-height: 1.1 !important; }
  .lede, .section__lede  { font-size: 11pt !important; line-height: 1.55 !important; }
  h3                     { font-size: 12pt !important; }
  .eyebrow {
    font-size: 8pt !important;
    padding: 3pt 8pt !important;
  }

  /* === SECTIONS — control pagination === */
  .section {
    padding: 8mm 0 !important;
    page-break-inside: auto;
  }
  .section__head { margin-bottom: 6mm !important; padding-bottom: 4mm !important; }
  .section__num  { font-size: 14pt !important; }

  /* === MISSION === */
  .mission__grid { gap: 8mm !important; }
  .decree-card {
    padding: 5mm !important;
    page-break-inside: avoid;
  }

  /* === PILLARS overview — 2x2 grid at print width === */
  .pillars {
    grid-template-columns: 1fr 1fr !important;
    gap: 4mm !important;
  }
  .pillar {
    padding: 5mm !important;
    page-break-inside: avoid;
  }
  .pillar__more { display: none !important; } /* "Read on" links useless in print */

  /* === DEEP-DIVE SECTIONS (Health/Education/Sport) === */
  .deep {
    grid-template-columns: 1fr 1fr !important;
    gap: 6mm !important;
    page-break-inside: auto;
  }
  .deep__image img {
    max-height: 85mm;
    object-fit: cover;
    border-radius: 5pt;
    page-break-inside: avoid;
  }
  .feature-list { gap: 4mm !important; }
  .feature-list > li {
    page-break-inside: avoid;
    padding: 3mm 0 !important;
  }
  .feature-list__num { font-size: 11pt !important; }

  /* opportunity 2-card grid */
  .opportunity__cards {
    grid-template-columns: 1fr 1fr !important;
    gap: 5mm !important;
  }
  .opp-card {
    padding: 5mm !important;
    page-break-inside: avoid;
  }

  /* pull quote */
  .pullquote {
    padding: 5mm !important;
    margin: 6mm 0 !important;
    page-break-inside: avoid;
    font-size: 11pt !important;
  }

  /* === IMPACT — invert dark band to light, keep dramatic numerals === */
  .section--impact,
  .section--impact .stats,
  .section--impact .stat {
    background: #fff !important;
    background-image: none !important;
    color: #1A1714 !important;
  }
  .section--impact {
    border-top: 0.75pt solid #1A1714 !important;
    border-bottom: 0.75pt solid #1A1714 !important;
    padding: 8mm 0 !important;
    page-break-inside: avoid;
  }
  .stats {
    border: none !important;
    gap: 4mm !important;
  }
  .section--impact *,
  .section--impact .display,
  .section--impact .section__lede,
  .stat__label, .stat__note { color: #1A1714 !important; }
  .section--impact .display em,
  .section--impact .stat__num-sup { color: #5A4FCF !important; }
  .stat {
    border: 0.5pt solid #d8d2c5 !important;
    border-radius: 4pt;
  }
  .stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 6mm !important;
  }
  .stat { page-break-inside: avoid; padding: 4mm !important; }
  .stat__num     { font-size: 38pt !important; line-height: 1 !important; }
  .stat__num-sup { font-size: 14pt !important; }
  .stat__label   { font-size: 9pt !important; margin-top: 2mm !important; }
  .stat__note    { font-size: 9.5pt !important; }

  /* === FOUNDER — collapse sticky board sidebar to inline column === */
  .founder { display: block !important; }
  .founder > * + * { margin-top: 6mm !important; }
  .board {
    position: static !important;
    padding: 5mm !important;
    border: 0.5pt solid #d8d2c5 !important;
    border-radius: 4pt;
    page-break-inside: avoid;
  }
  .pullquote--founder { page-break-inside: avoid; }

  /* === GET INVOLVED — 2x2 grid === */
  .cta__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 4mm !important;
  }
  .cta-card {
    padding: 5mm !important;
    page-break-inside: avoid;
  }
  .cta-card--primary {
    background: #1A1714 !important;
    color: #F4EEE5 !important;
  }
  .cta-card--primary * { color: #F4EEE5 !important; }
  .cta-card .btn { display: none !important; } /* buttons useless on paper */

  /* === BUTTONS in hero — keep one as visual cue, simplify === */
  .hero__ctas .btn {
    display: inline-block !important;
    border: 0.75pt solid #1A1714 !important;
    background: transparent !important;
    color: #1A1714 !important;
    padding: 3pt 10pt !important;
    font-size: 10pt !important;
    box-shadow: none !important;
  }
  .hero__ctas .btn--ink {
    background: #1A1714 !important;
    color: #F4EEE5 !important;
  }

  /* === FOOTER === */
  .footer {
    padding: 6mm 0 4mm !important;
    border-top: 0.5pt solid #d8d2c5 !important;
    page-break-inside: avoid;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 5mm !important;
  }
  .footer__circle { display: none !important; }

  /* === orphan / widow control on headlines === */
  h1, h2, h3, h4, .display, .eyebrow {
    page-break-after: avoid;
    break-after: avoid;
  }
  p, li { orphans: 3; widows: 3; }
}
