/* Bloop & Sprout — Wave A static site
   Design tokens locked from brief */

:root {
  --bloop: #7EC8E3;
  --bloop-shade: #4FA3C8;
  --sprout: #7BC47F;
  --sprout-shade: #4F9A5A;
  --sprout-tip: #A8E06C;
  --pebble: #C4A484;
  --pebble-shade: #8F7358;
  --cream: #FBF6EE;
  --sage: #EEF5EC;
  --charcoal: #2F2A26;
  --charcoal-soft: rgba(47, 42, 38, 0.72);
  --white: #FFFcf7;
  --card: #FFFCF7;
  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --shadow: 0 8px 28px rgba(47, 42, 38, 0.08);
  --shadow-soft: 0 4px 16px rgba(47, 42, 38, 0.06);
  --max: 1120px;
  --nav-h: 68px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--bloop-shade);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sprout-shade);
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  background: var(--sprout);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(251, 246, 238, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(47, 42, 38, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wordmark {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark span {
  color: var(--sprout-shade);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.7rem;
  color: var(--charcoal-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--charcoal);
  background: rgba(123, 196, 127, 0.18);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  background: var(--sprout);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(79, 154, 90, 0.28);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-cta:hover {
  background: var(--sprout-shade);
  transform: scale(1.02);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

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

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(251, 246, 238, 0.98);
    border-bottom: 1px solid rgba(47, 42, 38, 0.08);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }
  .nav-cta-desktop { display: none; }
}

@media (min-width: 901px) {
  .nav-cta-mobile { display: none; }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover { transform: scale(1.02); }

.btn-primary {
  background: var(--sprout);
  color: #fff;
  box-shadow: 0 4px 16px rgba(79, 154, 90, 0.3);
}
.btn-primary:hover {
  background: var(--sprout-shade);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border-color: rgba(47, 42, 38, 0.18);
}
.btn-secondary:hover {
  border-color: var(--bloop-shade);
  color: var(--bloop-shade);
  background: rgba(126, 200, 227, 0.12);
}

.btn-bloop {
  background: var(--bloop);
  color: #1a3a48;
}
.btn-bloop:hover {
  background: var(--bloop-shade);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Sections —— */
.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section { padding: 5.5rem 0; }
}

.section-alt { background: var(--sage); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bloop-shade);
  margin: 0 0 0.65rem;
}

h1, h2, h3 {
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 760;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 720;
}

h3 {
  font-size: 1.2rem;
  font-weight: 680;
}

.lead {
  font-size: 1.15rem;
  color: var(--charcoal-soft);
  max-width: 38rem;
}

.section-intro {
  max-width: 36rem;
  color: var(--charcoal-soft);
  margin: 0 0 2rem;
}

.moral {
  font-style: italic;
  font-weight: 600;
  color: var(--sprout-shade);
  font-size: 1.15rem;
}

/* —— Hero —— */
.hero {
  padding: 2.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.hero-sub {
  font-size: 1.2rem;
  font-weight: 560;
  color: var(--charcoal);
  margin: 0 0 0.85rem;
}

.hero-body {
  color: var(--charcoal-soft);
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.micro-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}

.micro-row li {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  background: rgba(126, 200, 227, 0.2);
  color: var(--bloop-shade);
  border-radius: var(--radius-pill);
}

.hero-art {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #d8eef6 0%, #e8f5e4 50%, #f5e6d0 100%);
}

.hero-art img.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-trio {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.25rem;
  padding: 0 4% 2%;
  pointer-events: none;
}

.hero-trio img {
  width: 32%;
  max-width: 160px;
  filter: drop-shadow(0 8px 16px rgba(47, 42, 38, 0.18));
  animation: floaty 5s ease-in-out infinite;
}

.hero-trio img:nth-child(2) { animation-delay: -1.5s; width: 34%; }
.hero-trio img:nth-child(3) { animation-delay: -3s; width: 28%; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* —— Cards —— */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(47, 42, 38, 0.05);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-portrait {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #f0f7fa 0%, #fbf6ee 100%);
  margin-bottom: 1rem;
  padding: 0.75rem;
}

.card-bloop { border-top: 4px solid var(--bloop); }
.card-sprout { border-top: 4px solid var(--sprout); }
.card-pebble { border-top: 4px solid var(--pebble); }

.traits {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal-soft);
  margin: 0 0 0.5rem;
}

.flavor {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--sprout-shade);
  margin: 0.75rem 0 0;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
}

.icon-bloop { background: rgba(126, 200, 227, 0.35); }
.icon-sprout { background: rgba(123, 196, 127, 0.35); }
.icon-pebble { background: rgba(196, 164, 132, 0.35); }

/* —— Story chips —— */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}

.chips li {
  padding: 0.5rem 1rem;
  background: var(--card);
  border: 1.5px solid rgba(123, 196, 127, 0.45);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--sprout-shade);
}

.story-panel {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .story-panel {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.story-accent {
  background: linear-gradient(145deg, rgba(126, 200, 227, 0.25), rgba(123, 196, 127, 0.3));
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.story-accent .big-quote {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--charcoal);
}

/* —— Watch —— */
.watch-layout {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .watch-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.video-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1a1816;
  box-shadow: var(--shadow);
  /* Pilot is 9:16 — show full frame, no crop */
  aspect-ratio: 9 / 16;
  max-width: min(100%, 360px);
  max-height: min(70vh, 640px);
  margin-inline: auto;
}

@media (min-width: 800px) {
  .video-wrap {
    margin-inline: 0;
    max-width: min(100%, 320px);
  }
}

.video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #1a1816;
}

.clip-meta h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.clip-meta p {
  color: var(--charcoal-soft);
  margin: 0 0 1.25rem;
}

/* —— Printables —— */
.product-card h3 { margin-bottom: 0.35rem; }
.product-card p {
  margin: 0;
  color: var(--charcoal-soft);
  font-size: 0.95rem;
}

/* —— Play compact —— */
.play-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(196, 164, 132, 0.35);
}

.play-band .meta {
  font-size: 0.88rem;
  color: var(--charcoal-soft);
  margin: 0.35rem 0 0;
}

/* —— About —— */
.parent-note {
  margin-top: 1.25rem;
  padding: 1.25rem 1.35rem;
  background: var(--card);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--pebble);
  color: var(--charcoal-soft);
  font-size: 0.98rem;
}

