/* ==========================================================================
   Susan Roe Voice Over: bright & bubbly single-page site
   Colors are checked for WCAG 2.2 AA contrast (see README.md).
   ========================================================================== */

:root {
  --ink: #2a1631;
  --ink-soft: #4f3a58;
  --paper: #fffaff;
  --lav-50: #f8f0fd;
  --lav-100: #efdff9;
  --lav-200: #dcc3ee;
  --sky-50: #e8f6fd;
  --sky-200: #a6dcf3;
  --pink-100: #fbe4f2;
  --pink-200: #f2c0e1;
  --purple: #6b2a96;
  --purple-700: #521d76;
  --blue: #1a5f8c;
  --focus: #0b57d0;

  --font-display: "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
  --font-body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-lg: 2rem;
  --radius-md: 1.25rem;
  --shadow-soft: 0 10px 30px -12px rgba(82, 29, 118, 0.35);
  --shadow-pop: 0 18px 40px -16px rgba(82, 29, 118, 0.5);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Keep focused/anchored content clear of the fixed pause button (WCAG 2.4.11). */
  scroll-padding-bottom: 6rem;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h2 { font-size: clamp(2rem, 5vw, 3rem); color: var(--purple-700); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, .hero-tagline { text-wrap: balance; }
.nowrap { white-space: nowrap; }

a { color: var(--purple); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--purple-700); text-decoration-thickness: 0.14em; }
a[href^="tel:"] { white-space: nowrap; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

main:focus { outline: none; }

.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex-shrink: 0; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--purple-700);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 5;
  background: var(--sky-50);
  transition: box-shadow 0.25s;
}

/* Sticky header on desktop only. Small or short screens (and 400% zoom) keep it in the normal flow,
   so it never covers much of the content. */
@media (min-width: 56.0625rem) and (min-height: 32rem) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
  }
  .site-header.is-stuck { box-shadow: 0 10px 24px -14px rgba(82, 29, 118, 0.45); }

  /* Anchor jumps and keyboard focus land below the header (WCAG 2.4.11). */
  html { scroll-padding-top: calc(var(--header-h, 6rem) + 1rem); }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-block: 0.75rem;
}

.brand { display: inline-flex; border-radius: 12px; }
.brand img { width: clamp(200px, 30vw, 260px); }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.site-nav a:hover { background: #fff; color: var(--purple-700); }

/* ---------- Buttons ---------- */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}
.button-row-center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 3px solid transparent;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.2s, background-color 0.2s;
}
.btn:hover { transform: translateY(-3px) scale(1.03); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-700) 100%);
  color: #fff;
  box-shadow: var(--shadow-pop);
}
.btn-primary:hover { color: #fff; }

.btn-secondary {
  background: #fff;
  color: var(--purple-700);
  border-color: var(--purple);
}
.btn-secondary:hover { background: var(--lav-50); color: var(--purple-700); }

.btn-light { background: #fff; color: var(--purple-700); }
.btn-light:hover { color: var(--purple-700); background: var(--lav-50); }

.btn-outline-light { color: #fff; border-color: #fff; background: transparent; }
.btn-outline-light:hover { color: #fff; background: rgba(255, 255, 255, 0.15); }

/* ---------- Eyebrow & section heads ---------- */
.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  color: var(--purple-700);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px -6px rgba(82, 29, 118, 0.35);
}

.section { position: relative; padding-block: clamp(4rem, 9vw, 7rem); }

.section-head { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
.section-intro { font-size: 1.2rem; color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(242, 192, 225, 0.55), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(166, 220, 243, 0.6), transparent 50%),
    linear-gradient(170deg, var(--sky-50) 0%, var(--lav-50) 55%, var(--pink-100) 100%);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(6rem, 12vw, 9rem);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 2rem;
}

.hero h1 { margin-bottom: 1rem; }
.hero-hi {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--ink-soft);
  font-weight: 500;
}
.hero-name {
  display: block;
  font-size: clamp(3.2rem, 10vw, 6.25rem);
  font-weight: 700;
  line-height: 1;
  color: var(--purple-700);
  background: linear-gradient(100deg, var(--purple) 10%, var(--purple-700) 45%, var(--blue) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.08em;
}

.hero-role {
  display: block;
  margin-top: 0.4rem;
  font-size: clamp(1.35rem, 3.4vw, 1.9rem);
  font-weight: 600;
  color: var(--ink);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  max-width: 30ch;
}

.hero-lead { max-width: 52ch; color: var(--ink-soft); }

.hero-art { display: flex; justify-content: center; }
.hero-bubble {
  width: min(100%, 520px);
  animation: bob 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(82, 29, 118, 0.25));
}
.hero-bubble img { display: block; width: 100%; }

.wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: clamp(50px, 8vw, 110px);
  fill: var(--paper);
}
.wave-bottom { bottom: -1px; }

/* Floating background bubbles */
.bubble-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -160px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.95) 0 8%, rgba(255, 255, 255, 0) 22%),
    radial-gradient(circle at 50% 50%, rgba(166, 220, 243, 0.15) 0 55%, rgba(167, 112, 205, 0.45) 100%);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.7), inset -6px -8px 20px rgba(107, 42, 150, 0.15);
  animation: rise linear infinite;
  opacity: 0.85;
}

