/* ============================================================
   BOY: TALES OF CHILDHOOD — "The Sweet-Shop" redesign
   Vintage 1920s sweet-shop: cherry stripes, cream paper, mint & butterscotch.
   ============================================================ */
:root {
  --cream: #f7ecd6;
  --cream-2: #efe0bf;
  --paper: #fffaf0;
  --ink: #2b2117;
  --ink-soft: #5b4e3d;
  --choc: #3b2415;
  --choc-2: #52321d;
  --navy: #1c2b3a;
  --navy-2: #26384b;
  --cherry: #c8372d;
  --cherry-dark: #9b261f;
  --rose: #f7d4ce;
  --mint: #3f9e84;
  --mint-light: #dcf0e8;
  --butter: #e9a23b;
  --butter-light: #fcebc8;
  --brass: #a97b24;
  --brass-ink: #7a5a19;
  --oxblood: #8a3030;
  --fjord: #2f6459;
  --line: #e3d3ae;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 8px rgba(59, 36, 21, .1);
  --shadow: 0 14px 30px -14px rgba(59, 36, 21, .45), 0 2px 6px rgba(59, 36, 21, .08);
  --shadow-lg: 0 30px 60px -24px rgba(43, 24, 12, .6);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Karla", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --stripe: repeating-linear-gradient(90deg, var(--cherry) 0 22px, #fff6ea 22px 44px);
  box-sizing: border-box;
}
* { box-sizing: inherit; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink);
  background-color: var(--cream);
  background-image: linear-gradient(rgba(247, 236, 214, .82), rgba(247, 236, 214, .82)), var(--bg-pattern);
  background-size: auto, 300px;
  min-height: 100vh; overflow-x: hidden;
}
h1, h2, h3, h4, .display { font-family: var(--display); font-weight: 800; color: var(--choc); margin: 0; line-height: 1.08; letter-spacing: -.01em; }
a { color: inherit; }
button { font-family: inherit; }
img { max-width: 100%; }
#app { position: relative; z-index: 1; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 640px; }
.section { padding: 26px 0 40px; }

/* floating peppermints */
.sweets-layer { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.mint-sweet {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 16%, transparent 17%), repeating-conic-gradient(var(--cherry) 0 30deg, #fff 30deg 60deg);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8), 0 6px 14px -6px rgba(0, 0, 0, .35);
  opacity: .22; animation: sweetDrift linear infinite;
}
.mint-sweet.green { background: radial-gradient(circle, #fff 0 16%, transparent 17%), repeating-conic-gradient(var(--mint) 0 30deg, #fff 30deg 60deg); }
.mint-sweet.gold { background: radial-gradient(circle, #fff 0 16%, transparent 17%), repeating-conic-gradient(var(--butter) 0 30deg, #fff 30deg 60deg); }
@keyframes sweetDrift { from { transform: translateY(110vh) rotate(0); } to { transform: translateY(-20vh) rotate(720deg); } }

/* ---------- top nav ---------- */
.topnav { position: sticky; top: 0; z-index: 40; background: var(--choc); color: var(--cream); box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .6); }
.topnav::after { content: ""; display: block; height: 7px; background: var(--stripe); }
.topnav-inner { display: flex; align-items: center; gap: 14px; height: 66px; padding-top: env(safe-area-inset-top, 0); }
.brand { display: flex; align-items: center; gap: 10px; background: none; border: 0; color: inherit; padding: 0; cursor: pointer; text-align: left; }
.brand img { width: 50px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); transition: transform .6s var(--bounce); }
.brand:hover img { transform: rotate(-10deg) scale(1.12); }
.brand b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.45rem; line-height: .9; letter-spacing: .02em; }
.brand small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--butter); font-weight: 800; }
.crumbs { font-size: .88rem; color: #e8d6b4; margin-left: 10px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.crumbs button { background: none; border: 0; color: #fff; font: inherit; font-weight: 800; padding: 4px 9px; border-radius: 99px; cursor: pointer; }
.crumbs button:hover { background: rgba(255, 255, 255, .12); }
.crumbs .here { color: var(--butter); font-weight: 800; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-link { background: none; border: 0; color: #e8d6b4; font: inherit; font-weight: 800; font-size: .9rem; padding: 8px 12px; border-radius: 99px; cursor: pointer; }
.nav-link:hover, .nav-link.on { color: #fff; background: rgba(255, 255, 255, .12); }
.week-jump { position: relative; }
.week-jump-menu { position: absolute; right: 0; top: calc(100% + 12px); background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 10px; display: grid; grid-template-columns: repeat(5, 54px); gap: 6px; opacity: 0; transform: translateY(-6px) scale(.97); pointer-events: none; transition: opacity .2s, transform .25s var(--ease); border: 2px solid var(--line); }
.week-jump.open .week-jump-menu { opacity: 1; transform: none; pointer-events: auto; }
.week-jump-menu button { height: 54px; border-radius: 14px; border: 0; background-size: cover; background-position: center; color: #fff; font-family: var(--display); font-weight: 900; font-size: 1.25rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); position: relative; overflow: hidden; cursor: pointer; transition: transform .2s var(--bounce); }
.week-jump-menu button::before { content: ""; position: absolute; inset: 0; background: rgba(59, 36, 21, .35); }
.week-jump-menu button span { position: relative; }
.week-jump-menu button:hover { transform: scale(1.08); }
.week-jump-menu button.current { outline: 3px solid var(--cherry); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--cherry); --t: #fff8ee;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  background: var(--b); color: var(--t); font-family: var(--body); font-weight: 800; font-size: .98rem; line-height: 1.1;
  padding: 12px 22px; border-radius: 999px;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--b) 62%, #000), 0 10px 20px -10px rgba(0, 0, 0, .45);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 color-mix(in srgb, var(--b) 62%, #000), 0 14px 24px -10px rgba(0, 0, 0, .45); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 color-mix(in srgb, var(--b) 62%, #000); }
.btn:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--butter); outline-offset: 3px; }
.btn.ghost { background: var(--paper); color: var(--choc); box-shadow: inset 0 0 0 2px var(--line), 0 3px 0 var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--cherry), 0 5px 0 var(--cherry-dark); }
.btn.mint { --b: var(--mint); }
.btn.butter { --b: var(--butter); --t: #3b2415; }
.btn.choc { --b: var(--choc-2); }
.btn.cream { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
.btn.cream:hover { background: rgba(255, 255, 255, .22); }
.btn.glass { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); backdrop-filter: blur(8px); }
.btn.small { padding: 8px 15px; font-size: .88rem; }
.btn.big { padding: 15px 28px; font-size: 1.08rem; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; }
.btn-icon { height: 1.35em; width: auto; vertical-align: -0.3em; margin: -4px 2px -4px -4px; }
.linklike { background: none; border: 0; padding: 0; margin: 0; color: var(--cherry); font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.lp-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 18px; }
.back-row { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; min-height: min(86vh, 740px); display: flex; align-items: center; background: var(--choc); }
.hero-bg { position: absolute; inset: -40px 0 0; z-index: -2; background-image: var(--hero-img); background-size: cover; background-position: center 60%; animation: kenburns 32s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.2) translate(-2%, -1%); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(43, 24, 12, .9), rgba(43, 24, 12, .55) 50%, rgba(43, 24, 12, .1) 85%), linear-gradient(0deg, rgba(43, 24, 12, .7), transparent 45%); }
.hero-inner { width: 100%; padding-top: 90px; padding-bottom: 120px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--butter-light); background: rgba(255, 255, 255, .1); border: 1px solid rgba(233, 162, 59, .5); padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(6px); }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle, #fff 0 20%, transparent 22%), repeating-conic-gradient(var(--cherry) 0 45deg, #fff 45deg 90deg); animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero h1 { color: #fff; margin: 18px 0 14px; }
.hero h1 .h-boy { display: block; font-size: clamp(5rem, 16vw, 11.5rem); font-weight: 900; line-height: .8; letter-spacing: -.02em; text-shadow: 0 6px 0 var(--cherry), 0 12px 40px rgba(0, 0, 0, .5); }
.hero h1 .h-sub { display: block; font-style: italic; font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.8rem); color: var(--butter-light); margin-top: 18px; }
.hero .lede { font-size: clamp(1.02rem, 1.8vw, 1.2rem); color: #f4e6cc; max-width: 580px; margin: 0 0 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.scallop { position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; z-index: 1; background: radial-gradient(circle at 22px 0, transparent 21px, var(--cream) 22px) 0 0 / 44px 34px repeat-x; }
.hero-sweets span { position: absolute; border-radius: 50%; animation: bobble 6s ease-in-out infinite; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .5); }
@keyframes bobble { 50% { transform: translateY(-16px) rotate(40deg); } }
.hero-badge { position: absolute; right: 7%; bottom: 80px; width: clamp(110px, 13vw, 170px); animation: bobble 7s ease-in-out infinite; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .5)); }

