/* =========================================================
   Niki Fables: shared stylesheet (Teal Bento Edition)
   A clean, modern, kid-friendly design system: white space,
   bold geometric type + italic serif accents, soft teal/
   lavender/pink/gold bento cards, circular badges & blobs.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Fraunces:ital,wght@0,500;1,500;1,600&display=swap');

:root {
  /* palette */
  --teal: #14b8a6;
  --teal-dark: #0f766e;
  --teal-light: #99f0e2;
  --mint: #d7f5ee;
  --mint-2: #c3f3e6;
  --lav: #a89af0;
  --lav-dark: #6c58d6;
  --lav-light: #e4ddfb;
  --pink: #f78fc0;
  --pink-dark: #d9448c;
  --pink-light: #ffdcec;
  --gold: #ffcb47;
  --gold-dark: #e0a015;
  --gold-light: #fff3d0;
  --ink: #10221f;
  --ink-soft: #4a5c58;
  --cream: #fbfaf6;
  --white: #ffffff;

  --font-display: 'Poppins', system-ui, sans-serif;
  --font-accent: 'Fraunces', Georgia, serif;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-full: 999px;

  --shadow-soft: 0 10px 30px rgba(16, 34, 31, 0.08);
  --shadow-pop: 0 14px 34px rgba(16, 34, 31, 0.14);

  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* `clip` (unlike `hidden`) does not force the other axis to compute as
     `auto`, so this can't accidentally turn html/body into their own
     nested scroll container and break window scrolling / anchor jumps. */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
}
p { line-height: 1.7; margin: 0 0 1em; color: var(--ink-soft); }

.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  color: var(--teal-dark);
}

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

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

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 30px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease, color 0.2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-dark { background: var(--ink); color: var(--white); box-shadow: var(--shadow-soft); }
.btn-dark:hover { background: var(--teal-dark); }

.btn-outline { background: var(--white); color: var(--ink); border: 1.5px solid rgba(16,34,31,0.16); }
.btn-outline:hover { background: var(--cream); border-color: var(--ink); }

.btn-white { background: var(--white); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn-white:hover { background: var(--gold-light); }

.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* circular icon / arrow button used on bento cards */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--ink); color: var(--white); transform: rotate(45deg); }
a.icon-btn { cursor: pointer; }

/* small circular eyebrow badge with asterisk */
.badge-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  margin-bottom: 18px;
}
.badge-dot svg { width: 18px; height: 18px; }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  padding: 18px 0 4px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  flex: 0 0 auto;
}
.nav-brand img { width: 26px; height: 26px; }

.nav-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--white);
  border-radius: var(--radius-full);
  padding: 6px;
  box-shadow: var(--shadow-soft);
  list-style: none;
  margin: 0;
}
.nav-pill a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1.5px solid transparent;
}
.nav-pill a:hover { color: var(--ink); }
.nav-pill a[aria-current="page"] {
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 600;
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nav-actions .icon-btn { width: 42px; height: 42px; }
.nav-actions .icon-btn:hover { transform: none; background: var(--teal); color: var(--white); }

.nav-toggle {
  display: none;
  background: var(--white);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; order: 3; }
  .nav-actions { order: 2; }
  .nav-pill {
    display: none;
    order: 4;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 12px;
    border-radius: var(--radius-lg);
    padding: 10px;
    gap: 4px;
  }
  .nav-pill.open { display: flex; }
  .nav-pill a { text-align: center; padding: 12px 16px; }
}

/* =========================================================
   Hero (bento two-column)
   ========================================================= */
.hero {
  padding: 40px 0 90px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 0.15em;
}
.hero-copy h1 .accent { display: block; font-size: 1.05em; }
.hero-intro {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 26px 0 30px;
  max-width: 460px;
}
.hero-intro .icon-btn { width: 42px; height: 42px; background: var(--pink-light); color: var(--pink-dark); }
.hero-intro .icon-btn:hover { transform: none; }
.hero-intro p { margin: 0; font-size: 0.98rem; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 380px; }
.hero-ring {
  position: absolute;
  width: 340px;
  height: 340px;
  animation: spin-slow 26s linear infinite;
}
.hero-photo {
  position: relative;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  border: 6px solid var(--white);
  z-index: 2;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-photo-mini {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-pop);
  z-index: 3;
  top: 6%;
  right: 2%;
}
.hero-photo-mini img { width: 100%; height: 100%; object-fit: cover; }

