/* =====================================================================
   GIRLS INTO VC — MICHIGAN · STYLES
   You shouldn't need to edit this file. Content lives in content.js.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --blush: #FCEAF1;
  --blush-deep: #F8DAE6;
  --surface: #FFFFFF;
  --paper: #FFFFFF;          /* polaroid frames */
  --pink: #F172A1;           /* logo pink: decor, swashes, icons */
  --pink-soft: #F7B5CD;
  --pink-ink: #B42A62;       /* readable pink for text and buttons */
  --green: #1F4030;          /* top bar + headlines */
  --ink: #3B1E2C;            /* body text */
  --muted: #7A5566;
  --line: rgba(180, 42, 98, .18);
  --btn-bg: #B42A62;
  --btn-text: #FFFFFF;
  --shadow: 0 10px 28px rgba(122, 40, 76, .14);
  --shadow-sm: 0 4px 12px rgba(122, 40, 76, .12);
  --gingham-a: rgba(241, 114, 161, .30);
  --header-bg: rgba(252, 234, 241, .9);

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Figtree", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;

  --wrap: 1120px;
  --header-h: 72px;
  color-scheme: light;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blush: #22141B; --blush-deep: #2C1A23; --surface: #351F2A; --paper: #FFF7FA;
    --pink: #F48FB5; --pink-soft: #6E3550; --pink-ink: #F7A8C6;
    --green: #A9D8BC; --ink: #F8E6EE; --muted: #D3AFC0;
    --line: rgba(247, 168, 198, .22);
    --btn-bg: #F48FB5; --btn-text: #22141B;
    --shadow: 0 10px 28px rgba(0, 0, 0, .45); --shadow-sm: 0 4px 12px rgba(0, 0, 0, .35);
    --gingham-a: rgba(244, 143, 181, .22);
    --header-bg: rgba(34, 20, 27, .9);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --blush: #22141B; --blush-deep: #2C1A23; --surface: #351F2A; --paper: #FFF7FA;
  --pink: #F48FB5; --pink-soft: #6E3550; --pink-ink: #F7A8C6;
  --green: #A9D8BC; --ink: #F8E6EE; --muted: #D3AFC0;
  --line: rgba(247, 168, 198, .22);
  --btn-bg: #F48FB5; --btn-text: #22141B;
  --shadow: 0 10px 28px rgba(0, 0, 0, .45); --shadow-sm: 0 4px 12px rgba(0, 0, 0, .35);
  --gingham-a: rgba(244, 143, 181, .22);
  --header-bg: rgba(34, 20, 27, .9);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--blush); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--pink-ink); }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--btn-bg); color: var(--btn-text); padding: .6rem 1rem; border-radius: 999px; }
.skip:focus { top: calc(1rem + env(safe-area-inset-top, 0px)); }
:focus-visible { outline: 3px solid var(--pink-ink); outline-offset: 3px; border-radius: 6px; }
.hand { font-family: var(--hand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid var(--btn-bg); transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-text); box-shadow: 0 6px 0 rgba(122, 20, 64, .25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(122, 20, 64, .25); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(122, 20, 64, .25); }
.btn-ghost { background: transparent; color: var(--pink-ink); border-color: var(--pink-ink); }
.btn-ghost:hover { background: var(--surface); }
.btn-lg { min-height: 56px; padding: 1rem 1.8rem; font-size: 1.08rem; }
.btn svg { width: 1.15em; height: 1.15em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: var(--header-bg); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 41;
  background: #1F4030;
}
.topbar { height: 6px; background: #1F4030; }
.nav { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; height: calc(var(--header-h) - 6px); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.nav-links a { display: block; padding: .55rem .8rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.active { background: var(--surface); color: var(--pink-ink); }
.nav-links a.nav-join { background: var(--btn-bg); color: var(--btn-text); padding-inline: 1.1rem; margin-left: .35rem; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--line); cursor: pointer; color: var(--ink);
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, opacity .25s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .25rem; padding: .75rem 1.25rem 1.25rem;
    background: var(--blush); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform-origin: top; transform: scaleY(.96); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.open { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { padding: .9rem 1rem; font-size: 1.1rem; }
  .nav-links a.nav-join { margin: .4rem 0 0; text-align: center; }
}

/* ---------- Decor: gingham, tape, swash ---------- */
.gingham-band {
  height: 34px;
  background-color: var(--surface);
  background-image:
    linear-gradient(90deg, var(--gingham-a) 50%, transparent 50%),
    linear-gradient(var(--gingham-a) 50%, transparent 50%);
  background-size: 22px 22px;
}
.taped { position: relative; }
.taped::before, .taped::after {
  content: ""; position: absolute; width: 96px; height: 28px; z-index: 2;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .38) 0 6px, transparent 6px 12px), rgba(241, 114, 161, .55);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}
.taped::before { top: -13px; left: 18px; transform: rotate(-6deg); }
.taped::after { top: -11px; right: 22px; transform: rotate(5deg); background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .35) 0 5px, transparent 5px 10px), rgba(31, 64, 48, .35); }