.b1  { left: 4%;  width: 60px;  height: 60px;  animation-duration: 16s; animation-delay: -2s; }
.b2  { left: 14%; width: 26px;  height: 26px;  animation-duration: 11s; animation-delay: -6s; }
.b3  { left: 26%; width: 90px;  height: 90px;  animation-duration: 22s; animation-delay: -12s; }
.b4  { left: 38%; width: 40px;  height: 40px;  animation-duration: 14s; animation-delay: -3s; }
.b5  { left: 50%; width: 70px;  height: 70px;  animation-duration: 19s; animation-delay: -9s; }
.b6  { left: 61%; width: 22px;  height: 22px;  animation-duration: 10s; animation-delay: -1s; }
.b7  { left: 72%; width: 110px; height: 110px; animation-duration: 25s; animation-delay: -15s; }
.b8  { left: 82%; width: 34px;  height: 34px;  animation-duration: 13s; animation-delay: -7s; }
.b9  { left: 90%; width: 56px;  height: 56px;  animation-duration: 18s; animation-delay: -4s; }
.b10 { left: 96%; width: 18px;  height: 18px;  animation-duration: 9s;  animation-delay: -5s; }

@keyframes rise {
  0%   { transform: translate3d(0, 0, 0); }
  25%  { transform: translate3d(18px, -30vh, 0); }
  50%  { transform: translate3d(-14px, -60vh, 0); }
  75%  { transform: translate3d(16px, -90vh, 0); }
  100% { transform: translate3d(0, calc(-100vh - 400px), 0); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-16px) rotate(1.5deg); }
}

/* ---------- Demos ---------- */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 2rem;
}

.demo-card {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 3px solid var(--lav-100);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.demo-card.is-playing { border-color: var(--purple); box-shadow: var(--shadow-pop); }

.demo-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.demo-top h3 { margin: 0; font-size: 1.6rem; color: var(--purple-700); }
.demo-card > p { color: var(--ink-soft); }

.demo-card audio {
  display: block;
  width: 100%;
  margin-block: 0.5rem 1rem;
  border-radius: 999px;
}

.demo-links { margin-bottom: 0.75rem; font-weight: 700; }
.file-meta { font-weight: 400; color: var(--ink-soft); }

/* Equalizer bubble: dances while that demo plays */
.eq {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-200), var(--pink-200));
}
.eq span {
  width: 5px;
  height: 10px;
  border-radius: 3px;
  background: var(--purple-700);
  transform-origin: center;
}
.eq span:nth-child(2) { height: 18px; }
.eq span:nth-child(3) { height: 26px; }
.eq span:nth-child(4) { height: 18px; }

.is-playing .eq span { animation: eq 0.9s ease-in-out infinite; }
.is-playing .eq span:nth-child(2) { animation-delay: -0.2s; }
.is-playing .eq span:nth-child(3) { animation-delay: -0.5s; }
.is-playing .eq span:nth-child(4) { animation-delay: -0.1s; }
.is-playing .eq span:nth-child(5) { animation-delay: -0.35s; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.6); }
  50%      { transform: scaleY(1.6); }
}

