.first-adventure { background: #fffaf0; color: #172e3d; }
.first-adventure :is(h1,h2,h3,p) { overflow-wrap: anywhere; }
.first-adventure :is(h1,h2,h3) { text-wrap: balance; }
.first-adventure [id] { scroll-margin-top: 0; }
.first-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; padding: 16px max(32px,calc((100vw - 1120px)/2)); background: #09182c; border-bottom: 1px solid #f6c96b22; }
.first-header-back { color: #d6e2dc; font-size: 12px; text-decoration: none; line-height: 1.5; }
.first-header-back:hover { color: #f6c96b; }
.first-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(240px,.8fr); align-items: center; gap: 5%; overflow: hidden; min-height: 610px; padding: 54px max(32px,calc((100vw - 1120px)/2)) 64px; color: #fffaf0; background: radial-gradient(ellipse at 78% 32%,#31523e 0,#122f39 32%,#09192d 70%); }
.first-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .4; background-image: radial-gradient(circle,#e6ce8b 1px,transparent 1.6px),radial-gradient(circle,#8fbaad 1px,transparent 1.4px); background-size: 157px 157px,239px 239px; background-position: 14px 30px,71px 98px; mask-image: linear-gradient(90deg,transparent,#000); }
.first-hero-glow { position: absolute; z-index: -1; width: 550px; height: 550px; right: -180px; top: -310px; border-radius: 50%; border: 1px solid #f6c96b33; box-shadow: 0 0 0 50px #f6c96b06,0 0 0 100px #f6c96b04; pointer-events: none; }
.first-eyebrow { margin: 0 0 20px; color: #b18a36; font-size: 10px; font-weight: 900; letter-spacing: .16em; line-height: 1.6; }
.first-hero .first-eyebrow { color: #f6d48a; }
.first-eyebrow span { margin-right: 7px; }
.first-hero h1 { margin: 0; max-width: 680px; font: 700 clamp(48px,5.8vw,76px)/1.02 var(--serif); letter-spacing: -.04em; }
.first-hero h1 em { color: #f6d48a; font-weight: 500; }
.first-hero-lede { max-width: 460px; margin: 25px 0 27px; color: #d3e0dd; font-size: 16px; line-height: 1.85; }
.first-pace { margin: 16px 0 0; color: #a7c0b6; font-size: 11px; line-height: 1.7; }
.first-hero-art { position: relative; width: min(100%,300px); margin: 0 auto; }
.first-hero-art img { position: relative; width: 100%; height: auto; border: 1px solid #ebcc7d88; border-radius: 11px; box-shadow: 0 24px 58px #0006,0 0 45px #f6c96b16; transform: rotate(4deg); }
.first-hero-art figcaption { position: relative; margin: 22px -15px 0; color: #e9d7a7; font: italic 18px/1.5 var(--serif); text-align: center; }
.first-hero-art figcaption span { margin-right: 5px; }
.first-orbit { position: absolute; width: 430px; height: 250px; top: 33%; left: 50%; transform: translateX(-50%) rotate(-21deg); border: 1px solid #efcf8b44; border-radius: 50%; pointer-events: none; }
.first-trail { position: sticky; z-index: 12; top: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; padding: 0 max(24px,calc((100vw - 1120px)/2)); background: #f4eddcfa; border-bottom: 1px solid #d8d3be; backdrop-filter: blur(16px); }
.first-trail a { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 66px; padding: 12px 8px; color: #435c4e; font-size: 12px; font-weight: 800; text-decoration: none; }
.first-trail a:hover { color: #163e2a; background: #e8eddc; }
.first-trail a span { color: #9f823f; font: 700 14px/1 var(--serif); }
.first-section { position: relative; padding: 85px 32px; }
.first-section-inner { max-width: 1060px; margin-inline: auto; }
.first-step { display: flex; gap: 12px; align-items: center; margin: 0 0 18px; color: #7b753f; font-size: 10px; font-weight: 900; line-height: 1.6; letter-spacing: .14em; }
.first-step > span { display: inline-grid; place-items: center; flex: 0 0 34px; height: 34px; border: 1px solid #d7c998; border-radius: 50%; color: #8a6a29; font: 700 16px/1 var(--serif); letter-spacing: 0; }
.first-section h2 { margin: 0 0 23px; color: #1e3c32; font: 700 clamp(34px,4.3vw,54px)/1.1 var(--serif); letter-spacing: -.025em; }
.first-section h2 em { font-weight: 500; }
.first-large { max-width: 630px; margin: 0 0 24px; color: #526b5c; font-size: 17px; line-height: 1.85; }
.first-intro { max-width: 650px; margin: 0 0 27px; color: #607261; font-size: 15px; line-height: 1.85; }
.first-text-link { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; color: #34654e; font-size: 12px; font-weight: 800; line-height: 1.7; text-decoration: underline; text-underline-offset: 5px; }
.first-meet { background: #fffaf0; }
.first-meet-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(240px,1fr); gap: 8%; align-items: center; }
.first-lesson { display: flex; gap: 12px; align-items: center; margin: 28px 0 20px; padding-left: 16px; border-left: 2px solid #cba657; color: #728347; }
.first-lesson > span:first-child { color: #b68c32; font-size: 24px; }
.first-lesson small { display: block; margin-bottom: 6px; color: #8a7951; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.first-lesson strong { display: block; color: #365443; font: 700 19px/1.5 var(--serif); }
.first-meet-note { padding: 27px; border: 1px solid #ddd7ba; border-radius: 12px 12px 52px 12px; background: #f4f1df; }
.first-meet-note > span { color: #a7893f; font-size: 35px; }
.first-meet-note h3 { margin: 12px 0; font: 700 25px/1.2 var(--serif); color: #365443; }
.first-meet-note p { margin: 0 0 18px; color: #61715b; font-size: 14px; line-height: 1.8; }
.first-meet-note a { font-size: 10px; line-height: 1.8; color: #526b5c; text-underline-offset: 3px; }
.first-story { background: #f4eedf; border-block: 1px solid #e2dcc9; }
.first-reading { max-width: 740px; margin-inline: auto; }
.first-reading h2 { max-width: 620px; }
.first-reading .parokins-narration { max-width: 100%; }
.first-prose { margin-top: 32px; color: #344c3f; font: 19px/1.95 var(--serif); }
.first-prose p { margin: 0 0 24px; }
.first-prose p:first-child::first-letter { float: left; margin: 9px 8px 0 0; font: 700 56px/.75 var(--serif); color: #63815e; }
.first-story-end { margin: 30px 0; color: #a8904a; text-align: center; letter-spacing: .25em; }
.first-question { margin: 35px 0 22px; padding: 24px 27px; border-left: 3px solid #baa360; background: #e9ead8; }
.first-question > p { margin: 0 0 9px; color: #73804d; font-size: 9px; font-weight: 900; line-height: 1.6; letter-spacing: .12em; }
.first-question h3 { margin: 0; color: #375642; font: 700 23px/1.5 var(--serif); }
.first-song { background: #fffaf0; }
.first-song-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 6%; align-items: start; }
.first-song-hint { margin: 0 0 20px; color: #72806e; font-size: 12px; line-height: 1.85; }
.first-song-player .parokins-music { margin: 0; max-width: 100%; }
.first-color { background: #e8efdf; border-block: 1px solid #d0ddc5; }
.first-color-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 7%; align-items: center; margin-bottom: 25px; }
.first-color-heading p { margin: 0; color: #5b7059; font-size: 15px; line-height: 1.9; }
.first-color-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.first-color-card { display: grid; grid-template-columns: minmax(100px,.55fr) minmax(0,1fr); align-items: center; gap: 25px; padding: 20px; border: 1px solid #becbb4; border-radius: 10px; background: #f7faee; text-decoration: none; transition: border-color .2s ease,box-shadow .2s ease; }
.first-color-card:hover { border-color: #71916c; box-shadow: 0 6px 22px #334b3f12; }
.first-color-preview { padding: 7px; border: 1px solid #d9dfd0; background: white; box-shadow: 2px 5px 10px #334b3f14; transform: rotate(-3deg); }
.first-color-preview img { width: 100%; height: auto; }
.first-color-card > div:last-child > span { display: block; margin-bottom: 10px; color: #72805e; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.first-color-card strong { display: block; color: #284b36; font: 700 22px/1.35 var(--serif); }
.first-color-card strong span { font-size: 17px; }
.first-color-card small { display: block; margin-top: 10px; color: #72806d; font-size: 10px; line-height: 1.7; }
.first-color-note { margin: 25px 0 0; color: #6e7c62; text-align: center; font-size: 11px; line-height: 1.8; }
.first-next { background: #fffaf0; }
.first-next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 32px 0 22px; }
.first-next-card { display: flex; align-items: center; gap: 24px; min-width: 0; padding: 21px; border: 1px solid #ded8c4; border-radius: 9px; color: #304f3c; background: #f5f2e6; text-decoration: none; }
.first-next-card:hover { border-color: #a9bc98; }
.first-next-card img { flex: 0 0 85px; width: 85px; height: 119px; object-fit: cover; border-radius: 5px; }
.first-next-card > div { min-width: 0; }
.first-next-card p { margin: 0 0 7px; color: #7e845f; font-size: 10px; font-weight: 800; line-height: 1.6; }
.first-next-card h3 { margin: 0 0 13px; font: 700 24px/1.2 var(--serif); }
.first-next-card span { font-size: 10px; font-weight: 800; line-height: 1.6; }
.first-next-card span b { margin-left: 6px; }
.first-grownups { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 52px; padding-top: 28px; border-top: 1px solid #ded8c4; }
.first-grownups > div > p:first-child { margin: 0 0 8px; color: #88906f; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.first-grownups h3 { margin: 0 0 9px; color: #4e6653; font: 700 24px/1.25 var(--serif); }
.first-grownups p { max-width: 460px; margin: 0; color: #7a8373; font-size: 12px; line-height: 1.8; }
.first-quiet-button { flex-shrink: 0; border: 1px solid #c4cbb7; color: #526b50; background: transparent; font-size: 10px; }
.first-footer { padding: 28px 24px 38px; border-top: 1px solid #e0dbca; color: #7b8578; text-align: center; font-size: 10px; line-height: 1.9; }
.first-footer p { margin: 0 0 5px; }
.first-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; margin-top: 17px; }
.first-footer nav a { min-height: 30px; text-underline-offset: 3px; }
@media (max-width: 820px) {
  .first-hero { min-height: 540px; padding-block: 45px; gap: 6%; grid-template-columns: minmax(0,1.2fr) minmax(180px,.8fr); }
  .first-hero h1 { font-size: clamp(42px,7vw,60px); }
  .first-hero-art { max-width: 235px; }
  .first-orbit { width: 310px; }
  .first-section { padding: 62px 28px; }
  .first-meet-grid { gap: 5%; grid-template-columns: minmax(0,1.3fr) minmax(210px,1fr); }
  .first-meet-note { padding: 21px; }
  .first-song-grid { display: block; }
  .first-song-grid > div:first-child { max-width: 630px; margin-bottom: 25px; }
  .first-color-grid { gap: 18px; }
  .first-color-card { display: block; padding: 18px; }
  .first-color-preview { max-width: 180px; margin: 0 auto 22px; }
  .first-next-grid { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .first-header { min-height: 79px; padding: 17px 20px; gap: 20px; }
  .first-header .brand-word { font-size: 17px; }
  .first-header .brand-byline { font-size: 7px; }
  .first-header .brand-spark { font-size: 22px; }
  .first-header-back { max-width: 91px; font-size: 10px; text-align: right; }
  .first-hero { display: flex; flex-direction: column; gap: 39px; padding: 37px 24px 42px; }
  .first-hero-copy { width: 100%; }
  .first-eyebrow { margin-bottom: 17px; font-size: 8px; }
  .first-hero h1 { max-width: 380px; font-size: clamp(42px,11vw,60px); }
  .first-hero-lede { margin-top: 22px; font-size: 14px; line-height: 1.85; }
  .first-hero-art { width: 60%; max-width: 230px; }
  .first-hero-art figcaption { font-size: 15px; margin-top: 18px; }
  .first-orbit { width: 310px; max-width: 140vw; height: 180px; }
  .first-trail { gap: 0; padding-inline: 6px; }
  .first-trail a { flex-direction: column; gap: 6px; min-height: 64px; padding-inline: 4px; font-size: 10px; }
  .first-trail a span { font-size: 12px; }
  .first-section { padding: 48px 20px; }
  .first-section h2 { font-size: 36px; }
  .first-meet-grid { display: block; }
  .first-meet-note { margin-top: 30px; padding: 23px; }
  .first-large { font-size: 15px; }
  .first-intro { font-size: 14px; }
  .first-step { font-size: 8px; letter-spacing: .1em; }
  .first-prose { font-size: 18px; line-height: 1.9; }
  .first-prose p { margin-bottom: 21px; }
  .first-question { padding: 20px; }
  .first-question h3 { font-size: 21px; }
  .first-color-heading { display: block; margin-bottom: 26px; }
  .first-color-heading p { font-size: 14px; }
  .first-color-grid { gap: 14px; }
  .first-color-card { padding: 12px; }
  .first-color-preview { padding: 4px; margin-bottom: 18px; }
  .first-color-card > div:last-child > span { font-size: 8px; letter-spacing: .01em; }
  .first-color-card strong { font-size: 19px; }
  .first-color-card small { font-size: 9px; }
  .first-next-card { padding: 16px; gap: 18px; }
  .first-next-card img { flex-basis: 70px; width: 70px; height: 98px; }
  .first-next-card h3 { font-size: 21px; }
  .first-grownups { align-items: flex-start; flex-direction: column; gap: 19px; margin-top: 35px; }
  .first-grownups h3 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .first-adventure * { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  .first-header,.first-hero,.first-trail,.first-song,.first-color,.first-next,.community-panel,.first-footer,.first-meet-note,.first-text-link { display: none !important; }
  .first-section { padding: 15px 0; background: white; border: 0; }
  .first-story .first-reading { max-width: none; }
  .first-prose { font-size: 12pt; }
}