.stats { position: relative; z-index: 3; margin-top: 10px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border: 2px solid var(--line); overflow: hidden; }
.stats > div { text-align: center; padding: 18px; position: relative; }
.stats > div + div::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; border-left: 2px dotted var(--line); }
.stats b { display: block; font-family: var(--display); font-weight: 900; font-size: 2.5rem; line-height: 1; color: var(--cherry); }
.stats > div:nth-child(2) b { color: var(--mint); } .stats > div:nth-child(3) b { color: var(--butter); } .stats > div:nth-child(4) b { color: var(--choc-2); }
.stats span { font-size: .88rem; font-weight: 800; color: var(--ink-soft); }

/* ---------- section heads ---------- */
.section-head > .kicker { flex-basis: 100%; }
.section-head { margin: 56px 0 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.section > .section-head:first-child { margin-top: 12px; }
.section-head .kicker, .kicker { font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cherry); display: flex; align-items: center; gap: 8px; }
.section-head .kicker::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle, #fff 0 18%, transparent 20%), repeating-conic-gradient(var(--cherry) 0 45deg, #fff 45deg 90deg); flex: none; }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin-top: 4px; }
.section-head p { margin: 6px 0 0; color: var(--ink-soft); max-width: 600px; }

/* ---------- week "jar" cards ---------- */
.jars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.jar { position: relative; border: 0; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; background: var(--paper); border-radius: 26px 26px 20px 20px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.jar:hover, .jar:focus-visible { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-lg); outline: none; }
.jar .lid { height: 12px; background: var(--stripe); }
.jar .thumb { height: 120px; position: relative; overflow: hidden; }
.jar .thumb div { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .8s var(--ease); }
.jar:hover .thumb div { transform: scale(1.12); }
.jar .tag { position: absolute; left: 12px; top: 102px; z-index: 2; background: var(--butter-light); color: var(--choc); font-family: var(--display); font-weight: 900; font-size: 1.15rem; padding: 6px 12px 6px 14px; border-radius: 6px 14px 14px 6px; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .4); transform: rotate(-4deg); transition: transform .4s var(--bounce); }
.jar .tag::before { content: ""; position: absolute; left: 5px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--choc); transform: translateY(-50%); }
.jar:hover .tag { transform: rotate(3deg) scale(1.06); }
.jar .visited { position: absolute; right: 10px; top: 10px; z-index: 2; background: var(--mint); color: #fff; font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 99px; }
.jar .body { padding: 30px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.jar h3 { font-size: 1.15rem; line-height: 1.15; flex: 1; }
.jar .go { margin-top: 10px; font-weight: 800; font-size: .86rem; color: var(--cherry); }
.jar .go span { display: inline-block; transition: transform .3s var(--ease); }
.jar:hover .go span { transform: translateX(6px); }

.rhythm { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.rhythm > div { background: var(--paper); border-radius: var(--radius); padding: 18px 12px 16px; text-align: center; border: 2px solid var(--line); box-shadow: var(--shadow-sm); }
.rhythm img { height: 56px; width: auto; max-width: 100%; margin: 0 auto 6px; display: block; }
.rhythm b { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--choc); }
.rhythm span { font-size: .85rem; color: var(--ink-soft); }

.toolkit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .toolkit { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .toolkit { grid-template-columns: 1fr; } }
.tool { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 22px 20px; text-align: left; font: inherit; color: inherit; text-decoration: none; cursor: pointer; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.tool:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow); border-color: var(--cherry); }
.tool img { height: 70px; width: auto; max-width: 110px; object-fit: contain; margin-bottom: 8px; align-self: flex-start; transition: transform .5s var(--bounce); }
.tool:hover img { transform: rotate(-8deg) scale(1.1); }
.tool .emoji { width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; font-size: 2.1rem; background: var(--butter-light); margin-bottom: 8px; }
.tool b { font-family: var(--display); font-size: 1.2rem; color: var(--choc); }
.tool span { font-size: .88rem; color: var(--ink-soft); }

/* ---------- WEEK HERO ---------- */
.week-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; min-height: 430px; display: flex; align-items: flex-end; background: var(--choc); }
.week-hero .bg { position: absolute; inset: -30px 0; z-index: -2; background-size: cover; background-position: center 55%; animation: kenburns 40s ease-in-out infinite alternate; }
.week-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43, 24, 12, .1), rgba(43, 24, 12, .88)), linear-gradient(90deg, rgba(43, 24, 12, .55), transparent 70%); }
.week-hero .wrap { width: 100%; padding-top: 90px; padding-bottom: 70px; position: relative; }
.week-hero h1 { color: #fff; font-size: clamp(2.4rem, 6.5vw, 4.6rem); margin: 14px 0 12px; text-shadow: 0 4px 24px rgba(0, 0, 0, .5); max-width: 900px; }
.week-hero .big-num { position: absolute; right: 24px; bottom: 44px; font-family: var(--display); font-weight: 900; font-size: clamp(6rem, 17vw, 12rem); line-height: .8; color: var(--butter); opacity: .3; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); color: #fff; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }

.signposts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: -20px; position: relative; z-index: 3; }
.signpost { background: var(--paper); border-radius: var(--radius); padding: 22px 24px 22px 92px; position: relative; box-shadow: var(--shadow); border: 2px solid var(--line); }
.signpost img { position: absolute; left: 18px; top: 20px; width: 58px; height: 58px; object-fit: contain; }
.signpost .lbl { font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cherry); }
.signpost:nth-child(2) .lbl { color: var(--mint); }
.signpost p { margin: 4px 0 0; font-weight: 700; color: var(--choc); }

