/* Sarcoma Strands Foundation — shared styles
   Palette and type approved 2026-11-22. Gold is reserved for donate/giving actions. */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face { font-family: "Brygada 1918"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/brygada-1918-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Brygada 1918"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/brygada-1918-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Brygada 1918"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/brygada-1918-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Brygada 1918"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/brygada-1918-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../assets/fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../assets/fonts/atkinson-hyperlegible-next-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --linen: #FAF7F2;
  --shell: #F2ECE3;
  --line: #DED5C8;
  --paper: #FFFDF9;
  --ink: #2B2433;
  --ink-soft: #5D5468;

  --plum: #5B3A84;
  --plum-deep: #432A63;
  --plum-mid: #8A6BB3;
  --lilac: #F1EBF6;

  --gold: #E3B649;
  --gold-hover: #D9A835;
  --gold-deep: #7A5B10;
  --gold-wash: #FBF2DC;

  --hydrangea: #7C9BD6;
  --hydrangea-deep: #33528C;
  --mist: #E9EEF7;

  --font-head: "Brygada 1918", Georgia, "Times New Roman", serif;
  --font-body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(43 36 51 / 0.05), 0 10px 28px -14px rgb(43 36 51 / 0.16);
  --shadow-lift: 0 2px 4px rgb(43 36 51 / 0.06), 0 18px 40px -16px rgb(67 42 99 / 0.24);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font: 400 1.125rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
::selection { background: #DCCDEE; color: var(--ink); }
:focus-visible { outline: 3px solid var(--hydrangea-deep); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; margin: 0; text-wrap: balance; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }
a { color: var(--plum); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: rgb(91 58 132 / 0.45); transition: color 160ms ease, text-decoration-color 160ms ease; }
a:hover { color: var(--plum-deep); text-decoration-color: currentColor; }
/* [BRACKETED] = unconfirmed content; neutral so it never reads as a giving action */
.tbd { font-family: var(--font-body); font-size: 0.85em; font-weight: 600; color: var(--ink-soft); background: var(--shell); border: 1px dashed #B9AE9F; border-radius: 4px; padding: 0 0.35em; white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--shell { background: var(--shell); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section--mist { background: var(--mist); }
.section-head { max-width: 40rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.1875rem; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--plum); color: #fff; padding: 12px 18px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus, .skip-link:hover { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  font: 600 1.0625rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 200ms var(--ease-out); }
.btn-primary { background: var(--plum); color: #fff; box-shadow: 0 6px 16px -8px rgb(67 42 99 / 0.6); }
.btn-primary:hover { background: var(--plum-deep); color: #fff; }
.btn-give { background: var(--gold); color: var(--ink); box-shadow: 0 6px 16px -8px rgb(122 91 16 / 0.55); }
.btn-give:hover { background: var(--gold-hover); color: var(--ink); }
.btn-quiet { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--plum); }
.btn-quiet:hover { background: var(--lilac); color: var(--plum-deep); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover svg { transform: translateX(3px); }
}

/* Text link with arrow */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--plum); min-height: 44px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 260ms var(--ease-out); padding-bottom: 2px; }
.link-arrow:hover span { background-size: 100% 1.5px; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header & nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(250 247 242 / 0.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 200ms ease, box-shadow 200ms ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgb(43 36 51 / 0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-logo { width: 60px; height: 60px; flex: none; }
.brand-logo--lg { width: 112px; height: 112px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); font-size: 1.375rem; font-weight: 500; letter-spacing: -0.01em; }
.brand-name small { font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.brand:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font: 500 1rem/1 var(--font-body); color: var(--ink); text-decoration: none; background: transparent; border: 0; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--lilac); color: var(--plum-deep); }
.nav-link[aria-current="page"] { color: var(--plum); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 10px; }
.nav-trigger svg { width: 14px; height: 14px; transition: transform 200ms var(--ease-out); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-menu { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px;
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-lift);
  transform-origin: top left; opacity: 0; transform: translateY(-4px) scale(0.98); visibility: hidden;
  transition: opacity 160ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
}
.submenu.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity 160ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s; }
.submenu a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.submenu a:hover { background: var(--lilac); color: var(--plum-deep); }
.nav-donate { margin-left: 10px; }

.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--lilac); color: var(--plum-deep); font: 600 1rem/1 var(--font-body); cursor: pointer; }
.menu-toggle-icon { position: relative; width: 18px; height: 12px; }
.menu-toggle-icon::before, .menu-toggle-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 220ms var(--ease-out), top 220ms var(--ease-out); }
.menu-toggle-icon::before { top: 1px; }
.menu-toggle-icon::after { top: 9px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1040px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 49; background: var(--linen);
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s linear 240ms;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-trigger { width: 100%; justify-content: space-between; min-height: 60px; padding: 0 4px; border-radius: 0; font-family: var(--font-head); font-size: 1.5rem; }
  .nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: transparent; }
  .nav-link[aria-current="page"] { text-decoration: none; }
  .submenu { position: static; box-shadow: none; background: transparent; padding: 0 0 12px 12px; min-width: 0; transform: none; display: none; opacity: 1; visibility: visible; transition: none; }
  .submenu.is-open { display: block; }
  .submenu a { font-size: 1.125rem; }
  .nav-donate { margin: 28px 0 0; width: 100%; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 1.1875rem; }
  .brand-name small { font-size: 0.6875rem; letter-spacing: 0.12em; }
  .menu-toggle { padding: 0 14px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 72px) clamp(72px, 9vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(2.625rem, 4.5vw, 3.875rem); line-height: 1.06; letter-spacing: -0.025em; }