.sprig { position: absolute; width: 74px; height: 74px; color: var(--pink); opacity: .85; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(2rem, 6vw, 4.5rem); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; min-height: min(78vh, 720px); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.lockup { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.lockup-logo { width: min(100%, 440px); height: auto; }
.lockup-school { font-weight: 600; font-size: clamp(1.05rem, 2.2vw, 1.3rem); margin-top: .4rem; letter-spacing: .01em; }
.lockup-est { color: var(--pink-ink); font-size: 1.5rem; line-height: 1; margin-top: .3rem; transform: rotate(-2deg); display: inline-block; }
.hero-title {
  font-family: var(--serif); color: var(--green);
  font-size: clamp(2.6rem, 6.4vw, 4.8rem); line-height: 1.02; letter-spacing: -.01em;
  max-width: 13ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); }

/* Collage */
.collage { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1 / 1.28; justify-self: center; }
.polaroid {
  position: absolute; margin: 0; background: var(--paper); padding: 10px 10px 44px;
  box-shadow: var(--shadow); width: 46%;
  transform: rotate(var(--r, 0deg));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1.2), box-shadow .3s;
}
.polaroid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--blush-deep); }
.polaroid figcaption {
  position: absolute; left: 0; right: 0; bottom: 6px; text-align: center;
  font-family: var(--hand); font-size: 1.7rem; line-height: 1.2; color: #B42A62;
}
.polaroid::before { /* tape */
  content: ""; position: absolute; top: -12px; left: 50%; width: 88px; height: 26px; transform: translateX(-50%) rotate(-4deg);
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .4) 0 6px, transparent 6px 12px), rgba(241, 114, 161, .6);
}
.collage .polaroid:nth-child(1) { --r: -7deg; left: 0; top: 1%; z-index: 1; }
.collage .polaroid:nth-child(2) { --r: 6deg; right: 0; top: 7%; z-index: 2; }
.collage .polaroid:nth-child(3) { --r: -2deg; left: 25%; top: 49%; z-index: 3; }
.polaroid:nth-child(2)::before { background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .35) 0 5px, transparent 5px 10px), rgba(31, 64, 48, .4); transform: translateX(-50%) rotate(5deg); }
.polaroid:hover { transform: rotate(0deg) scale(1.04); z-index: 5; box-shadow: 0 18px 40px rgba(122, 40, 76, .25); }

.collage .sprig-1 { left: -18px; bottom: 2%; transform: rotate(-20deg); width: 90px; height: 90px; }
.collage .squiggle-1 { position: absolute; right: 4%; bottom: 6%; width: 120px; height: 30px; color: var(--pink); }

/* Floating icons */
.hero-icons { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.floater { position: absolute; width: var(--s, 30px); height: var(--s, 30px); color: var(--c, var(--pink)); opacity: .9; animation: float var(--d, 7s) ease-in-out var(--delay, 0s) infinite; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(var(--rot, 0deg)); }
  33% { transform: translate(6px, -14px) rotate(calc(var(--rot, 0deg) + 8deg)); }
  66% { transform: translate(-6px, -6px) rotate(calc(var(--rot, 0deg) - 6deg)); }
}