.trail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.trail::before { content: ""; position: absolute; left: 7%; right: 7%; top: 60px; height: 6px; background: var(--stripe); opacity: .35; border-radius: 6px; }
.daycard { position: relative; z-index: 1; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px 14px 18px; text-align: center; cursor: pointer; font: inherit; color: inherit; display: flex; flex-direction: column; align-items: center; box-shadow: var(--shadow-sm); transition: transform .35s var(--bounce), box-shadow .3s, border-color .3s; }
.daycard:hover, .daycard:focus-visible { transform: translateY(-10px) rotate(-1deg); box-shadow: var(--shadow); border-color: var(--cherry); outline: none; }
.daycard .icon { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff, var(--butter-light)); box-shadow: 0 0 0 6px var(--cream), 0 8px 18px -8px rgba(59, 36, 21, .6); margin-bottom: 10px; font-size: 2.2rem; }
.daycard.group .icon { background: radial-gradient(circle at 35% 30%, #fff, var(--mint-light)); }
.daycard.quiz .icon { background: radial-gradient(circle at 35% 30%, #fff, var(--rose)); }
.daycard .icon img { height: 50px; width: auto; max-width: 64px; object-fit: contain; transition: transform .5s var(--bounce); }
.daycard:hover .icon img { transform: scale(1.15) rotate(-6deg); }
.daycard .day { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--choc); }
.daycard .mode { font-size: .74rem; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: var(--butter-light); color: var(--brass-ink); margin: 4px 0 8px; }
.daycard.group .mode { background: var(--mint-light); color: var(--fjord); }
.daycard.quiz .mode { background: var(--rose); color: var(--cherry-dark); }
.daycard .chap { font-size: .86rem; color: var(--ink-soft); flex: 1; }
.codes { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.code { font-size: .68rem; font-weight: 800; background: var(--choc); color: var(--butter-light); padding: 2px 7px; border-radius: 6px; }

.tuckbox { position: relative; padding: 22px; border-radius: 28px; background-image: linear-gradient(rgba(43, 24, 12, .25), rgba(43, 24, 12, .45)), var(--tuckbox-bg); background-size: cover; background-position: center; box-shadow: var(--shadow); }
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.proj { background: var(--paper); border-radius: 20px; padding: 0 0 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); transition: transform .35s var(--ease); }
.proj:hover { transform: translateY(-6px) rotate(.6deg); }
.proj .top { height: 110px; display: grid; place-items: center; background: var(--butter-light); position: relative; font-size: 3rem; }
.proj:nth-child(2) .top { background: var(--mint-light); } .proj:nth-child(3) .top { background: var(--rose); } .proj:nth-child(4) .top { background: #e2e8f0; }
.proj .top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 22px; background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.proj .top img { height: 84px; width: auto; max-width: 150px; object-fit: contain; position: relative; z-index: 1; transition: transform .5s var(--bounce); }
.proj:hover .top img { transform: scale(1.1) rotate(-5deg); }
.proj h3 { font-size: 1.2rem; margin: 2px 18px 6px; }
.proj p { margin: 0 18px; font-size: .9rem; color: var(--ink-soft); }
.proj .num { margin: 4px 18px 0; font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cherry); }

.action-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.action-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--paper); border: 2px solid var(--line); font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.action-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--cherry); }
.action-card img { height: 52px; width: 64px; object-fit: contain; flex: none; }
.action-card b { display: block; font-family: var(--display); font-size: 1.1rem; color: var(--choc); }
.action-card span { font-size: .85rem; color: var(--ink-soft); }

.week-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 50px; }
.week-nav button { flex: 1; max-width: 48%; display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--radius); background: var(--paper); border: 2px solid var(--line); font: inherit; color: inherit; text-align: left; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; }
.week-nav button:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.week-nav button.next { margin-left: auto; flex-direction: row-reverse; text-align: right; }
.week-nav .t { width: 110px; height: 62px; border-radius: 14px; background-size: cover; background-position: center; flex: none; }
.week-nav small { display: block; font-weight: 800; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cherry); }
.week-nav b { font-family: var(--display); font-size: 1.08rem; color: var(--choc); }