.h1-line { display: block; }
.hero h1 em { font-style: italic; color: var(--plum); }
.hero-sub { margin-top: 24px; font-size: clamp(1.1875rem, 1.6vw, 1.3125rem); color: var(--ink-soft); max-width: 34rem; }
.hero-date { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 600; color: var(--plum-deep); }
.hero-date svg { width: 22px; height: 22px; color: var(--plum); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-visual { position: relative; padding: 0 36px 36px 0; }
.photo-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 80% at 70% 15%, #FFFDF9 0%, #EFE8DE 48%, #E4DACC 100%);
  display: grid; place-items: center; text-align: center; color: var(--ink-soft);
}
.photo-frame::after { content: ""; position: absolute; inset: 14px; border: 1.5px dashed rgb(93 84 104 / 0.32); border-radius: 14px; pointer-events: none; }
.photo-frame--photo { aspect-ratio: auto; background: var(--shell); }
.photo-frame--photo::after { display: none; }
.photo-frame--photo img { display: block; width: 100%; height: auto; }
.hero-photo { box-shadow: 0 2px 4px rgb(43 36 51 / 0.06), 0 30px 60px -30px rgb(67 42 99 / 0.45); }
.photo-label { position: relative; z-index: 1; max-width: 22ch; font-size: 0.9375rem; line-height: 1.5; padding: 24px; }
.photo-label strong { display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.photo-label svg { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--plum-mid); }
.hero-visual .hydrangea { position: absolute; right: -6px; bottom: -10px; width: clamp(130px, 12vw, 180px); filter: drop-shadow(0 12px 18px rgb(51 82 140 / 0.18)); }

/* Hero entrance (once on load) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-enter] { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  .js .is-ready [data-enter] { opacity: 1; transform: none; filter: blur(0); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out), filter 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js .photo-frame[data-reveal] { clip-path: inset(100% 0 0 0 round 22px); }
  .js .is-ready .photo-frame[data-reveal] { clip-path: inset(0 0 0 0 round 22px); transition: clip-path 1100ms var(--ease-in-out) 120ms; }
}

/* ---------- Mission ---------- */
.mission { text-align: center; }
.mission h2 { font-size: 1.0625rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; color: var(--plum); }
.mission-flower { width: 64px; margin: 0 auto 20px; }
.mission blockquote { margin: 20px auto 0; max-width: 30ch; font-family: var(--font-head); font-size: clamp(1.625rem, 3vw, 2.375rem); line-height: 1.32; letter-spacing: -0.01em; font-weight: 400; text-wrap: balance; }
.mission blockquote p + p { margin-top: 0.6em; }
.mission .mission-more { margin: 28px auto 0; max-width: 40rem; font-size: clamp(1.1875rem, 1.6vw, 1.3125rem); color: var(--ink-soft); }