/* Page-load sequence for hero */
.js .hero-copy > *, .js .collage .polaroid { opacity: 0; }
.loaded .hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.loaded .hero-copy > :nth-child(2) { animation-delay: .12s; }
.loaded .hero-copy > :nth-child(3) { animation-delay: .24s; }
.loaded .collage .polaroid { animation: drop .9s cubic-bezier(.2, .8, .25, 1.15) forwards; }
.loaded .collage .polaroid:nth-child(1) { animation-delay: .25s; }
.loaded .collage .polaroid:nth-child(2) { animation-delay: .45s; }
.loaded .collage .polaroid:nth-child(3) { animation-delay: .65s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-40px) rotate(calc(var(--r) * 3)) scale(1.06); } to { opacity: 1; transform: rotate(var(--r)); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); position: relative; }
.tint { background: var(--blush-deep); }
.section-title {
  font-family: var(--serif); color: var(--green);
  font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.sub-title { font-family: var(--serif); color: var(--green); font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.1; margin: clamp(3rem, 7vw, 4.5rem) 0 1.25rem; }
.lede { font-size: clamp(1.08rem, 1.8vw, 1.22rem); max-width: 62ch; }
.hint { color: var(--pink-ink); font-size: 1.4rem; line-height: 1; margin: -.6rem 0 1rem; transform: rotate(-1.5deg); transform-origin: left; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- About ---------- */
.mission-card {
  background: var(--surface); border-radius: 6px; padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3.5rem);
  box-shadow: var(--shadow); max-width: 900px;
}
.mission-text { font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.2; color: var(--ink); max-width: 30ch; }
.mission-card .sprig-a { right: 14px; bottom: -22px; transform: rotate(18deg); }
.national { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: center; margin-top: 2.5rem; max-width: 900px; }
.national p { max-width: 58ch; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.stat {
  background: var(--surface); border-radius: 18px; padding: 1.6rem 1.4rem 1.3rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .6rem; border: 1px solid var(--line);
}
.stat:nth-child(even) { transform: rotate(.8deg); }
.stat:nth-child(odd) { transform: rotate(-.6deg); }
.stat-num { position: relative; display: inline-block; align-self: flex-start; padding: .45rem 1.5rem .55rem 1.1rem; margin-left: -.4rem; }
.stat-num svg { position: absolute; top: -16%; left: -4%; width: 108%; height: 122%; color: #D94C84; transform: rotate(-3deg); }
.stat-num span { position: relative; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 3.6rem); line-height: 1; color: #fff; text-shadow: 0 1px 1px rgba(122, 20, 64, .35); }
.stat-label { font-weight: 600; line-height: 1.35; }
.stat-note { color: var(--muted); font-size: .95rem; line-height: 1.4; }
.stat-src { margin-top: auto; font-size: .82rem; color: var(--muted); }
.stat-src a { color: inherit; }

/* ---------- Programs ---------- */
.meeting-pill { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.4rem; background: var(--surface); border-radius: 999px; padding: .55rem 1.1rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.meeting-pill svg { width: 20px; height: 20px; color: var(--pink-ink); }
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.track { background: var(--surface); border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.track::after { content: ""; position: absolute; inset: 0 0 auto; height: 10px;
  background-color: var(--surface); background-image: linear-gradient(90deg, var(--gingham-a) 50%, transparent 50%), linear-gradient(var(--gingham-a) 50%, transparent 50%); background-size: 10px 10px; }
.track h3 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.2rem); color: var(--green); line-height: 1.05; }
.track-sum { color: var(--muted); margin: .4rem 0 1.2rem; }
.track ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: .8rem; }
.track li { counter-increment: s; display: grid; grid-template-columns: 2.1rem 1fr; gap: .7rem; align-items: start; line-height: 1.45; }
.track li::before { content: counter(s); display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--blush); color: var(--pink-ink); font-weight: 700; }

.project-card { margin-top: 3rem; background: var(--surface); border-radius: 6px; padding: clamp(1.75rem, 4vw, 2.5rem); box-shadow: var(--shadow); display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; }
.project-card .big-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; color: var(--pink-ink); }
.project-card .big-icon svg { width: 40px; height: 40px; }
.project-card h3 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.1rem); color: var(--green); line-height: 1.1; margin-bottom: .35rem; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 3px dashed var(--pink-soft); display: grid; gap: .8rem; max-width: 820px; }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: calc(-1.4rem - 10px); top: 1.35rem; width: 17px; height: 17px; border-radius: 50%; background: var(--surface); border: 3px solid var(--pink); }
.tl-item.done::before { background: var(--pink); }
.tl-item details { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: box-shadow .25s; }
.tl-item details[open] { box-shadow: var(--shadow); }
.tl-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 5.2rem 1fr auto; gap: .9rem; align-items: center; padding: 1rem 1.2rem; min-height: 60px; }
.tl-item summary::-webkit-details-marker { display: none; }
.tl-date { font-weight: 700; color: var(--pink-ink); font-size: .95rem; }
.tl-title { font-weight: 600; line-height: 1.3; }
.tl-chev { width: 30px; height: 30px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; transition: transform .3s; color: var(--pink-ink); font-weight: 700; }
details[open] .tl-chev { transform: rotate(45deg); }
.tl-body { padding: 0 1.2rem 1.2rem calc(5.2rem + 2.1rem); display: grid; gap: .5rem; }
.tl-body strong { color: var(--green); }
.tl-item.done details { opacity: .62; }
.tl-item.done .tl-title { text-decoration: line-through; text-decoration-color: var(--pink); text-decoration-thickness: 2px; }
.tl-tag { font-family: var(--hand); color: var(--pink-ink); font-size: 1.35rem; line-height: 1; white-space: nowrap; }
.tl-item.next details { border: 2px solid var(--pink); }

