@font-face {
  font-family: Jua;
  src: url("assets/launch/jua-latin.woff") format("woff");
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #23203b;
  --ink-soft: #49435a;
  --paper: #fffdf7;
  --coral: #c12c38;
  --purple: #542c89;
  --radius: 30px;
  font-family: Jua, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); line-height: 1; }
:focus-visible { outline: 3px solid #5535a4; outline-offset: 4px; }
.wrap { width: min(1272px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; transform: translateY(-200%); z-index: 10; padding: 12px; background: white; }
.skip:focus { transform: none; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 98px; }
.brand { display: block; flex-shrink: 0; width: 174px; }
.header nav, .footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.header nav a, .footer nav a { text-decoration: none; }
.header nav a:hover, .footer nav a:hover { text-decoration: underline; }
.header nav { margin-left: auto; }
.region-switch:not([hidden]) { display: inline-flex; flex: 0 0 auto; gap: 3px; padding: 3px; border: 1px solid #e4d8fb; border-radius: 100px; background: #f2eafa; }
.region-switch button { min-width: 44px; min-height: 44px; border: 0; border-radius: 100px; cursor: pointer; color: #472479; background: transparent; }
.region-switch button:hover { background: #e8dcff; }
.region-switch button[aria-pressed="true"] { color: white; background: var(--purple); }
.header .nav-worksheets { border: 1px solid #e4d8fb; background: #f2eafa; border-radius: 100px; padding: 12px 19px; color: #472479; }

.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 49% 51%; min-height: 495px; overflow: hidden; border-radius: var(--radius); background: #ffe27a; }
.hero-copy { position: relative; z-index: 1; align-self: center; padding: 52px 0 56px clamp(30px, 5.1vw, 76px); }
.eyebrow { font-size: .93rem; line-height: 1.25; letter-spacing: .085em; text-transform: uppercase; }
.hero .eyebrow { color: #6a3a20; }
.hero h1 { margin: 21px 0 15px; font-size: clamp(3.3rem, 6.35vw, 6.4rem); line-height: .97; letter-spacing: -.047em; }
.hero h1 span { color: var(--coral); }
.hero-copy > p:not(.eyebrow) { max-width: 34ch; color: #423349; font-size: clamp(1.15rem, 1.65vw, 1.32rem); line-height: 1.38; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 23px; border-radius: 100px; background: var(--ink); color: white; text-decoration: none; transition: background .16s ease, transform .16s ease; }
.button:hover { background: #473567; transform: translateY(-2px); }
.button.coral { background: var(--coral); }
.button.coral:hover { background: #9f2335; }
.hero .button { margin-top: 27px; }
.hero-art { position: relative; min-width: 0; }
.halo { position: absolute; inset: auto 4% -24% auto; width: 91%; aspect-ratio: 1; border-radius: 50%; background: #ffeb9f; }
.hero-book { position: absolute; aspect-ratio: 1; object-fit: cover; border-radius: 3px 8px 8px 3px; box-shadow: 8px 13px 0 #d5814950, 0 12px 24px #54330b33; }
.hero-numbers { width: 42%; right: 9%; top: 18%; transform: rotate(12deg); }
.hero-alphabet { width: 47%; right: 35%; top: 16%; transform: rotate(-12deg); }
.hero-teddy { position: absolute; right: 0; bottom: -6%; width: 59%; filter: drop-shadow(0 8px 5px #74421c32); }
.sparkle { display: block; position: absolute; width: 30px; aspect-ratio: 1; background: currentColor; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.star-one { left: 9%; bottom: 25%; color: #fbf8de; width: 46px; }
.star-two { right: 8%; top: 9%; width: 41px; color: #fbf8de; }
.dot { position: absolute; left: 18%; top: 13%; width: 13px; aspect-ratio: 1; background: #dfa549; border-radius: 50%; }

.promotions { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.promo { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 56% 44%; min-height: 305px; border-radius: 25px; }
.ebooks { background: #cdf4e9; }
.audiobooks { background: #e8dcff; }
.promo-copy { z-index: 1; align-self: center; padding: 34px 0 32px clamp(24px, 3.2vw, 46px); }
.promo .eyebrow { margin-bottom: 12px; }
.ebooks .eyebrow { color: #165445; }
.audiobooks .eyebrow { color: var(--purple); }
.promo h2 { font-size: clamp(2.15rem, 3.55vw, 3.35rem); letter-spacing: -.025em; }
.promo-copy > p:not(.eyebrow) { max-width: 24ch; margin-top: 10px; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.35; }
.button.small { min-height: 42px; margin-top: 18px; padding: 8px 17px; font-size: .98rem; }
.promo-art { position: relative; align-self: stretch; }
.reader { position: absolute; width: 76%; top: 18%; right: 16%; transform: rotate(11deg); border-radius: 15px; border: 9px solid #253448; border-bottom-width: 17px; overflow: hidden; box-shadow: 8px 9px 0 #177b6130; }
.reader img { width: 100%; }
.reader-art .sparkle { bottom: 11%; right: 11%; color: #418f7b; }
.listening-art img { position: absolute; width: 65%; top: 34%; filter: drop-shadow(4px 8px 5px #3d226b3b); border-radius: 7px; }
.listening-art .audio-front { right: 22%; transform: rotate(-12deg); }
.listening-art .audio-rear { right: 8%; top: 24%; transform: rotate(13deg); }
.note { position: absolute; top: 15%; left: 12%; font-size: 2.5rem; color: #754ab3; transform: rotate(-14deg); }
.second-note { top: auto; left: auto; bottom: 11%; right: 13%; transform: rotate(12deg); }

.collection { margin: 77px 0 68px; }
.collection-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.collection-head .eyebrow { margin-bottom: 12px; color: var(--purple); }
.collection-head h2, .worksheet-banner h2 { letter-spacing: -.025em; }
.edition { display: grid; gap: 5px; font-size: .93rem; }
.edition select { border: 1px solid #d6cbe6; border-radius: 8px; background: white; min-height: 42px; padding: 5px 9px; }
.formats { display: flex; gap: 6px; flex-wrap: wrap; margin: 22px 0 20px; }
.formats button { border: 1px solid #dfd4ec; background: white; border-radius: 100px; padding: 8px 17px; min-height: 43px; cursor: pointer; }
.formats button:hover { background: #f7f0ff; }
.formats button[aria-selected="true"] { background: var(--purple); color: white; border-color: var(--purple); }
.books { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 19px; }
.book { min-width: 0; display: flex; flex-direction: column; background: white; border: 1px solid #e8dfd7; border-radius: 17px; overflow: hidden; }
.book-image { background: #fff0c6; height: clamp(165px, 18vw, 244px); padding: 20px; display: flex; justify-content: center; align-items: center; }
.numbers .book-image { background: #d9f4ee; }
.colours .book-image { background: #f1e3fd; }
.shapes .book-image { background: #ffe7dc; }
.book-image img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(3px 5px 4px #2a1c3b3a); }
.book h3 { margin: 19px 16px 8px; font-size: 1.23rem; line-height: 1.1; }
.book p { color: var(--ink-soft); line-height: 1.3; margin: 0 16px 15px; }
.book .availability { color: var(--purple); margin: auto 16px 16px; font-size: .94rem; line-height: 1.3; }
.book a.availability { text-decoration: underline; }
.kindle-series:not([hidden]) { display: inline-block; margin-top: 18px; color: var(--purple); }

.worksheet-banner { overflow: hidden; min-height: 308px; border-radius: var(--radius); background: #dbeaff; display: grid; grid-template-columns: 61% 39%; align-items: center; }
.worksheet-banner > div:first-child { padding: 42px clamp(24px, 5vw, 68px); }
.worksheet-banner .eyebrow { color: #274b78; margin-bottom: 12px; }
.worksheet-banner p:not(.eyebrow) { margin: 14px 0 20px; line-height: 1.4; color: var(--ink-soft); max-width: 41ch; font-size: 1.15rem; }
.worksheet-packs { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0 0 20px; color: #274b78; }
.worksheet-packs a { display: inline-flex; align-items: center; min-height: 28px; }
.worksheet-art { position: relative; height: 100%; }
.worksheet-art img, .sheet-back { width: min(41%, 170px); position: absolute; top: 12%; right: 29%; transform: rotate(11deg); border-radius: 4px; box-shadow: 0 6px 12px #315d8f35; }
.sheet-back { height: min(66%, 208px); right: 48%; top: 19%; transform: rotate(-14deg); background: #fff; padding: 20% 7% 0; }
.sheet-back span { display: block; height: 3px; background: #cedef4; margin-bottom: 14px; border-radius: 4px; }
.worksheet-art .sparkle { top: 23%; right: 14%; color: #5179b0; }

.footer { margin-top: 60px; border-top: 1px solid #eae1d7; }
.footer-inner { min-height: 108px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; }
.footer .brand { width: 132px; }
.footer nav { gap: 18px; }
.footer small { color: var(--ink-soft); font-size: .86rem; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 54px); }
  .hero { min-height: 430px; }
  .hero-teddy { bottom: 0; }
  .listening-art .audio-rear { top: 29%; }
  .listening-art .audio-front { top: 37%; }
}
@media (max-width: 810px) {
  .header-inner { display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: 8px 14px; padding-block: 11px 12px; }
  .header .brand { width: 132px; }
  .header nav { grid-column: 1 / -1; margin-left: 0; justify-content: center; gap: 8px 15px; font-size: .94rem; }
  .header nav a { display: inline-flex; align-items: center; min-height: 43px; }
  .header .nav-worksheets { padding: 6px 12px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 33px 22px 12px; }
  .hero h1 { margin: 13px 0 11px; font-size: clamp(3.1rem, 10vw, 5rem); }
  .hero .button { margin-top: 20px; }
  .hero-art { width: min(100%, 450px); justify-self: center; height: clamp(249px, 66vw, 350px); }
  .hero-teddy { right: 2%; width: 56%; bottom: -7%; }
  .hero-numbers, .hero-alphabet { top: 10%; }
  .halo { inset: auto 4% -27% auto; width: 87%; }
  .promotions { grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
  .promo { min-height: 253px; }
  .promo-copy { padding: 23px 0 22px 21px; }
  .reader { width: min(75%, 155px); }
  .listening-art img { width: min(65%, 140px); }
  .collection { margin: 52px 0 46px; }
  .collection-head { flex-wrap: wrap; align-items: start; gap: 13px; }
  .books { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .book-image { height: clamp(144px, 37vw, 205px); padding: 12px; }
  .book h3, .book p, .book .availability { margin-inline: 12px; }
  .worksheet-banner { grid-template-columns: 1fr; }
  .worksheet-banner > div:first-child { padding: 30px 24px 8px; }
  .worksheet-art { height: 190px; width: min(100%, 390px); justify-self: center; }
  .worksheet-art img, .sheet-back { width: 108px; }
  .sheet-back { max-height: 135px; padding-top: 16%; }
  .footer { margin-top: 36px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 24px); }
  .header nav { gap: 4px 10px; }
  .formats button { padding-inline: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

#tt-home { font-family: Jua, sans-serif; color: var(--ink); }
#tt-home a { color: inherit; }
#tt-home a.button { color: white; }