/* ---------- Path cards ---------- */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.path-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 30px 26px; border-radius: var(--radius);
  background: var(--paper); box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.path-card h3 { font-size: 1.5rem; }
.path-card p { color: var(--ink-soft); font-size: 1.0625rem; }
.path-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 8px; }
.path-icon svg { width: 34px; height: 34px; }
.path-card--help .path-icon { background: var(--lilac); color: var(--plum); }
.path-card--learn .path-icon { background: var(--mist); color: var(--hydrangea-deep); }
.path-card--give .path-icon { background: var(--gold-wash); color: var(--gold-deep); }
.path-card .link-arrow { margin-top: auto; padding-top: 8px; }
.path-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (hover: hover) and (pointer: fine) {
  .path-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
  .path-card:hover .link-arrow span { background-size: 100% 1.5px; }
  .path-card:hover .link-arrow svg { transform: translateX(3px); }
}
.path-card:focus-visible { outline-offset: 4px; }

/* ---------- Founder letter ---------- */
.founder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.letter {
  position: relative; background: var(--paper); border-radius: 4px; padding: clamp(32px, 4vw, 48px) clamp(28px, 3.5vw, 44px) clamp(28px, 3.5vw, 40px);
  font-family: var(--font-head); font-style: italic; font-size: 1.0625rem; line-height: 1.75; color: var(--ink);
  box-shadow: 0 2px 4px rgb(43 36 51 / 0.05), 0 26px 48px -22px rgb(67 42 99 / 0.32);
  transform: rotate(-3deg); transform-origin: 40% 30%;
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(1.75em - 1px), rgb(124 155 214 / 0.16) calc(1.75em - 1px), rgb(124 155 214 / 0.16) 1.75em);
  background-position: 0 calc(clamp(32px, 4vw, 48px) - 0.3em);
}
.letter::before { content: ""; position: absolute; top: -12px; left: 50%; width: 112px; height: 26px; translate: -50% 0; rotate: 4deg; background: rgb(227 182 73 / 0.6); border-radius: 2px; }
.letter p + p { margin-top: 1.75em; }
.letter .greeting { font-size: 1.1875rem; }
.letter .sign { margin-top: 1.75em; }
.letter .sign span { display: block; font-size: 1.75rem; color: var(--plum); line-height: 1.3; margin-top: 0.1em; }
@media (hover: hover) and (pointer: fine) {
  .letter:hover { transform: rotate(-1.5deg) translateY(-4px); box-shadow: 0 2px 4px rgb(43 36 51 / 0.05), 0 34px 60px -24px rgb(67 42 99 / 0.38); }
}
.founder-copy h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); }
.founder-copy p { margin-top: 18px; color: var(--ink-soft); font-size: 1.1875rem; max-width: 32rem; }
.founder-copy .btn { margin-top: 32px; }

