/* Home page (round 4, 10 Oct 2026). Loads after base, pea2, film and next.
   Uses their tokens only. Everything is scoped to body.home.
   Round 4: the day-with-Pea video is the hero picture, playing in the page. */

/* ---------- One rhythm for every section ---------- */
.home main > section:not(.hero) { padding-block: clamp(56px, 8vw, 96px); }
.home main > section.home-card:not(.hero) { padding-block: clamp(28px, 4vw, 48px); }

/* Every in-section Pea is the same size, 22px above its kicker or heading. */
.home .sec-pea { display: block; width: auto; height: clamp(120px, 14vw, 160px); max-width: 100%; margin: 0 auto 22px; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(34, 56, 26, .2)); }

/* ---------- Hero: hello, the two buttons, then the video ----------
   Tight enough that at 1280x800 the buttons and most of the video show on
   arrival (it starts playing once half of it is on screen), and at 390x844
   the buttons sit above it. */
.home .hero { padding-block: clamp(10px, 2.2vw, 28px) clamp(8px, 2vw, 24px); }
.home .hero h1 { font-size: clamp(64px, 9.4vw, 128px); }
.home .hero .tagline { margin-top: 10px; }
.home .hero .lede { margin-top: 10px; }
.home .hero .cta-row { margin-top: 22px; }
.home .hero-video { max-width: 1040px; margin: clamp(22px, 2.8vw, 34px) auto 0; text-align: left; }
.home .hero-video .pf-stage { box-shadow: 0 34px 70px -40px rgba(34, 56, 26, .55), 0 0 0 1px rgba(34, 56, 26, .06); }
.home .hero-own { margin-top: 20px; }
#video { scroll-margin-top: calc(var(--nav-h, 66px) + 14px); }

/* Short laptop screens: a little smaller hello so the video starts higher up. */
@media (min-width: 900px) and (max-height: 860px) {
  .home .hero h1 { font-size: clamp(64px, 8.4vw, 112px); }
  .home .hero .tagline { font-size: 28px; }
  .home .hero .cta-row { margin-top: 18px; }
  .home .hero-video { margin-top: 22px; }
}

/* The controls sit under the frame, so the big "Watch with sound" pill is lifted
   clear of them and sits on the lower part of the picture. */
.home .pf-bigplay { bottom: calc(48px + 5%); }
/* Tablets and phones: the control bar wraps so it never runs off the edge or
   squeezes its labels (the dots get their own full-width row). */
@media (max-width: 900px) {
  .home .pf-bar { flex-wrap: wrap; justify-content: center; row-gap: 12px; }
  .home .pf-dots { flex: 1 0 100%; }
  .home .pf-dots i { flex: 1 1 0; width: auto; }
  .home .pf-bigplay { bottom: calc(64px + 4%); }
}
/* Phones: the video keeps its portrait shape. */
@media (max-width: 640px) {
  .home .pf-bigplay { bottom: calc(60px + 4%); }
  .home .hero-video { margin-top: 22px; }
  /* "Ready when you are." ran past the frame's right edge on phones (22px cut
     off at 390). Two short lines keep it whole and clear of Pea and Send. */
  .home .pf-s7 .pf-say--v { white-space: normal; max-width: 8.4em; }
}
@media (max-width: 480px) {
  .home .hero h1 { font-size: clamp(56px, 17.5vw, 72px); }
  .home .hero .tagline { font-size: 21px; }
  .home .hero .lede { font-size: 17px; }
  .home .hero .cta-row { gap: 8px; margin-top: 18px; }
  .home .hero .cta-row .btn { flex: 1 1 auto; padding: 14px 14px; font-size: 15.5px; gap: 7px; }
  .home .hero .cta-row .btn svg { width: 16px; height: 16px; }
  .home .hero-own { flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; }
  .home .own-pill, .home .works-pill { max-width: 100%; padding: 9px 13px; font-size: clamp(12.5px, 3.5vw, 14px); white-space: nowrap; }
}

/* ---------- Easy peasy: the setup sits close to what follows ---------- */
.home main > section.plantsec { padding-bottom: clamp(40px, 5vw, 64px); }

/* ---------- Pea packs follow the levels as one chapter ---------- */
.home main > section.packsec { padding-top: clamp(24px, 3.5vw, 40px); }
.home .packsec .shead { text-align: center; }

/* ---------- Yours to keep band ---------- */
.home .band .cta-row { margin-top: 36px; }
.home .band__more { margin-top: 28px; text-align: center; font-size: 16.5px; }
.home .band__more a { color: #b6e07f; font-weight: 700; text-underline-offset: 4px; }
.home .band a:focus-visible { outline-color: #b6e07f; }
/* Phones: each tile's two lines sit together beside its Pea, not pushed apart. */
@media (max-width: 460px) {
  .home .own-grid--pea li { align-items: center; }
  .home .own-grid--pea li > b { align-self: end; text-wrap: pretty; }
  .home .own-grid--pea li > span:last-child { align-self: start; }
}

/* ---------- You stay in charge: four cards, two by two, each with a Pea ---------- */
.home .peace .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-top: 44px; }
.home .peace .card { grid-template-columns: 74px minmax(0, 1fr); column-gap: 20px; row-gap: 8px; align-items: start; padding: 24px 26px 26px 20px; }
.home .peace .card h3 { align-self: end; }
.home .card__pea { grid-row: 1 / span 2; justify-self: center; display: block; width: auto; height: 84px; max-width: 74px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(34, 56, 26, .2)); }
@media (max-width: 640px) {
  .home .peace .cards { grid-template-columns: 1fr; margin-top: 32px; }
  .home .peace .card { grid-template-columns: 58px minmax(0, 1fr); column-gap: 16px; padding: 20px 20px 22px 16px; }
  .home .card__pea { height: 70px; max-width: 58px; }
}

