/* Story Sprouts — shared stylesheet
   Warm paper, dark ink, forest header, clay buttons.
   Mobile-first. Desktop breakpoint: 800px. */

:root {
  --paper: #f3eee4;
  --card: #fffaf2;
  --ink: #2b241f;
  --ink-soft: #5e554e;
  --forest: #2c5852;
  --forest-deep: #1f433e;
  --clay: #c45c2d;
  --clay-hover: #a74b22;
  --line: #e2d6c4;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --radius: 10px;
  --header-h: 3.75rem;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at 12% 0%, rgba(196, 92, 45, 0.045), transparent 46%),
    radial-gradient(ellipse at 88% 100%, rgba(44, 88, 82, 0.05), transparent 48%);
  min-height: 100vh;
}

img,
iframe,
video {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: var(--clay);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--clay-hover);
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

h1 {
  font-size: 2.05rem;
}

h2 {
  font-size: 1.45rem;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0.7em 0 0;
}

p:first-child {
  margin-top: 0;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

/* ----- layout ----- */

.wrap {
  width: min(1040px, calc(100% - 2rem));
  margin-inline: auto;
}

.page {
  padding: 1.35rem 0 3.5rem;
}

.section {
  margin-top: 2.5rem;
}

.section--tight {
  margin-top: 1.75rem;
}

.narrow {
  max-width: 38rem;
}

.center {
  text-align: center;
}

#latest-episode,
#latest {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

/* ----- header ----- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--forest-deep);
  color: var(--paper);
}

.header-bar {
  width: min(1040px, calc(100% - 1.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 10px 0 12px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
}

.brand:hover {
  color: var(--paper);
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-desktop {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.btn-listen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 0.9rem;
  background: var(--clay);
  color: var(--card);
  border: 0;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.btn-listen:hover {
  background: var(--clay-hover);
  color: var(--card);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.75rem;
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(243, 238, 228, 0.32);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.menu-toggle:hover {
  background: rgba(243, 238, 228, 0.08);
}

.header-plain-link {
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.25rem;
}

.header-plain-link:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* mobile panel */

.mobile-panel {
  display: none;
  background: var(--forest);
  border-top: 1px solid rgba(243, 238, 228, 0.12);
  padding: 0.35rem 0 1.35rem;
}

.site-header.is-open .mobile-panel {
  display: block;
}

.mobile-panel-inner {
  width: min(1040px, calc(100% - 1.5rem));
  margin-inline: auto;
}

.menu-links {
  display: flex;
  flex-direction: column;
}

.menu-links a {
  display: block;
  padding: 0.9rem 0.15rem;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 238, 228, 0.12);
}

.menu-links a:hover,
.menu-links a.is-current {
  color: #fff;
}

.menu-signup {
  margin-top: 1.15rem;
  padding: 1rem 1rem 1.05rem;
  background: var(--forest-deep);
  border-radius: var(--radius);
}

.menu-signup p {
  margin: 0 0 0.65rem;
  color: rgba(243, 238, 228, 0.88);
  font-size: 0.95rem;
}

.menu-signup .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-signup input[type="email"] {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(243, 238, 228, 0.18);
  border-radius: 8px;
  background: #fffaf2;
  color: var(--ink);
}

.menu-signup .btn {
  width: 100%;
}

/* ----- buttons & forms ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  background: var(--clay);
  color: var(--card);
  border: 0;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--clay-hover);
  color: var(--card);
}

.btn--block {
  width: 100%;
}

.btn--quiet {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  cursor: default;
}

.btn--quiet:hover {
  background: transparent;
  color: var(--ink-soft);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #8a8078;
}

.link-quiet {
  font-size: 0.98rem;
  font-weight: 600;
}

/* ----- hero (homepage) ----- */

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.hero-copy {
  order: 1;
}

.hero-copy .lede {
  margin-top: 0.65rem;
  max-width: 34em;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero-copy .link-quiet {
  display: inline-block;
  margin-top: 0.85rem;
}

.hero-player {
  order: 2;
}

.hero-image {
  order: 3;
  margin: 0.25rem 0 0;
}

.hero-image img {
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.hero-image figcaption {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
}

.player-label {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.55rem;
}

.player iframe {
  display: block;
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: var(--radius);
  background: var(--card);
}

/* ----- quote ----- */

.quote {
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--line);
}

.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5;
}

.quote footer {
  margin-top: 0.7rem;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ----- familiar / tools / faq ----- */

.worry-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.worry-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.15rem;
}

.worry-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--clay);
}

.quiet-note {
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.45;
  max-width: 34em;
}

.tools {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.15rem;
}

