:root {
  --gold: #C49A4A;
  --gold-soft: #F2C14E;
  --charcoal: #242321;
  --red: #A54B42;
  --red-dark: #7D3731;
  --ivory: #F7F1E5;
  --cream: #FFFBF3;
  --blush: #E8BFC2;
  --blush-soft: #F7E3E4;
  --green: #3D6650;
  --green-dark: #2A4A39;
  --sky: #DDEBF2;
  --text: #2F2B26;
  --muted: #6B6358;
  --radius: 28px;
  --shadow: 0 10px 30px rgba(36, 35, 33, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", system-ui, sans-serif;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.6;
  font-size: 18px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
:focus-visible { outline: 4px solid var(--gold-soft); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 14px; border-radius: 10px; }

/* woven tocapu band */
.band {
  height: 16px;
  background:
    linear-gradient(45deg, var(--red) 25%, transparent 25%) 0 0 / 16px 16px,
    linear-gradient(-45deg, var(--red) 25%, transparent 25%) 0 0 / 16px 16px,
    linear-gradient(45deg, transparent 75%, var(--red) 75%) 0 0 / 16px 16px,
    linear-gradient(-45deg, transparent 75%, var(--red) 75%) 0 0 / 16px 16px,
    var(--gold);
}

/* header */
header.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 251, 243, .92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(196, 154, 74, .3);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-dark); font-weight: 900; font-size: 1.15rem; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
nav { display: flex; align-items: center; gap: 6px; }
nav a { text-decoration: none; font-weight: 800; color: var(--text); padding: 8px 12px; border-radius: 999px; }
nav a:hover { background: var(--blush-soft); }
nav a.cta { background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-dark); }
nav a.cta:hover { background: var(--red); transform: translateY(1px); box-shadow: 0 3px 0 var(--red-dark); }

/* hero */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: grid; align-items: center;
  background: url("hero.jpg") 65% 40% / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,251,243,.93) 0%, rgba(255,251,243,.6) 30%, rgba(255,251,243,0) 46%);
}
.hero .wrap { position: relative; z-index: 2; padding: 56px 0 80px; }
.hero-copy { max-width: 500px; }
.hero-copy .logo { width: min(400px, 85%); margin: 0 0 8px -6px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.18)); animation: bob 5s ease-in-out infinite; }
.hero-copy h1 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); color: var(--charcoal); margin: 0 0 24px; line-height: 1.35; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: #fff; text-decoration: none;
  padding: 15px 26px; border-radius: 999px; font-weight: 900; font-size: 1.08rem;
  box-shadow: 0 6px 0 var(--red-dark); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(3px); box-shadow: 0 3px 0 var(--red-dark); }