/* Other programs */
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.other { background: var(--surface); border-radius: 18px; padding: 1.4rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .55rem; transition: transform .25s; }
.other:hover { transform: translateY(-4px) rotate(-.5deg); }
.other .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--blush); color: var(--pink-ink); display: grid; place-items: center; }
.other .ic svg { width: 26px; height: 26px; }
.other h4 { margin: .2rem 0 0; font-size: 1.15rem; }
.other p { color: var(--muted); line-height: 1.5; }
.other a { margin-top: auto; font-weight: 600; }
.coming-soon { margin-top: 1.5rem; font-family: var(--hand); font-size: 1.55rem; color: var(--pink-ink); line-height: 1.25; }

/* ---------- Events ---------- */
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.counter { background: var(--surface); border-radius: 20px; padding: 1.6rem 1rem 1.3rem; box-shadow: var(--shadow-sm); }
.counter .stat-num { align-self: center; }
.counter .stat-num span { font-size: clamp(3rem, 7vw, 4.4rem); }
.counter p { font-weight: 600; margin-top: .4rem; }

.event-list { display: grid; gap: 1rem; }
.event {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 1.3rem; align-items: center;
  background: var(--surface); border-radius: 20px; padding: 1.2rem 1.4rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.date-chip { width: 92px; height: 92px; border-radius: 16px; background: var(--btn-bg); color: var(--btn-text); display: grid; place-content: center; text-align: center; transform: rotate(-3deg); box-shadow: 4px 4px 0 var(--pink-soft); }
.date-chip .m { font-weight: 700; font-size: .9rem; letter-spacing: .04em; }
.date-chip .d { font-family: var(--serif); font-size: 2.6rem; line-height: .95; }
.date-chip.wide .d { font-size: 1.15rem; font-family: var(--sans); font-weight: 700; line-height: 1.15; padding: 0 .4rem; }
.event h4 { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.event-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; color: var(--muted); font-size: .95rem; margin: .3rem 0 .4rem; }
.event-desc { line-height: 1.5; }
.event .soon { font-family: var(--hand); color: var(--pink-ink); font-size: 1.35rem; white-space: nowrap; transform: rotate(-3deg); }
.empty { background: var(--surface); border-radius: 20px; padding: 1.5rem; border: 2px dashed var(--pink-soft); }

.speakers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.speaker { background: var(--surface); border-radius: 18px; padding: 1.2rem; display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; box-shadow: var(--shadow-sm); }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: #fff; font-family: var(--serif); font-size: 1.6rem; border: 3px solid var(--blush); box-shadow: 0 0 0 2px var(--pink-soft); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.speaker:nth-child(3n+2) .avatar { background: #1F4030; }
.speaker:nth-child(3n+3) .avatar { background: #B42A62; }
.speaker h4 { margin: 0; font-size: 1.05rem; line-height: 1.25; }
.speaker p { color: var(--muted); font-size: .92rem; line-height: 1.35; }
.icon-link { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--pink-ink); transition: transform .2s; }
.icon-link:hover { transform: scale(1.1) rotate(-6deg); }
.icon-link svg { width: 20px; height: 20px; }

.past-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.past { background: var(--surface); border-radius: 18px; padding: 1.2rem 1.3rem; border: 1px solid var(--line); position: relative; }
.past .stamp { position: absolute; top: .8rem; right: 1rem; font-family: var(--hand); color: var(--pink-ink); font-size: 1.3rem; transform: rotate(6deg); }
.past h4 { margin: 0 4.5rem .25rem 0; font-size: 1.1rem; line-height: 1.3; }
.past .event-meta { margin: 0 0 .4rem; }
.past p { color: var(--muted); font-size: .95rem; line-height: 1.45; }

/* ---------- Flip cards (e-board + perks) ---------- */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem) 1.5rem; }
.flip { perspective: 1200px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.flip-inner { position: relative; transition: transform .7s cubic-bezier(.3, .8, .25, 1.1); transform-style: preserve-3d; height: 100%; }
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face-back { position: absolute; inset: 0; transform: rotateY(180deg); }
.flip-btn { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; cursor: pointer; border-radius: inherit; z-index: 3; }
.flip-btn:focus-visible { outline-offset: -3px; }

.member { transform: rotate(var(--r, 0deg)); transition: transform .3s; }
.member:hover { transform: rotate(0) translateY(-4px); }
.member:nth-child(3n+1) { --r: -1.6deg; } .member:nth-child(3n+2) { --r: 1.2deg; } .member:nth-child(3n+3) { --r: -.6deg; }
.member .face-front { background: var(--paper); padding: 12px 12px 18px; box-shadow: var(--shadow); position: relative; }
.member .face-front::before { content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 26px; transform: translateX(-50%) rotate(-3deg); z-index: 2;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .4) 0 6px, transparent 6px 12px), rgba(241, 114, 161, .6); }
.member .photo { aspect-ratio: 1; overflow: hidden; background: #F8DAE6; }
.member .photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; filter: saturate(1.03) contrast(1.02); }
.member .cap { padding: .9rem .4rem 0; text-align: center; color: #3B1E2C; }
.member .cap h3 { font-family: var(--serif); font-size: 1.75rem; line-height: 1.05; color: #1F4030; }
.member .cap p { font-size: .95rem; font-weight: 600; color: #B42A62; margin-top: .3rem; line-height: 1.3; }
.flip-cue { position: absolute; right: 14px; bottom: 14px; width: 30px; height: 30px; border-radius: 50%; background: #FCEAF1; color: #B42A62; display: grid; place-items: center; }
.flip-cue svg { width: 16px; height: 16px; }
.member .face-back {
  background-color: #FFFFFF; color: #3B1E2C; box-shadow: var(--shadow);
  background-image: linear-gradient(90deg, rgba(241, 114, 161, .14) 50%, transparent 50%), linear-gradient(rgba(241, 114, 161, .14) 50%, transparent 50%);
  background-size: 22px 22px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: .8rem; padding: 1.75rem;
}
.member .back-card { background: #FFFFFF; border-radius: 14px; padding: 1.4rem 1.2rem; box-shadow: 0 4px 12px rgba(122, 40, 76, .12); display: grid; gap: .55rem; justify-items: center; width: 100%; }
.member .back-card h3 { font-family: var(--serif); font-size: 1.8rem; color: #1F4030; line-height: 1.05; }
.member .back-card .role { font-weight: 600; color: #B42A62; line-height: 1.3; }
.member .back-card .meta { color: #7A5566; font-size: .95rem; }
.member .back-card .bio { line-height: 1.5; }
.member .back-card .btn { position: relative; z-index: 4; margin-top: .4rem; background: #B42A62; border-color: #B42A62; color: #fff; }

.perks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.perk { height: 230px; }
.perk .face { position: absolute; inset: 0; border-radius: 20px; padding: 1.3rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.perk .face-front { background: var(--surface); justify-content: space-between; border: 1px solid var(--line); }
.perk .face-front .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--blush); color: var(--pink-ink); display: grid; place-items: center; }
.perk .face-front .ic svg { width: 30px; height: 30px; }
.perk .face-front h4 { margin: 0; font-family: var(--serif); font-size: 1.6rem; line-height: 1.05; color: var(--green); font-weight: 400; }
.perk .face-back { background: var(--btn-bg); color: var(--btn-text); justify-content: center; line-height: 1.45; font-weight: 500; }
.perk .flip-cue { right: 12px; top: 12px; bottom: auto; }

/* ---------- Resources ---------- */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.resource {
  display: flex; flex-direction: column; gap: .7rem; text-decoration: none; color: var(--ink);
  background: var(--surface); border-radius: 22px; padding: 1.75rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  min-height: 250px; transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden;
}
.resource:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow); }
.resource .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; }
.resource .ic svg { width: 32px; height: 32px; }
.resource h3 { font-family: var(--serif); font-size: 1.85rem; line-height: 1.05; color: var(--green); }
.resource p { color: var(--muted); }
.resource .go { margin-top: auto; font-weight: 700; color: var(--pink-ink); display: inline-flex; align-items: center; gap: .4rem; }
.resource .go svg { width: 18px; height: 18px; transition: transform .2s; }
.resource:hover .go svg { transform: translateX(4px); }
.resource:nth-child(2) .ic { background: #1F4030; }
.resource:nth-child(3) .ic { background: #B42A62; }

/* ---------- Join ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 2.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.checklist li {
  display: inline-flex; align-items: center; gap: .55rem; background: var(--surface); border-radius: 999px;
  padding: .7rem 1.2rem .7rem .7rem; font-weight: 600; font-size: 1.05rem; box-shadow: var(--shadow-sm);
}
.checklist .tick { width: 30px; height: 30px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-text); display: grid; place-items: center; }
.checklist .tick svg { width: 18px; height: 18px; }
.js .checklist .tick svg { stroke-dasharray: 30; stroke-dashoffset: 30; }
.js .checklist li { opacity: 0; transform: scale(.85); transition: opacity .4s, transform .4s cubic-bezier(.3, 1.5, .5, 1); transition-delay: calc(var(--i) * 110ms); }
.js .checklist.in li { opacity: 1; transform: none; }
.js .checklist.in .tick svg { animation: tick .5s ease forwards; animation-delay: calc(var(--i) * 110ms + .2s); }
@keyframes tick { to { stroke-dashoffset: 0; } }
.checklist .tick svg path { stroke-dasharray: 30; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: st; position: relative; }
.step { counter-increment: st; background: var(--surface); border-radius: 22px; padding: 1.6rem 1.5rem 1.5rem; box-shadow: var(--shadow-sm); position: relative; }
.step::before {
  content: counter(st); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--pink); color: #fff; font-family: var(--serif); font-size: 2rem; margin-bottom: .9rem; transform: rotate(-6deg);
}
.step h4 { margin: 0 0 .3rem; font-size: 1.2rem; }
.step p { color: var(--muted); }
.step:not(:last-child)::after {
  content: ""; position: absolute; right: -1.15rem; top: 2.6rem; width: 1.1rem; height: 3px; background: var(--pink); border-radius: 2px;
}

.join-cta { margin: 3rem 0 0; background: var(--surface); border-radius: 6px; box-shadow: var(--shadow); padding: clamp(2rem, 5vw, 3rem); text-align: center; display: grid; justify-items: center; gap: 1.2rem; }
.join-cta-title { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.05; color: var(--green); }

.faq { display: grid; gap: .75rem; max-width: 820px; }
.faq details { background: var(--surface); border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; font-weight: 600; display: grid; grid-template-columns: 1fr 30px; gap: 1rem; align-items: center; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .tl-chev { justify-self: end; }
.faq details p { padding: 0 1.25rem 1.2rem; color: var(--ink); max-width: 64ch; }

/* ---------- Instagram strip ---------- */
.insta {
  padding-block: clamp(4rem, 8vw, 6rem);
  background-color: var(--surface);
  background-image: linear-gradient(90deg, var(--gingham-a) 50%, transparent 50%), linear-gradient(var(--gingham-a) 50%, transparent 50%);
  background-size: 34px 34px;
}
.insta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: center; }
.insta-copy { background: var(--blush); padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: 22px; box-shadow: var(--shadow); }
.insta-copy .section-title { margin-bottom: .75rem; }
.insta-copy p { margin-bottom: 1.4rem; }
.insta-photos { display: flex; justify-content: center; }
.insta-photos .polaroid { position: relative; width: 33%; padding-bottom: 14px; margin: 0 -1.5%; }
.insta-photos .polaroid:nth-child(1) { --r: -6deg; left: auto; top: 12px; }
.insta-photos .polaroid:nth-child(2) { --r: 3deg; right: auto; top: -8px; }
.insta-photos .polaroid:nth-child(3) { --r: -2deg; left: auto; top: 16px; }
.js .insta-photos .polaroid { opacity: 1; }

/* ---------- Footer ---------- */
.footer { background: #1F4030; color: #FCEAF1; padding: 3rem 0 calc(2rem + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.footer-logo { width: 220px; height: auto; }
.footer-school { margin-top: .4rem; font-weight: 600; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-links a { color: #FCEAF1; display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 500; min-height: 40px; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-links svg { width: 20px; height: 20px; color: #F7B5CD; }
.footer-fine { margin-top: 2rem; font-size: .88rem; opacity: .8; }

/* ---------- Sticky join (phones) ---------- */
.sticky-join {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  transform: translate(-50%, 140%); transition: transform .35s cubic-bezier(.3, 1.3, .5, 1);
  background: var(--btn-bg); color: var(--btn-text); font-weight: 700; text-decoration: none;
  padding: 1rem 2.4rem; border-radius: 999px; box-shadow: 0 10px 24px rgba(122, 20, 64, .35); min-height: 52px;
  display: none;
}
.sticky-join.show { transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(3, 1fr); }
  .speakers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-title { max-width: 16ch; }
  .collage { max-width: 440px; margin-inline: auto; }
  .tracks { grid-template-columns: 1fr; }
  .others { grid-template-columns: repeat(2, 1fr); }
  .board { grid-template-columns: repeat(2, 1fr); }
  .national { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: 1fr; }
  .sticky-join { display: inline-flex; align-items: center; }
  .footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 640px) {
  body { font-size: 1.03rem; }
  .stats { grid-template-columns: 1fr; }
  .stat { transform: none !important; }
  .others { grid-template-columns: 1fr; }
  .board { grid-template-columns: 1fr 1fr; gap: 1.6rem .9rem; }
  .member .face-front { padding: 8px 8px 12px; }
  .member .cap { padding-top: .6rem; }
  .member .cap h3 { font-size: 1.3rem; }
  .member .cap p { font-size: .8rem; padding-right: 0; }
  .flip-cue { width: 24px; height: 24px; right: 8px; top: 8px; bottom: auto; }
  .member .face-back { padding: .7rem; }
  .member .back-card { padding: 1rem .6rem; gap: .4rem; }
  .member .back-card h3 { font-size: 1.35rem; }
  .member .back-card .role { font-size: .82rem; }
  .member .back-card .btn { min-height: 44px; padding: .6rem .9rem; font-size: .9rem; }
  .perks { grid-template-columns: 1fr 1fr; }
  .perk { height: 210px; }
  .perk .face { padding: 1rem; }
  .perk .face-front h4 { font-size: 1.35rem; }
  .perk .face-back { font-size: .95rem; }
  .speakers { grid-template-columns: 1fr; }
  .past-list { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { right: auto; left: 2.6rem; top: auto; bottom: -1.05rem; width: 3px; height: 1rem; }
  .event { grid-template-columns: 76px 1fr; padding: 1.1rem; gap: 1rem; }
  .event .soon { grid-column: 2; }
  .event .btn { grid-column: 1 / -1; }
  .date-chip { width: 76px; height: 76px; }
  .date-chip .d { font-size: 2.1rem; }
  .counters { gap: .6rem; }
  .counter { padding: 1.2rem .4rem 1rem; }
  .counter p { font-size: .9rem; }
  .tl-item summary { grid-template-columns: 1fr auto; gap: .2rem .8rem; }
  .tl-date { grid-column: 1; }
  .tl-title { grid-column: 1; }
  .tl-chev { grid-column: 2; grid-row: 1 / span 2; }
  .tl-tag { grid-column: 1; }
  .tl-body { padding: 0 1.2rem 1.2rem; }
  .project-card { grid-template-columns: 1fr; }
  .floater.desk { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .lockup-logo { width: min(100%, 340px); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-copy > *, .js .collage .polaroid, .js .checklist li { opacity: 1 !important; transform: none; }
  .js .collage .polaroid { transform: rotate(var(--r, 0deg)); }
  .js .checklist .tick svg { stroke-dashoffset: 0; }
}
