/* ============================================================
   Jasmine Wong — Personal Brand
   Design system + shared components
   Aesthetic: soft, warm, whimsical, editorial. Not techy.
   ============================================================ */

/* ----------  Fonts (self-hosted from Jasmine's licensed fonts)  ---------- */
@font-face {
  font-family: "Garet";
  src: url("../assets/fonts/Garet-Book.ttf") format("truetype");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Garet";
  src: url("../assets/fonts/Garet-Heavy.ttf") format("truetype");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Google Sans";
  src: url("../assets/fonts/GoogleSans.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Google Sans";
  src: url("../assets/fonts/GoogleSans-Italic.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ----------  Design tokens  ---------- */
:root {
  /* Brand */
  --rose:        #CE4760;
  --rose-deep:   #A8364C;
  --rose-soft:   #F7DCE2;
  --rose-tint:   #FCEFF2;
  --mint:        #EBFFD5;
  --mint-deep:   #CDEFA8;
  --mint-ink:    #4F6B36;
  --ink:         #1A1A1A;
  --white:       #FFFFFF;

  /* Warm neutrals (keeps it soft, not stark) */
  --cream:       #FFFAF6;
  --cream-2:     #FDF3EC;
  --line:        #EFE2DA;
  --muted:       #6B6460;

  /* Type */
  --display: "Garet", "Google Sans", system-ui, sans-serif;
  --body:    "Google Sans", system-ui, -apple-system, sans-serif;
  --script:  "Caveat", "Brush Script MT", cursive;

  /* Shape & depth */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 34px;
  --r-pill: 999px;
  --shadow-soft: 0 18px 40px -22px rgba(168, 54, 76, 0.30);
  --shadow-card: 0 22px 48px -30px rgba(26, 26, 26, 0.30);

  /* Layout */
  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 56px);
}

/* ----------  Reset  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 500;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

/* ----------  Typography  ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700; /* → Garet Heavy */
  line-height: 1.1;
  letter-spacing: -0.005em;
  font-optical-sizing: auto;
}
h3, h4 { font-weight: 500; letter-spacing: 0; } /* → Garet Book, lighter for sub-headings */
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.serif-italic { font-style: italic; }
.script {
  font-family: var(--script);
  font-weight: 600;
  color: var(--rose);
  line-height: 1;
}
.eyebrow {
  font-family: var(--body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--rose);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.eyebrow-mint { color: var(--mint-ink); }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #2c2724; }
.muted { color: var(--muted); }
.center { text-align: center; }
mark.hl {
  background: linear-gradient(transparent 58%, var(--mint) 58%);
  color: inherit; padding: 0 0.08em;
}
mark.hl-rose {
  background: linear-gradient(transparent 58%, var(--rose-soft) 58%);
  color: inherit; padding: 0 0.08em;
}
/* In page titles, the keyword is solid rose text (no swipe).
   Lead/subtitle highlights keep the marker swipe via the rules above. */
h1 mark.hl,
h1 mark.hl-rose {
  background: none;
  color: var(--rose);
  padding: 0;
}

/* ----------  Layout  ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 760px; }
section { position: relative; }
.section { padding-block: clamp(60px, 9vw, 120px); }
.section-sm { padding-block: clamp(44px, 6vw, 80px); }
.stack > * + * { margin-top: 1.1rem; }
.grid { display: grid; gap: clamp(20px, 3vw, 34px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Backgrounds */
.bg-cream  { background: var(--cream); }
.bg-cream2 { background: var(--cream-2); }
.bg-white  { background: var(--white); }
.bg-rose   { background: var(--rose); color: var(--white); }
.bg-rose-tint { background: var(--rose-tint); }
.bg-mint   { background: var(--mint); }
.bg-ink    { background: var(--ink); color: var(--cream); }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--body); font-weight: 800; font-size: 0.98rem;
  padding: 0.85em 1.5em; border-radius: var(--r-pill);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--rose); color: var(--white); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--rose-deep); transform: translateY(-3px); }