.btn svg { width: 22px; height: 22px; }
.btn.soft { background: #fff; color: var(--green-dark); box-shadow: 0 6px 0 rgba(42,74,57,.25); }
.btn.soft:hover { box-shadow: 0 3px 0 rgba(42,74,57,.25); }
.btn.gold { background: var(--gold-soft); color: var(--charcoal); box-shadow: 0 6px 0 #B98F2E; }

/* sparkles */
.sparkles span {
  position: absolute; width: 14px; height: 14px; z-index: 1;
  background: radial-gradient(circle, #fff 0 30%, rgba(242,193,78,.9) 31% 55%, transparent 60%);
  border-radius: 50%;
  animation: twinkle 3.4s ease-in-out infinite;
}
.sparkles span:nth-child(1) { left: 58%; top: 30%; animation-delay: 0s; }
.sparkles span:nth-child(2) { left: 70%; top: 18%; animation-delay: .8s; width: 10px; height: 10px; }
.sparkles span:nth-child(3) { left: 64%; top: 62%; animation-delay: 1.6s; }
.sparkles span:nth-child(4) { left: 82%; top: 40%; animation-delay: 2.2s; width: 9px; height: 9px; }
.sparkles span:nth-child(5) { left: 52%; top: 76%; animation-delay: 1.1s; width: 11px; height: 11px; }

/* wavy divider */
.wave { display: block; width: 100%; height: 60px; margin-top: -59px; position: relative; z-index: 3; }

section { padding: 76px 0; }
.section-title { text-align: center; margin-bottom: 36px; }
.eyebrow { display: inline-block; background: var(--blush-soft); color: var(--red); font-weight: 900; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--green-dark); margin: 12px 0 10px; line-height: 1.15; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin: 0 auto; }

/* characters */
.chars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.char {
  background: var(--cream); border-radius: var(--radius); padding: 18px 18px 22px; text-align: center;
  box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .25s;
}
.char:hover { transform: translateY(-6px) rotate(-1deg); }
.char:nth-child(even):hover { transform: translateY(-6px) rotate(1deg); }
.char .pic { height: 250px; display: flex; align-items: flex-end; justify-content: center; border-radius: 20px; margin-bottom: 14px; }
.char .pic img { max-height: 240px; width: auto; }
.char.melody .pic { background: linear-gradient(180deg, var(--blush-soft), #fff); }
.char.lilah .pic { background: linear-gradient(180deg, #FFF3D6, #fff); }
.char.mumo .pic { background: linear-gradient(180deg, #E4EFE7, #fff); }
.char.miski .pic { background: linear-gradient(180deg, #FCE9D2, #fff); }
.char h3 { margin: 0 0 4px; color: var(--green-dark); font-size: 1.35rem; }
.char p { margin: 0; color: var(--muted); font-size: .98rem; }
.char .power { display: inline-block; margin-top: 10px; font-size: .82rem; font-weight: 900; padding: 4px 12px; border-radius: 999px; background: var(--ivory); color: var(--red); }

/* watch */
.watch { background: linear-gradient(180deg, var(--sky), var(--ivory)); }
.video {
  display: block; position: relative; max-width: 860px; margin: 0 auto; border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 18px 40px rgba(36,35,33,.22); border: 8px solid #fff;
}
.video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.video:hover img { transform: scale(1.03); }
.video .play {
  position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%;
  background: var(--red); display: grid; place-items: center; box-shadow: 0 8px 0 var(--red-dark), 0 0 0 10px rgba(255,255,255,.5);
  animation: pulse 2.4s ease-in-out infinite;
}
.video .play svg { width: 40px; height: 40px; fill: #fff; margin-left: 6px; }
.video-note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 14px; }

/* quechua words */
.words { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.word-card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow);
  border-top: 10px solid var(--gold);
}
.word-card:nth-child(2) { border-top-color: var(--red); }
.word-card:nth-child(3) { border-top-color: var(--green); }
.word-card .q { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 900; color: var(--red); line-height: 1.1; }
.word-card .q.long { font-size: clamp(1.25rem, 2.2vw, 1.6rem); padding-top: .25em; }
.word-card .say { font-size: .9rem; color: var(--muted); margin: 4px 0 10px; }
.word-card .means { font-size: 1.2rem; font-weight: 900; color: var(--green-dark); }

/* every episode */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); border: 8px solid #fff; transform: rotate(1.5deg); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { display: flex; gap: 14px; margin: 14px 0; align-items: flex-start; }
.ticks .ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: var(--blush-soft); }
.ticks strong { display: block; color: var(--green-dark); }

/* parents */
.parents { background: var(--green-dark); color: var(--ivory); position: relative; }
.parents h2 { color: var(--ivory); }
.parents .lead { color: #E3DCCD; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.trust div { background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.14); border-radius: 22px; padding: 22px 18px; }
.trust .ic { font-size: 1.8rem; }
.trust strong { display: block; margin: 8px 0 4px; color: #fff; font-size: 1.05rem; }
.trust p { margin: 0; color: #D7D0C2; font-size: .95rem; }
.parents a { color: var(--gold-soft); }

/* follow */
.follow { text-align: center; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }
.socials a {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900;
  padding: 14px 22px; border-radius: 999px; background: #fff; color: var(--text); box-shadow: var(--shadow);
  transition: transform .15s;
}
.socials a:hover { transform: translateY(-3px); }
.socials svg { width: 24px; height: 24px; }
.grownups { display: inline-block; margin-top: 18px; color: var(--muted); font-size: .95rem; }

footer { background: var(--charcoal); color: #CFC8BA; padding: 36px 0; font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer a { color: var(--ivory); }

/* legal pages */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h1 { color: var(--green-dark); line-height: 1.2; }
.legal h2 { font-size: 1.35rem; margin-top: 32px; }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 1100px) {
  .hero { background-position: 88% 40%; }
}
@media (max-width: 900px) {
  .chars { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  nav a:not(.cta) { display: none; }
  /* phones: art on top, words below, so nobody is hidden behind text */
  .hero { min-height: 0; display: block; background-color: var(--ivory); background-size: auto 330px; background-position: 78% 0; }
  .hero::before { background: linear-gradient(180deg, rgba(247,241,229,0) 230px, var(--ivory) 330px); }
  .hero .wrap { padding: 250px 0 70px; }
  .hero-copy .logo { width: 260px; }
  .sparkles span { top: auto !important; bottom: auto; }
  .words { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
@media (max-width: 480px) {
  .chars, .trust { grid-template-columns: 1fr; }
  .char .pic { height: 220px; }
}