/* ---------- Good questions: Pea points at the list ----------
   Wide screens: the list stays centred and Pea stands in the right-hand margin,
   pointing at the questions. Narrower: Pea stands beside the heading. */
.home .faqsec__in { position: relative; max-width: var(--read); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); text-align: center; }
.home .faqsec .faq { margin-top: 32px; }
.home .faqsec__pea { position: absolute; left: calc(100% + 26px); top: 150px; width: auto; height: 210px; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(34, 56, 26, .2)); }
.home .faqsec__more { margin-top: 28px; }
@media (max-width: 1159px) {
  .home .faqsec__in { grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 1fr); grid-template-areas: ". h pea ." "faq faq faq faq" "more more more more"; column-gap: 10px; align-items: end; }
  .home .faqsec h2 { grid-area: h; text-align: right; }
  .home .faqsec__pea { position: static; grid-area: pea; height: clamp(100px, 14vw, 132px); }
  .home .faqsec .faq { grid-area: faq; margin-top: 22px; }
  .home .faqsec__more { grid-area: more; }
}
/* Phones: one column, Pea stands above the heading, both centred. */
@media (max-width: 640px) {
  .home .faqsec__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pea" "h" "faq" "more"; justify-items: center; }
  .home .faqsec h2 { text-align: center; }
  .home .faqsec__pea { height: 110px; margin-bottom: 14px; }
  .home .faqsec .faq { justify-self: stretch; }
}

/* ---------- Close: the pod Pea, or the name-tag Pea once it's named ---------- */
.home .close__art { display: flex; justify-content: center; align-items: flex-end; min-height: 200px; margin: 0 auto 14px; }
.home .close__pod { height: clamp(150px, 17vw, 200px); margin: 0 auto; }
.home .close__tag { display: none; filter: drop-shadow(0 18px 22px rgba(34, 56, 26, .22)); }
html.has-pea-name .home .close__tag { display: inline-block; }
html.has-pea-name .home .close__pod { display: none; }
.home .close .h2 { margin-top: 14px; }

/* ---------- Kept for reference: the morning card's styles (it moved to How it works
   in round 4; How it works copies what it needs). Harmless here. ---------- */
.home .feats--solo { margin-top: 0; }
.home .today-copy h3 { margin-top: 14px; }
.home .today-copy p { margin-top: 12px; }
.home .today-copy p + p { margin-top: 10px; }
.home .today.is-on .today__bar i { width: 72%; animation: none; }
.home .trow--ticked .trow__tick { background: var(--pea-hi); border-color: var(--pea-hi); }
.home .trow--ticked .trow__tick svg { opacity: 1; }
@media (max-width: 480px) {
  .home .feat--today { padding: 22px 14px 14px; gap: 22px; }
  .home .today-copy { padding-inline: 6px; }
  .home .feat--today .today { font-size: 12px; }
  .home .today .tag { font-size: 10px; padding: .4em .6em; }
  .home .today .trow small { font-size: 11px; line-height: 1.35; margin-top: 1px; }
  .home .today .trow { gap: .6em; padding: .65em .7em; }
  .home .today__rows { padding: .9em .9em; }
  .home .today__top { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 7px; align-items: center; padding: .9em 1em; }
  .home .today__top .pea-ico { grid-row: 1 / span 2; }
  .home .today__top > div:not(.today__lvl) { min-width: 0; }
  .home .today__meta { display: flex; gap: .35em; min-width: 0; white-space: nowrap; }
  .home .today__meta [data-pea-name] { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .home .today__meta [data-today-date] { flex: none; }
  .home .today__lvl { grid-column: 2; display: flex; align-items: center; gap: .7em; margin-left: 0; min-width: 0; text-align: left; white-space: nowrap; }
  .home .today__bar { flex: 1 1 auto; max-width: 9em; margin-top: 0; }
  .home .today__badges { padding: .7em .9em .9em; }
}

/* ---------- In their words: owners' own lines (staged 17 Nov 2026) ----------
   One big line in the dark band, three short ones under it. Nothing here moves
   except Pea's usual hop in, so it reads the same with reduced motion on. */
.home .saidsec .lede { max-width: none; text-wrap: balance; }
.home .said-big { max-width: 1040px; margin: 40px auto 0; padding: clamp(36px, 5.4vw, 64px) clamp(22px, 5.5vw, 72px); }
.home .said-big blockquote { font-size: clamp(30px, 4.7vw, 58px); }
.home .said-big cite { margin-top: 20px; color: var(--band-ink); }
.home .said-big cite span { display: block; margin-top: 3px; font-weight: 500; font-size: 15px; color: var(--band-muted); }
.home .said { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1040px; margin: 16px auto 0; }
.home .said__card { margin: 0; padding: 24px 24px 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); display: grid; gap: 16px; align-content: space-between; text-align: left; }
.home .said__card blockquote { margin: 0; font: 800 clamp(21px, 2.05vw, 25px)/1.14 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.home .said__who { font: 700 15.5px/1.3 var(--body); color: var(--ink); }
.home .said__who span { display: block; margin-top: 2px; font-weight: 500; font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) {
  .home .said { grid-template-columns: 1fr; }
  .home .said__card { padding: 22px 22px 20px; }
}