.btn-mint { background: var(--mint); color: var(--mint-ink); }
.btn-mint:hover { background: var(--mint-deep); transform: translateY(-3px); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #000; transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }
.btn-ghost { padding-inline: 0; color: var(--rose); font-weight: 800; }
.btn-ghost .arrow { transition: transform .25s ease; }
.btn-ghost:hover .arrow { transform: translateX(5px); }
.btn-lg { font-size: 1.05rem; padding: 1em 1.8em; }

/* ----------  Navigation  ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(1.4) blur(10px);
  background: rgba(255, 250, 246, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.01em; }
.brand .spark { color: var(--rose); }
.nav-links { display: flex; align-items: center; gap: clamp(0.6rem, 1.8vw, 1.9rem); }
.nav-links a { font-weight: 700; font-size: 0.96rem; position: relative; padding: 0.3em 0; color: #2c2724; transition: color .2s ease; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--rose); border-radius: 2px; transition: width .25s ease;
}
.nav-links a:hover { color: var(--rose); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--rose); }
.nav-cta { margin-left: 0.4rem; }
/* The .nav-links a base styles above are more specific than .btn, so re-assert the
   button's padding, white text, and remove the underline for the Subscribe CTA. */
.nav-links a.nav-cta { padding: 0.72em 1.5em; color: var(--white); }
.nav-links a.nav-cta:hover { color: var(--white); }
.nav-links a.nav-cta::after { display: none; }
.nav-social { display: inline-flex; align-items: center; gap: 0.75rem; margin-left: 0.5rem; }
.nav-social a { color: var(--ink); padding: 0; display: inline-flex; }
.nav-social a::after { display: none; }
.nav-social a:hover { color: var(--rose); }
@media (max-width: 760px) {
  .nav-social { width: 100%; gap: 1.3rem; padding: 0.8em 0 0.2em; }
  .nav-social a { width: auto; padding: 0; border-bottom: none; }
}
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: .3s; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ----------  Hero  ---------- */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero h1 .ital { font-style: italic; color: var(--rose); }

/* ----------  Cards  ---------- */
.card {
  background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow-card); border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
}
.card.hoverable:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(168,54,76,.4); }
.card .card-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--mint); color: var(--mint-ink); margin-bottom: 1rem;
}
.card-rose .card-ico { background: var(--rose-soft); color: var(--rose-deep); }
.card h3 { margin-bottom: 0.5rem; }
.tag {
  display: inline-block; font-weight: 800; font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 0.45em 0.9em; border-radius: var(--r-pill);
  background: var(--mint); color: var(--mint-ink);
}
.tag-rose { background: var(--rose-soft); color: var(--rose-deep); }
.tag-ink  { background: var(--ink); color: var(--cream); }
.tag-mint-strong {
  background: var(--mint-deep);
  color: var(--mint-ink);
  box-shadow: inset 0 0 0 1px rgba(79, 107, 54, 0.18);
}
/* topic-coded pill colors (soft, on-brand pastels) */
.tag-sky    { background: #E4EDFB; color: #34598A; box-shadow: inset 0 0 0 1px rgba(52, 89, 138, 0.16); }
.tag-grape  { background: #ECE3FA; color: #6A47A0; box-shadow: inset 0 0 0 1px rgba(106, 71, 160, 0.16); }
.tag-amber  { background: #FBEFC9; color: #8A6712; box-shadow: inset 0 0 0 1px rgba(138, 103, 18, 0.18); }
.tag-outline{ background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.contact-email {
  display: inline-block;
  font-weight: 900;
  color: var(--mint-ink);
  background: var(--mint);
  padding: 0.28em 0.62em;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px rgba(79, 111, 25, 0.18);
}
.bg-rose .contact-email,
.site-footer .contact-email {
  color: var(--mint);
  background: rgba(235, 255, 213, 0.12);
  box-shadow: inset 0 0 0 1px rgba(235, 255, 213, 0.38);
}

/* ----------  Photo placeholders (swap for real images)  ---------- */
.photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(120% 120% at 0% 0%, var(--rose-soft), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, var(--mint), transparent 55%),
    var(--cream-2);
  display: grid; place-items: center; min-height: 240px;
  border: 1px solid var(--line);
}
.photo::after {
  content: attr(data-label);
  font-family: var(--body); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em;
  color: var(--muted); text-align: center; padding: 1.2em; max-width: 80%;
}
.photo.tall { min-height: 420px; }
.photo.has-img::after { display: none; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Polaroid — whimsical framed photo */
.polaroid {
  background: var(--white); padding: 14px 14px 50px; border-radius: 10px;
  box-shadow: var(--shadow-card); position: relative;
}
.polaroid .photo { border-radius: 4px; min-height: 300px; }
.polaroid .cap {
  position: absolute; left: 0; right: 0; bottom: 14px; text-align: center;
  font-family: var(--script); font-size: 1.5rem; color: var(--ink);
}
.tilt-l { transform: rotate(-3deg); } .tilt-r { transform: rotate(3deg); }

/* ----------  Stamp / badge (rotated circular seal)  ---------- */
.stamp {
  width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--mint); color: var(--mint-ink);
  font-family: var(--display); font-weight: 600; font-size: 0.92rem; line-height: 1.15;
  padding: 1em; box-shadow: var(--shadow-soft); transform: rotate(-8deg);
  border: 2px dashed rgba(79,107,54,.4);
}
.stamp-sm {
  width: 72px; height: 72px; font-size: 0.58rem; line-height: 1.08; padding: 0.65em;
}
.stamp-rose { background: var(--rose); color: var(--white); border-color: rgba(255,255,255,.5); }

/* ----------  Logo / "featured in" strip  ---------- */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(14px, 2.6vw, 32px); }
.logo-chip {
  font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  color: #b7a99f; letter-spacing: 0.02em; transition: color .25s ease; font-style: italic;
}
.logo-chip:hover { color: var(--rose); }
.logo-lockup { display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--display); font-weight: 600; font-size: clamp(0.82rem, 1.2vw, 0.98rem); color: #7a6f68; transition: color .25s ease; white-space: nowrap; }
.logo-lockup:hover { color: var(--ink); }
.logo-mark { height: 20px; width: 20px; object-fit: contain; border-radius: 5px; flex-shrink: 0; }

/* ----------  Lists with custom markers  ---------- */
.check-list li { position: relative; padding-left: 2.1em; margin-bottom: 0.85em; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.15em; width: 1.4em; height: 1.4em;
  border-radius: 50%; background: var(--mint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F6B36' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 0.9em; background-repeat: no-repeat; background-position: center;
}
.flower-list li { position: relative; padding-left: 2.15em; margin-bottom: 0.75em; }
.flower-list li::before {
  content: "🍵"; position: absolute; left: 0; top: 0.18em; width: 1.35em;
  font-size: 1.05em; line-height: 1; text-align: center;
}

/* ----------  Newsletter form  ---------- */
.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;
}
.subscribe {
  display: flex; gap: 0.6rem; flex-wrap: wrap; max-width: 480px;
}
.subscribe input[type="text"],
.subscribe input[type="email"] {
  flex: 1 1 220px; font-family: var(--body); font-weight: 600; font-size: 1rem;
  padding: 0.95em 1.2em; border-radius: var(--r-pill); border: 2px solid var(--line);
  background: var(--white); color: var(--ink); transition: border-color .2s ease;
}
.subscribe input[type="text"]:focus,
.subscribe input[type="email"]:focus { outline: none; border-color: var(--rose); }
.subscribe.on-rose input[type="text"],
.subscribe.on-rose input[type="email"] { border-color: transparent; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.7rem; }
.bg-rose .form-note { color: rgba(255,255,255,.8); }
.kit-inline-form {
  display: grid; gap: 1rem; max-width: 560px; margin-top: 1.8rem;
  padding: clamp(16px, 3vw, 24px); background: rgba(255,255,255,.78);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-card);
}
.newsletter-form-card .kit-inline-form {
  margin-top: 1rem; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
.kit-email-row { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.kit-email-row input[type="text"],
.kit-email-row input[type="email"] {
  flex: 1 1 230px; min-width: 0; font-family: var(--body); font-weight: 700; font-size: 1rem;
  padding: 0.95em 1.1em; border-radius: 16px; border: 2px solid var(--line);
  background: var(--white); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.kit-email-row input[type="text"]:focus,
.kit-email-row input[type="email"]:focus {
  outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(206,71,96,.12);
}
.kit-audience { border: 0; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.kit-audience legend { font-weight: 900; margin-bottom: 0.15rem; color: var(--ink); }
.kit-audience label {
  display: flex; align-items: flex-start; gap: 0.65rem; color: var(--muted); font-weight: 700;
  line-height: 1.35;
}
.kit-audience input { width: 18px; height: 18px; margin-top: 0.08rem; accent-color: var(--rose); flex: 0 0 auto; }
.kit-hidden-frame { display: none; width: 0; height: 0; border: 0; }
.newsletter-modal-open { overflow: hidden; }
.newsletter-modal[hidden] { display: none; }
.newsletter-modal {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  padding: clamp(16px, 4vw, 40px);
}
.newsletter-modal-backdrop {
  position: absolute; inset: 0; background: rgba(26,26,26,.52); backdrop-filter: blur(3px);
}
.newsletter-modal-panel {
  position: relative; z-index: 1; width: min(620px, 100%); max-height: min(94vh, 760px);
  overflow: auto; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-card);
}
.newsletter-modal-panel h2 { font-size: clamp(2rem, 4.2vw, 2.85rem); line-height: 1; }
.newsletter-modal-panel .form-note { margin-bottom: 0; }
.newsletter-modal-close {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font-weight: 900; cursor: pointer;
}
.newsletter-modal-form {
  gap: 0.85rem; margin-top: 1rem; background: transparent; box-shadow: none; padding: 0; border: 0; max-width: none;
}
.newsletter-modal-message {
  margin-top: 0.9rem; color: var(--rose); font-weight: 900;
}

/* ----------  Stat blocks  ---------- */
.stat { text-align: center; }
.stat .num { font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--rose); line-height: 1; }
.stat .lbl { font-weight: 700; color: var(--muted); margin-top: 0.4rem; font-size: 0.92rem; }

/* ----------  Event rows  ---------- */
.event-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 32px);
  align-items: center; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: clamp(18px, 2.4vw, 28px); transition: transform .25s ease, box-shadow .25s ease;
}
.event-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.event-date {
  width: 86px; height: 86px; border-radius: 18px; background: var(--mint); color: var(--mint-ink);
  display: grid; place-items: center; align-content: center; text-align: center; line-height: 1;
}
.event-date .d { font-family: var(--display); font-weight: 600; font-size: 1.9rem; }
.event-date .m { font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.68rem; margin-top: 0.3em; }
.event-date.past { background: var(--cream-2); color: var(--muted); }
.event-meta h3 { margin-bottom: 0.25rem; }
.event-meta .where { font-weight: 700; color: var(--muted); font-size: 0.92rem; }

/* ----------  Quote / testimonial  ---------- */
.quote { font-family: var(--display); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.4; }
.quote-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(26px,3vw,40px); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.quote-card .who { font-family: var(--body); font-weight: 800; font-style: normal; font-size: 0.95rem; margin-top: 1rem; }
.quote-card .who span { color: var(--muted); font-weight: 600; display: block; font-size: 0.85rem; }

/* ----------  Decorative bits  ---------- */
.blob { position: absolute; z-index: 0; filter: blur(2px); opacity: .5; pointer-events: none; }
.deco { position: absolute; z-index: 0; pointer-events: none; }
.relayer { position: relative; z-index: 1; }
.wave-divider { display: block; width: 100%; height: auto; }
.spin-slow { animation: spin 26s linear infinite; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Pill row of mini links (home -> section nav) */
.mini-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.mini-nav a { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0.5em 1.1em; font-weight: 700; font-size: 0.9rem; transition: .2s; }
.mini-nav a:hover { background: var(--rose); color: var(--white); border-color: var(--rose); }
.free-library-callout {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 2px solid rgba(79, 107, 54, 0.30);
  box-shadow: 0 28px 58px -34px rgba(79, 107, 54, 0.70);
}
.free-library-callout > * { position: relative; z-index: 1; }
.resource-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.65rem; margin: 2rem auto 0; }
.filter-chip {
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0.62em 1.05em;
  background: var(--white); color: var(--ink); font-weight: 800; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.filter-chip:hover,
.filter-chip.is-active { background: var(--mint-ink); color: var(--white); border-color: var(--mint-ink); transform: translateY(-2px); }
.resource-card { display: flex; flex-direction: column; gap: 0.85rem; }
.resource-card .resource-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.resource-card .btn { margin-top: auto; align-self: flex-start; }
.resource-price { color: var(--ink); font-weight: 900; font-size: 1.05rem; }
.resource-empty {
  margin: 2rem auto 0;
  max-width: 520px;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  font-weight: 800;
}
.resource-card[hidden] { display: none; }
.resource-empty[hidden] { display: none; }

/* ----------  Footer  ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding-block: clamp(48px, 7vw, 84px) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: clamp(28px, 4vw, 56px); }
.site-footer h3 { color: var(--white); }
.site-footer h4 { color: var(--white); font-family: var(--body); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,250,246,.75); transition: color .2s ease; font-weight: 600; }
.footer-links a:hover { color: var(--rose); }
.social-row { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--cream); transition: .25s;
}
.social-row a:hover { background: var(--rose); transform: translateY(-3px); }
.footer-bottom { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: rgba(255,250,246,.6); }
.footer-sub .subscribe { max-width: none; }
.footer-sub input[type="email"] { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: var(--cream); }
.footer-sub input::placeholder { color: rgba(255,250,246,.5); }

/* ----------  Page header (interior pages)  ---------- */
.page-head { padding-block: clamp(56px, 8vw, 104px) clamp(30px, 4vw, 56px); position: relative; overflow: hidden; }
.page-head .container { position: relative; z-index: 1; }
.breadcrumb { font-weight: 700; font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--rose); }

/* Partnerships page hero */
.partnerships-hero-grid { align-items: center; }
.partnerships-hero-grid > * { min-width: 0; }
.partnerships-contact-line {
  margin-top: 1rem;
  font-weight: 700;
  white-space: normal;
  overflow-wrap: anywhere;
}
.partnerships-contact-line .contact-email {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.partnerships-hero-visual {
  position: relative;
  justify-self: center;
  width: min(360px, 100%);
  padding: 10px 28px 0 0;
}
.partnerships-polaroid {
  width: 100%;
  max-width: 330px;
}
.partnerships-stamp {
  position: absolute;
  top: -18px;
  right: 0;
}
.partnerships-stamp span { display: block; }

/* Success / Kit redirect page */
.success-hero {
  min-height: 68vh;
  display: grid;
  align-items: center;
}
.success-grid {
  align-items: center;
}
.success-actions,
.success-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}
.success-link-row {
  justify-content: center;
}
.success-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow-card);
}
.success-card h2 {
  margin: 0.35rem 0 0.8rem;
}
.success-mini-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}
.success-mini-list p {
  color: var(--muted);
}

