/* =================================================================
   ROSHENKA JAYAMAHA — AUTHOR WEBSITE
   Stylesheet built for HarperCollins Children's / Walker Books vibe
   Warm, illustrated, polished. Children-first, publisher-credible.

   STRUCTURE:
   1. Design tokens (colours, fonts, spacing)
   2. Base / reset
   3. Layout helpers
   4. Header + Navigation
   5. Hero
   6. Section: About the Book
   7. Section: Characters
   8. Section: Quiz
   9. Section: About the Author
   10. Section: Join the Journey
   11. Section: Instagram
   12. Footer
   13. Buttons
   14. Animations + motion
   15. Mobile responsive
   ================================================================= */


/* ============================================================
   1. DESIGN TOKENS — change these to retune the entire site
   ============================================================ */
:root {
  /* Brand palette — pulled from the Adventure Don book covers */
  --sky-blue:       #A8D8E8;
  --sky-blue-deep:  #5BA3D0;
  --sunny-yellow:   #F5C518;
  --sunny-yellow-soft: #FFE99B;
  --coral-red:      #E94B3C;
  --coral-red-deep: #C53A2D;
  --seafoam-green:  #2E8B7A;
  --seafoam-light:  #5BAE9F;
  --cream:          #FFF8E7;
  --cream-warm:     #FAEBC8;
  --paper:          #FBF7EE;

  /* Text */
  --ink:            #1A2B3C;
  --ink-soft:       #2A3A4B;
  --ink-light:      #5A6877;
  --ink-faint:      #94A0AD;

  /* Type */
  --font-display:   'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:      'Nunito', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 900px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Shadows — soft, illustration-friendly */
  --shadow-sm: 0 2px 8px rgba(26, 43, 60, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 43, 60, 0.08);
  --shadow-lg: 0 20px 50px rgba(26, 43, 60, 0.12);
  --shadow-yellow: 0 8px 24px rgba(245, 197, 24, 0.25);
  --shadow-coral:  0 8px 24px rgba(233, 75, 60, 0.25);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ============================================================
   2. BASE / RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; }

button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

em {
  font-style: italic;
  font-variation-settings: "opsz" 100;
}

p { margin: 0 0 var(--space-4); }

/* Accessibility — skip link */
.skip-link {
  position: absolute;
  top: -50px;
  left: 0;
  background: var(--ink);
  color: var(--cream);
  padding: var(--space-3) var(--space-5);
  z-index: 1000;
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

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


/* ============================================================
   3. LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.section {
  padding: var(--space-6) 0;
  position: relative;
}

.section-yellow { background: var(--sunny-yellow); }
.section-cream  { background: var(--cream); }
.section-blue   { background: var(--sky-blue); }
/* Tinted section backgrounds — visibly distinct from cream */
.section-tint-sky   { background: #C9E2EC; } /* clear soft sky */
.section-tint-mint  { background: #CFE3D6; } /* clear soft mint */
.section-tint-peach { background: #F6CFBE; } /* clear warm peach */

.eyebrow,
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--seafoam-green);
  margin-bottom: var(--space-3);
}

.section-title {
  margin-bottom: var(--space-6);
  max-width: 14ch;
}

.accent-yellow { color: var(--sunny-yellow); display: inline-block; position: relative; }
.accent-coral  { color: var(--coral-red); display: inline-block; }

/* Underline accent on key headline words */
.accent-yellow::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 5px;
  background: var(--sunny-yellow);
  opacity: 0.45;
  border-radius: 3px;
  z-index: -1;
}


/* ============================================================
   SERIES PILLARS — what makes the series unique
   ============================================================ */
.pillars {
  background: var(--paper);
  padding: var(--space-5) 0 var(--space-5);
  position: relative;
}

.pillars-tagline {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-style: italic;
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0 auto var(--space-6);
  line-height: 1.5;
}
.pillars-tagline strong {
  font-style: normal;
  color: var(--coral-red);
  font-weight: 700;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  max-width: 1000px;
  margin: 0 auto;
}

.pillar-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-bounce), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.pillar-card:hover {
  transform: translateY(-4px);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.pillar-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.pillar-card:nth-child(1)::before { background: var(--seafoam-green); }
.pillar-card:nth-child(2)::before { background: var(--coral-red); }
.pillar-card:nth-child(3)::before { background: var(--sunny-yellow); }

.pillar-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--seafoam-green);
  color: var(--cream);
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(46, 139, 122, 0.25);
  transition: transform 0.3s var(--ease-bounce);
}
.pillar-card:nth-child(2) .pillar-icon {
  background: var(--coral-red);
  box-shadow: 0 8px 20px rgba(233, 75, 60, 0.25);
}
.pillar-card:nth-child(3) .pillar-icon {
  background: var(--sunny-yellow);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(245, 197, 24, 0.35);
}
.pillar-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 2.5;
}
.pillar-card:hover .pillar-icon {
  transform: scale(1.08) rotate(-5deg);
}

.pillar-card p {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
}
.pillar-card p strong {
  color: var(--ink);
  font-weight: 700;
}


/* ============================================================
   FLIPBOOK — inline page preview
   ============================================================ */