.tag-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-soft);
  z-index: 3;
  white-space: nowrap;
}
.tag-pink { background: var(--pink-light); color: var(--pink-dark); }
.tag-lav { background: var(--lav-light); color: var(--lav-dark); }
.tag-mint { background: var(--mint); color: var(--teal-dark); }
.tag-gold { background: var(--gold-light); color: var(--gold-dark); }

.blob-deco { position: absolute; z-index: 1; opacity: 0.9; }
.blob-deco.float { animation: float-slow 6s ease-in-out infinite; }

.squiggle { position: absolute; z-index: 1; opacity: 0.6; }

@keyframes float-slow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .hero-ring, .blob-deco.float, * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; margin-top: 20px; }
  .hero-intro { max-width: 100%; }
}

/* =========================================================
   Sparkle field: floating fairy-dust particles.
   Any element with class="sparkle-field" (plus a positioned
   ancestor) gets N twinkling star spans injected by
   initSparkleFields() in js/script.js.
   ========================================================= */
.sparkle-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
.sparkle { position: absolute; color: var(--gold); }
.sparkle svg { width: 100%; height: 100%; fill: currentColor; display: block; }
@keyframes sparkle-fade { 0%, 100% { opacity: 0; } 50% { opacity: 0.95; } }
@keyframes sparkle-float {
  0% { transform: translateY(0) scale(0.8); }
  50% { transform: translateY(-12px) scale(1); }
  100% { transform: translateY(0) scale(0.8); }
}
.sparkle { animation-name: sparkle-fade, sparkle-float; animation-iteration-count: infinite, infinite; animation-timing-function: ease-in-out, ease-in-out; }

/* =========================================================
   Latest-release spotlight (home page)
   A soft glowing "portal" the featured book cover floats out
   of, flanked by character cameos and a scatter of sparkles.
   ========================================================= */
.spotlight {
  position: relative;
  padding: 30px 48px 40px;
}
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}
.spotlight-copy h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 14px 0 18px;
}
.spotlight-blurb { max-width: 440px; }

.spotlight-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.spotlight-portal {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,203,71,0.4) 45%, rgba(20,184,166,0) 72%);
  animation: spotlight-pulse 4s ease-in-out infinite;
  z-index: 0;
}
@keyframes spotlight-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.07); opacity: 1; }
}
.spotlight-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  opacity: 0.9;
  z-index: 1;
  animation: spin-slow 30s linear infinite;
}
.spotlight-cover-float {
  position: relative;
  z-index: 2;
  width: min(260px, 60%);
  animation: float-slow 5s ease-in-out infinite;
}
.spotlight-cover {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transform: rotate(-4deg);
  box-shadow: 0 24px 50px rgba(16,34,31,0.28), 0 0 0 6px var(--white), 0 0 60px rgba(255,203,71,0.4);
}
.spotlight-cover img { width: 100%; display: block; }
.spotlight-ribbon {
  position: absolute;
  top: 20px;
  right: -38px;
  width: 160px;
  padding: 6px 0;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(42deg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 4;
}
.spotlight-cameo {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-pop);
  z-index: 2;
}
.spotlight-cameo img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-cameo.cameo-left { bottom: 4%; left: -4%; animation: float-slow 6s ease-in-out infinite; }
.spotlight-cameo.cameo-right { top: 0; right: 2%; animation: float-slow 7s ease-in-out infinite reverse; }

@media (max-width: 900px) {
  .spotlight { padding: 20px 24px 30px; }
  .spotlight-grid { grid-template-columns: 1fr; text-align: center; }
  .spotlight-blurb { margin-left: auto; margin-right: auto; }
  .spotlight-copy .hero-cta-row { justify-content: center; }
  .spotlight-visual { margin-top: 30px; min-height: 340px; }
  .spotlight-cameo { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .spotlight-portal, .sparkle { animation: none; opacity: 0.85; }
}

/* simpler page hero (non-home pages) */
.page-hero { padding: 50px 0 60px; }
.page-hero .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
.page-hero p.lede { max-width: 460px; font-size: 1.05rem; }

/* =========================================================
   Section headings
   ========================================================= */
.section { padding: 70px 0; }
.section-tight { padding: 40px 0; }
.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
}
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.section-soft { background: var(--mint); border-radius: var(--radius-xl); }

/* =========================================================
   Bento cards
   ========================================================= */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.bento-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 26px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }

