:root {
  --cream: #fbf6ec;
  --paper: #fffdf8;
  --ink: #3f4630;
  --ink-soft: #66705a;
  --leaf: #5f7d43;
  --leaf-deep: #4a6334;
  --peach: #f4c9a6;
  --sun: #f7e2b8;
  --line: #e9dfcb;
  --radius: 22px;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--leaf-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: .8em;
}

/* Brand */
.brand {
  display: inline-flex; align-items: center; gap: .45em;
  font: 600 1.45rem var(--display);
  color: var(--ink); text-decoration: none;
}
.brand__sprout { width: 1.15em; height: 1.15em; color: var(--leaf); }
.brand--small { font-size: 1.2rem; margin: 0; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .85em 1.5em;
  border-radius: 999px;
  font: 700 1rem var(--body);
  text-decoration: none;
  transition: background-color .3s ease, transform .3s ease;
}
.btn--primary { background: var(--leaf); color: #fff; }
.btn--primary:hover { background: var(--leaf-deep); }
.btn--ghost { color: var(--ink); background: rgba(255, 253, 248, .7); border: 1.5px solid var(--line); }
.btn--ghost:hover { background: var(--paper); }
.btn:focus-visible, .nav__cta:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }

/* Hero: the still fills the header; Lori sits right of centre, the open sky on the left holds the copy */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(88vh, 860px);
  display: flex;
  flex-direction: column;
  background: var(--sun);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(251, 246, 236, 0) 70%, var(--cream) 100%);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.nav__cta {
  font-weight: 700; text-decoration: none; color: var(--ink);
  background: rgba(255, 253, 248, .8); padding: .55em 1.1em; border-radius: 999px;
}
.hero__body {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: clamp(24px, 5vw, 64px) clamp(56px, 9vw, 120px);
}
.hero__text {
  max-width: 520px;
  background: rgba(255, 253, 248, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: 0 20px 50px -30px rgba(63, 70, 48, .45);
}
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.lede { font-size: 1.12rem; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* Meet */
.meet {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding-block: clamp(56px, 9vw, 112px);
}
.meet__img { border-radius: var(--radius); background: var(--paper); max-width: 340px; justify-self: center; }

/* Watch */
.watch {
  background: var(--paper);
  border-block: 1px solid var(--line);
  padding-block: clamp(56px, 9vw, 112px);
  text-align: center;
}
.watch__sub { max-width: 38em; margin-inline: auto; color: var(--ink-soft); }
.player {
  margin: 32px auto 0;
  max-width: 960px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px -35px rgba(63, 70, 48, .6);
  background: var(--sun);
}
.player video { width: 100%; aspect-ratio: 16 / 9; }
.player--soon {
  max-width: 640px;
  aspect-ratio: 3 / 1;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--sun), var(--peach));
  box-shadow: none;
}
.player--soon p { margin: 0; font: 600 clamp(1.4rem, 3vw, 2rem) var(--display); color: var(--leaf-deep); }
.note { margin-top: 16px; font-size: .92rem; color: var(--ink-soft); }

/* Parents */
.parents { padding-block: clamp(56px, 9vw, 112px); }
.pillars {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.pillars li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillars img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.pillars h3 { margin: 20px 22px 8px; }
.pillars p { margin: 0 22px 24px; color: var(--ink-soft); }

/* Notify */
.notify {
  background: linear-gradient(160deg, var(--sun), var(--peach));
  padding-block: clamp(56px, 8vw, 96px);
  text-align: center;
}
.notify__inner p { color: var(--ink); max-width: 30em; margin-inline: auto; margin-bottom: 1.6em; }

/* Footer */
.footer { padding-block: 40px 48px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer__line { margin: 0; font-family: var(--display); font-weight: 500; color: var(--leaf-deep); }
.footer__meta { margin: 0; font-size: .9rem; color: var(--ink-soft); width: 100%; }

/* Small screens */
@media (max-width: 820px) {
  .meet { grid-template-columns: 1fr; }
  /* Phones: the video becomes a framed band under the nav, kept on Lori; the copy follows below it */
  .hero { min-height: 0; background: var(--cream); }
  .hero__media { position: relative; inset: auto; z-index: 0; order: 1; aspect-ratio: 1 / 1; }
  .hero__img { object-position: 74% center; }
  .nav { position: absolute; inset: 0 0 auto; margin-inline: auto; z-index: 2; }
  .hero__body { order: 2; margin-top: -40px; padding-top: 0; position: relative; z-index: 1; }
  .hero__text { max-width: none; background: var(--paper); }
  .pillars { grid-template-columns: 1fr; }
  .meet__img { max-width: 240px; margin-inline: auto; }
}