.flipbook-container {
  margin: var(--space-7) auto var(--space-5);
  max-width: 720px;
  padding: var(--space-6);
  /* Clearly peach — distinct break from the cream around it */
  background: linear-gradient(180deg, #F6CFBE 0%, #FADFD0 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: flipbook-fadein 0.5s var(--ease);
}
.flipbook-container[hidden] { display: none; }

@keyframes flipbook-fadein {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.flipbook-inner {
  position: relative;
}

.flipbook-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  border: 3px solid var(--cream);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.flipbook-close:hover {
  background: var(--coral-red);
  transform: rotate(90deg);
}

.flipbook-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 640px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 4px 12px rgba(26, 43, 60, 0.08);
  perspective: 1500px;
}

.flipbook-page {
  position: absolute;
  inset: 0;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
  transform: rotateY(90deg);
  transform-origin: left center;
  backface-visibility: hidden;
}
.flipbook-page.flipbook-page-active {
  opacity: 1;
  transform: rotateY(0deg);
  z-index: 2;
}
.flipbook-page.flipbook-page-prev {
  opacity: 0;
  transform: rotateY(-90deg);
  transform-origin: left center;
  z-index: 1;
}
.flipbook-page img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Flipbook page content - styled like a real book page */
.flipbook-content {
  width: 100%;
  height: 100%;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  background:
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(26, 43, 60, 0.02) 32px 33px),
    linear-gradient(to right, var(--cream-warm) 0%, var(--paper) 8%, var(--paper) 92%, var(--cream-warm) 100%);
}

/* Title page */
.flipbook-titlepage {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-7);
}
.flipbook-series {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral-red);
  margin: 0 0 var(--space-5);
}
.flipbook-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 var(--space-6);
  letter-spacing: -0.01em;
}
.flipbook-byline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-light);
  margin: 0;
  line-height: 1.6;
}
.flipbook-byline strong {
  font-style: normal;
  color: var(--ink);
  font-size: 1.05rem;
}

/* Chapter page */
.flipbook-chapter {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--seafoam-green);
  margin: 0 0 var(--space-2);
  text-align: center;
}
.flipbook-chapter-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--ink);
  margin: 0 0 var(--space-5);
  text-align: center;
  letter-spacing: -0.01em;
}
.flipbook-text {
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 var(--space-3);
  text-align: left;
}
.flipbook-text em {
  font-style: italic;
  color: var(--coral-red);
}
.flipbook-text strong {
  font-weight: 700;
}
.flipbook-text-small {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--ink-light);
  text-align: center;
  margin: var(--space-4) 0 0;
}

/* Pullquote — for the dramatic line on page 3 */
.flipbook-pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem) !important;
  text-align: center !important;
  color: var(--coral-red);
  line-height: 1.3 !important;
  margin: var(--space-5) 0 var(--space-6) !important;
  padding: var(--space-4) var(--space-3);
  border-top: 2px solid var(--sunny-yellow);
  border-bottom: 2px solid var(--sunny-yellow);
}
.flipbook-pullquote strong {
  font-style: normal;
  color: var(--ink);
}

.flipbook-watermark {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--ink-faint);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}

/* Legacy placeholder support (in case any pages still use old structure) */
.flipbook-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6);
  background:
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(26, 43, 60, 0.03) 32px 33px),
    var(--paper);
}
.flipbook-pageno {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--coral-red);
  margin: 0;
}
.flipbook-msg {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-light);
  margin: 0;
}

.flipbook-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.flipbook-nav {
  background: var(--ink);
  color: var(--cream);
  border: none;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.flipbook-nav:hover:not(:disabled) {
  background: var(--coral-red);
  transform: translateY(-2px);
}
.flipbook-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.flipbook-counter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.flipbook-note {
  text-align: center;
  margin: var(--space-4) 0 0;
  font-size: 0.85rem;
  color: var(--ink-light);
  font-style: italic;
}
.flipbook-note em { color: var(--ink); }


/* ============================================================
   STORY SCENES — small 3-up gallery under Book 1
   ============================================================ */
.story-scenes {
  max-width: 960px;
  margin: var(--space-6) auto var(--space-3);
  text-align: center;
  /* Visibly sky-tinted panel to break up the cream */
  background: linear-gradient(180deg, #C9E2EC 0%, #DDEBF0 100%);
  padding: var(--space-6) var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(91, 163, 208, 0.25);
}
.story-scenes-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral-red);
  margin: 0 0 var(--space-4);
}

.story-scenes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.story-scene {
  margin: 0;
  text-align: center;
}
.story-scene img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  box-shadow: 0 6px 18px rgba(26, 43, 60, 0.10);
  border: 1px solid rgba(26, 43, 60, 0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-sizing: border-box;
}
.story-scene:hover img {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26, 43, 60, 0.15);
}
.story-scene figcaption {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-light);
  line-height: 1.4;
}


/* ============================================================
   4. HEADER + NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 238, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 43, 60, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-3) var(--space-5);
}

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1;
  /* opsz 96 = display-optimised letterforms, SOFT 100 = maximum corner softness */
  font-variation-settings: "opsz" 96, "SOFT" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  white-space: nowrap;
}
.logo-name > span {
  color: var(--coral-red);
}
.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  /* Letter-spacing chosen so the tagline width matches the name width
     ("Roshenka Jayamaha" at Fraunces italic 600 / 1.5rem ≈ 220px) */
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-top: 5px;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

