/* Shades of Brilliant: site styles. Fonts are Fredoka and Andika (SIL Open Font License), served from this site. */
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/fredoka-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/fredoka-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Andika'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/andika-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Andika'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/andika-latin-700-normal.woff2) format('woff2'); }

:root {
  --ink: #2A2140; --muted: #5A5270; --paper: #FBF8FF; --surface: #FFFFFF; --line: #E5DEF5;
  --sun: #FFC93C; --sun-soft: #FFF1C2; --mint: #5ED1AE; --mint-soft: #D5F5EA;
  --lav: #A994F5; --lav-soft: #E9E2FD; --coral-soft: #FFE1D7; --pink-soft: #FFE3EA; --sky: #CBE4FF;
  --link: #5B3FD6; --focus: #2F7DE1;
  --display: 'Fredoka', 'Andika', ui-rounded, system-ui, sans-serif;
  --body: 'Andika', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 22px; --gutter: 16px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); font-size: 1.125rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; }
.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(900px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--sun); color: var(--ink); font-weight: 700; padding: .6em 1em; border: 3px solid var(--ink); border-radius: 12px; }
.skip:focus { left: 12px; top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .95); border-bottom: 2px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 70px; }
.brand { display: block; min-width: 0; }
.brand img { display: block; height: 38px; width: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none; padding: .45em .85em; border-radius: 999px; }
.site-nav a:hover { background: var(--lav-soft); }
.site-nav a[aria-current="page"] { background: var(--sun-soft); box-shadow: inset 0 0 0 2px var(--sun); }
.nav-toggle { display: none; align-items: center; gap: 8px; font: 600 1rem var(--display); color: var(--ink); background: var(--surface); border: 3px solid var(--ink); border-radius: 999px; padding: .35em .9em; box-shadow: 0 3px 0 var(--ink); cursor: pointer; }
.nav-toggle .bars { position: relative; display: inline-block; width: 18px; height: 14px; border-top: 3px solid currentColor; border-bottom: 3px solid currentColor; }
.nav-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: currentColor; }
@media (max-width: 940px) {
  .header-inner { flex-wrap: wrap; }
  html:not(.js) .site-nav { width: 100%; padding-bottom: 10px; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); background: var(--surface); border-bottom: 2px solid var(--line); padding: 8px var(--gutter) 18px; box-shadow: 0 14px 24px rgba(42, 33, 64, .1); }
  .js .site-nav.open { display: block; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav a { font-size: 1.2rem; padding: .6em .9em; }
}
@media (max-width: 400px) { .brand img { height: 30px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.1; color: var(--ink); text-decoration: none; background: var(--surface); border: 3px solid var(--ink); border-radius: 999px; padding: .75em 1.35em; box-shadow: 0 5px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease; cursor: pointer; }
.btn:hover { color: var(--ink); transform: translateY(2px); box-shadow: 0 3px 0 var(--ink); }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--ink); }
.btn-sun { background: var(--sun); }
.btn-mint { background: var(--mint); }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(26px, 5vw, 56px) 0 0; background: linear-gradient(180deg, #CBE4FF 0%, #DCD9FB 60%, #E9E2FD 100%); }
.hero::before { content: ""; position: absolute; z-index: -2; left: 50%; top: 62%; width: 2600px; height: 2600px; margin: -1300px 0 0 -1300px; background: repeating-conic-gradient(rgba(255, 255, 255, .26) 0deg 7deg, rgba(255, 255, 255, 0) 7deg 20deg); pointer-events: none; }
.blob { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.blob.b1 { width: 210px; height: 210px; left: -60px; top: 40px; background: #FFD6E2; }
.blob.b2 { width: 240px; height: 240px; right: -70px; top: 60px; background: #C9F1E1; }
.blob.b3 { width: 280px; height: 280px; left: -90px; bottom: 30px; background: #DCD1FF; }
.blob.b4 { width: 300px; height: 300px; right: -100px; bottom: 10px; background: #FFE9AE; }
.bubble-dot { position: absolute; z-index: -1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .25) 42%, rgba(255, 255, 255, .06) 70%); animation: floaty 8s ease-in-out infinite; pointer-events: none; }
@media (max-width: 600px) { .blob { scale: .55; } .blob.b1, .blob.b3 { translate: -40px 0; } .blob.b2, .blob.b4 { translate: 40px 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.hero-logo { margin: 0 auto 10px; width: min(600px, 94%); font-size: inherit; }
.hero-logo img { display: block; width: 100%; height: auto; }
.hero-tag { font-size: clamp(1.1rem, 2.4vw, 1.35rem); max-width: 40ch; margin: 0 auto 24px; text-wrap: balance; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 16px; justify-content: center; }
.hero-friends { position: relative; z-index: 1; width: min(980px, 100% - 2 * var(--gutter)); margin: clamp(18px, 4vw, 34px) auto 0; }
.hero-friends img { display: block; width: 100%; height: auto; }
.ground { position: relative; height: clamp(46px, 7vw, 76px); margin-top: calc(-1 * clamp(26px, 4vw, 44px)); background: linear-gradient(180deg, #B9E9D2, #D5F5EA); }
.ground::before { content: ""; position: absolute; left: -10%; right: -10%; top: -26px; height: 60px; border-radius: 50%; background: #B9E9D2; }

/* Sections */
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section.tint-mint { background: var(--mint-soft); }
.section.tint-lav { background: var(--lav-soft); }
.section.tint-sun { background: var(--sun-soft); }
.section-head { max-width: 740px; margin: 0 auto clamp(26px, 4vw, 38px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-block; font-family: var(--display); font-weight: 600; font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; padding: .2em .85em; margin: 0 0 12px; }
.sub { color: var(--muted); font-size: 1.15rem; text-wrap: balance; }
.section-head .sub:last-child { margin-bottom: 0; }

/* Trailer */
.trailer { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 44px); align-items: center; }
.trailer .facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.trailer .facts li { font-family: var(--display); font-weight: 600; background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; padding: .2em .8em; }
@media (max-width: 820px) { .trailer { grid-template-columns: 1fr; } }

/* Video slots */
.video { position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; background: #241D38; border: 3px solid var(--ink); border-radius: var(--r); box-shadow: 0 8px 0 var(--ink); }
.video iframe, .video video, .video embed, .video object { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video:has(iframe, video, embed, object) .video-placeholder { display: none; }
.video-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background-size: cover; background-position: center; }
.video-placeholder::before { content: ""; position: absolute; inset: 0; background: rgba(251, 248, 255, .62); }
.video-placeholder.ready::before { background: rgba(42, 33, 64, .18); }
.soon { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; max-width: 86%; text-align: center; background: var(--surface); border: 3px solid var(--ink); border-radius: 20px; padding: 12px 22px 14px; box-shadow: 0 5px 0 var(--ink); }
.soon svg { width: 42px; height: 42px; margin-bottom: 2px; }
.soon strong { font-family: var(--display); font-size: 1.35rem; line-height: 1.2; }
.soon span { color: var(--muted); font-size: 1rem; line-height: 1.3; }
@media (max-width: 480px) {
  .soon { padding: 8px 14px 10px; border-radius: 16px; }
  .soon svg { width: 30px; height: 30px; }
  .soon strong { font-size: 1.1rem; }
  .soon span { font-size: .88rem; }
}
.play-btn { position: relative; display: inline-flex; align-items: center; gap: .55em; font: 700 clamp(1.15rem, 2.6vw, 1.5rem) var(--display); color: var(--ink); background: var(--sun); border: 3px solid var(--ink); border-radius: 999px; padding: .55em 1.3em .55em .7em; box-shadow: 0 6px 0 var(--ink); cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.play-btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--ink); }
.play-btn .play-icon { width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.play-btn .play-icon::before { content: ""; margin-left: .18em; border-style: solid; border-width: .42em 0 .42em .68em; border-color: transparent transparent transparent var(--sun); }
.play-note { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap; font-size: .85rem; font-weight: 700; color: var(--ink); background: rgba(255, 255, 255, .9); border-radius: 999px; padding: .15em .7em; }

/* Episode cards */
.band { margin-bottom: clamp(34px, 5vw, 48px); }
.band:last-child { margin-bottom: 0; }
.band-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 18px; }
.band-head h3 { margin: 0; }
.band-head p { margin: 0; color: var(--muted); }
.band-pill { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 1.15rem; background: var(--band); border: 3px solid var(--ink); border-radius: 999px; padding: .3em 1em; box-shadow: 0 3px 0 var(--ink); }
.band-pill small { font: inherit; font-weight: 600; opacity: .85; }
.band-34 { --band: #FFDE85; --band-soft: var(--sun-soft); }
.band-5 { --band: #9FE8D0; --band-soft: var(--mint-soft); }
.band-67 { --band: #CBBEFB; --band-soft: var(--lav-soft); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 24px; }
.ep-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: 0 6px 0 var(--ink); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.ep-card:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--ink); }
.ep-card:focus-within { outline: 4px solid var(--focus); outline-offset: 3px; }
.ep-card .thumb { position: relative; aspect-ratio: 16 / 9; background: var(--band-soft); border-bottom: 3px solid var(--ink); }
.ep-card .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ep-num { position: absolute; left: 10px; top: 10px; font-family: var(--display); font-weight: 700; font-size: 1rem; background: var(--sun); border: 2.5px solid var(--ink); border-radius: 999px; padding: .08em .7em; }
.status { position: absolute; right: 10px; top: 10px; font-family: var(--display); font-weight: 600; font-size: .9rem; background: var(--surface); border: 2.5px solid var(--ink); border-radius: 999px; padding: .1em .7em; }
.status.ready { background: var(--mint); }
.ep-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 18px 18px; }
.ep-body h3 { margin: 0; font-size: 1.35rem; }
.ep-body h3 a { color: var(--ink); text-decoration: none; }
.ep-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ep-body h3 a:focus-visible { outline: none; }
.ep-body p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ep-body .chips { margin-top: auto; padding-top: 6px; }
.chip { display: inline-block; font-size: .88rem; font-weight: 700; line-height: 1.5; background: var(--lav-soft); border-radius: 999px; padding: .1em .75em; }
.chip-confidence { background: var(--coral-soft); }
.chip-friendship { background: var(--mint-soft); }
.chip-poppy { background: var(--pink-soft); }
.chip-band { background: var(--band); }
.more-link { text-align: center; margin-top: clamp(28px, 4vw, 40px); }

/* Friends */
.cast { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 196px), 1fr)); gap: 20px; }
.friend { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: 0 6px 0 var(--ink); padding: 14px 16px 18px; text-align: center; }
.friend-art { display: flex; align-items: flex-end; justify-content: center; height: 210px; margin: 0 auto 8px; width: 100%; background: radial-gradient(circle at 50% 58%, var(--c) 0 56%, transparent 57%); }
.friend-art img { height: 100%; width: auto; }
.friend h3 { margin: .1em 0 .3em; font-size: 1.55rem; }
.friend p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 560px) {
  .cast { gap: 16px; }
  .friend { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; align-items: center; text-align: left; padding: 12px 14px 12px 8px; }
  .friend-art { grid-row: span 2; height: 150px; margin: 0; background: radial-gradient(circle at 50% 56%, var(--c) 0 50%, transparent 51%); }
  .friend h3 { align-self: end; margin: 0; }
  .friend p { align-self: start; font-size: .98rem; }
}
.new-tag { position: absolute; top: 12px; right: 12px; font-family: var(--display); font-weight: 700; font-size: .85rem; background: var(--sun); border: 2.5px solid var(--ink); border-radius: 999px; padding: .05em .65em; transform: rotate(6deg); }

/* Brave words */
.brave-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 22px; }
.brave-card { background: var(--band-soft); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: 0 6px 0 var(--ink); padding: 20px 20px 18px; }
.bubble { position: relative; background: var(--bubble-bg, var(--surface)); border: 3px solid var(--ink); border-radius: 22px; padding: 14px 18px; margin: 16px 0 22px; font-family: var(--display); font-weight: 600; font-size: 1.3rem; line-height: 1.3; }
.bubble::after { content: ""; position: absolute; left: 30px; bottom: -13px; width: 20px; height: 20px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); background: var(--bubble-bg, var(--surface)); }
.then { margin: 0; color: var(--ink); }
.ally { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 22px; margin-top: 30px; background: var(--pink-soft); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: 0 6px 0 var(--ink); padding: 18px 24px 18px 14px; }
.ally img { width: 110px; height: auto; }
.ally h3 { margin: 0 0 .1em; }
.ally .bubble { margin: 10px 0 8px; }
.ally .bubble::after { left: -13px; top: 22px; bottom: auto; transform: rotate(135deg); }
.ally p.who { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 560px) { .ally { grid-template-columns: 1fr; text-align: left; padding: 18px; } .ally img { width: 90px; } .ally .bubble::after { left: 30px; top: auto; bottom: -13px; transform: rotate(45deg); } }

/* Tips, cards and lists */
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; counter-reset: tip; }
.tip { background: var(--surface); border: 3px solid var(--ink); border-radius: var(--r); padding: 20px 20px 18px; }
.tip h3 { display: flex; align-items: center; gap: .5em; font-size: 1.25rem; }
.tips .tip h3::before { counter-increment: tip; content: counter(tip); flex: none; display: grid; place-items: center; width: 1.75em; height: 1.75em; border-radius: 50%; background: var(--sun); border: 2.5px solid var(--ink); font-size: .95em; }
.tip p { margin: 0; color: var(--muted); }
.card { background: var(--surface); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: 0 6px 0 var(--ink); padding: 22px 24px; }
.card h2 { font-size: 1.55rem; }
.card > :last-child { margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.grid-2.top { align-items: start; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 760px) { .cols-2 { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 1.9em; margin-bottom: .65em; }
.ticks li::before { content: ""; position: absolute; left: .15em; top: .32em; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); }
.ticks li:last-child { margin-bottom: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 22px; }
.badges li { font-family: var(--display); font-weight: 600; background: var(--surface); border: 2.5px solid var(--ink); border-radius: 14px; padding: .35em .85em; }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: center; }
.split img { display: block; width: 100%; height: auto; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.about { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; }
.about-icon { width: 92px; height: 92px; }
@media (max-width: 560px) { .about { grid-template-columns: 1fr; } }

/* Page heads (inner pages) */
.page-head { position: relative; overflow: hidden; isolation: isolate; padding: clamp(30px, 6vw, 60px) 0 clamp(30px, 5vw, 48px); background: linear-gradient(180deg, #CBE4FF, #E9E2FD); }
.page-head::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 100%; width: 2400px; height: 2400px; margin: -1200px 0 0 -1200px; background: repeating-conic-gradient(rgba(255, 255, 255, .24) 0deg 7deg, rgba(255, 255, 255, 0) 7deg 20deg); }
.page-head .sub { max-width: 46ch; color: var(--ink); }
.page-head h1 { margin-top: .15em; }
.head-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: end; }
.head-art { width: clamp(120px, 15vw, 190px); }
@media (max-width: 680px) { .head-grid { grid-template-columns: 1fr; } .head-art { display: none; } }

/* Episode pages */
.ep-hero { padding: 22px 0 clamp(34px, 5vw, 52px); background: linear-gradient(180deg, var(--band-soft) 0%, var(--band-soft) 55%, var(--paper) 100%); }
.crumbs { font-size: .98rem; color: var(--muted); margin: 0 0 14px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 .35em; }
.ep-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; margin-bottom: 20px; }
.ep-title h1 { margin: .1em 0 0; }
.ep-kicker { font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin: 0; }
.ep-content { padding-bottom: clamp(50px, 7vw, 80px); }
.lede { font-size: clamp(1.15rem, 2.3vw, 1.35rem); margin: 0 0 28px; }
.steps { margin: 0; padding-left: 1.4em; }
.steps li { margin-bottom: .5em; padding-left: .2em; }
.steps li::marker { font-family: var(--display); font-weight: 700; }
.qs { list-style: none; margin: 0; padding: 0; }
.qs li { position: relative; padding-left: 2.1em; margin-bottom: .75em; }
.qs li::before { content: "?"; position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); font: 700 .95rem/1 var(--display); }
.qs li:last-child { margin-bottom: 0; }
.try-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.try-item { background: var(--band-soft); border-radius: 16px; padding: 14px 18px; }
.try-item h3 { font-size: 1.2rem; margin-bottom: .3em; }
.try-item p { margin: 0; }
.song { background: var(--mint-soft); border-radius: 16px; padding: 16px 20px; font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.45; }
.song p { margin: 0; }
.remember { display: flex; align-items: center; gap: 16px; background: var(--sun); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: 0 6px 0 var(--ink); padding: 16px 24px; margin: 30px 0; }
.remember svg { flex: none; width: 54px; height: 54px; }
.remember p { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.8rem); line-height: 1.2; }
.remember small { display: block; font-family: var(--body); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.new-friend { display: flex; align-items: center; gap: 18px; background: var(--pink-soft); border: 3px solid var(--ink); border-radius: var(--r); padding: 12px 20px 12px 12px; margin: 0 0 28px; }
.new-friend img { width: 76px; height: auto; flex: none; }
.new-friend p { margin: 0; }
.links { margin-top: 26px; background: var(--surface); border: 3px solid var(--ink); border-radius: var(--r); }
.links summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.2rem; padding: 16px 22px; list-style-position: inside; }
.links[open] summary { border-bottom: 2px solid var(--line); }
.links .inner { padding: 16px 22px 20px; }
.fw { font-family: var(--display); font-weight: 600; font-size: 1.05rem; margin: 0 0 8px; padding: .15em .7em; display: inline-block; border-radius: 10px; background: var(--band-soft, var(--lav-soft)); }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.link-list li:first-child { padding-top: 0; }
.link-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.link-list .where { display: block; font-size: .9rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.small { font-size: .95rem; color: var(--muted); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.pager a { display: block; color: var(--ink); text-decoration: none; background: var(--surface); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 var(--ink); padding: 12px 18px; }
.pager a:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--ink); }
.pager .next { grid-column: 2; text-align: right; }
.pager small { display: block; color: var(--muted); font-size: .92rem; }
.pager strong { font-family: var(--display); font-size: 1.15rem; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager .next { grid-column: 1; } }

/* FAQ */
.faq details { background: var(--surface); border: 3px solid var(--ink); border-radius: 18px; margin-bottom: 14px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.2rem; padding: 14px 20px; }
.faq details > div { padding: 0 20px 16px; }
.faq details > div > :last-child { margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #E8E2F7; padding: 46px 0 34px; }
.site-footer a { color: #FFFFFF; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 40px; }
.footer-brand img { height: 52px; width: auto; display: block; margin-bottom: 14px; background: #FFFFFF; border-radius: 16px; padding: 8px 14px; }
.footer-brand p { margin: 0; color: #D8D0EE; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer .legal { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .95rem; color: #D8D0EE; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }

/* 404 */
.lost { text-align: center; padding: clamp(50px, 9vw, 100px) 0; }
.lost img { width: min(220px, 60%); margin-bottom: 10px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .video, .pager, .hero::before { display: none !important; }
  body { background: #fff; }
}