.tool {
  display: grid;
  gap: 0.55rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.tool:first-child {
  border-top: 1px solid var(--line);
}

.tool img {
  width: 100%;
  max-width: 16rem;
  height: 132px;
  object-fit: cover;
  border-radius: var(--radius);
}

.tool p {
  color: var(--ink-soft);
  margin-top: 0.15rem;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 1.1rem;
}

.faq h3 {
  font-size: 1.08rem;
}

.faq p {
  color: var(--ink-soft);
  margin-top: 0.3rem;
}

/* ----- cards / panels ----- */

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.3rem;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.45rem;
}

.meta {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.yt-note {
  margin-top: 1.5rem;
}

.yt-note a {
  font-weight: 600;
}

/* ----- inner pages ----- */

.page-intro h1 {
  max-width: 20ch;
}

.page-intro .lede {
  margin-top: 0.55rem;
  color: var(--ink-soft);
  max-width: 36em;
}

.prose p + p {
  margin-top: 0.9em;
}

.bullet-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.bullet-list li {
  padding: 0.55rem 0 0.55rem 1.15rem;
  position: relative;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--forest);
}

.bullet-list strong {
  font-weight: 600;
  color: var(--ink);
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1rem;
}

.benefit h3 {
  font-size: 1.05rem;
}

.benefit p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-top: 0.2rem;
}

/* videos */

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin-top: 1.1rem;
}

.video-card {
  display: block;
  color: inherit;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.video-card:hover {
  color: inherit;
}

.video-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  max-height: 22rem;
}

.video-card span {
  display: block;
  padding: 0.7rem 0.85rem 0.85rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* shop */

.product {
  max-width: 26rem;
}

.product-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8ddd0;
  border-radius: var(--radius) var(--radius) 0 0;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.product-body {
  padding: 1.1rem 1.05rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.price {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  white-space: nowrap;
}

.hint {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
}

.notify {
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line);
}

/* contact */

.mailto {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  word-break: break-word;
}

/* thank you */

.steps {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 0.45rem 0 0.45rem 1.7rem;
  position: relative;
}

.steps li::before {
  content: counter(step) ".";
  position: absolute;
  left: 0;
  top: 0.45rem;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--clay);
}

/* ----- footer ----- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.1rem;
  background: transparent;
}

.site-footer .tagline {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
  justify-content: center;
  margin-bottom: 0.7rem;
}

.footer-links a,
.site-footer .yt {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-links a:hover,
.site-footer .yt:hover {
  color: var(--clay);
  text-decoration: underline;
}

.site-footer .copy {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}


.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;
}

blockquote {
  margin: 0;
  padding: 0;
}

.fields-2 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.panel .form {
  margin-top: 1rem;
}

.panel .lede {
  margin-top: 0.45rem;
}

.measure {
  max-width: 38rem;
}

h2 + .player,
.section p + .player {
  margin-top: 0.85rem;
}

.btn:disabled {
  cursor: not-allowed;
}

/* ----- desktop ----- */

@media (min-width: 800px) {
  body {
    font-size: 18px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .page {
    padding: 1.85rem 0 4.25rem;
  }

  .section {
    margin-top: 3.1rem;
  }

  .header-bar {
    padding: 11px 0;
  }

  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.45rem;
    margin-left: 1.6rem;
    margin-right: auto;
  }

  .nav-desktop a {
    color: var(--paper);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
  }

  .nav-desktop a:hover,
  .nav-desktop a.is-current {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 5px;
  }

  .menu-toggle,
  .mobile-panel,
  .site-header.is-open .mobile-panel {
    display: none !important;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-areas:
      "copy image"
      "player player";
    gap: 1.4rem 2.4rem;
    align-items: center;
  }

  .hero-copy { grid-area: copy; order: unset; }
  .hero-player { grid-area: player; order: unset; }
  .hero-image { grid-area: image; order: unset; margin: 0; }

  .hero-image img {
    max-width: 100%;
  }

  .player iframe {
    height: 202px;
  }

  .tools {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.35rem;
  }

  .tool,
  .tool:first-child {
    border: 0;
    padding: 0;
  }

  .tool img {
    max-width: none;
    height: 150px;
  }

  .form-row--split {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
    align-items: stretch;
  }

  .form-row--split .btn {
    width: auto;
  }

  .fields-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .video-card img {
    max-height: none;
  }

  .benefit-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.4rem;
  }

  .product {
    max-width: 28rem;
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 0.95rem;
  }

  .btn-listen,
  .menu-toggle {
    padding-inline: 0.65rem;
  }
}

.player { overflow: hidden; }
.player iframe { max-width: 100%; }
