/* RightKids Reading Centre
   Colour logic borrowed from the reading kit itself:
   consonants are blue tiles, vowels are red tiles, word parts are orange. */

:root {
  --ink: #1e1b4b;
  --ink-soft: #4b4a72;
  --blue: #1553b6;
  --blue-deep: #0d3a87;
  --tile: #3a86ff;
  --red: #ef476f;
  --orange: #ff8c1a;
  --sun: #ffd23f;
  --purple: #8b5cf6;
  --pink: #ff7eb6;
  --mint: #e3f9ef;
  --lemon: #fff6d6;
  --lilac: #f1ebff;
  --peach: #ffeadb;
  --teal: #18c0d6;
  --green: #22b36b;
  --paper: #fffaf1;
  --cream: #fff1dc;
  --sky: #e6f3ff;
  --board: #6e786b;
  --line: #ecdfca;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(19, 35, 74, .35);
  --serif: "Baloo 2", "Fraunces", system-ui, sans-serif;
  --logo: "Fraunces", Georgia, serif;
  --hand: "Caveat", cursive;
  --sans: "Lexend", system-ui, sans-serif;
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 800; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--orange);
  display: inline-flex; align-items: center; gap: .55em;
  padding: .9em 1.5em; border-radius: 999px; border: 0;
  background: var(--bg); color: #fff; font: 500 1rem/1 var(--sans);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 5px 0 color-mix(in srgb, var(--bg) 70%, #000), 0 14px 24px -12px var(--bg);
  transition: transform .25s var(--ease-spring), box-shadow .25s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 0 color-mix(in srgb, var(--bg) 70%, #000), 0 20px 28px -14px var(--bg); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 color-mix(in srgb, var(--bg) 70%, #000); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn.blue { --bg: var(--blue); }
.btn.green { --bg: var(--green); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); background: var(--ink); color: #fff; }
.btn.small { padding: .7em 1.1em; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1.1em;
}
.eyebrow::before { content: ""; width: 18px; height: 18px; border-radius: 4px; background: var(--tile); box-shadow: 6px 6px 0 -2px var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 6px 30px -18px rgba(19,35,74,.35); background: color-mix(in srgb, #fff 92%, transparent); }
.nav { display: flex; align-items: center; gap: 24px; height: 78px; }
.nav-links { display: flex; gap: 6px; margin: 0 auto; padding: 0; list-style: none; }
.nav-links a {
  position: relative; display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 400; font-size: .97rem; transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--sky); color: var(--blue); }
.nav-links a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 6px; height: 6px; border-radius: 2px;
  background: var(--orange); transform: translateX(-50%) rotate(45deg);
}
.nav-cta { display: flex; gap: 10px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--sky); cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-book { width: 52px; height: 40px; overflow: visible; }
.logo-book .spark { transform-box: fill-box; transform-origin: center; animation: twinkle 2.6s ease-in-out infinite; }
.logo-book .spark.s2 { animation-delay: 1.1s; }
.logo-word { display: grid; line-height: 1; }
.logo-word b { font: 800 1.6rem/1 var(--logo); letter-spacing: -.02em; }
.logo-word .r { color: var(--blue); }
.logo-word .k { color: var(--orange); }
.logo-word small { font: 400 .62rem/1 var(--sans); color: var(--ink); margin-top: 4px; letter-spacing: .02em; text-align: right; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.55) rotate(45deg); opacity: .6; } }