.nav-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav-list a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  position: relative;
  padding: var(--space-2) 0;
  transition: color 0.2s var(--ease);
}
.nav-list a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--coral-red);
  transition: width 0.3s var(--ease);
}
.nav-list a:not(.nav-cta):hover { color: var(--ink); }
.nav-list a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: var(--space-3) var(--space-5) !important;
  border-radius: var(--radius-pill);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-cta:hover {
  background: var(--coral-red);
  transform: translateY(-1px);
}


/* Inline text links (used for coach link in bio) */
.inline-link {
  color: var(--coral-red);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color 0.2s var(--ease);
}
.inline-link:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}


/* ============================================================
   5. HERO
   ============================================================ */
.hero {
  position: relative;
  padding: var(--space-6) 0 var(--space-8);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(245, 197, 24, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(168, 216, 232, 0.35) 0%, transparent 55%),
    var(--paper);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sun-rays {
  position: absolute;
  top: 50%; right: -10%;
  width: 600px; height: 600px;
  transform: translateY(-50%);
  background:
    repeating-conic-gradient(
      from 0deg at 50% 50%,
      rgba(245, 197, 24, 0.10) 0deg 8deg,
      transparent 8deg 22deg
    );
  border-radius: 50%;
  animation: slow-spin 80s linear infinite;
}

@keyframes slow-spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: center;
}

.hero-text { animation: hero-rise 0.8s var(--ease) backwards; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-weight: 900;
  margin-bottom: var(--space-5);
}
.hero-title em {
  color: var(--coral-red);
  font-style: italic;
  font-weight: 700;
}

.hero-lede {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: var(--space-6);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.hero-visual {
  position: relative;
  animation: hero-rise 0.8s 0.15s var(--ease) backwards;
}

.hero-composition {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  aspect-ratio: 1 / 1.1;
}

/* Adventure Don logo — positioned over the Don illustration (right + lower) */
.hero-logo {
  position: absolute;
  top: 12%;
  right: -8%;
  width: 38%;
  z-index: 5;
  filter: drop-shadow(0 8px 18px rgba(26, 43, 60, 0.2));
  animation: logo-float 5s ease-in-out infinite;
}
.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-logo .tm {
  position: absolute;
  top: 6%;
  right: -10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--ink);
  background: var(--cream);
  padding: 2px 5px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(26, 43, 60, 0.15);
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* Author photo — generous size, anchored below the logo, overlaps Don's illustration */
.hero-photo-frame {
  position: absolute;
  top: 12%;
  left: 0;
  width: 64%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, var(--sky-blue) 0%, var(--sunny-yellow-soft) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: rotate(-3deg);
  box-shadow: 0 24px 60px rgba(26, 43, 60, 0.18);
  border: 7px solid var(--cream);
  z-index: 1;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Don illustration — sits under the logo, sized for presence without crashing photo */
.hero-illustration {
  position: absolute;
  bottom: 4%;
  right: -8%;
  width: 72%;
  z-index: 2;
  filter: drop-shadow(0 20px 30px rgba(26, 43, 60, 0.18));
  animation: gentle-float 6s ease-in-out infinite;
}

@keyframes gentle-float {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%      { transform: translateY(-12px) rotate(0deg); }
}

/* Play button — bottom-left, close to the photo but slightly detached */
.hero-play-btn {
  position: absolute;
  bottom: 0;
  left: 6%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--coral-red);
  color: var(--cream);
  border: 3px solid var(--cream);
  border-radius: var(--radius-pill);
  padding: 4px 18px 4px 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(233, 75, 60, 0.35);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
  animation: gentle-pulse 2.4s ease-in-out infinite;
}
.hero-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--cream);
  color: var(--coral-red);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-play-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}
.icon-pause { display: none; }
.hero-play-btn:hover {
  background: var(--coral-red-deep);
  transform: translateY(-2px);
  animation-play-state: paused;
}
.hero-play-btn.is-playing {
  animation: none;
  background: var(--ink);
}
.hero-play-btn.is-playing .icon-play { display: none; }
.hero-play-btn.is-playing .icon-pause { display: block; }
.hero-play-btn.is-playing .hero-play-icon { color: var(--ink); }

@keyframes gentle-pulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(233, 75, 60, 0.35), 0 0 0 0 rgba(233, 75, 60, 0.55); }
  50%      { box-shadow: 0 8px 20px rgba(233, 75, 60, 0.35), 0 0 0 14px rgba(233, 75, 60, 0); }
}

.scroll-cue {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--ink-light);
  border-radius: 14px;
  text-decoration: none;
  opacity: 0.5;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--ink-light);
  border-radius: 2px;
  animation: scroll-bounce 1.8s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50%      { transform: translateX(-50%) translateY(10px); opacity: 0; }
}


/* ============================================================
   6. ABOUT THE BOOK
   ============================================================ */
.about-book {
  background: var(--paper);
}

.about-book .section-title em {
  color: var(--coral-red);
  font-style: italic;
}

.book-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-8);
  align-items: center;
  margin-bottom: var(--space-8);
}

.book-cover-col {
  display: flex;
  justify-content: center;
}

.book-cover-frame {
  position: relative;
  padding: var(--space-4);
  background: linear-gradient(135deg, var(--cream-warm), var(--cream));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: transform 0.4s var(--ease-bounce);
  max-width: 440px;
}
.book-cover-frame:hover {
  transform: rotate(0deg) scale(1.02);
}