.parent-note strong {
  color: var(--charcoal);
  display: block;
  margin-bottom: 0.35rem;
}

/* —— Newsletter —— */
.newsletter-section {
  background: linear-gradient(160deg, #e8f4f8 0%, #eef5ec 45%, #f5efe4 100%);
}

.form-card {
  max-width: 480px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}

.perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--charcoal-soft);
}

.perks li::before {
  content: "🌱";
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-group input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1.5px solid rgba(47, 42, 38, 0.15);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: var(--bloop-shade);
  outline: none;
  box-shadow: 0 0 0 3px rgba(126, 200, 227, 0.35);
}

.form-group input.is-invalid {
  border-color: #c45c5c;
}

.form-error {
  color: #a33;
  font-size: 0.88rem;
  margin: 0.35rem 0 0;
  display: none;
}

.form-error.is-visible { display: block; }

.consent {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
  margin: 0.85rem 0 0;
}

.form-card .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* —— Footer —— */
.site-footer {
  padding: 2.25rem 0;
  background: var(--charcoal);
  color: rgba(251, 246, 238, 0.85);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer a {
  color: rgba(251, 246, 238, 0.9);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--bloop);
}

.footer-tag {
  font-weight: 600;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* —— Thin pages (privacy / thanks) —— */
.page-main {
  min-height: calc(100vh - var(--nav-h) - 100px);
  padding: 3rem 0 4rem;
}

.page-main h1 {
  margin-bottom: 1rem;
}

.prose {
  max-width: 40rem;
}

.prose p { color: var(--charcoal-soft); }
.prose ul { color: var(--charcoal-soft); padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }

.thanks-card {
  max-width: 440px;
  margin: 2rem auto;
  text-align: center;
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow);
}

.thanks-emoji {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.tag-pill {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(123, 196, 127, 0.2);
  color: var(--sprout-shade);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
}


/* Watch — three weekly episodes (2026-10-02) */
.watch-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .watch-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}
.watch-card {
  background: var(--cream, #FBF6EE);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(47, 42, 38, 0.08);
}
.watch-card .clip-meta {
  padding: 1rem 1.1rem 1.25rem;
}
.watch-card .clip-meta h3 {
  margin: 0.25rem 0 0.5rem;
}
.video-wrap--still img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