/* ---------- Letter tiles (shared) ---------- */
.tile {
  --c: var(--tile);
  display: inline-grid; place-items: center;
  min-width: 1.6em; height: 1.6em; padding: 0 .28em;
  background: var(--c); color: #fff;
  font: 500 1em/1 var(--sans);
  border: .12em solid #fffdf8; border-radius: .16em;
  box-shadow: 0 .06em 0 #d9d1c1, 0 .25em .5em -.1em rgba(0,0,0,.3);
}
.tile.v { --c: var(--red); }
.tile.m { --c: var(--orange); }
.tile.root { --c: var(--blue-deep); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 60px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px;
  border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-size: .9rem; font-weight: 500; margin-bottom: 26px;
}
.pill .tile { font-size: .72rem; }
.hero h1 { font-size: clamp(2.4rem, 4.3vw, 3.75rem); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease-out) forwards; animation-delay: calc(.15s + var(--i) * .16s); }
.hero h1 .c-blue { color: var(--blue); }
.hero h1 .c-orange { color: var(--orange); position: relative; }
.scribble { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.scribble path { stroke: var(--sun); stroke-width: 9; fill: none; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.1s 1.2s var(--ease-out) forwards; }
.hero .sub { font: 500 1.22rem/1.5 var(--sans); color: var(--blue); margin: 20px 0 14px; }
.hero .intro { color: var(--ink-soft); max-width: 56ch; }
.hero .fade { opacity: 0; animation: fadeUp .9s var(--ease-out) forwards; animation-delay: calc(.7s + var(--i, 0) * .12s); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .92rem; font-weight: 400; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 22px; height: 22px; flex-shrink: 0; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* drifting letters behind hero */
.drift { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.drift span {
  position: absolute; font: 700 var(--s, 40px)/1 var(--serif); color: var(--c, var(--tile)); opacity: .09;
  animation: drift var(--t, 18s) ease-in-out infinite alternate; animation-delay: var(--d, 0s);
}
@keyframes drift { from { transform: translate(0, 0) rotate(-8deg); } to { transform: translate(var(--x, 30px), var(--y, -40px)) rotate(10deg); } }

/* the magnetic board motion graphic */
.board-wrap { position: relative; }
.board {
  position: relative; aspect-ratio: 1 / .92; border-radius: 30px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.12), transparent 50%),
    radial-gradient(#7c8679 1px, transparent 1.6px) 0 0 / 7px 7px,
    var(--board);
  box-shadow: inset 0 0 0 10px #f6efe1, inset 0 0 0 12px #d9cdb4, 0 40px 70px -30px rgba(19,35,74,.6);
  display: grid; place-items: center; overflow: hidden;
  transform: rotate(-2deg);
  animation: boardIn 1.2s .3s var(--ease-spring) both;
}
@keyframes boardIn { from { opacity: 0; transform: rotate(-8deg) scale(.85) translateY(40px); } }
.board-stage { position: relative; display: grid; justify-items: center; gap: 18px; width: 100%; padding: 0 6%; }
.board-sounds, .board-row { display: flex; justify-content: center; gap: var(--gap, 26px); transition: gap .7s var(--ease-spring); }
.board-row { font-size: clamp(2.6rem, 6.4vw, 4.8rem); }
.board-row .tile { animation: tileIn .65s var(--ease-spring) both; animation-delay: calc(var(--i) * .18s); }
.board-row.out .tile { animation: tileOut .5s ease-in both; animation-delay: calc(var(--i) * .07s); }
.board-row.joined { --gap: 4px; }
.board-sounds { font: 500 1rem/1 var(--sans); color: #fff; min-height: 2em; }
.board-sounds span {
  display: grid; place-items: center; min-width: 4.4em; padding: .55em .7em; border-radius: 999px;
  background: rgba(255,255,255,.16); border: 1.5px dashed rgba(255,255,255,.5);
  animation: popIn .5s var(--ease-spring) both; animation-delay: calc(.5s + var(--i) * .18s);
}
.board-sounds.gone span { animation: fadeOut .3s both; }
.board-word {
  font: 700 1.5rem/1 var(--serif); color: var(--sun); min-height: 1.2em; letter-spacing: .02em;
  opacity: 0; transform: translateY(10px); transition: .5s var(--ease-out);
}
.board-word.show { opacity: 1; transform: none; }
.board-caption {
  position: absolute; left: -18px; bottom: 26px; z-index: 3;
  background: #fff; border-radius: 18px; padding: 12px 18px 12px 14px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; font-weight: 500; transform: rotate(2deg);
}
.board-caption .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--sky); }
.board-caption .dot svg { width: 20px; height: 20px; }
.board-caption small { display: block; font-weight: 300; font-size: .78rem; color: var(--ink-soft); }
.board-caption .cap-text { transition: opacity .3s; }
.board-legend {
  position: absolute; right: -10px; top: 22px; z-index: 3; transform: rotate(3deg);
  background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow);
  display: grid; gap: 6px; font-size: .78rem;
}
.board-legend div { display: flex; align-items: center; gap: 8px; }
.board-legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--tile); }
.board-legend i.v { background: var(--red); }
.board-legend i.m { background: var(--orange); }
.spark-float { position: absolute; z-index: 3; width: 28px; color: var(--sun); animation: floaty 4s ease-in-out infinite; }
.spark-float.t { color: var(--teal); width: 20px; animation-delay: -2s; }
@keyframes floaty { 50% { transform: translateY(-12px) rotate(20deg) scale(1.15); } }
@keyframes tileIn { from { opacity: 0; transform: translateY(-120px) rotate(-25deg) scale(.6); } }
@keyframes tileOut { to { opacity: 0; transform: translateY(160px) rotate(30deg); } }
@keyframes popIn { from { opacity: 0; transform: scale(.4) translateY(10px); } }
@keyframes fadeOut { to { opacity: 0; transform: translateY(-8px); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.section.tight { padding: 80px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.bg-cream { background: var(--cream); }
.bg-sky { background: var(--sky); }
.bg-ink { background: var(--ink); color: #f3f6ff; }
.bg-ink .lead, .bg-ink p { color: #c9d3ec; }
.wave-top { position: absolute; left: 0; right: 0; top: -1px; height: 60px; width: 100%; }
.wave-bottom { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; width: 100%; }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.9); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Number tiles ---------- */
.stats { margin-top: -50px; position: relative; z-index: 3; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  --c: var(--tile);
  background: var(--c); color: #fff; border-radius: 18px; padding: 26px 22px 22px;
  border: 7px solid #fffdf8; box-shadow: 0 4px 0 #e2d8c4, var(--shadow);
  transition: transform .4s var(--ease-spring);
}
.stat:nth-child(2) { --c: var(--red); }
.stat:nth-child(3) { --c: var(--blue-deep); }
.stat:nth-child(4) { --c: var(--orange); }
.stat:hover { transform: translateY(-6px) rotate(-1.5deg); }
.stat b { display: block; font: 800 3.4rem/1 var(--serif); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat span { font-size: .95rem; line-height: 1.4; display: block; opacity: .95; }

/* ---------- Why it matters: reading cycle ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.big-fact { display: flex; align-items: baseline; gap: 14px; margin: 26px 0; padding: 20px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.big-fact b { font: 800 2.8rem/1 var(--serif); color: var(--blue); }
.big-fact span { font-size: .95rem; color: var(--ink-soft); line-height: 1.45; }
.source { font-size: .76rem; color: var(--ink-soft); opacity: .85; border-left: 3px solid var(--line); padding-left: 12px; margin-top: 22px; }
.cycle { position: relative; width: min(470px, 100%); aspect-ratio: 1; margin-inline: auto; }
.cycle-ring { position: absolute; inset: 12%; border-radius: 50%; border: 3px dashed #c6d6ee; }
.cycle-spin { position: absolute; inset: 12%; animation: spin 12s linear infinite; }
.cycle-spin::before {
  content: ""; position: absolute; left: 50%; top: -11px; width: 20px; height: 20px; margin-left: -10px;
  border-radius: 6px; background: var(--orange); box-shadow: 0 0 0 6px rgba(244,124,32,.2);
}
.cycle-core {
  position: absolute; inset: 34%; border-radius: 50%; background: #fff; box-shadow: var(--shadow);
  display: grid; place-items: center; text-align: center; padding: 10px;
}
.cycle-core svg { width: 46%; margin: 0 auto 4px; }
.cycle-core b { font: 700 .92rem/1.15 var(--serif); color: var(--blue); }
.cycle-node {
  position: absolute; width: 33%; padding: 10px 12px; border-radius: 16px; background: #fff;
  box-shadow: var(--shadow); font-size: .86rem; line-height: 1.3; font-weight: 400; text-align: center;
  animation: nodePulse 12s linear infinite; animation-delay: var(--dl);
}
.cycle-node b { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--blue); margin-bottom: 2px; }
.cycle-node.n1 { top: 0; left: 33.5%; }
.cycle-node.n2 { right: 0; top: 41%; }
.cycle-node.n3 { bottom: 0; left: 33.5%; }
.cycle-node.n4 { left: 0; top: 41%; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes nodePulse { 0%, 6% { transform: scale(1.08); box-shadow: 0 0 0 4px var(--orange), var(--shadow); } 14%, 100% { transform: scale(1); } }

/* ---------- Approach: layers of English ---------- */
.approach-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; margin-bottom: 70px; }
.word-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; padding: 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.word-grid i { aspect-ratio: 1; border-radius: 4px; background: #e6edf7; transform: scale(0); transition: transform .5s var(--ease-spring), background .4s; transition-delay: calc(var(--n) * 12ms); }
.in .word-grid i { transform: scale(1); }
.word-grid i.a { background: var(--tile); }
.word-grid i.b { background: var(--teal); }
.word-grid i.c { background: var(--red); }
.grid-legend { grid-column: 1 / -1; display: grid; gap: 6px; margin-top: 12px; font-size: .84rem; }
.grid-legend div { display: flex; gap: 10px; align-items: center; }
.grid-legend span { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
.grid-note { grid-column: 1 / -1; font-size: .7rem; color: var(--ink-soft); margin-top: 4px; }

.layers { display: grid; gap: 18px; counter-reset: layer; }
.layer {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center;
  background: #fff; border-radius: 26px; padding: 34px 40px; box-shadow: var(--shadow);
  margin-left: calc(var(--k) * 4%); margin-right: calc((3 - var(--k)) * 4%);
  position: relative; overflow: hidden;
}
.layer::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--lc, var(--tile));
}
.layer-num { font: 800 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--lc, var(--tile)); margin-bottom: 10px; display: block; }
.layer h3 { font-size: 1.6rem; margin-bottom: .35em; }
.layer h3 small { font: 400 .9rem/1 var(--sans); color: var(--ink-soft); display: block; margin-top: 6px; }
.layer p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.demo { min-height: 150px; border-radius: 18px; background: var(--paper); display: grid; place-items: center; padding: 22px; position: relative; }
.demo-label { position: absolute; top: 10px; left: 14px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* sounds demo */
.sound-demo { display: flex; gap: 14px; align-items: flex-end; }
.sound-demo .unit { display: grid; justify-items: center; gap: 10px; }
.sound-demo .bars { display: flex; gap: 3px; align-items: center; height: 48px; }
.sound-demo .bars i { width: 5px; border-radius: 4px; background: var(--c, var(--tile)); height: 30%; animation: eq 1.8s ease-in-out infinite; animation-delay: calc(var(--u) * .6s + var(--b) * .07s); }
.sound-demo .ph { font: 600 1.1rem/1 var(--sans); color: var(--c, var(--tile)); }
@keyframes eq { 0%, 40%, 100% { height: 18%; } 15% { height: 100%; } 25% { height: 55%; } }

/* letters demo */
.spell-demo { display: grid; gap: 10px; width: 100%; max-width: 320px; }
.spell-demo .row { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; background: #fff; font-size: 1.15rem; animation: rowGlow 4.5s infinite; animation-delay: calc(var(--r) * 1.5s); }
.spell-demo .row em { font-style: normal; color: #fff; background: var(--red); padding: 0 .3em; border-radius: 6px; font-weight: 500; }
.spell-demo .row small { margin-left: auto; font-size: .78rem; color: var(--ink-soft); }
.spell-demo .head { font-weight: 500; text-align: center; color: var(--ink-soft); font-size: .9rem; }
@keyframes rowGlow { 0%, 30% { box-shadow: 0 0 0 2px var(--red); transform: translateX(6px); } 34%, 100% { box-shadow: 0 0 0 0 transparent; transform: none; } }

/* morphology demo */
.morph-demo { display: grid; justify-items: center; gap: 12px; font-size: 1.7rem; }
.morph-row { display: flex; align-items: center; gap: 4px; min-height: 1.8em; }
.morph-row .tile { transition: transform .5s var(--ease-spring), opacity .4s, max-width .5s; }
.morph-row .slot { display: inline-flex; overflow: hidden; max-width: 0; opacity: 0; transition: max-width .55s var(--ease-out), opacity .4s; }
.morph-row .slot.on { max-width: 6em; opacity: 1; }
.morph-gloss { font: 400 .9rem/1.3 var(--sans); color: var(--ink-soft); min-height: 1.3em; text-align: center; transition: opacity .3s; }
.morph-gloss b { color: var(--orange); }

/* sentence demo */
.sent-demo { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sent-demo span { display: grid; justify-items: center; gap: 6px; font-size: 1.15rem; font-weight: 500; opacity: 0; transform: translateY(-20px); }
.in .sent-demo span { animation: snap .6s var(--ease-spring) forwards; animation-delay: calc(.3s + var(--w) * .22s); }
.sent-demo span em { font-style: normal; padding: .2em .55em; border-radius: 10px; background: var(--pc); color: #fff; }
.sent-demo span small { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 400; }
@keyframes snap { to { opacity: 1; transform: none; } }

.method-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.mcard { background: var(--ink); color: #eef2ff; border-radius: 26px; padding: 34px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
.mcard p { margin: 0; color: #c9d3ec; font-size: .98rem; }
.mcard h3 { color: #fff; }
.mcard .icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.mcard .icon svg { width: 38px; height: 38px; }
.senses { display: flex; gap: 6px; margin-top: 14px; }
.senses span { font-size: .72rem; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.1); animation: blink 3.2s infinite; animation-delay: calc(var(--s) * .8s); }
@keyframes blink { 0%, 22% { background: var(--orange); color: #fff; } 28%, 100% { background: rgba(255,255,255,.1); } }

/* ---------- Five strands ---------- */
.strands-svg { width: 100%; height: auto; margin: 0 auto 30px; overflow: visible; }
.strands-svg path.s { fill: none; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.4s var(--ease-out); transition-delay: calc(var(--i) * .18s); }
.in .strands-svg path.s { stroke-dashoffset: 0; }
.strands-svg .end { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: .7s 2.2s var(--ease-spring); }
.in .strands-svg .end { opacity: 1; transform: scale(1); }
.strands-svg text { font: 500 15px var(--sans); fill: var(--ink); }
.strand-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.strand { background: #fff; border-radius: 20px; padding: 22px 20px; box-shadow: var(--shadow); border-top: 6px solid var(--sc); transition: transform .4s var(--ease-spring); }
.strand:hover { transform: translateY(-6px); }
.strand h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.strand h3 i { width: 12px; height: 12px; border-radius: 4px; background: var(--sc); }
.strand p { font-size: .9rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* ---------- Inside a class ---------- */
.gallery { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 18px; }
.gallery figure { margin: 0; position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: #ddd; }
.gallery figure:first-child { grid-row: span 2; }
.gallery figure:nth-child(4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.94);
  font-size: .9rem; font-weight: 500; transform: translateY(6px); transition: transform .4s var(--ease-out);
}
.gallery figure:hover figcaption { transform: none; }
.gallery figcaption .tile { font-size: .66rem; }

/* ---------- OG method ---------- */
.og-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.og-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; margin-bottom: 26px; }
.og-steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 46px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); }
.og-progress { position: absolute; left: 12%; top: 46px; height: 4px; border-radius: 4px; background: var(--orange); width: 0; transition: width .8s var(--ease-out); }
.og-step { position: relative; display: grid; justify-items: center; gap: 12px; text-align: center; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.og-step .ring { width: 92px; height: 92px; border-radius: 28px; display: grid; place-items: center; background: #1d3266; border: 3px solid transparent; transition: .45s var(--ease-spring); }
.og-step .ring svg { width: 46px; height: 46px; }
.og-step b { font: 700 1.25rem/1 var(--serif); }
.og-step.active .ring { background: var(--orange); transform: translateY(-8px) rotate(-6deg) scale(1.06); box-shadow: 0 16px 30px -12px var(--orange); }
.og-screen {
  border-radius: 26px; background: var(--board); min-height: 230px; display: grid; place-items: center; text-align: center;
  box-shadow: inset 0 0 0 8px #f6efe1, 0 30px 50px -28px rgba(0,0,0,.6); position: relative; overflow: hidden; padding: 30px;
  background-image: radial-gradient(#7c8679 1px, transparent 1.6px); background-size: 7px 7px;
}
.og-screen .scene { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; opacity: 0; transform: scale(.94); transition: .5s var(--ease-out); padding: 20px; }
.og-screen .scene.on { opacity: 1; transform: none; }
.og-screen .scene p { margin: 0; color: #fff; font-weight: 400; font-size: .98rem; }
.og-screen .big { font-size: 3.6rem; display: flex; gap: 6px; }
.bubble { font: 700 2.4rem/1 var(--serif); color: var(--ink); background: #fff; padding: .3em .6em; border-radius: 26px 26px 26px 6px; }
.waves { display: flex; gap: 8px; align-items: center; height: 70px; }
.waves i { width: 8px; border-radius: 6px; background: var(--sun); animation: eq 1.1s ease-in-out infinite; animation-delay: calc(var(--b) * .09s); }
.og-screen .scene.on .big .tile { animation: tileIn .6s var(--ease-spring) both; animation-delay: calc(var(--i) * .2s); }
.principles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding: 0; list-style: none; }
.principles li { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .9rem; border: 1px solid rgba(255,255,255,.18); }
.og-copy p { color: #c9d3ec; }
.og-copy h2 { color: #fff; }

/* ---------- Video ---------- */
.video-card { position: relative; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); background: #000; aspect-ratio: 16 / 9; }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-cover { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: none; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .5s; filter: saturate(1.05) brightness(.82); }
.video-cover:hover img { transform: scale(1.04); filter: saturate(1.1) brightness(.72); }
.play {
  position: absolute; left: 50%; top: 50%; width: 104px; height: 104px; margin: -52px 0 0 -52px;
  border-radius: 50%; background: var(--orange); display: grid; place-items: center; color: #fff;
}
.play::before, .play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--orange); animation: ripple 2.4s ease-out infinite; }
.play::after { animation-delay: 1.2s; }
.play svg { width: 40px; margin-left: 6px; }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.video-meta { position: absolute; left: 22px; bottom: 20px; color: #fff; font-weight: 500; display: flex; gap: 10px; align-items: center; font-size: .95rem; text-shadow: 0 1px 8px rgba(0,0,0,.4); pointer-events: none; }
.video-placeholder {
  position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 2 / 1; max-width: 960px; margin-inline: auto; display: grid; place-items: center; text-align: center;
  background: var(--board); background-image: radial-gradient(#7c8679 1px, transparent 1.6px); background-size: 7px 7px;
  box-shadow: inset 0 0 0 10px #f6efe1, var(--shadow); color: #fff; padding: 30px;
}
.video-placeholder .play { position: relative; left: auto; top: auto; margin: 0 auto 22px; opacity: .95; }
.video-placeholder b { display: block; margin-bottom: 8px; font: 700 clamp(1.3rem, 2.6vw, 1.9rem)/1.2 var(--serif); }
.video-placeholder span { font-size: .95rem; color: #e4e9e2; }
.video-placeholder .reel { position: absolute; top: 26px; left: 0; right: 0; display: flex; gap: 14px; justify-content: center; opacity: .3; font-size: 1.3rem; }
.video-caption { max-width: 760px; margin: 22px auto 0; text-align: center; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Programmes ---------- */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: end; }
.level {
  background: #fff; border-radius: 28px; padding: 30px; box-shadow: var(--shadow); position: relative;
  transition: transform .5s var(--ease-spring); text-decoration: none; display: block;
}
.level:hover { transform: translateY(-10px); }
.level .num { font: 800 3.2rem/1 var(--serif); color: var(--lv); opacity: .9; }
.level .grade { display: inline-block; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--lv) 14%, #fff); color: var(--lv); font-size: .82rem; font-weight: 600; margin: 10px 0 12px; }
.level p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.books { display: flex; flex-direction: column-reverse; align-items: center; gap: 3px; height: 110px; justify-content: flex-start; margin-bottom: 18px; }
.books i { display: block; height: 22px; border-radius: 5px; background: var(--bc); width: var(--bw); box-shadow: inset 0 -5px 0 rgba(0,0,0,.12), inset 10px 0 0 rgba(255,255,255,.25); transform-origin: bottom; transform: scaleY(0) translateY(-40px); opacity: 0; transition: .6s var(--ease-spring); transition-delay: calc(.2s + var(--j) * .18s); }
.in .books i, .books.in i { transform: none; opacity: 1; }
.level:hover .books i { animation: wobble .6s var(--ease-spring); animation-delay: calc(var(--j) * .06s); }
@keyframes wobble { 40% { transform: translateY(-6px) rotate(-3deg); } }

/* ---------- Kit ---------- */
.kit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.kit { background: #fff; border-radius: 24px; padding: 26px; box-shadow: var(--shadow); transition: transform .45s var(--ease-spring); }
.kit:hover { transform: translateY(-8px) rotate(-1deg); }
.kit .art { height: 120px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 16px; background: var(--paper); }
.kit .art svg { height: 88px; width: auto; transition: transform .6s var(--ease-spring); }
.kit:hover .art svg { transform: scale(1.1) rotate(4deg); }
.kit h3 { font-size: 1.15rem; }
.kit p { font-size: .9rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* interactive word builder */
.builder { margin-top: 50px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; background: #fff; border-radius: 30px; padding: 40px; box-shadow: var(--shadow); }
.builder h3 { font-size: 1.8rem; }
.builder p { color: var(--ink-soft); }
.wb-board {
  border-radius: 22px; padding: 26px 20px; background: var(--board);
  background-image: radial-gradient(#7c8679 1px, transparent 1.6px); background-size: 7px 7px;
  box-shadow: inset 0 0 0 8px #f6efe1; position: relative;
}
.wb-slots { display: flex; gap: 8px; justify-content: center; min-height: 92px; align-items: center; font-size: 3rem; padding: 6px; border-radius: 16px; border: 2px dashed rgba(255,255,255,.35); margin-bottom: 18px; }
.wb-slots .hint { font: 400 .95rem var(--sans); color: rgba(255,255,255,.8); }
.wb-slots .tile { cursor: pointer; animation: tileIn .45s var(--ease-spring); }
.wb-tray { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
.wb-tray button { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; transition: transform .25s var(--ease-spring); }
.wb-tray button:hover { transform: translateY(-5px) rotate(-4deg); }
.wb-tray button:active { transform: scale(.9); }
.wb-tray .tile { font-size: 1em; }
.wb-status { min-height: 1.7em; margin-top: 16px; text-align: center; color: #fff; font-weight: 500; }
.wb-status b { color: var(--sun); font-family: var(--serif); font-size: 1.25em; }
.wb-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.burst { position: absolute; width: 14px; height: 14px; pointer-events: none; z-index: 5; animation: burst .9s var(--ease-out) forwards; }
@keyframes burst { from { transform: translate(0, 0) scale(1) rotate(0); opacity: 1; } to { transform: translate(var(--bx), var(--by)) scale(.2) rotate(240deg); opacity: 0; } }
.wb-slots.win { animation: win .6s var(--ease-spring); }
@keyframes win { 40% { transform: scale(1.06); } }

/* ---------- Small by design ---------- */
.small-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.table-art { position: relative; aspect-ratio: 1; width: min(440px, 100%); margin-inline: auto; }
.table-art .table { position: absolute; inset: 26%; border-radius: 40px; background: #e7c79e; box-shadow: inset 0 -10px 0 #d2ad7f, var(--shadow); display: grid; place-items: center; text-align: center; }
.table-art .table b { font: 800 3rem/1 var(--serif); color: var(--ink); display: block; }
.table-art .table span { font-size: .85rem; }
.seat { position: absolute; width: 15%; aspect-ratio: 1; border-radius: 30%; background: var(--tile); display: grid; place-items: center; color: #fff; font: 600 .8rem var(--sans); transform: scale(0); transition: transform .5s var(--ease-spring); transition-delay: calc(var(--n) * 90ms); box-shadow: 0 6px 0 rgba(0,0,0,.12); }
.seat.v { background: var(--red); }
.seat.t { background: var(--orange); width: 19%; border-radius: 50%; }
.in .seat { transform: scale(1); }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.points li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; background: #fff; padding: 18px 20px; border-radius: 20px; box-shadow: var(--shadow); }
.points .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); }
.points .ico svg { width: 26px; height: 26px; }
.points b { display: block; font-family: var(--serif); font-size: 1.08rem; margin-bottom: 2px; }
.points p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* ---------- Founder ---------- */
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.photo-frame { position: relative; }
.photo-frame img { border-radius: 30px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); transform: rotate(-2.5deg); }
.photo-frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 30px; background: var(--tile); z-index: -1; transform: rotate(2deg); }
.sticker {
  position: absolute; right: -22px; top: 36px; background: var(--orange); color: #fff; border: 6px solid #fffdf8;
  border-radius: 14px; padding: 12px 16px; text-align: center; box-shadow: var(--shadow); transform: rotate(6deg);
  animation: floaty 5s ease-in-out infinite;
}
.sticker b { display: block; font: 800 1.8rem/1 var(--serif); }
.sticker span { font-size: .72rem; line-height: 1.2; display: block; }
blockquote.quote { margin: 34px 0 26px; font: italic 500 clamp(1.3rem, 2.3vw, 1.75rem)/1.4 var(--serif); color: var(--blue); position: relative; padding-top: 34px; }
blockquote.quote::before { content: "\201C"; position: absolute; top: -26px; left: -6px; font: 800 6rem/1 var(--serif); color: var(--orange); opacity: .35; }
.quote-by { font-weight: 500; margin-bottom: 20px; display: block; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.creds li { font-size: .82rem; padding: 6px 12px; border-radius: 999px; background: var(--sky); color: var(--blue); font-weight: 500; }

/* ---------- CTA ---------- */
.cta { padding: 120px 0; text-align: center; overflow: hidden; background: var(--blue); color: #fff; }
.cta h2 { color: #fff; max-width: 820px; margin-inline: auto; }
.cta p { max-width: 640px; margin: 0 auto 32px; color: #dbe6ff; font-size: 1.08rem; }
.cta .btn-row { justify-content: center; }
.cta .btn.ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.cta .btn.ghost:hover { background: #fff; color: var(--blue); }
.cta-tiles { display: flex; justify-content: center; gap: 10px; font-size: 3.4rem; margin-bottom: 34px; }
.cta-tiles .tile { animation: bob 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * .18s); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-16px) rotate(-6deg); } 55% { transform: translateY(0) rotate(0); } }
.cta-float { position: absolute; font: 800 9rem/1 var(--serif); color: rgba(255,255,255,.05); pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9d3ec; padding: 70px 0 30px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer .logo-word .r { color: #7fb0ff; }
.site-footer .logo-word small { color: #c9d3ec; }
.site-footer h4 { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(37,168,90,.7);
  transition: transform .3s var(--ease-spring);
}
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 70px 0 80px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 18ch; }
.page-hero .lead, .page-hero p { max-width: 70ch; }
.page-hero .hero-tiles { position: absolute; right: 4%; top: 50px; font-size: 2.4rem; display: grid; grid-template-columns: repeat(3, auto); gap: 8px; transform: rotate(6deg); opacity: .95; }
.page-hero .hero-tiles .tile { animation: tileIn .7s var(--ease-spring) both; animation-delay: calc(.3s + var(--i) * .12s); }

.level-detail { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; padding: 50px; background: #fff; border-radius: 32px; box-shadow: var(--shadow); margin-bottom: 30px; scroll-margin-top: 100px; position: relative; overflow: hidden; }
.level-detail::after { content: attr(data-n); position: absolute; right: -10px; top: -40px; font: 800 12rem/1 var(--serif); color: var(--lv); opacity: .07; pointer-events: none; }
.level-detail .grade { display: inline-block; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--lv) 14%, #fff); color: var(--lv); font-size: .85rem; font-weight: 600; margin-bottom: 14px; }
.level-detail h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.level-detail .who { background: var(--paper); border-radius: 18px; padding: 18px 20px; font-size: .95rem; }
.level-detail .who b { display: block; font-family: var(--serif); margin-bottom: 4px; color: var(--lv); }
.learn-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.learn-list li { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; color: var(--ink-soft); }
.learn-list li:last-child { border: 0; }
.learn-list b { color: var(--ink); font-family: var(--serif); font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.learn-list b i { width: 10px; height: 10px; border-radius: 3px; background: var(--sc); flex-shrink: 0; }

.week { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.day { background: #fff; border-radius: 26px; padding: 30px; box-shadow: var(--shadow); }
.day h3 { display: flex; align-items: center; gap: 12px; }
.day h3 .tile { font-size: .9rem; }
.day ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.day li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; font-size: .95rem; }
.day li::before { content: counter(s); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--sky); color: var(--blue); font-weight: 600; }
.note { font-size: .82rem; color: var(--ink-soft); font-style: italic; }

.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-card { background: #fff; border-radius: 26px; padding: 32px; box-shadow: var(--shadow); }

/* story */
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.story-photo { position: sticky; top: 110px; }
.story-photo figcaption { margin-top: 34px; font-weight: 500; text-align: center; }
.story-body p { font-size: 1.06rem; color: var(--ink-soft); }
.story-body h2 { margin-top: 1.2em; }
.holmes { margin: 40px 0; padding: 34px 36px; border-radius: 26px; background: var(--ink); color: #fff; font: italic 500 1.35rem/1.5 var(--serif); position: relative; }
.holmes cite { display: block; margin-top: 14px; font: normal 400 .85rem/1.4 var(--sans); color: #c9d3ec; }
.timeline { list-style: none; padding: 0; margin: 40px 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 3px; background: var(--line); border-radius: 3px; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 12px 0; position: relative; }
.timeline .yr { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--tile); color: #fff; font: 700 .95rem var(--sans); border: 5px solid #fffdf8; box-shadow: var(--shadow); z-index: 1; }
.timeline li:nth-child(2) .yr { background: var(--red); }
.timeline li:nth-child(3) .yr { background: var(--blue-deep); }
.timeline li:nth-child(4) .yr { background: var(--orange); }
.timeline b { font-family: var(--serif); font-size: 1.15rem; display: block; margin-top: 6px; }
.timeline p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.motto { font: 600 1.4rem/1.4 var(--serif); color: var(--blue); padding: 26px 0; border-top: 2px dashed var(--line); border-bottom: 2px dashed var(--line); margin: 30px 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.details { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }
.details li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; background: #fff; padding: 16px 18px; border-radius: 20px; box-shadow: var(--shadow); }
.details .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); }
.details .ico svg { width: 24px; height: 24px; }
.details small { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.details a, .details span { font-weight: 500; text-decoration: none; }
.form-card { background: #fff; border-radius: 30px; padding: 40px; box-shadow: var(--shadow); scroll-margin-top: 100px; position: relative; overflow: hidden; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .88rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--sans); color: var(--ink); padding: 13px 15px; border-radius: 14px;
  border: 2px solid var(--line); background: var(--paper); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--tile); background: #fff; box-shadow: 0 0 0 4px rgba(42,134,217,.15); }
.field textarea { min-height: 110px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radios { display: flex; gap: 10px; }
.radios label { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--line); cursor: pointer; font-weight: 400; }
.radios input { width: auto; accent-color: var(--orange); }
.form-card .btn { margin-top: 24px; }
.thanks { position: absolute; inset: 0; background: #fff; display: grid; place-items: center; text-align: center; padding: 40px; opacity: 0; pointer-events: none; transition: opacity .5s; }
.thanks.show { opacity: 1; pointer-events: auto; }
.thanks .big-tiles { font-size: 2.6rem; display: flex; gap: 6px; justify-content: center; margin-bottom: 20px; }
.thanks.show .big-tiles .tile { animation: tileIn .6s var(--ease-spring) both; animation-delay: calc(var(--i) * .15s); }
.map-link { display: inline-flex; gap: 6px; font-size: .85rem; color: var(--blue); font-weight: 500; }

/* blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { background: #fff; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post .cover { height: 170px; display: grid; place-items: center; font-size: 2.4rem; background: var(--pc); gap: 6px; grid-auto-flow: column; justify-content: center; }
.post .body { padding: 26px; flex: 1; }
.post .tag { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.post h3 { margin: 10px 0; font-size: 1.3rem; }
.post p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.soon { display: inline-block; margin-top: 14px; font-size: .8rem; padding: 5px 12px; border-radius: 999px; background: var(--cream); font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-cta .btn span { display: none; }
  .strand-list { grid-template-columns: repeat(3, 1fr); }
  .kit-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .menu-btn { display: block; }
  .nav-links, .nav-cta { display: none; }
  .menu-open .nav-links {
    display: grid; position: absolute; left: 12px; right: 12px; top: 78px; background: #fff; border-radius: 22px;
    padding: 14px; box-shadow: var(--shadow); gap: 4px; animation: fadeUp .35s var(--ease-out);
  }
  .menu-open .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
  .menu-open .nav-cta { display: flex; position: absolute; left: 24px; right: 24px; top: calc(78px + 300px); }
  .hero { padding: 30px 0 80px; }
  .hero-grid, .why-grid, .approach-top, .og-grid, .small-grid, .founder-grid, .builder, .story-grid, .contact-grid, .level-detail { grid-template-columns: 1fr; gap: 44px; }
  .board-wrap { max-width: 520px; width: 100%; margin-inline: auto; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat b { font-size: 2.6rem; }
  .layer { grid-template-columns: 1fr; margin: 0; padding: 28px 24px; gap: 22px; }
  .method-cards, .levels, .week, .info-cards, .post-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 200px 200px; }
  .gallery figure:first-child { grid-row: auto; grid-column: span 2; }
  .gallery figure:nth-child(4) { grid-column: span 2; }
  .section { padding: 80px 0; }
  .story-photo { position: relative; top: 0; max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero .hero-tiles { display: none; }
  .level-detail { padding: 30px 24px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .strand-list, .kit-grid { grid-template-columns: 1fr; }
  .og-steps { gap: 6px; }
  .og-step .ring { width: 64px; height: 64px; border-radius: 20px; }
  .og-step .ring svg { width: 32px; height: 32px; }
  .og-steps::before, .og-progress { top: 32px; }
  .board-caption { left: 4px; bottom: -18px; }
  .board-legend { right: 4px; top: -14px; }
  .mcard { grid-template-columns: 1fr; padding: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card, .builder { padding: 26px 20px; }
  .learn-list li { grid-template-columns: 1fr; gap: 4px; }
  .cta-tiles { font-size: 2.4rem; }
  .sticker { right: 6px; }
  .photo-frame::before { inset: 12px -8px -12px 12px; }
  .cycle-node { font-size: .74rem; padding: 8px; }
  .cycle-node b { font-size: .9rem; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .gallery figure:first-child, .gallery figure:nth-child(4) { grid-column: auto; }
  .timeline li { grid-template-columns: 56px 1fr; }
  .timeline .yr { width: 56px; height: 56px; font-size: .85rem; }
  .timeline::before { left: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