.book-cover-img {
  width: 100%;
  border-radius: var(--radius-sm);
}

.cover-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--coral-red);
  color: var(--cream);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-coral);
  transform: rotate(5deg);
}

.book-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: var(--space-4);
}
.book-description em { color: var(--coral-red); font-style: italic; font-weight: 600; }
.book-description strong { color: var(--ink); }

.book-facts {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  font-size: 0.9rem;
}
.book-facts li {
  padding: 6px var(--space-3) 8px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--sunny-yellow);
  line-height: 1.3;
}
.book-facts strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  margin-bottom: 1px;
}

.buy-row { margin-top: var(--space-5); }
.buy-buttons {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: stretch;
}
.buy-buttons .btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  padding: 10px var(--space-4);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: normal;
  line-height: 1.2;
  /* Trim the slight visual weight imbalance between bg-filled and outline buttons */
  border-width: 2px;
}
.buy-buttons .btn svg { flex-shrink: 0; }
@media (max-width: 520px) {
  .buy-buttons { flex-direction: column; }
  .buy-buttons .btn { width: 100%; }
}
.buy-delivery-note {
  margin-top: var(--space-4);
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.buy-delivery-note a {
  color: var(--coral-red);
  font-weight: 600;
  text-decoration: none;
}
.buy-delivery-note a:hover { text-decoration: underline; }

.buy-note {
  margin-top: var(--space-3);
  font-size: 0.9rem;
  color: var(--ink-light);
  font-style: italic;
}

.series-teaser {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-7) var(--space-7);
  text-align: center;
  position: relative;
  overflow: visible;
  margin-bottom: var(--space-4);
}
.series-teaser::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: var(--sunny-yellow);
  border-radius: 50%;
  opacity: 0.2;
  z-index: 0;
}
.series-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  position: relative;
  z-index: 1;
}
.series-list li {
  padding: var(--space-3) var(--space-5);
  background: var(--paper);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}


/* ============================================================
   7. CHARACTERS
   ============================================================ */
.characters {
  position: relative;
  overflow: hidden;
}
.characters::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 30%);
  pointer-events: none;
}
.characters .container { position: relative; z-index: 1; }

.characters .section-eyebrow { color: var(--ink); }
.characters .section-title em { color: var(--coral-red); }

.character-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-7);
}

.character-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s var(--ease);
  border: 3px solid transparent;
}
.character-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--seafoam-green);
}

.character-card-featured {
  border-color: var(--seafoam-green);
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}

.character-img-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto var(--space-5);
  border-radius: 50%;
  background: #FFFFFF;
  border: 4px solid var(--seafoam-green);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 4px 12px rgba(26, 43, 60, 0.08);
}
.character-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.character-img-family img {
  object-position: center;
}

.character-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: var(--space-2);
  font-size: 1.4rem;
}

.character-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}


/* ============================================================
   8. QUIZ
   ============================================================ */
.quiz {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.quiz::before {
  content: "";
  position: absolute;
  top: 10%; left: -100px;
  width: 300px; height: 300px;
  background: var(--coral-red);
  opacity: 0.06;
  border-radius: 50%;
}

.quiz-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-8);
  align-items: center;
}

.quiz-lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: var(--space-4);
}
.quiz-instructions {
  font-size: 1rem;
  color: var(--ink-light);
  font-style: italic;
  margin-bottom: var(--space-6);
}

.quiz-qr { display: flex; justify-content: center; }

.qr-frame {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px dashed var(--seafoam-green);
  max-width: 280px;
}

.qr-placeholder {
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
}
.qr-placeholder svg,
.qr-placeholder img { width: 100%; height: auto; display: block; }

.qr-caption {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}


/* ============================================================
   9. ABOUT THE AUTHOR
   ============================================================ */
.about-author .section-title em { color: var(--coral-red); font-style: italic; }

.author-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-8);
  align-items: center;
}

.author-photo-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--sunny-yellow);
  transform: rotate(-1deg);
}
.author-photo-frame::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 3px solid var(--coral-red);
  border-radius: var(--radius-md);
  z-index: -1;
  transform: rotate(2deg);
}

.author-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.author-photo-placeholder { width: 100%; height: 100%; }
.author-photo-placeholder svg { width: 100%; height: 100%; }

.author-bio {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: var(--space-4);
}
.author-bio strong { color: var(--ink); }
.author-bio em { color: var(--coral-red); font-style: italic; }

.author-credentials {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: var(--paper);
  border-left: 4px solid var(--sunny-yellow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}


/* ============================================================
   10. JOIN THE JOURNEY (Newsletter)
   ============================================================ */
.join {
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.4) 0%, transparent 70%),
    var(--sky-blue);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.join::before, .join::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
}
.join::before {
  top: -100px; left: -100px;
  width: 300px; height: 300px;
  background: var(--sunny-yellow);
  opacity: 0.3;
}
.join::after {
  bottom: -150px; right: -150px;
  width: 400px; height: 400px;
  background: var(--cream);
  opacity: 0.6;
}

.join-wrap {
  position: relative;
  max-width: var(--max-w-narrow);
  margin: 0 auto;
}

.join .section-title { margin-left: auto; margin-right: auto; }

.join-lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 auto var(--space-7);
}
.join-lede strong { color: var(--ink); }