/* ---------- Why it matters ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.why-grid .section-head { margin-bottom: 0; }
.why-quote { margin: 28px 0 0; padding: 0; font-family: var(--font-head); font-style: italic; font-size: 1.25rem; line-height: 1.5; color: var(--plum-deep); max-width: 30rem; }
.why-quote cite { display: block; margin-top: 10px; font-family: var(--font-body); font-style: normal; font-size: 0.9375rem; font-weight: 600; color: var(--ink-soft); }
.costs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cost { background: var(--paper); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); }
.cost-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cost-name { font-weight: 600; font-size: 1.0625rem; }
.cost-price { font-family: var(--font-head); font-size: clamp(1.75rem, 2.8vw, 2.25rem); color: var(--plum); line-height: 1; font-variant-numeric: lining-nums; white-space: nowrap; }
.cost-price small { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 400; color: var(--ink-soft); }
.cost-price .pre { margin-right: 8px; }
.cost-price .post { margin-left: 6px; }
.cost-bar { margin-top: 16px; height: 8px; border-radius: 99px; background: var(--shell); position: relative; overflow: hidden; }
.cost-bar span { position: absolute; top: 0; bottom: 0; left: var(--from); right: calc(100% - var(--to)); border-radius: 99px; background: linear-gradient(90deg, var(--hydrangea), var(--plum)); min-width: 8px; }
.costs-note { margin-top: 18px; font-size: 0.9375rem; color: var(--ink-soft); }

/* ---------- Giving ---------- */
.give { background: var(--gold-wash); }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.25fr repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 18px; }
.tier { background: var(--paper); border-radius: var(--radius); padding: 26px 26px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.tier-amt { font-family: var(--font-head); font-size: clamp(2.25rem, 3.4vw, 2.75rem); line-height: 1; color: var(--plum); font-variant-numeric: lining-nums; letter-spacing: -0.02em; }
.tier p { font-size: 1.0625rem; }
.tier--feature { grid-row: span 2; background: var(--plum); color: #fff; padding: 36px 34px; justify-content: space-between; position: relative; overflow: hidden; }
.tier--feature .tier-amt { color: var(--gold); font-size: clamp(3.5rem, 6vw, 5rem); }
.tier--feature p { font-family: var(--font-head); font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.32; max-width: 14ch; }
.tier--feature img { position: absolute; right: -36px; bottom: -40px; width: 230px; opacity: 0.32; }
.give-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 40px; }
.give-foot p { font-family: var(--font-head); font-style: italic; font-size: 1.25rem; color: var(--ink); max-width: 36rem; }
.give-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Donate a wig ---------- */
.wig-donate { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--mist); border-radius: 22px; padding: clamp(32px, 5vw, 56px); }
.wig-donate img { width: clamp(96px, 11vw, 140px); }
.wig-donate h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); }
.wig-donate p { margin-top: 12px; color: var(--ink-soft); max-width: 40rem; }
.wig-donate .actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.btn-blue { background: var(--hydrangea-deep); color: #fff; }
.btn-blue:hover { background: #28436F; color: #fff; }

/* ---------- Newsletter ---------- */
.news { text-align: center; }
.news h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); max-width: 18ch; margin-inline: auto; }
.news > .wrap > p { margin: 16px auto 0; color: var(--ink-soft); max-width: 36rem; font-size: 1.1875rem; }
.news-form { display: flex; gap: 12px; max-width: 34rem; margin: 36px auto 0; text-align: left; }
.field { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.9375rem; font-weight: 600; }
.field input {
  min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper);
  font: 400 1.0625rem/1 var(--font-body); color: var(--ink); caret-color: var(--plum);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field input::placeholder { color: #776E81; }
.field input:hover { border-color: #C9BEAE; }
.field input:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgb(91 58 132 / 0.16); }
.field input[aria-invalid="true"] { border-color: #A3342B; }
.news-form .btn { align-self: flex-end; }
.form-msg { margin-top: 14px; font-size: 0.9375rem; min-height: 1.5em; }
.form-msg.is-error { color: #A3342B; }
.form-msg.is-info { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-deep); color: #EDE6F4; padding-block: clamp(64px, 8vw, 96px) 40px; position: relative; overflow: hidden; }
.site-footer a { color: #fff; text-decoration-color: rgb(255 255 255 / 0.4); }
.site-footer a:hover { color: var(--lilac); text-decoration-color: currentColor; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-name small { color: #CFC3DE; }
.footer-brand p { margin-top: 20px; max-width: 26rem; font-size: 1rem; color: #DCD2E8; }
.footer-col h2 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #CFC3DE; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding-block: 0; }
.footer-col li > a, .footer-col li > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: 44px; text-decoration: none; font-size: 1rem; }
.footer-col li > a:hover { text-decoration: underline; }
.site-footer .tbd { color: #fff; background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.4); }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 0.9375rem; color: #CFC3DE; }
.footer-flower { position: absolute; right: -60px; top: -40px; width: 300px; opacity: 0.12; pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .founder-grid, .why-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
  .hero-visual { max-width: 520px; padding: 0 28px 28px 0; }
  .paths { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier--feature { grid-column: 1 / -1; grid-row: auto; }
  .wig-donate { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .founder-letter-col { order: 2; }
}
@media (max-width: 760px) {
  .letter { transform: none; }
  .letter:hover { transform: none; }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .hero-actions .btn, .give-actions .btn, .founder-copy .btn { width: 100%; }
  .hero-actions, .give-actions { flex-direction: column; }
  .tiers { grid-template-columns: 1fr; }
  .news-form { flex-direction: column; }
  .news-form .btn { width: 100%; align-self: stretch; }
  .cost { padding: 20px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .letter:hover, .path-card:hover { transform: none; }
}

/* Path cards: icon sits beside the heading, not in a tile above it */
.path-head { display: flex; align-items: center; gap: 14px; }
.path-head svg { width: 36px; height: 36px; flex: none; }
.path-card--help .path-head svg { color: var(--plum); }
.path-card--learn .path-head svg { color: var(--hydrangea-deep); }
.path-card--give .path-head svg { color: var(--gold-deep); }

/* Dates and years: set in Brygada (Atkinson's zero is slashed) */
time { white-space: nowrap; font-family: var(--font-head); font-size: 1.07em; letter-spacing: 0; font-variant-numeric: lining-nums; }

/* =========================================================
   Inner pages
   ========================================================= */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.06; letter-spacing: -0.025em; max-width: 16ch; }
.page-hero h1 em { font-style: italic; color: var(--plum); }
.page-hero .lede { margin-top: 22px; font-size: clamp(1.1875rem, 1.6vw, 1.3125rem); color: var(--ink-soft); max-width: 38rem; }
.page-hero .hero-actions { margin-top: 32px; }
.page-hero-art { justify-self: end; width: min(100%, 300px); }
.page-hero--mist { background: var(--mist); }
.page-hero--lilac { background: var(--lilac); }
.page-hero--gold { background: var(--gold-wash); }

/* Message shown when a not-yet-confirmed link is clicked */
.pending-msg { margin-top: 12px; font-size: 0.9375rem; color: var(--ink-soft); min-height: 1.5em; }

/* Two-column content: heading left, body right */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split > .section-head { margin-bottom: 0; }
.prose p { max-width: 38rem; }
.prose p + p { margin-top: 1em; }

/* Apply panel */
.apply-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; background: var(--plum); color: #fff; border-radius: 22px; padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
.apply-date { font-family: var(--font-head); line-height: 0.95; color: #fff; text-align: center; padding-right: clamp(28px, 5vw, 64px); border-right: 1px solid rgb(255 255 255 / 0.22); }
.apply-date time { font-size: 1em; }
.apply-date .m { display: block; font-size: 1.25rem; letter-spacing: 0.08em; text-transform: uppercase; color: #E2D7EF; }
.apply-date .d { display: block; font-size: clamp(5rem, 10vw, 7.5rem); color: var(--lilac); margin-block: 6px; }
.apply-date .y { display: block; font-size: 1.75rem; }
.apply-panel h2 { color: #fff; font-size: clamp(1.875rem, 3.4vw, 2.625rem); }
.apply-panel p { margin-top: 14px; color: #E9E1F2; max-width: 34rem; font-size: 1.125rem; }
.apply-panel .btn { margin-top: 28px; }
.apply-panel .btn-light { background: #fff; color: var(--plum-deep); }
.apply-panel .btn-light:hover { background: var(--lilac); color: var(--plum-deep); }
.apply-panel .pending-msg { color: #E2D7EF; }
.apply-panel .tbd { color: #fff; background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.45); }

/* Definition rows */
.info-list { margin: 0; display: flex; flex-direction: column; }
.info-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 8px 32px; padding-block: 22px; border-top: 1px solid var(--line); }
.info-row:last-child { border-bottom: 1px solid var(--line); }
.info-row dt { font-family: var(--font-head); font-size: 1.375rem; line-height: 1.3; }
.info-row dd { margin: 0; color: var(--ink-soft); }

/* Pull quote */
.pull { max-width: 46rem; margin: 0 auto; text-align: center; }
.pull p { font-family: var(--font-head); font-style: italic; font-size: clamp(1.5rem, 2.8vw, 2.125rem); line-height: 1.4; color: var(--plum-deep); text-wrap: balance; }
.pull cite { display: block; margin-top: 18px; font-style: normal; font-weight: 600; font-size: 1rem; color: var(--ink-soft); }

/* Route cards */
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.route { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.route h3 { font-size: 1.375rem; }
.route p { color: var(--ink-soft); font-size: 1.0625rem; }
.route .link-arrow { margin-top: auto; }
@media (hover: hover) and (pointer: fine) {
  .route:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
  .route:hover .link-arrow span { background-size: 100% 1.5px; }
  .route:hover .link-arrow svg { transform: translateX(3px); }
}

/* Resources */
.res-groups { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 72px); }
.res-group { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; scroll-margin-top: calc(var(--header-h) + 24px); }
.res-group-head { display: flex; gap: 16px; align-items: flex-start; }
.res-group-head svg { width: 36px; height: 36px; flex: none; margin-top: 4px; }
.res-group-head h2 { font-size: clamp(1.625rem, 2.6vw, 2.125rem); }
.res-group-head p { margin-top: 8px; color: var(--ink-soft); font-size: 1.0625rem; }
.res-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.res-item { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 20px 24px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.res-item h3 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; letter-spacing: 0; }
.res-item p { color: var(--ink-soft); font-size: 1rem; margin-top: 2px; }
.res-item > a { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.res-group--learn .res-group-head svg { color: var(--hydrangea-deep); }
.res-group--wigs .res-group-head svg { color: var(--plum); }
.res-group--donate .res-group-head svg { color: var(--hydrangea-deep); }

/* Matching gifts */
.match { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.match-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.match-steps li { counter-increment: step; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; background: var(--paper); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.match-steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold-wash); color: var(--gold-deep); font-family: var(--font-head); font-size: 1.375rem; }
.match-steps strong { display: block; font-weight: 600; }
.match-steps span { color: var(--ink-soft); font-size: 1rem; }

/* Full founder letter */
.letter--full { transform: none; max-width: 760px; margin-inline: auto; padding: clamp(40px, 6vw, 80px) clamp(24px, 6vw, 80px) clamp(40px, 5vw, 64px); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.8; background-image: none; }
.letter--full:hover { transform: none; }
.letter--full p + p { margin-top: 1.1em; }
.letter--full .sign { margin-top: 2em; }
.letter--full .sign span { font-size: 2.25rem; }

/* Board */
.board-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 40px); }
.board-grid--sm { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.member { display: flex; flex-direction: column; gap: 12px; }
.member .photo-frame { aspect-ratio: 3 / 4; border-radius: var(--radius); margin-bottom: 6px; }
.member .photo-frame::after { inset: 10px; border-radius: 8px; }
.member .photo-label { font-size: 0.8125rem; padding: 16px; }
.member .photo-label svg { width: 32px; height: 32px; margin-bottom: 8px; }
.member h3 { font-size: 1.375rem; }
.member .role { color: var(--plum); font-weight: 600; font-size: 1rem; }
.member p { color: var(--ink-soft); font-size: 1rem; }
.member .role .tbd { font-weight: 600; }
.member--sm h3 { font-size: 1.1875rem; }
.member--sm .role, .member--sm p { font-size: 0.9375rem; }
.member--sm .photo-label strong { font-size: 0.6875rem; }
.interns { padding-top: 0; }
.interns .section-head { margin-bottom: 28px; }

/* Events */
.events-empty { text-align: center; max-width: 40rem; margin-inline: auto; }
.events-empty img { width: min(70vw, 320px); margin: 0 auto 28px; }
.events-empty h2 { font-size: clamp(2rem, 4vw, 3rem); }
.events-empty p { margin-top: 16px; color: var(--ink-soft); font-size: 1.1875rem; }
.events-empty .hero-actions { justify-content: center; }

/* Contact */
.contact-card { background: var(--paper); border-radius: 22px; box-shadow: var(--shadow); padding: clamp(28px, 4vw, 48px); }
.contact-card h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.contact-lines { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; }
.contact-lines li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 64px; border-top: 1px solid var(--line); padding-block: 8px; }
.contact-lines svg { width: 24px; height: 24px; color: var(--plum); }
.contact-lines .label { font-size: 0.875rem; color: var(--ink-soft); display: block; }

/* 404 */
.notfound { min-height: 64vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.notfound img { width: 200px; margin: 0 auto 24px; }
.notfound h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.notfound p { margin: 18px auto 0; color: var(--ink-soft); max-width: 32rem; font-size: 1.1875rem; }
.notfound .hero-actions { justify-content: center; }

@media (max-width: 960px) {
  .page-hero-grid, .split, .res-group, .match { grid-template-columns: 1fr; }
  .page-hero-art { justify-self: start; width: 180px; order: -1; }
  .routes { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-grid--sm { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .apply-panel { grid-template-columns: 1fr; }
  .apply-date { border-right: 0; padding-right: 0; border-bottom: 1px solid rgb(255 255 255 / 0.22); padding-bottom: 24px; text-align: left; }
  .info-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .board-grid { grid-template-columns: 1fr; gap: 44px; }
  .member > .photo-frame { width: min(100%, 300px); }
  .board-grid--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .board-grid--sm .member > .photo-frame { width: 100%; }
  .apply-panel .btn { width: 100%; }
  .res-item { padding: 18px 20px; }
  .page-hero-art { width: 140px; }
  .events-empty .hero-actions .btn { width: 100%; }
}

/* Current section in nav */
.nav-trigger.is-current { color: var(--plum); }
.submenu a[aria-current="page"] { color: var(--plum); font-weight: 600; }
.nav-donate[aria-current="page"] { box-shadow: 0 0 0 3px var(--linen), 0 0 0 5px var(--gold); }

.member .tbd { white-space: normal; }
#giving-tuesday .split { align-items: center; }

/* Checkout note under give buttons */
.checkout-note, .give-foot .checkout-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--font-body); font-style: normal; font-size: 0.9375rem; line-height: 1.4; color: var(--ink-soft); max-width: none; }
.checkout-note svg { width: 16px; height: 16px; flex: none; color: var(--gold-deep); }
.events-empty .checkout-note, .notfound .checkout-note { justify-content: center; }
.give-cta { display: flex; flex-direction: column; }

/* Giving Tuesday: button + QR */
.gt-give { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.gt-give > div { flex: 1 1 auto; min-width: 0; }
.qr { margin: 0; flex: none; text-align: center; }
.qr img { width: 180px; height: 180px; padding: 12px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); }
.qr figcaption { margin-top: 12px; font-size: 0.9375rem; font-weight: 600; color: var(--ink-soft); }
@media (max-width: 760px) { .qr { display: none; } }
.member .school { color: var(--ink); font-weight: 600; margin-top: -4px; }

/* Launch: newsletter, footer email, intern cards */
.form-msg.is-success { color: var(--plum-deep); font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.footer-email { overflow-wrap: anywhere; }
.contact-lines a { overflow-wrap: anywhere; font-weight: 600; }
.board-grid--sm { grid-template-columns: repeat(2, minmax(0, 26rem)); }
.member--sm { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px; gap: 8px; }
@media (max-width: 560px) { .board-grid--sm { grid-template-columns: 1fr; } }
.board-grid--sm { align-items: start; }