.bento-card.bg-teal { background: var(--teal); color: var(--white); }
.bento-card.bg-teal p, .bento-card.bg-teal .card-desc { color: rgba(255,255,255,0.88); }
.bento-card.bg-teal h3 { color: var(--white); }
.bento-card.bg-lav { background: var(--lav-light); }
.bento-card.bg-mint { background: var(--mint); }
.bento-card.bg-pink { background: var(--pink-light); }
.bento-card.bg-gold { background: var(--gold-light); }
.bento-card.bg-white { background: var(--white); }

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 2;
}
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-soft);
}
.bento-card.bg-teal .pill-badge { background: rgba(255,255,255,0.92); }

.card-portrait {
  align-self: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-soft);
  margin: 14px 0;
  position: relative;
  z-index: 2;
}
.card-portrait img { width: 100%; height: 100%; object-fit: cover; }

.card-cover {
  width: 50%;
  aspect-ratio: 1410 / 2250;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin: 4px auto 14px;
}
.card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }


.card-title {
  margin-top: auto;
  padding-top: 14px;
  position: relative;
  z-index: 2;
}
.card-title h3 { font-size: 1.4rem; margin-bottom: 2px; }
.card-title .accent { display: block; font-size: 1.1em; }
.card-desc { font-size: 0.94rem; margin-top: 8px; position: relative; z-index: 2; }

.card-expand-btn {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 3;
}
.card-expand-btn::marker { display: none; }

.span-2 { grid-column: span 2; }
@media (max-width: 640px) { .span-2 { grid-column: span 1; } }

.card-blob {
  position: absolute;
  width: 110px;
  height: 110px;
  bottom: -20px;
  left: -20px;
  z-index: 1;
  opacity: 0.9;
}
.card-blob.right { left: auto; right: -20px; }

/* general content card (non-bento, e.g. story snippets / mission) */
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.info-card:hover { transform: translateY(-4px); }
.info-card .icon-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  background: var(--mint);
}

/* freebie / blog / book gallery card (rectangular media + body) */
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--mint); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media.circle-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; background: var(--cream); }
.card-media.circle-media img { width: 68%; height: 68%; object-fit: contain; border-radius: 50%; background: var(--mint); padding: 14px; }

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.76rem;
  padding: 6px 13px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-soft);
}
.badge.category { left: 12px; right: auto; background: var(--ink); color: var(--white); }

.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 2px; }
.card-body p { font-size: 0.95rem; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 10px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-dark);
  background: var(--mint);
  padding: 5px 13px;
  border-radius: var(--radius-full);
}

/* =========================================================
   Forms
   ========================================================= */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 40px;
  max-width: 560px;
  margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid #e4e0d8;
  font-family: var(--font-display);
  font-size: 1rem;
  background: var(--cream);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(20,184,166,0.15);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.field-error {
  color: #c0335a;
  font-size: 0.85rem;
  margin-top: 6px;
  min-height: 1.2em;
  display: block;
}
.form-group.has-error input,
.form-group.has-error textarea { border-color: #c0335a; }

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { background: var(--mint); color: var(--teal-dark); }
.form-status.error { background: #fbe6ec; color: #a3123f; }

.success-panel { text-align: center; padding: 30px 10px 10px; }
.success-panel .icon-badge {
  width: 84px; height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  box-shadow: var(--shadow-soft);
}

/* =========================================================
   Misc
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.image-frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-soft); }
.image-frame img { width: 100%; }
.image-frame.circle { border-radius: 50%; aspect-ratio: 1; max-width: 420px; margin: 0 auto; }

.float { animation: float-slow 5s ease-in-out infinite; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.pill-list li {
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
}

.banner-cta {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 54px 40px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.banner-cta h2 { color: var(--white); }
.banner-cta p { color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 26px; }

.quote-block {
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--teal-dark);
  font-size: 1.2rem;
  margin: 24px 0;
}

/* =========================================================
   Read-more link (blog card → full post page)
   ========================================================= */
.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-weight: 600;
  color: var(--teal-dark);
  font-size: 0.92rem;
}
.read-more-link:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .card[style*="row-reverse"] { flex-direction: column !important; }
  .card[style*="row-reverse"] .card-media { flex-basis: auto !important; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--mint);
  color: var(--ink);
  margin-top: 50px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 24px 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 24px; height: 24px; }
.footer-tagline { color: var(--ink-soft); max-width: 320px; }
.footer-col h4 { color: var(--teal-dark); font-size: 1rem; margin-bottom: 14px; font-family: var(--font-display); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--ink-soft); }
.footer-col a:hover { color: var(--teal-dark); }

.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--white);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover { background: var(--ink); color: var(--white); transform: translateY(-3px); }

.footer-bottom {
  border-top: 1px solid rgba(16,34,31,0.12);
  padding: 18px 24px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.relative { position: relative; }