.mailerlite-form {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  max-width: 540px;
  margin: 0 auto;
}

/* 4-field stacked layout, 2 columns on desktop */
.signup-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.signup-field input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: var(--space-3) var(--space-4);
  border: 2px solid rgba(26, 43, 60, 0.1);
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-sizing: border-box;
}
.signup-field input::placeholder {
  color: var(--ink-light);
  opacity: 0.7;
}
.signup-field input:focus {
  outline: none;
  border-color: var(--coral-red);
  box-shadow: 0 0 0 4px rgba(233, 75, 60, 0.12);
}

.signup-submit {
  width: 100%;
  justify-content: center;
}
.signup-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.signup-fineprint {
  margin: var(--space-3) 0 0;
  font-size: 0.8rem;
  color: var(--ink-light);
  text-align: center;
}

/* Success state — shown after successful signup */
.signup-success {
  text-align: center;
  padding: var(--space-5) var(--space-4);
  animation: signup-success-in 0.5s var(--ease-bounce) backwards;
}
@keyframes signup-success-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.signup-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-4);
  background: var(--seafoam-green);
  color: var(--cream);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(46, 139, 122, 0.3);
}
.signup-success-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--ink);
  margin: 0 0 var(--space-3);
}
.signup-success-msg {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   11. INSTAGRAM
   ============================================================ */
/* ============================================================
   FOLLOW THE JOURNEY (Instagram + YouTube + Collage)
   ============================================================ */

/* Follow CTA card — polished, links to Instagram profile */
.ig-follow-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: 520px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(135deg, #FCE5D6 0%, #F9D5E5 50%, #E6D7F4 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(26, 43, 60, 0.12);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.ig-follow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 43, 60, 0.18);
}
.ig-follow-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(26, 43, 60, 0.1);
}
.ig-follow-icon svg { width: 28px; height: 28px; }
.ig-follow-content {
  flex: 1;
  text-align: left;
}
.ig-follow-handle {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}
.ig-follow-cta {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 2px 0 0;
}
.ig-follow-arrow {
  flex-shrink: 0;
  color: var(--ink);
  transition: transform 0.2s var(--ease);
}
.ig-follow-card:hover .ig-follow-arrow {
  transform: translate(4px, -4px);
}

/* ============================================================
   JOURNEY SECTION — Instagram + YouTube + Photo Collage
   ============================================================ */
.journey {
  background: var(--paper);
}

.journey-header {
  max-width: 600px;
  margin: 0 auto var(--space-7);
  text-align: center;
}
.journey-header .section-title {
  margin-left: auto;
  margin-right: auto;
}
.journey-header .section-title em {
  color: var(--coral-red);
}
.journey-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Tour block — copy + image side-by-side on desktop, stacked on mobile */
.tour-block {
  max-width: 920px;
  margin: 0 auto var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-7);
  align-items: center;
}
.tour-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.tour-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-red);
  margin: 0;
}
.tour-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--ink);
  line-height: 1.05;
  margin: 0;
}
.tour-copy {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}
.tour-image-link {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(26, 43, 60, 0.16);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  flex-shrink: 0;
}
.tour-image-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(26, 43, 60, 0.22);
}
.tour-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Social icons row — clean icon-only buttons */
.journey-socials {
  display: flex;
  justify-content: center;
  gap: var(--space-5);
  margin: 0 auto;
  padding-top: var(--space-4);
}
.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid rgba(26,43,60,0.12);
  color: var(--ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  text-decoration: none;
}
.social-icon-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(26,43,60,0.14);
}
.social-icon-link:hover .social-icon { opacity: 1; }
.social-icon-link-yt:hover  { background: #FF0000; color: #fff; border-color: #FF0000; }
.social-icon-link-li:hover  { background: #0A66C2; color: #fff; border-color: #0A66C2; }
.social-icon-link:not(.social-icon-link-yt):not(.social-icon-link-li):hover {
  background: var(--coral-red); color: #fff; border-color: var(--coral-red);
}
.social-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 0.2s var(--ease);
}

@media (max-width: 860px) {
  .tour-block {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .tour-image-link { order: -1; }
  .journey-socials { gap: var(--space-4); }
  .social-icon-link { width: 50px; height: 50px; }
  .social-icon { width: 22px; height: 22px; }
}


/* ============================================================
   SONG SECTION — Spotify call-to-action
   ============================================================ */
.song {
  text-align: center;
  position: relative;
  /* No overflow:hidden — that's what was making the illustrations look "cut up".
     The body { overflow-x: hidden } rule still prevents page-level horizontal scroll. */
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.song .container {
  position: relative;
}
.song-wrap {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.song .section-title { margin-left: auto; margin-right: auto; }
.song .section-title em { color: var(--coral-red); font-style: italic; }
.song-lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: var(--space-6);
}

/* Roshenka's own illustrations sit at the section corners, complete (not cropped) */
.song-illo {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  opacity: 0.95;
  height: auto;
}
.song-illo-tl {
  /* Coconut drink — upper left, fully inside the section */
  top: 16px;
  left: 16px;
  width: 180px;
  transform: rotate(-8deg);
}
.song-illo-tr {
  /* Music notes — upper right */
  top: 8px;
  right: 16px;
  width: 200px;
  transform: rotate(6deg);
}
.song-illo-br {
  /* Rambutan — lower right */
  bottom: 16px;
  right: 16px;
  width: 200px;
  transform: rotate(8deg);
}
.song-illo-bl {
  /* Music notes (reused) — lower left, balances the rambutan in BR.
     Kept the correct way round (no flip) since flipping music notation reads as wrong;
     differentiated from the TR copy by a smaller size and a different tilt. */
  bottom: 20px;
  left: 16px;
  width: 150px;
  transform: rotate(-12deg);
  opacity: 0.85;
}
@media (max-width: 1100px) {
  .song-illo-tl { width: 140px; }
  .song-illo-tr { width: 150px; }
  .song-illo-bl { width: 130px; }
  .song-illo-br { width: 150px; }
}
@media (max-width: 880px) {
  /* On tablet — keep only music notes (top-right) and rambutan (bottom-right) */
  .song-illo-tl,
  .song-illo-bl { display: none; }
  .song-illo-tr { width: 120px; }
  .song-illo-br { width: 130px; }
}
@media (max-width: 600px) {
  .song-illo { display: none; }
}

/* Spotify button — green branded */
.btn-spotify {
  background: #1DB954;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(29, 185, 84, 0.3);
}
.btn-spotify:hover {
  background: #1AA34A;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(29, 185, 84, 0.4);
}
.btn-spotify svg:first-child {
  flex-shrink: 0;
}

.spotify-note {
  margin-top: var(--space-5);
  font-size: 0.95rem;
  color: var(--ink-light);
  font-style: italic;
}


/* ============================================================
   PRESS & FEATURES SECTION
   ============================================================ */
.press { text-align: center; }
.press-header {
  max-width: 600px;
  margin: 0 auto var(--space-7);
}
.press .section-title { margin-left: auto; margin-right: auto; }
.press .section-title em { color: var(--coral-red); font-style: italic; }
.press-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  max-width: 1000px;
  margin: 0 auto;
}

.press-tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 43, 60, 0.08);
}