/* Transcript disclosure */
.transcript { border-top: 2px dashed var(--lav-200); padding-top: 0.75rem; }
.transcript summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  cursor: pointer;
  font-weight: 700;
  color: var(--purple);
  border-radius: 8px;
  list-style: none;
}
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--lav-100);
  color: var(--purple-700);
  font-size: 1.2rem;
  line-height: 1;
}
.transcript[open] summary::before { content: "\2212"; }
.transcript summary:hover { text-decoration: underline; }
.transcript-body {
  margin-top: 0.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--lav-50);
  font-size: 1.05rem;
}
.transcript-body p:last-child { margin-bottom: 0; }
.transcript-body h4 { margin: 1rem 0 0.25rem; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--purple-700); }
.transcript-body h4:first-child { margin-top: 0; }

/* ---------- About ---------- */
.about {
  background: linear-gradient(180deg, var(--paper) 0%, var(--lav-50) 100%);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-copy p { font-size: 1.15rem; }

.perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.perk {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(.34, 1.56, .64, 1);
}
.perk:nth-child(even) { transform: translateY(1.5rem); }
.perk h3 { font-size: 1.25rem; color: var(--purple-700); margin-bottom: 0.4rem; }
.perk p { margin: 0; font-size: 1.02rem; color: var(--ink-soft); }

.perk-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-200), var(--pink-200));
  box-shadow: inset 0 -4px 10px rgba(107, 42, 150, 0.18), inset 4px 4px 8px rgba(255, 255, 255, 0.8);
}
.perk-icon svg { width: 1.6rem; height: 1.6rem; fill: var(--purple-700); }

/* ---------- Services ---------- */
.services { overflow: hidden; background: var(--lav-50); }
.services .container { position: relative; z-index: 1; }
.bubble-field-soft .bubble { opacity: 0.6; }

.service-bubbles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.service-bubbles li {
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  color: var(--ink);
  background:
    radial-gradient(circle at 22% 25%, rgba(255, 255, 255, 0.9) 0 10%, rgba(255, 255, 255, 0) 30%),
    linear-gradient(135deg, var(--sky-200), var(--lav-200));
  box-shadow: inset 0 -6px 14px rgba(107, 42, 150, 0.15), var(--shadow-soft);
  animation: float 5s ease-in-out infinite;
}
.service-bubbles li:nth-child(3n + 2) {
  background:
    radial-gradient(circle at 22% 25%, rgba(255, 255, 255, 0.9) 0 10%, rgba(255, 255, 255, 0) 30%),
    linear-gradient(135deg, var(--pink-200), var(--lav-200));
  animation-delay: -1.6s;
}
.service-bubbles li:nth-child(3n) {
  background:
    radial-gradient(circle at 22% 25%, rgba(255, 255, 255, 0.9) 0 10%, rgba(255, 255, 255, 0) 30%),
    linear-gradient(135deg, var(--lav-100), var(--sky-200));
  animation-delay: -3.2s;
}
.service-bubbles li:nth-child(even) { animation-duration: 6s; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -8px; }
}

.services-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  position: relative;
  padding: 1.5rem 1.6rem 1.4rem 4.25rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 3px solid var(--lav-100);
  box-shadow: var(--shadow-soft);
}
.faq-item::before {
  content: "?";
  position: absolute;
  left: 1.1rem;
  top: 1.2rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-200), var(--pink-200));
  box-shadow: inset 0 -3px 8px rgba(107, 42, 150, 0.18), inset 3px 3px 6px rgba(255, 255, 255, 0.8);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--purple-700);
}
.faq-item h3 { font-size: 1.25rem; color: var(--purple-700); margin-bottom: 0.4rem; }
.faq-item p { margin: 0; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.14) 0 8%, transparent 9%),
    radial-gradient(circle at 88% 70%, rgba(255, 255, 255, 0.12) 0 12%, transparent 13%),
    radial-gradient(circle at 70% 15%, rgba(255, 255, 255, 0.1) 0 4%, transparent 5%),
    linear-gradient(120deg, #5a2384 0%, var(--purple-700) 45%, #1d5a85 100%);
}
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band p { font-size: 1.25rem; }
.cta-band :focus-visible { outline-color: #fff; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.5rem;
}

.contact-card {
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 3px solid var(--lav-100);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.contact-card h3 { color: var(--purple-700); margin-bottom: 0.25rem; }

.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-200), var(--pink-200));
  box-shadow: inset 0 -4px 10px rgba(107, 42, 150, 0.18), inset 4px 4px 8px rgba(255, 255, 255, 0.8);
}
.contact-icon svg { width: 1.9rem; height: 1.9rem; fill: var(--purple-700); }