/* ----------  Scroll reveal  ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .spin-slow { animation: none; }
  html { scroll-behavior: auto; }
}

/* ----------  Responsive  ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: var(--cream); padding: 1rem var(--gutter) 1.6rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-card);
    transform: translateY(-120%); transition: transform .35s ease; z-index: 55;
  }
  body.nav-open .nav-links { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 0.85em 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links .nav-cta { margin: 0.8rem 0 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .event-row { grid-template-columns: auto 1fr; }
  .event-row .btn { grid-column: 1 / -1; justify-content: center; }
  .tilt-l, .tilt-r { transform: none; }
  .partnerships-head {
    padding-top: clamp(42px, 9vw, 56px);
  }
  .partnerships-hero-grid {
    gap: 2.2rem;
  }
  .partnerships-hero-copy h1 {
    font-size: clamp(2.05rem, 9.5vw, 2.65rem);
  }
  .partnerships-hero-visual {
    width: min(310px, 100%);
    padding: 18px 16px 0;
  }
  .partnerships-polaroid {
    max-width: 280px;
    margin-inline: auto;
  }
  .partnerships-stamp {
    width: 92px;
    height: 92px;
    top: 2px;
    right: 4px;
    padding: 0.72em;
    font-size: 0.62rem;
    line-height: 1.04;
    animation: none;
  }
  .success-actions .btn,
  .success-link-row .btn {
    width: 100%;
    justify-content: center;
  }
}