.press-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  background:
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(26, 43, 60, 0.025) 10px 20px);
  text-align: center;
}
.press-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.press-meta {
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-style: italic;
}

.press-footnote {
  margin-top: var(--space-6);
  font-size: 0.95rem;
  color: var(--ink-light);
  text-align: center;
}
.press-footnote a {
  color: var(--coral-red);
  text-decoration: none;
  font-weight: 600;
}
.press-footnote a:hover { text-decoration: underline; }


/* ============================================================
   GIVE BACK WITH BOOKS — literacy outreach section
   ============================================================ */
.giveback {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(46, 139, 122, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(245, 197, 24, 0.12) 0%, transparent 55%),
    var(--paper);
}

.giveback-header {
  max-width: 720px;
  margin: 0 auto var(--space-6);
  text-align: center;
}
.giveback-header .section-title {
  margin-left: auto;
  margin-right: auto;
}
.giveback-header .section-title em {
  color: var(--coral-red);
  font-style: italic;
}
.giveback-lede {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.giveback-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  max-width: 900px;
  margin: 0 auto var(--space-5);
}

.giveback-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  box-shadow: 0 10px 28px rgba(26, 43, 60, 0.08);
  border: 1px solid rgba(26, 43, 60, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.giveback-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(26, 43, 60, 0.14);
}
.giveback-card-featured {
  background: linear-gradient(180deg, var(--cream) 0%, #FFF4D6 100%);
  border: 2px solid var(--sunny-yellow);
}

.giveback-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--seafoam-green);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  box-shadow: 0 6px 14px rgba(46, 139, 122, 0.3);
}
.giveback-icon-wrap svg {
  width: 30px;
  height: 30px;
}
.giveback-card-featured .giveback-icon-wrap {
  background: var(--coral-red);
  box-shadow: 0 6px 14px rgba(233, 75, 60, 0.3);
}

.giveback-tier {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral-red);
  margin: 0 0 var(--space-2);
}
.giveback-count {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ink);
  margin: 0 0 var(--space-3);
  line-height: 1.05;
}
.giveback-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 var(--space-5);
  flex: 1;
}

.giveback-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
  font-style: italic;
}
.giveback-note a {
  color: var(--coral-red);
  text-decoration: underline;
  font-weight: 600;
}
.giveback-note a:hover {
  color: var(--ink);
}


/* ============================================================
   CONTACT FORM SECTION
   ============================================================ */
.contact {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(168, 216, 232, 0.18) 0%, transparent 55%),
    var(--cream);
}

.contact-header {
  max-width: 640px;
  margin: 0 auto var(--space-6);
  text-align: center;
}
.contact-header .section-title {
  margin-left: auto;
  margin-right: auto;
}
.contact-header .section-title em {
  color: var(--coral-red);
  font-style: italic;
}
.contact-lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0;
}