.contact-value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact-value a { display: inline-block; padding-block: 0.25rem; }

.copy-btn {
  min-height: 44px;
  padding: 0.5rem 1.2rem;
  border: 2px solid var(--purple);
  border-radius: 999px;
  background: #fff;
  color: var(--purple-700);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.copy-btn:hover { background: var(--lav-50); }
.copy-status { min-height: 1.65em; margin: 0.5rem 0 0; font-weight: 700; color: var(--blue); }

.contact-tips { text-align: left; }
.contact-tips .contact-icon { display: grid; margin-inline: auto; }
.contact-tips h3 { text-align: center; }
.contact-tips ul { margin: 0.75rem 0 0; padding-left: 1.25rem; }
.contact-tips li { margin-bottom: 0.4rem; }
.contact-tips li::marker { color: var(--purple); }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 3rem 7rem; /* bottom room so the pause button never covers footer content */
  background: linear-gradient(180deg, var(--lav-50), var(--lav-100));
  text-align: center;
}
.footer-inner p,
.footer-inner address { margin-bottom: 0.6rem; }
.footer-inner address { font-style: normal; }
.footer-inner a { display: inline-block; padding-block: 0.3rem; font-weight: 700; }
.footer-logo { width: 220px; margin-bottom: 0.75rem; }
.copyright { color: var(--ink-soft); }

/* ---------- Pause / play animations toggle ---------- */
.motion-toggle {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.6rem 1.1rem;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--purple-700);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 25px -8px rgba(42, 22, 49, 0.6);
  transition: background-color 0.2s;
}
.motion-toggle:hover { background: var(--ink); }
.motion-toggle .icon-play { display: none; }
.motion-paused .motion-toggle .icon-play { display: block; }
.motion-paused .motion-toggle .icon-pause { display: none; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.34, 1.56, .64, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .perk.reveal.is-visible:nth-child(even) { transform: translateY(1.5rem); }

/* ---------- Motion paused (pause button or reduced-motion preference) ---------- */
.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation-play-state: paused !important;
}
.motion-paused .bubble { animation: none; opacity: 0; }
.motion-paused .bubble.b3,
.motion-paused .bubble.b5,
.motion-paused .bubble.b7,
.motion-paused .bubble.b9 { opacity: 0.7; bottom: auto; }
.motion-paused .bubble.b3 { top: 55%; }
.motion-paused .bubble.b5 { top: 12%; }
.motion-paused .bubble.b7 { top: 60%; }
.motion-paused .bubble.b9 { top: 18%; }
.motion-paused .reveal,
.motion-paused .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}
.motion-paused .perk.reveal:nth-child(even) { transform: translateY(1.5rem); }
.motion-paused .btn,
.motion-paused .perk { transition: none; }
.motion-paused .btn:hover,
.motion-paused .btn:active { transform: none; }
html.motion-paused { scroll-behavior: auto; }

/* No-JS fallback for people who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html:not(.js) *,
  html:not(.js) *::before,
  html:not(.js) *::after {
    animation: none !important;
    transition: none !important;
  }
  html:not(.js) { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 56rem) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-tagline, .hero-lead { margin-inline: auto; }
  .hero .button-row { justify-content: center; }
  .hero-art { order: -1; }
  .hero-bubble { width: min(80%, 380px); }
  .about-inner { grid-template-columns: 1fr; }
}

@media (max-width: 40rem) {
  body { font-size: 1.0625rem; }
  .header-inner { justify-content: center; }
  .site-nav ul { justify-content: center; }
  .site-nav a { padding-inline: 0.75rem; }
  .perks { grid-template-columns: 1fr; }
  .perk:nth-child(even),
  .js .perk.reveal.is-visible:nth-child(even),
  .motion-paused .perk.reveal:nth-child(even) { transform: none; }
  .motion-toggle-label { font-size: 0.95rem; }
}

/* Windows High Contrast / forced colors */
@media (forced-colors: active) {
  .btn, .copy-btn, .motion-toggle, .eyebrow, .service-bubbles li { border: 2px solid ButtonText; }
  .hero-name { -webkit-text-fill-color: CanvasText; background: none; }
  .bubble-field, .wave { display: none; }
}

@media print {
  .bubble-field, .wave, .motion-toggle, .skip-link, .site-nav { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