/* ---------- DAY PAGES ---------- */
.page-head { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: var(--radius); margin: 24px 0 18px; padding: 28px 30px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; box-shadow: var(--shadow); background: var(--choc); }
.page-head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--stripe); z-index: 1; }
.page-head .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(43, 24, 12, .93), rgba(43, 24, 12, .65) 60%, rgba(43, 24, 12, .3)); }
.page-head .ph-icon { height: 76px; width: 96px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .5)); animation: bobble 5s ease-in-out infinite; flex: none; }
.page-head .ph-emo { font-size: 3.4rem; }
.page-head .ph-text { flex: 1; min-width: 240px; }
.page-head small { font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--butter); }
.page-head h1 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 4px 0; }
.page-head p { margin: 0; color: #f0e2c6; }

.day-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.day-tab { flex: 1 1 150px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: var(--paper); border: 2px solid var(--line); font: inherit; color: inherit; text-align: left; cursor: pointer; transition: transform .25s var(--bounce), border-color .2s, box-shadow .2s; }
.day-tab:hover { transform: translateY(-3px); }
.day-tab img { height: 32px; width: 44px; object-fit: contain; }
.day-tab .emo { font-size: 1.5rem; }
.day-tab b { display: block; font-family: var(--display); font-size: 1.02rem; color: var(--choc); line-height: 1.1; }
.day-tab span { font-size: .76rem; color: var(--ink-soft); }
.day-tab.active { border-color: var(--butter); background: var(--butter-light); box-shadow: 0 8px 18px -10px rgba(169, 123, 36, .9); }
.day-tab.active.group { border-color: var(--mint); background: var(--mint-light); }
.day-tab.active.quiz { border-color: var(--cherry); background: var(--rose); }

.li-strip { display: flex; gap: 14px 28px; flex-wrap: wrap; background: var(--paper); border: 2px solid var(--line); border-left: 8px solid var(--cherry); border-radius: var(--radius-sm); padding: 14px 20px; margin-bottom: 20px; font-size: .94rem; }
.li-strip div { flex: 1; min-width: 260px; }
.li-strip b { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cherry); }
.li-strip div:nth-child(2) b { color: var(--mint); }
.checkpoint { display: flex; gap: 14px; align-items: flex-start; background: var(--choc); color: #f0e2c6; border-radius: var(--radius); padding: 16px 20px; margin-top: 22px; box-shadow: var(--shadow); flex-wrap: wrap; }
.checkpoint .cp-ic { font-size: 1.6rem; }
.checkpoint b { color: var(--butter); font-family: var(--display); font-size: 1.08rem; }
.checkpoint p { margin: 4px 0 0; font-size: .94rem; }
.checkpoint .code { background: var(--butter); color: var(--choc); }
.checkpoint .btn { margin-left: auto; }

/* slideshow */
.stage { position: relative; border-radius: 30px; overflow: hidden; isolation: isolate; min-height: min(70vh, 620px); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); background: var(--choc); }
.stage .sbg { position: absolute; inset: -20px; z-index: -2; background-size: cover; background-position: center; filter: blur(3px) saturate(1.1); transform: scale(1.06); transition: background-position 1.2s var(--ease); }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(43, 24, 12, .3), rgba(43, 24, 12, .85)); }
.stage .progress { position: absolute; top: 0; left: 0; right: 0; height: 8px; background: rgba(255, 255, 255, .15); }
.stage .progress i { display: block; height: 100%; background: var(--stripe); border-radius: 0 8px 8px 0; transition: width .5s var(--ease); }
.stage-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 20px 22px 6px; }
.slide-area { flex: 1; display: grid; place-items: center; padding: 10px 28px 20px; perspective: 1200px; }
.slide-card { width: min(900px, 100%); background: var(--paper); color: var(--ink); border-radius: 28px; padding: 44px 50px 40px; text-align: center; position: relative; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); border: 3px solid #fff; }
.slide-card.enter-next { animation: inR .55s var(--ease) both; }
.slide-card.enter-prev { animation: inL .55s var(--ease) both; }
@keyframes inR { from { opacity: 0; transform: translateX(60px) rotateY(-8deg); } to { opacity: 1; transform: none; } }
@keyframes inL { from { opacity: 0; transform: translateX(-60px) rotateY(8deg); } to { opacity: 1; transform: none; } }
.slide-card .s-icon { height: 100px; width: auto; max-width: 150px; margin: -96px auto 8px; display: block; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .35)); animation: bobble 5s ease-in-out infinite; }
.slide-card .s-kicker { font-weight: 800; font-size: .88rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cherry); }
.slide-card h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); margin: 8px 0 14px; color: var(--choc); }
.slide-card p { font-size: clamp(1.05rem, 2vw, 1.35rem); margin: 8px auto 0; max-width: 720px; }
.slide-card ol { text-align: left; max-width: 740px; margin: 8px auto 0; padding: 0; list-style: none; counter-reset: q; }
.slide-card ol li { counter-increment: q; position: relative; padding: 12px 16px 12px 62px; margin-bottom: 10px; background: var(--cream); border-radius: 16px; font-size: clamp(1.02rem, 1.9vw, 1.28rem); font-weight: 700; color: var(--choc); }
.slide-card ol li::before { content: counter(q); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 900; color: #fff; background: var(--cherry); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--cherry); }
.slide-card .range-pill { display: inline-block; margin-top: 14px; background: var(--butter-light); color: var(--brass-ink); border-radius: 99px; padding: 7px 16px; font-weight: 800; font-size: .92rem; }
.slide-card.title { background: transparent; border: 0; box-shadow: none; color: #fff; }
.slide-card.title h2 { color: #fff; font-size: clamp(2.3rem, 6vw, 4.2rem); text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.slide-card.title .s-kicker { color: var(--butter); }
.slide-card.title .range-pill { background: rgba(255, 255, 255, .15); color: #fff; }
.stage-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px 22px; }
.sdots { display: flex; gap: 8px; }
.sdots button { width: 13px; height: 13px; border: 0; padding: 0; border-radius: 99px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .35s var(--ease), background .3s; }
.sdots button.on { width: 38px; background: var(--butter); }
.stage:fullscreen { border-radius: 0; min-height: 100vh; }
.key-hint { text-align: center; color: var(--ink-soft); font-size: .84rem; margin-top: 12px; }
.key-hint kbd { background: var(--paper); border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 6px; padding: 1px 7px; font-family: inherit; font-weight: 800; }

/* worksheet */
.toggle { display: inline-flex; background: var(--cream-2); border-radius: 999px; padding: 4px; margin: 4px 0 18px; }
.toggle button { background: transparent; color: var(--ink-soft); border: 0; padding: 9px 18px; border-radius: 999px; cursor: pointer; font-weight: 800; font-size: .9rem; transition: all .25s var(--bounce); }
.toggle button.on { background: var(--mint); color: #fff; box-shadow: 0 4px 10px -4px rgba(63, 158, 132, .9); }
.worksheet { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow-sm); }
.worksheet h3 { font-size: 1.12rem; color: var(--cherry); display: flex; align-items: center; gap: 8px; margin: 18px 0 8px; }
.worksheet h3:first-child { margin-top: 0; }
.worksheet .q { margin: 16px 0; }
.worksheet .pq { margin: 16px 0; }
.worksheet .print-opt { margin: 2px 0 2px 18px; font-size: .92rem; }
.worksheet label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--choc); }
.worksheet textarea { width: 100%; min-height: 100px; border: 2px solid var(--line); border-radius: 16px; background-color: #fffdf6; color: var(--ink); font-family: inherit; font-size: 1rem; line-height: 32px; padding: 10px 14px; resize: vertical; background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(200, 55, 45, .16) 31px 32px); background-attachment: local; background-position: 0 9px; transition: border-color .2s, box-shadow .2s; }
.worksheet textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 5px rgba(63, 158, 132, .15); }
.inline-icon { height: 1.5em; width: auto; vertical-align: -0.35em; }
.worksheet h3 img.inline-icon { height: 1.6em; }
.save-note { font-size: .82rem; color: var(--mint); font-weight: 700; margin-top: 8px; }
.print-lines { border-bottom: 1px solid var(--ink-soft); height: 34px; margin-top: 6px; }
.print-only-btn { margin-bottom: 14px; }

/* quiz */
.quiz-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 14px 20px; margin-bottom: 18px; box-shadow: var(--shadow-sm); position: sticky; top: 84px; z-index: 5; }
.quiz-top .count { font-family: var(--display); font-weight: 900; font-size: 1.5rem; color: var(--choc); }
.quiz-top .bar { flex: 1; min-width: 160px; height: 12px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.quiz-top .bar i { display: block; height: 100%; background: var(--stripe); transition: width .4s var(--ease); border-radius: 99px; }
.quiz-q { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px 22px 20px 86px; margin-bottom: 14px; position: relative; box-shadow: var(--shadow-sm); transition: border-color .3s, background .3s; }
.quiz-q .qb { position: absolute; left: 18px; top: 18px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 1.25rem; color: var(--cherry-dark); background: var(--rose); transition: all .35s var(--bounce); }
.quiz-q.answered .qb { background: var(--cherry); color: #fff; transform: rotate(-12deg); }
.quiz-q .num { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-ink); }
.quiz-q p.qtext { margin: 4px 0 12px; font-weight: 700; font-size: 1.06rem; color: var(--choc); }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 2px solid var(--line); background: #fffdf6; cursor: pointer; font-size: .95rem; transition: all .2s var(--ease); }
.opt:hover { border-color: var(--butter); transform: translateY(-2px); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .letter { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-family: var(--display); font-weight: 900; color: var(--ink-soft); transition: all .2s; }
.opt:has(input:checked) { border-color: var(--choc-2); background: var(--butter-light); }
.opt:has(input:checked) .letter { background: var(--choc-2); border-color: var(--choc-2); color: #fff; }
.opt.right { border-color: var(--mint) !important; background: var(--mint-light) !important; }
.opt.right .letter { background: var(--mint) !important; border-color: var(--mint) !important; color: #fff !important; }
.quiz-q.correct { border-color: var(--mint); background: #f4fbf8; }
.quiz-q.incorrect { border-color: var(--cherry); background: #fff6f4; }
.quiz-q.incorrect .opt:has(input:checked) { border-color: var(--cherry); background: var(--rose); }
.quiz-q.incorrect .opt:has(input:checked) .letter { background: var(--cherry); border-color: var(--cherry); }
.quiz-q textarea { width: 100%; min-height: 70px; border: 2px solid var(--line); border-radius: 14px; padding: 10px 14px; font: inherit; background: #fffdf6; }
.quiz-q textarea:focus { outline: none; border-color: var(--mint); }
.reveal-btn { background: none; border: 2px dashed var(--line); color: var(--fjord); border-radius: 99px; padding: 6px 14px; font-size: .84rem; font-weight: 800; cursor: pointer; }
.model { display: none; margin-top: 10px; font-size: .93rem; background: var(--mint-light); border-left: 4px solid var(--mint); padding: 10px 14px; border-radius: 0 12px 12px 0; color: var(--fjord); }
.model.show { display: block; animation: pop .35s var(--bounce); }
.score-banner { background: linear-gradient(135deg, var(--choc), var(--choc-2)); color: #fff; border-radius: var(--radius); padding: 26px 24px; margin-bottom: 16px; text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; animation: pop .6s var(--bounce); }
.score-banner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--stripe); }
.score-banner .big { font-family: var(--display); font-weight: 900; font-size: 3rem; color: var(--butter); line-height: 1; display: block; margin: 6px 0; }
@keyframes pop { from { transform: scale(.88); opacity: 0; } to { transform: none; opacity: 1; } }
.badge-row { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 14px 0 18px; }
.badge-row img { width: 140px; height: 140px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); animation: spinIn 1s var(--bounce) both; }
@keyframes spinIn { from { transform: scale(0) rotate(-180deg); } to { transform: none; } }
.badge-row .badge-text { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--choc); max-width: 280px; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; overflow: hidden; }
.confetti i { position: absolute; top: -30px; border-radius: 50%; animation: fall 3s ease-in forwards; background: radial-gradient(circle, #fff 0 16%, transparent 18%), repeating-conic-gradient(var(--c) 0 45deg, #fff 45deg 90deg); }
@keyframes fall { to { transform: translate3d(var(--dx), 110vh, 0) rotate(var(--r)); } }

/* week 10 */
.feature { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: 30px; min-height: 300px; display: flex; align-items: flex-end; padding: 30px; box-shadow: var(--shadow-lg); margin-bottom: 22px; background: var(--choc); }
.feature .fbg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1.2s var(--ease); }
.feature:hover .fbg { transform: scale(1.05); }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 10%, rgba(43, 24, 12, .92)); }
.feature .fin { display: flex; gap: 20px; align-items: flex-end; flex-wrap: wrap; }
.feature .fin img { width: 110px; height: 110px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); }
.feature small { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--butter); }
.feature h3 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 2px 0 6px; }
.feature p { margin: 0; color: #f0e2c6; max-width: 720px; }
.checklist { display: flex; flex-direction: column; gap: 10px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 16px; border: 2px solid var(--line); background: #fffdf6; cursor: pointer; font-size: .98rem; transition: all .25s var(--ease); }
.check-item input { width: 22px; height: 22px; accent-color: var(--mint); margin-top: 1px; flex: none; }
.check-item.done { border-color: var(--mint); background: var(--mint-light); }
.check-item.done span { text-decoration: line-through; text-decoration-color: rgba(47, 100, 89, .5); }
.progress-line { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 800; color: var(--choc); }
.progress-line .bar { flex: 1; height: 12px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.progress-line .bar i { display: block; height: 100%; background: var(--mint); border-radius: 99px; transition: width .4s var(--ease); }
.rubric-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.rubric-list li { background: var(--paper); border: 2px solid var(--line); border-left: 6px solid var(--mint); border-radius: 12px; padding: 10px 14px; font-size: .92rem; }
.rubric-list li b { color: var(--fjord); }

/* ---------- RUBRIC ---------- */
.rubric-legend { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; font-size: .88rem; font-weight: 700; color: var(--ink-soft); margin: 10px 0; }
.rubric-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rubric-add { display: flex; gap: 10px; align-items: center; margin: 14px 0 12px; flex-wrap: wrap; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-sm); }
.rubric-add input { flex: 1; min-width: 200px; padding: 11px 16px; border: 2px solid var(--line); border-radius: 999px; font: inherit; background: #fffdf6; color: var(--ink); }
.rubric-add input:focus { outline: none; border-color: var(--cherry); }
.rubric-scroll { overflow-x: auto; margin-top: 10px; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper); border: 2px solid var(--line); }
.rubric-table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 640px; background: var(--paper); }
.rubric-table th, .rubric-table td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 10px 12px; font-size: .88rem; vertical-align: top; text-align: left; }
.rubric-table thead th { background: var(--choc); color: var(--cream); font-family: var(--display); font-size: .98rem; position: sticky; top: 0; }
.rubric-table thead th:first-child { left: 0; z-index: 2; }
.rubric-crit { min-width: 250px; position: sticky; left: 0; background: var(--paper); z-index: 1; }
.rcode { display: block; font-weight: 800; color: var(--cherry); font-size: .9rem; font-family: var(--display); }
.rdesc { display: block; color: var(--ink-soft); font-size: .83rem; margin-top: 3px; }
.rweeks { display: block; font-size: .74rem; color: var(--brass-ink); margin-top: 5px; font-weight: 800; }
.rubric-cell { cursor: pointer; text-align: center !important; min-width: 96px; vertical-align: middle !important; transition: background .2s; }
.rubric-cell:hover { background: var(--butter-light); }
.rmark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 2px dashed var(--line); font-weight: 900; transition: transform .3s var(--bounce); }
.rubric-cell:hover .rmark { transform: scale(1.12); }
.rmark.achieved { background: var(--mint); color: #fff; border: 2px solid var(--mint); box-shadow: 0 4px 10px -4px rgba(63, 158, 132, .9); }
.rmark.excelled { background: radial-gradient(circle, transparent 0 55%, rgba(255, 255, 255, .25) 56%), var(--butter); color: #fff; border: 2px solid var(--butter); box-shadow: 0 4px 10px -4px rgba(233, 162, 59, .9); }
.rubric-cell.lvl1 { background: rgba(63, 158, 132, .08); }
.rubric-cell.lvl2 { background: rgba(233, 162, 59, .12); }
.rubric-guide td { font-size: .86rem; max-width: 260px; }
.rubric-guide td:nth-child(2) { background: #fdf2ef; } .rubric-guide td:nth-child(3) { background: #f1f9f5; } .rubric-guide td:nth-child(4) { background: #fef6e6; }
.rm-btn { background: rgba(255, 255, 255, .15); border: 0; color: inherit; cursor: pointer; font-size: .72rem; margin-left: 6px; border-radius: 50%; width: 20px; height: 20px; }
.rm-btn:hover { background: var(--cherry); }

/* ---------- lesson plan (printable) ---------- */
.lp { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 14px 0 22px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.lp::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--stripe); }
.lp-head h3 { font-size: 1.2rem; }
.lp-meta { font-size: .84rem; color: var(--ink-soft); margin: 2px 0 12px; }
.lp-row { margin: 12px 0; font-size: .94rem; }
.lp-row > strong { color: var(--cherry); }
.lp-row ul { margin: 6px 0 0 18px; padding: 0; }
.lp-timing { border-collapse: collapse; margin-top: 6px; }
.lp-timing td { border: 1px solid var(--line); padding: 5px 12px; font-size: .86rem; }
.lp-rubric-note { background: var(--mint-light); border-left: 4px solid var(--mint); padding: 10px 14px; border-radius: 0 12px 12px 0; }
.rtag { display: inline-block; background: var(--fjord); color: #fff; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 10px; margin: 8px 6px 0 0; }
.wp-cover { text-align: center; padding: 18px 0 22px; border-bottom: 4px solid transparent; border-image: var(--stripe) 1; margin-bottom: 14px; }
.wp-cover h3 { font-size: 1.5rem; }
.wp-day-title { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--cherry); margin: 22px 0 4px; border-bottom: 2px dotted var(--line); padding-bottom: 6px; }
.wp-opts { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin: 14px 0 22px; font-size: .92rem; font-weight: 700; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.wp-opts label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.wp-opts input { width: 18px; height: 18px; accent-color: var(--cherry); }

/* ---------- workbook / teacher book previews ---------- */
.wb-doc { max-width: 794px; margin: 0 auto 40px; padding: 0 12px; position: relative; z-index: 1; }
.wb-sec { background: #fff; color: #1b1b1b; border: 1px solid var(--line); box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .45); padding: 30px 34px; margin: 0 0 26px; border-radius: 6px; font-size: .95rem; position: relative; }
.wb-sec::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--stripe); border-radius: 6px 6px 0 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.wb-cover::before, .wb-cert::before { display: none; }
.wb-sec h2 { color: var(--choc); font-size: 1.5rem; margin: 4px 0 8px; }
.wb-sec h3 { color: var(--cherry); font-size: 1.05rem; margin: 16px 0 4px; }
.wb-sec p { margin: 6px 0; }
.wb-kick { display: inline-block; color: #fff; background: var(--cherry); font-weight: 800; font-size: .7rem; letter-spacing: .1em; padding: 3px 10px; border-radius: 99px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.wb-ln { border-bottom: 1px solid #b8a98c; height: 9mm; }
.wb-box { border: 1px solid #e3d3ae; border-left: 5px solid var(--mint); background: #f7fbf8; padding: 10px 14px; margin: 10px 0; border-radius: 6px; }
.wb-box b { color: var(--fjord); font-size: .75rem; letter-spacing: .06em; }
.wb-check { display: flex; gap: 14px; flex-wrap: wrap; font-size: .86rem; margin: 4px 0 8px; font-weight: 700; }
.wb-proj { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0; }
.wb-proj div { border: 1px solid #e3d3ae; border-radius: 10px; padding: 8px 12px; font-size: .86rem; break-inside: avoid; background: #fffcf4; }
.wb-proj b { display: block; color: var(--cherry); }
.wb-rubric-table .wb-rtick { width: 22mm; text-align: center; font-size: 1rem; }
.wb-q { break-inside: avoid; margin: 12px 0; }
.wb-opt { margin: 2px 0 2px 18px; font-size: .9rem; }
.wb-cover { container-type: inline-size; position: relative; padding: 0; overflow: hidden; border-radius: 6px; }
.wb-cover img { display: block; width: 100%; height: auto; }
.wb-title { position: absolute; left: 19%; width: 62%; top: 13.6%; height: 16.5%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #3b2612; line-height: 1; font-family: var(--display); }
.wb-title b { font-size: 12cqw; font-weight: 900; letter-spacing: .04em; }
.wb-title i { font-size: 5cqw; font-weight: 600; margin-top: .4cqw; }
.wb-title span { font-family: var(--body); font-size: 2cqw; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; color: #7a5a19; margin-top: 1.6cqw; }
.wb-name { position: absolute; left: 23.5%; top: 84.4%; font-family: var(--body); font-size: 2.3cqw; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: #7a5a19; }
.rs { border-collapse: collapse; width: 100%; font-size: .8rem; margin-top: 6px; }
.rs th, .rs td { border: 1px solid #e3d3ae; padding: 3px 8px; text-align: left; vertical-align: middle; }
.rs thead th { background: #fcebc8; color: #7a5a19; font-size: .72rem; letter-spacing: .04em; }
.rs tr.wk td { background: var(--choc); color: #f7ecd6; font-family: var(--display); font-weight: 700; padding: 4px 8px; border-color: var(--choc); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.rs tr.wk td span { float: right; font-family: var(--body); font-size: .72rem; font-weight: 800; color: var(--butter); }
.rs tr { break-inside: avoid; }
.rs .d { width: 17mm; font-weight: 800; }
.rs .by { width: 24mm; font-size: .75rem; }
.rs .pp { width: 28mm; color: #8a7d68; font-size: .75rem; }
.rs .ok { width: 10mm; text-align: center; }
.rs small { display: block; color: #5b4e3d; font-size: .72rem; line-height: 1.25; }

/* certificate */
.certificate { border-radius: 10px; padding: 118px 78px 96px; text-align: center; background: #fff; max-width: 680px; margin: 26px auto; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.cert-ribbon {
  position: absolute; top: 4.4%; left: 50%; transform: translateX(-50%); width: 58%; text-align: center;
  font-family: var(--display); font-weight: 800; color: var(--choc); font-size: clamp(.6rem, 1.5vw, 1.05rem); letter-spacing: .01em; line-height: 1.15;
}
.cert-kicker { letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; color: #7a5a19; font-weight: 800; }
.cert-title { font-family: var(--display); font-weight: 900; font-size: 2rem; color: var(--cherry-dark); margin: 6px 0 20px; }
.cert-line { color: #5b4e3d; max-width: 460px; margin: 8px auto; }
.cert-name { font-family: var(--display); font-style: italic; font-size: 1.4rem; color: #2b2117; margin: 20px auto; border-bottom: 1px solid #d9c79e; padding-bottom: 8px; max-width: 400px; min-height: 1.6em; outline: none; cursor: text; }
.cert-name:focus { background: rgba(200,55,45,.08); }
.cert-row { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; margin-top: 22px; font-size: .85rem; color: #5b4e3d; }
.wb-cert .certificate { margin: 0; max-width: none; box-shadow: none; }

/* ---------- footer ---------- */
footer { position: relative; z-index: 1; margin-top: 30px; background: var(--choc); color: #e8d6b4; text-align: center; padding: 30px 20px 40px; font-size: .88rem; border-radius: 36px 36px 0 0; }
footer::before { content: ""; display: block; height: 7px; background: var(--stripe); margin: -30px -20px 24px; border-radius: 36px 36px 0 0; }
footer img { width: 64px; height: 44px; object-fit: contain; margin: 0 auto 6px; display: block; }
footer b { color: #fff; }

/* ---------- motion helpers ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.static .reveal { opacity: 1; transform: none; transition: none; }
.enter { animation: pageIn .5s var(--ease) both; }
.static .enter { animation: none; }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) { .jars { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } }
@media (max-width: 980px) {
  .trail { grid-template-columns: repeat(3, 1fr); } .trail::before { display: none; }
  .rhythm { grid-template-columns: repeat(3, 1fr); }
  .quiz-top { top: 74px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; } .wrap { padding: 0 16px; }
  .brand small, .crumbs { display: none; } .topnav-inner { height: 58px; }
  .stats { grid-template-columns: repeat(2, 1fr); } .stats > div:nth-child(3)::before { display: none; }
  .signposts { grid-template-columns: 1fr; }
  .trail, .rhythm { grid-template-columns: repeat(2, 1fr); }
  .opts { grid-template-columns: 1fr; }
  .slide-card { padding: 34px 20px 26px; } .slide-card .s-icon { height: 76px; margin-top: -70px; }
  .stage-nav { padding: 12px 14px 16px; } .stage-nav .btn { padding: 10px 14px; }
  .sdots { gap: 5px; } .sdots button { width: 8px; height: 8px; } .sdots button.on { width: 20px; }
  .slide-area { padding: 10px 14px 16px; }
  .week-nav .t { display: none; }
  .quiz-q { padding: 70px 16px 18px; }
  .hero-badge { display: none; }
  .hero-ctas .btn { flex: 1; }
  .page-head { padding: 24px 18px; } .page-head .ph-icon { height: 56px; width: 70px; }
  .wb-sec { padding: 22px 18px; }
  .wb-proj { grid-template-columns: 1fr; }
  .certificate { padding: 70px 34px 60px; }
  .quiz-top { position: static; }
  .hero-sweets { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .sweets-layer { display: none; } .reveal { opacity: 1; transform: none; }
}

/* ---------- print ---------- */
@media print {
  .topnav, .hero, .week-hero, .page-head, .day-tabs, .li-strip, .checkpoint, .section-head, .toggle, .print-only-btn, .progress, .no-print, .back-row, .sweets-layer, footer, .quiz-top, .confetti, .stage, .key-hint { display: none !important; }
  body { background: #fff !important; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .worksheet { border: none; padding: 0; box-shadow: none; }
  .lp, .wp-cover { border: none; padding: 0; box-shadow: none; }
  .lp::before { display: none; }
  .wp-section { break-after: page; } .wp-section:last-of-type { break-after: auto; }
  .rubric-scroll { box-shadow: none; border: 0; overflow: visible; }
  .rubric-table thead th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rubric-crit { position: static; }
  .wb-doc { max-width: none; margin: 0; padding: 0; }
  .wb-sec { border: none; box-shadow: none; padding: 0; margin: 0; border-radius: 0; break-before: page; font-size: 11pt; }
  .wb-sec::before { display: none; }
  .wb-cover { width: 210mm; height: 297mm; break-before: auto; break-after: page; }
  .wb-cover img { height: 100%; object-fit: cover; }
  .certificate { -webkit-print-color-adjust: exact; print-color-adjust: exact; box-shadow: none; }
}

.poster-feature { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 40px; align-items: center; margin: 56px 0 8px; }
.poster-feature .poster-img { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(59,36,21,.35); transform: rotate(-1.5deg); transition: transform .3s; }
.poster-feature .poster-img:hover { transform: rotate(0) scale(1.02); }
.poster-feature img { display: block; width: 100%; height: auto; }
.poster-text h2 { font-family: var(--display); color: var(--choc); margin: 6px 0 12px; font-size: clamp(26px, 3.4vw, 38px); }
.poster-text p { max-width: 56ch; line-height: 1.6; color: var(--ink-soft); }
.poster-text .hero-ctas { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.poster-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(59,36,21,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; cursor: zoom-out; }
.poster-lightbox img { max-height: 84vh; max-width: 92vw; border-radius: 12px; box-shadow: 0 20px 80px rgba(0,0,0,.6); }
@media (max-width: 720px) { .poster-feature { grid-template-columns: 1fr; justify-items: center; text-align: center; } .poster-feature .poster-img { max-width: 300px; } }

/* ---------- Teacher Book: marking guide, exemplars, class record sheets ---------- */
.tb-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0; }
.tb-lvl { border: 1px solid #e3d3ae; border-top: 5px solid; border-radius: 6px; padding: 8px 10px; font-size: .82rem; }
.tb-lvl b { display: flex; align-items: center; gap: 6px; font-size: .9rem; }
.tb-lvl b span, .tb-legend i { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 18px; border-radius: 4px; color: #fff; font-style: normal; font-size: .62rem; font-weight: 800; padding: 0 3px; }
.tb-lvl p { margin: 4px 0 0; }
.tb-lvl.na { border-top-color: #c8372d; background: #fdf2ef; } .tb-lvl.na b span, .tb-legend i.na { background: #c8372d; }
.tb-lvl.a { border-top-color: #3f9e84; background: #f1f9f5; } .tb-lvl.a b span, .tb-legend i.a { background: #3f9e84; }
.tb-lvl.e { border-top-color: #d99a1f; background: #fef6e6; } .tb-lvl.e b span, .tb-legend i.e { background: #d99a1f; }
.tb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 12px; }
.tb-steps div { border: 1px solid #e3d3ae; border-radius: 6px; padding: 8px 10px; font-size: .82rem; background: #fffaf0; }
.tb-steps b { display: block; color: var(--cherry-dark); margin-bottom: 2px; }
.tb-glance { border-collapse: collapse; width: 100%; font-size: .7rem; line-height: 1.3; margin-top: 8px; }
.tb-glance th, .tb-glance td { border: 1px solid #e3d3ae; padding: 3px 5px; vertical-align: top; text-align: left; }
.tb-glance td.c { width: 20mm; }
.tb-glance thead th { background: #fcebc8; color: #7a5a19; font-size: .72rem; }
.tb-glance thead th.na, .tb-glance td.na { background: #fdf2ef; } .tb-glance thead th.a, .tb-glance td.a { background: #f1f9f5; } .tb-glance thead th.e, .tb-glance td.e { background: #fef6e6; }
.tb-glance td.c b { display: block; color: var(--cherry-dark); font-size: .9rem; }
.tb-glance td.c span { display: block; font-size: .72rem; color: #6b5e4a; font-weight: 700; }
.tb-glance tr { break-inside: avoid; }
.tb-glance .eg { display: block; margin-top: 4px; font-size: .72rem; font-style: italic; color: #4a5a52; }
.tb-opts { font-size: .88rem; margin: 4px 0 8px; padding-left: 20px; }
.tb-crit { border: 1px solid #e3d3ae; border-radius: 8px; margin: 12px 0; overflow: hidden; break-inside: avoid; }
.tb-crit-head { display: flex; align-items: center; gap: 12px; background: #fcebc8; padding: 8px 12px; }
.tb-code { background: var(--cherry); color: #fff; font-weight: 800; border-radius: 8px; padding: 6px 10px; font-size: 1.05rem; }
.tb-crit-k { font-family: var(--display); font-weight: 800; color: var(--choc); font-size: 1rem; }
.tb-crit-t { font-size: .78rem; color: #5b4e3d; }
.tb-ask { padding: 7px 12px; font-size: .84rem; background: #fffdf6; border-bottom: 1px solid #efe3c4; }
.tb-ask span { font-weight: 800; color: var(--fjord); }
.tb-ex { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 12px; }
.tb-ex > div { border-radius: 6px; padding: 7px 9px; font-size: .78rem; border: 1px solid; }
.tb-ex b { display: block; font-size: .68rem; letter-spacing: .04em; margin-bottom: 3px; }
.tb-ex q { quotes: none; font-style: italic; line-height: 1.4; display: block; }
.tb-ex .na { background: #fdf2ef; border-color: #f2c7bf; } .tb-ex .a { background: #f1f9f5; border-color: #bfe0d1; } .tb-ex .e { background: #fef6e6; border-color: #f0d79b; }
.tb-foot { display: flex; justify-content: space-between; gap: 12px; padding: 6px 12px; font-size: .72rem; color: #5b4e3d; background: #faf3e0; border-top: 1px solid #efe3c4; }
.tb-sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tb-sheet-head h2 { margin: 6px 0 2px; } .tb-sheet-head p { margin: 0; font-size: .8rem; color: #5b4e3d; }
.tb-fields { font-size: .8rem; font-weight: 700; display: flex; align-items: flex-end; gap: 6px; padding-top: 8px; white-space: nowrap; }
.tb-fields .fl { display: inline-block; min-width: 38mm; border-bottom: 1px solid #333; height: 1em; } .tb-fields .fl.s { min-width: 18mm; }
.tb-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: .72rem; margin: 8px 0; color: #5b4e3d; }
.tb-legend span { display: inline-flex; align-items: center; gap: 5px; }
.tb-legend i.ws { background: #2f6459; } .tb-legend i.qz { background: #9b261f; } .tb-legend i.pr { background: #3f9e84; } .tb-legend i.pt { background: #1c2b3a; } .tb-legend i.c { background: #d99a1f; }
.tb-rec { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: .62rem; }
.tb-rec th, .tb-rec td { border: 1px solid #b9a77c; text-align: center; padding: 0; }
.tb-rec thead th { background: #fcebc8; color: #5b4300; font-weight: 800; padding: 2px 0; line-height: 1.1; }
.tb-rec thead th.nm, .tb-rec td.nm { text-align: left; padding-left: 4px; }
.tb-rec thead th .cn { display: block; font-size: .5rem; font-weight: 700; color: #7a5a19; white-space: normal; padding: 0 1px; }
.tb-rec tr.sub th { font-size: .52rem; padding: 1px 0; color: #fff; }
.tb-rec tr.sub th.na { background: #c8372d; } .tb-rec tr.sub th.a { background: #3f9e84; } .tb-rec tr.sub th.e { background: #d99a1f; }
.tb-rec tr.sub th:not(.na):not(.a):not(.e) { background: #6b5e4a; }
.tb-rec .sep { border-left: 2px solid #5b4300; }
.tb-rec tbody tr { height: 11.5mm; } .tb-rec td.num { font-weight: 800; color: #7a5a19; font-size: .65rem; }
.tb-rec .bx { display: inline-block; width: 3.4mm; height: 3.4mm; border: 1.2px solid #4a4a4a; border-radius: 2px; background: #fff; }
.tb-trk .bx { width: 3.2mm; height: 3.2mm; }
.tb-sheet-foot { display: flex; justify-content: space-between; gap: 10px; font-size: .68rem; color: #6b5e4a; margin-top: 6px; }
@media (max-width: 640px) { .tb-levels, .tb-steps, .tb-ex { grid-template-columns: 1fr; } .tb-rec { font-size: .55rem; } }
@media print {
  .tb-lvl, .tb-glance th, .tb-glance td, .tb-crit-head, .tb-code, .tb-ex > div, .tb-rec th, .tb-legend i, .tb-lvl b span, .tb-steps div, .tb-ask, .tb-foot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .tb-sheet { break-inside: avoid; }
}