.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 10px 28px rgba(26, 43, 60, 0.10);
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.contact-field input,
.contact-field textarea,
.contact-field .contact-select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: var(--space-3) var(--space-4);
  border: 2px solid rgba(26, 43, 60, 0.1);
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-sizing: border-box;
  resize: none;
}
.contact-field textarea {
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  line-height: 1.5;
  resize: vertical;
  min-height: 120px;
}
/* Dropdown — same look as the inputs but with our own chevron and no default UA arrow */
.contact-field .contact-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: calc(var(--space-4) + 24px);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A2B3C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  background-size: 14px 14px;
}
.contact-field .contact-select:invalid,
.contact-field .contact-select option[disabled] {
  color: var(--ink-light);
}
.contact-field .contact-select option {
  color: var(--ink);
  background: var(--cream);
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--ink-light);
  opacity: 0.7;
}
.contact-field input:focus,
.contact-field textarea:focus,
.contact-field .contact-select:focus {
  outline: none;
  border-color: var(--coral-red);
  box-shadow: 0 0 0 4px rgba(233, 75, 60, 0.12);
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-submit {
  width: 100%;
  justify-content: center;
}
.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-fineprint {
  margin: var(--space-3) 0 0;
  font-size: 0.8rem;
  color: var(--ink-light);
  text-align: center;
}

/* Success state */
.contact-success {
  text-align: center;
  padding: var(--space-5) var(--space-4);
  animation: contact-success-in 0.5s var(--ease-bounce) backwards;
}
@keyframes contact-success-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.contact-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-4);
  background: var(--seafoam-green);
  color: var(--cream);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(46, 139, 122, 0.3);
}
.contact-success-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--ink);
  margin: 0 0 var(--space-3);
}
.contact-success-msg {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   12. FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: var(--space-8) 0 var(--space-5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.55rem;
  color: var(--cream);
  letter-spacing: -0.005em;
  line-height: 1.1;
  margin-bottom: var(--space-2);
  font-variation-settings: "opsz" 96, "SOFT" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.footer-name > span {
  color: var(--sunny-yellow);
}
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 248, 231, 0.6);
  margin: 0;
}

.footer-nav h4,
.footer-contact h4,
.footer-publisher h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sunny-yellow);
  margin-bottom: var(--space-3);
}

.footer-nav ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li,
.footer-contact li { margin-bottom: var(--space-2); }

.footer-nav a,
.footer-contact a {
  color: rgba(255, 248, 231, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--coral-red); }

.footer-publisher p {
  color: rgba(255, 248, 231, 0.8);
  margin: 0;
}
.publisher-detail {
  font-size: 0.85rem;
  color: rgba(255, 248, 231, 0.5) !important;
  font-style: italic;
  margin-top: var(--space-2) !important;
}

.footer-bottom {
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 248, 231, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 248, 231, 0.5);
}


/* ============================================================
   13. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}

.btn-large {
  padding: var(--space-4) var(--space-7);
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--coral-red);
  box-shadow: var(--shadow-coral);
}

.btn-coral {
  background: var(--coral-red);
  color: var(--cream);
  box-shadow: var(--shadow-coral);
}
.btn-coral:hover {
  transform: translateY(-2px);
  background: var(--coral-red-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}


/* ============================================================
   14. ANIMATIONS + REDUCED MOTION
   ============================================================ */
/* Scroll reveal — added by JS */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger character cards */
.character-card.reveal:nth-child(2) { transition-delay: 0.05s; }
.character-card.reveal:nth-child(3) { transition-delay: 0.10s; }
.character-card.reveal:nth-child(4) { transition-delay: 0.15s; }
.character-card.reveal:nth-child(5) { transition-delay: 0.20s; }
.character-card.reveal:nth-child(6) { transition-delay: 0.25s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-illustration { animation: none; }
  .hero-logo { animation: none; }
  .sun-rays { animation: none; }
  .reveal { opacity: 1; transform: none; }
}


/* ============================================================
   15. MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  .nav-list {
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: var(--space-5) var(--space-5) var(--space-6);
    gap: var(--space-4);
    align-items: stretch;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform 0.3s var(--ease);
    z-index: 99;
  }
  .nav-list.is-open { transform: translateY(0); }
  .nav-list a { font-size: 1.1rem; padding: var(--space-3) 0; border-bottom: 1px solid rgba(26, 43, 60, 0.08); }
  .nav-list .nav-cta { text-align: center; border-bottom: none; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-5);
  }
  .hero-text { order: 2; }
  .hero-visual { order: 1; }
  .hero-composition { max-width: 380px; aspect-ratio: 1 / 1.05; }
  .hero-logo { width: 42%; top: -3%; right: -2%; left: auto; }
  .hero-photo-frame { width: 54%; top: 16%; left: 6%; }
  .hero-illustration { width: 78%; right: -6%; bottom: 4%; }
  .hero-play-btn {
    bottom: 0;
    left: 8%;
    font-size: 0.78rem;
    padding: 3px 14px 3px 3px;
    gap: 8px;
  }
  .hero-play-icon { width: 28px; height: 28px; }
  .hero-play-icon svg { width: 12px; height: 12px; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-cta-row { justify-content: center; }
  .scroll-cue { display: none; }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .pillars-tagline { font-size: 1.05rem; }
  .pillar-card { padding: var(--space-4); }

  .book-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .book-cover-frame { max-width: 280px; }

  .character-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .quiz-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .quiz-lede { margin-left: auto; margin-right: auto; }

  .author-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .author-photo-frame { transform: rotate(0); max-width: 280px; }
  .author-credentials { text-align: left; }

  .signup-fields {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .contact-fields {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .contact-form-wrap {
    padding: var(--space-5) var(--space-4);
  }

  .press-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .giveback-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }

  .flipbook-container { padding: var(--space-4); }
  .flipbook-controls { flex-wrap: wrap; }

  .section { padding: var(--space-5) 0; }
  .hero { padding: var(--space-5) 0 var(--space-6); }
  .pillars { padding: var(--space-6) 0; }

  .story-scenes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }
  .story-scene figcaption {
    font-size: 0.75rem;
  }
}

@media (max-width: 500px) {
  .character-grid { grid-template-columns: 1fr; }
  .character-img-wrap { width: 140px; height: 140px; }
  .footer-grid { grid-template-columns: 1fr; }
  .book-facts { grid-template-columns: 1fr; }
  .series-list li { font-size: 0.85rem; padding: var(--space-2) var(--space-4); }
  .hero-cta-row .btn { width: 100%; justify-content: center; }
  .press-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   16. MOBILE POLISH — tap targets, narrow-screen typography,
   horizontal-overflow safety
   ============================================================ */
/* Universal: prevent any rogue element causing horizontal scroll.
   NB: we only do this on body — putting it on html breaks position:sticky. */
body { overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; height: auto; }

/* Ensure every tappable element meets the 44×44 minimum (Apple HIG / WCAG 2.5.5)
   without bloating buttons that already exceed it. */
@media (pointer: coarse) {
  a, button, [role="button"], input[type="submit"], input[type="button"], summary {
    min-height: 44px;
  }
  /* Nav links inside the mobile drawer — already padded, just ensure target size */
  .nav-list a { min-height: 44px; display: flex; align-items: center; }
  /* Footer links — give them a comfortable touch area */
  .footer-nav a, .footer-publisher a { padding: 6px 0; display: inline-block; }
  /* Social icon links + inline links don't get min-height (would mess up text flow) */
  .inline-link, .footer-bottom a { min-height: 0; }
}

/* Narrow-screen typography: drop the largest display sizes so they don't overflow */
@media (max-width: 480px) {
  .section-title { font-size: clamp(1.6rem, 7.5vw, 2rem); }
  .hero-headline { font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.05; }
  .pillars-tagline { font-size: 1rem; }
  .story-scenes-grid { gap: var(--space-2); }
  .story-scene figcaption { font-size: 0.7rem; line-height: 1.3; }
  .btn-spotify { font-size: 0.95rem; padding: 12px 18px; }
  .logo-name { font-size: 1.35rem; }
  .logo-tagline { font-size: 0.62rem; letter-spacing: 0.07em; }

  /* Tour block — tighter on small phones */
  .tour-heading { font-size: 2rem; }
  .tour-copy { font-size: 0.97rem; }

  /* Contact form — full-width fields on narrow screens */
  .contact-fields { grid-template-columns: 1fr; }

  /* Book facts — single column on phones */
  .book-facts { grid-template-columns: 1fr; }

  /* Buy buttons — stack vertically */
  .buy-buttons { flex-direction: column; }
  .buy-buttons .btn { width: 100%; }

  /* Pillar cards — full width */
  .pillars-grid { grid-template-columns: 1fr; gap: var(--space-4); }

  /* Characters — single column */
  .character-grid { grid-template-columns: 1fr; }

  /* Give back grid — single column */
  .giveback-grid { grid-template-columns: 1fr; }

  /* Press grid — single column */
  .press-grid { grid-template-columns: 1fr; }

  /* Footer grid — single column */
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-5); }

  /* Song section — more padding for illustrations */
  .song { padding-top: var(--space-9); padding-bottom: var(--space-9); }

  /* Social icon size on small phones */
  .social-icon-link { width: 48px; height: 48px; }
  .social-icon { width: 20px; height: 20px; }
}

/* Very narrow phones (iPhone SE, 320–360px) */
@media (max-width: 360px) {
  .nav-wrap { padding: var(--space-3); gap: var(--space-2); }
  .logo-name { font-size: 1.25rem; }
  .logo-tagline { font-size: 0.58rem; letter-spacing: 0.06em; }
  .hero-headline { font-size: clamp(1.8rem, 9vw, 2.2rem); }
  .journey-socials { gap: var(--space-3); }
}

/* Respect device safe-areas (iPhone notch / Android gesture bar) */
@supports (padding: max(0px)) {
  .site-header { padding-top: max(0px, env(safe-area-inset-top)); }
  .site-footer { padding-bottom: max(var(--space-5), env(safe-area-inset-bottom)); }
}

/* Touch: ensure all interactive elements meet 44×44px minimum target */
@media (pointer: coarse) {
  a, button, [role="button"] { min-height: 44px; }
  .nav-list a { min-height: 44px; display: flex; align-items: center; }
  .footer-nav a, .footer-contact a { padding: 6px 0; display: inline-block; }
  /* Social icons already 48-56px so no override needed */
  /* Prevent double-ring on form inputs with their own focus style */
  .signup-field input:focus-visible,
  .contact-field input:focus-visible,
  .contact-field textarea:focus-visible,
  .contact-field .contact-select:focus-visible { outline: none; }
}

/* Focus rings — keyboard / screen reader accessibility */
:focus-visible {
  outline: 3px solid var(--coral-red);
  outline-offset: 2px;
  border-radius: 4px;
}
.signup-field input:focus-visible,
.contact-field input:focus-visible,
.contact-field textarea:focus-visible,
.contact-field .contact-select:focus-visible {
  outline: none;
}
