:root {
  --ink: #17201b;
  --paper: #f7f0e3;
  --paper-light: #fffaf1;
  --red: #f2553f;
  --yellow: #ffd35a;
  --blue: #80c9df;
  --green: #86a967;
  --purple: #9d81c4;
  --line: rgba(23, 32, 27, .22);
  --shadow: 9px 9px 0 #17201b;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--ink); color: white; transition: .2s; }
.skip-link:focus { top: 16px; }

.site-header { height: 82px; padding: 0 clamp(22px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1.5px solid var(--ink); background: rgba(247, 240, 227, .96); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.brand { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand > span:last-child { display: grid; line-height: 1; gap: 5px; }
.brand strong { font-size: 17px; letter-spacing: .04em; }
.brand small { font: 700 9px/1 ui-monospace, monospace; letter-spacing: .22em; }
.brand-mark { width: 36px; height: 36px; display: inline-block; position: relative; transform: rotate(-5deg); }
.brand-mark i { position: absolute; inset: 3px; background: var(--red); clip-path: polygon(0 12%, 100% 0, 56% 100%, 43% 54%); }
.brand-mark b { position: absolute; inset: 3px; background: var(--yellow); clip-path: polygon(0 12%, 43% 54%, 100% 0, 56% 36%); }
.site-header nav { display: flex; gap: clamp(22px, 4vw, 52px); }
.site-header nav a { color: inherit; text-decoration: none; font-size: 14px; font-weight: 700; position: relative; }
.site-header nav a::after { content: ""; height: 6px; position: absolute; left: 0; right: 100%; bottom: -12px; background: var(--yellow); transition: right .2s; z-index: -1; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { right: 0; }
.progress-pill { border: 0; background: none; display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.progress-pill > span:last-child { display: grid; font-weight: 800; font-size: 12px; gap: 3px; }
.progress-pill small { font-weight: 500; opacity: .6; }
.progress-ring { width: 42px; height: 42px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 5px var(--yellow); font: 800 12px/1 ui-monospace, monospace; }

.hero { min-height: calc(100vh - 82px); display: grid; grid-template-columns: 1.03fr .97fr; border-bottom: 1.5px solid var(--ink); }
.hero-copy { padding: clamp(58px, 8vw, 122px) clamp(28px, 7vw, 110px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 10px; font: 800 11px/1 ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 3px; background: var(--red); display: inline-block; }
.eyebrow.light { color: white; }
.eyebrow.light span { background: var(--yellow); }
.hero h1 { margin: 0; font-size: clamp(62px, 7.5vw, 118px); line-height: .88; letter-spacing: -.08em; font-weight: 950; }
.hero h1 em { font-style: normal; color: var(--red); position: relative; display: inline-block; }
.hero h1 em::after { content: ""; position: absolute; height: 13px; left: 2%; right: -2%; bottom: -10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='14' viewBox='0 0 220 14'%3E%3Cpath d='M2 8c34-7 64 4 98-2s67 4 118-2' fill='none' stroke='%2317201b' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.hero-lede { max-width: 570px; margin: 42px 0 30px; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.85; letter-spacing: .02em; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn { border: 1.5px solid var(--ink); padding: 16px 22px; min-height: 54px; font-weight: 850; cursor: pointer; transition: transform .18s, box-shadow .18s; display: inline-flex; gap: 20px; align-items: center; justify-content: space-between; }
.btn.primary { background: var(--red); color: white; box-shadow: 5px 5px 0 var(--ink); }
.btn.paper { background: transparent; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.hero-meta { margin-top: 52px; display: flex; align-items: stretch; border-top: 1px solid var(--line); width: min(510px, 100%); }
.hero-meta div { flex: 1; padding: 18px 0 0; display: grid; border-right: 1px solid var(--line); }
.hero-meta div + div { padding-left: 22px; }
.hero-meta div:last-child { border: 0; }
.hero-meta strong { font: 900 26px/1 ui-monospace, monospace; }
.hero-meta span { margin-top: 7px; font-size: 11px; opacity: .62; }

.hero-art { min-height: 620px; position: relative; overflow: hidden; background-color: var(--blue); background-image: linear-gradient(rgba(23,32,27,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(23,32,27,.11) 1px, transparent 1px); background-size: 34px 34px; border-left: 1.5px solid var(--ink); display: grid; place-items: center; }
.hero-art::before { content: ""; width: 72%; aspect-ratio: 1; border: 1.5px solid rgba(23,32,27,.38); border-radius: 50%; position: absolute; }
.hero-crane { width: min(88%, 650px); position: relative; z-index: 2; filter: drop-shadow(18px 20px 0 rgba(23,32,27,.14)); animation: float 5s ease-in-out infinite; }
.hero-crane .shadow { fill: rgba(23,32,27,.12); }
.hero-crane .wing-back, .hero-crane .body { fill: var(--red); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.hero-crane .wing-line { fill: #ff7662; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.hero-crane .body-light { fill: #ff8a78; stroke: var(--ink); stroke-width: 3; }
.hero-crane .neck, .hero-crane .head, .hero-crane .tail { fill: #f3ead7; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.hero-crane .crease { fill: none; stroke: var(--ink); stroke-width: 2.2; opacity: .75; }
.hero-crane circle { fill: var(--ink); }
.tape { position: absolute; width: 114px; height: 31px; background: rgba(255,235,166,.72); border: 1px solid rgba(23,32,27,.18); z-index: 4; }
.tape-one { left: -22px; top: 70px; transform: rotate(-22deg); }
.tape-two { right: -20px; bottom: 80px; transform: rotate(17deg); }
.note { position: absolute; z-index: 3; font-weight: 900; font-size: 13px; line-height: 1.5; }
.note-a { left: 8%; bottom: 18%; transform: rotate(-7deg); }
.note-b { right: 8%; top: 19%; transform: rotate(6deg); }
.note::after { content: ""; display: block; width: 48px; height: 2px; background: var(--ink); transform: rotate(-18deg); margin-top: 8px; }
.paper-swatch { position: absolute; width: 48px; height: 48px; border: 1.5px solid var(--ink); }
.swatch-one { right: 9%; bottom: 20%; background: var(--yellow); transform: rotate(9deg); }
.swatch-two { left: 10%; top: 17%; background: var(--paper-light); transform: rotate(-12deg); }
.art-caption { position: absolute; left: 27px; bottom: 18px; margin: 0; font: 800 10px/1 ui-monospace, monospace; letter-spacing: .16em; }
@keyframes float { 50% { transform: translateY(-14px) rotate(1.5deg); } }

.marquee { background: var(--ink); color: var(--paper); height: 48px; overflow: hidden; display: flex; align-items: center; white-space: nowrap; font: 800 11px/1 ui-monospace, monospace; letter-spacing: .13em; }
.marquee div { display: flex; align-items: center; gap: 34px; min-width: 140%; animation: scroll 24s linear infinite; }
.marquee i { color: var(--yellow); font-style: normal; }
@keyframes scroll { to { transform: translateX(-28%); } }

.section { padding: clamp(72px, 9vw, 132px) clamp(22px, 6vw, 90px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; max-width: 1500px; margin: 0 auto 54px; }
.section-heading h2 { margin: 0; font-size: clamp(38px, 4.5vw, 70px); line-height: 1; letter-spacing: -.05em; }
.section-heading > p { width: min(430px, 100%); margin: 0; line-height: 1.8; font-size: 14px; }
.course-tools { max-width: 1500px; margin: 0 auto 28px; display: flex; justify-content: space-between; gap: 18px; }
.search-box { border-bottom: 1.5px solid var(--ink); padding: 9px 0; display: flex; gap: 8px; align-items: center; min-width: min(340px, 100%); }
.search-box span { font-size: 23px; transform: rotate(-20deg); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { border: 1px solid var(--ink); background: transparent; padding: 9px 16px; cursor: pointer; font-size: 12px; font-weight: 750; }
.filter.active { background: var(--ink); color: white; }
.course-grid { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.course-card { min-height: 390px; position: relative; border: 1.5px solid var(--ink); background: var(--paper-light); padding: 18px; display: flex; flex-direction: column; cursor: pointer; transition: transform .2s, box-shadow .2s; text-align: left; }
.course-card:hover, .course-card:focus-visible { transform: translate(-4px,-4px) rotate(-.5deg); box-shadow: 8px 8px 0 var(--ink); outline: none; }
.course-card:nth-child(2n):hover { transform: translate(-4px,-4px) rotate(.6deg); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; font: 800 10px/1 ui-monospace, monospace; letter-spacing: .1em; }
.card-top span:last-child { border: 1px solid var(--ink); padding: 5px 7px; background: var(--paper); }
.course-illustration { flex: 1; min-height: 220px; display: grid; place-items: center; margin: 5px 0 10px; position: relative; overflow: hidden; }
.course-illustration svg { width: 82%; height: 210px; overflow: visible; filter: drop-shadow(9px 9px 0 rgba(23,32,27,.11)); }
.course-illustration::after { content: ""; width: 160px; height: 160px; border: 1px dashed rgba(23,32,27,.3); border-radius: 50%; position: absolute; z-index: 0; }
.course-illustration svg { z-index: 1; }
.course-card h3 { margin: 0 0 5px; font-size: 22px; }
.course-card p { margin: 0; display: flex; justify-content: space-between; font: 650 11px/1.4 ui-monospace, monospace; opacity: .66; }
.course-card.completed::before { content: "✓ 已完成"; position: absolute; z-index: 5; right: 16px; top: 46px; background: var(--yellow); border: 1px solid var(--ink); padding: 6px 9px; font: 800 10px/1 ui-monospace, monospace; transform: rotate(4deg); }
.scan-card { min-height: 470px; }
.scan-thumb { min-height: 300px; background: #e9e4da; border: 1px solid rgba(23,32,27,.22); margin: 14px 0 18px; }
.scan-thumb::after { display: none; }
.scan-thumb img { width: 100%; height: 300px; object-fit: contain; display: block; filter: grayscale(.12) contrast(1.04); }
.scan-thumb i { position: absolute; right: 9px; bottom: 9px; background: var(--yellow); color: var(--ink); border: 1px solid var(--ink); padding: 6px 8px; font: 800 9px/1 ui-monospace, monospace; font-style: normal; transform: rotate(-2deg); }
.empty-state { max-width: 1500px; margin: 30px auto 0; border: 1px dashed var(--ink); padding: 30px; text-align: center; }

.studio { background: var(--yellow); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.studio-card { max-width: 1500px; min-height: 690px; margin: 0 auto; border: 1.5px solid var(--ink); display: grid; grid-template-columns: 360px 1fr; box-shadow: var(--shadow); }
.lesson-sidebar { background: var(--ink); color: white; padding: 34px; display: flex; flex-direction: column; }
.lesson-title { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,.25); }
.lesson-number { color: var(--yellow); font: 900 25px/1 ui-monospace, monospace; }
.lesson-title p { margin: 0 0 5px; font-size: 10px; letter-spacing: .14em; opacity: .65; }
.lesson-title h2 { margin: 0; font-size: 28px; line-height: 1.1; }
.lesson-stats { display: flex; justify-content: space-between; padding: 18px 0; font: 750 11px/1 ui-monospace, monospace; border-bottom: 1px solid rgba(255,255,255,.25); }
.step-list { padding: 18px 0; display: grid; gap: 6px; flex: 1; }
.step-item { width: 100%; color: white; border: 0; background: transparent; display: grid; grid-template-columns: 34px 1fr; align-items: center; text-align: left; padding: 9px 8px; cursor: pointer; opacity: .46; }
.step-item span { width: 26px; height: 26px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font: 800 10px/1 ui-monospace, monospace; }
.step-item b { font-size: 12px; }
.step-item.active { opacity: 1; color: var(--yellow); background: rgba(255,255,255,.07); }
.step-item.done { opacity: .8; }
.step-item.done span { background: var(--yellow); color: var(--ink); }
.lesson-nav { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: space-between; }
.lesson-nav button { width: 42px; height: 42px; border: 1px solid white; background: transparent; color: white; cursor: pointer; }
.lesson-nav button:disabled { opacity: .25; cursor: not-allowed; }
.lesson-nav span { font: 750 11px/1 ui-monospace, monospace; }
.book-notes { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.note-kicker { margin: 0 0 15px; color: var(--yellow); font: 800 10px/1 ui-monospace, monospace; letter-spacing: .13em; }
.book-notes ol { margin: 0; padding: 0; list-style: none; counter-reset: booknote; display: grid; gap: 14px; }
.book-notes li { counter-increment: booknote; display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: start; font-size: 12px; line-height: 1.5; }
.book-notes li::before { content: counter(booknote, decimal-leading-zero); width: 24px; height: 24px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; display: grid; place-items: center; font: 700 8px/1 ui-monospace, monospace; }
.source-note { padding: 20px 0; margin-bottom: auto; }
.source-note span { display: inline-block; color: var(--ink); background: var(--yellow); padding: 6px 8px; font: 850 9px/1 ui-monospace, monospace; }
.source-note p { margin: 10px 0 0; font-size: 11px; line-height: 1.65; opacity: .65; }
.project-nav { margin-top: 18px; }
.fold-stage { background: var(--paper-light); min-width: 0; display: grid; grid-template-rows: auto 1fr auto; }
.stage-topbar, .stage-footer { padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1.5px solid var(--ink); font-size: 13px; font-weight: 800; }
.stage-topbar > div { display: flex; gap: 8px; }
.stage-topbar button { border: 1px solid var(--ink); background: transparent; padding: 7px 12px; cursor: pointer; }
.paper-workbench { position: relative; min-height: 520px; display: grid; place-items: center; overflow: hidden; background-color: #eee4d3; background-image: radial-gradient(rgba(23,32,27,.16) 1px, transparent 1px); background-size: 17px 17px; }
.fold-visual { width: min(66%, 540px); aspect-ratio: 1; display: grid; place-items: center; animation: stepIn .35s ease-out; }
.fold-visual svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(14px 17px 0 rgba(23,32,27,.14)); }
@keyframes stepIn { from { opacity: 0; transform: scale(.96) rotate(-2deg); } }
.grid-label { position: absolute; font: 700 9px/1 ui-monospace, monospace; opacity: .45; }
.grid-label.x { bottom: 18px; left: 50%; transform: translateX(-50%); }
.grid-label.y { left: 18px; top: 50%; writing-mode: vertical-lr; transform: translateY(-50%); }
.hint-card { position: absolute; right: 24px; bottom: 24px; width: min(270px, calc(100% - 48px)); background: var(--yellow); border: 1.5px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 14px; display: grid; gap: 5px; font-size: 12px; line-height: 1.5; }
.hint-card b { font-size: 11px; }
.stage-footer { border-top: 1.5px solid var(--ink); border-bottom: 0; justify-content: flex-start; font: 650 10px/1 ui-monospace, monospace; flex-wrap: wrap; }
.stage-footer > span { display: flex; align-items: center; gap: 7px; opacity: .7; }
.legend-line { display: inline-block; width: 28px; border-top: 2px dashed var(--ink); }
.legend-line.mountain { border-top-style: dotted; }
.legend-arrow { font-style: normal; font-size: 16px; }
.complete-btn { margin-left: auto; padding: 10px 14px; background: var(--red); color: white; border: 1px solid var(--ink); font-weight: 800; cursor: pointer; }
.complete-btn.done { background: var(--green); }
.paper-workbench.expanded { position: fixed; inset: 20px; z-index: 50; min-height: 0; border: 2px solid var(--ink); box-shadow: 0 0 0 9999px rgba(23,32,27,.75); }
.book-stage .stage-topbar > span { font-weight: 650; }
.book-stage .stage-topbar > span b { font-weight: 900; }
.scan-workbench { display: block; overflow: auto; padding: 28px; background-color: #d8d1c3; background-image: linear-gradient(45deg, rgba(255,255,255,.3) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,.3) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255,255,255,.3) 75%), linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.3) 75%); background-size: 22px 22px; background-position: 0 0, 0 11px, 11px -11px, -11px 0; }
.book-scan { width: min(620px, 100%); margin: 0 auto; display: grid; justify-items: center; gap: 10px; }
.book-scan img { width: 100%; height: auto; display: block; border: 1px solid rgba(23,32,27,.3); box-shadow: 12px 14px 0 rgba(23,32,27,.15); transform-origin: top center; transition: transform .18s ease; cursor: zoom-in; }
.book-scan.zoomed img { cursor: zoom-out; }
.book-scan figcaption { background: var(--paper-light); border: 1px solid var(--ink); padding: 7px 10px; font: 750 9px/1 ui-monospace, monospace; }
.scan-workbench.expanded { padding: 24px; }
.scan-workbench.expanded .book-scan { width: min(760px, 90%); }

.basics { background: var(--paper-light); }
.section-heading.compact { align-items: flex-start; }
.symbol-grid { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border: 1.5px solid var(--ink); }
.symbol-grid article { min-height: 310px; padding: 24px; border-right: 1.5px solid var(--ink); display: flex; flex-direction: column; justify-content: space-between; }
.symbol-grid article:last-child { border: 0; }
.symbol-card { height: 160px; position: relative; display: grid; place-items: center; background-color: var(--paper); background-image: linear-gradient(rgba(23,32,27,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(23,32,27,.07) 1px, transparent 1px); background-size: 20px 20px; overflow: hidden; }
.symbol-card b { font: 400 58px/1 sans-serif; color: var(--red); }
.symbol-card.rotate b { color: var(--purple); }
.demo-line { position: absolute; width: 100px; border-top: 3px dashed var(--ink); transform: rotate(-45deg); }
.demo-line.dotted { border-top-style: dotted; }
.demo-line.crease { border-top-style: solid; opacity: .3; }
.symbol-grid small { font: 850 10px/1 ui-monospace, monospace; opacity: .5; }
.symbol-grid h3 { margin: 8px 0; font-size: 22px; }
.symbol-grid p { margin: 0; font-size: 12px; line-height: 1.7; opacity: .7; }

.challenge { padding-top: 0; padding-bottom: 0; display: grid; grid-template-columns: 42% 58%; background: var(--red); color: white; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.challenge-copy { min-height: 600px; padding: clamp(70px, 8vw, 130px) clamp(30px, 6vw, 96px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; }
.challenge-copy h2 { font-size: clamp(44px, 5vw, 78px); line-height: .97; letter-spacing: -.06em; margin: 0; }
.challenge-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.8; max-width: 480px; margin: 30px 0; }
.sticker { width: 100px; height: 100px; border-radius: 50%; background: var(--yellow); color: var(--ink); border: 1.5px solid var(--ink); display: grid; place-items: center; position: absolute; right: -45px; top: 54px; z-index: 3; text-align: center; font: 900 11px/1.35 ui-monospace, monospace; transform: rotate(9deg); }
.btn.white { background: white; color: var(--ink); }
.animal-stage { min-height: 600px; position: relative; overflow: hidden; border-left: 1.5px solid var(--ink); background-color: var(--blue); background-image: linear-gradient(rgba(23,32,27,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(23,32,27,.09) 1px, transparent 1px); background-size: 32px 32px; }
.sun { width: 130px; height: 130px; border-radius: 50%; background: var(--yellow); border: 1.5px solid var(--ink); position: absolute; right: 11%; top: 13%; }
.ground-line { height: 2px; background: var(--ink); position: absolute; left: 7%; right: 7%; bottom: 19%; }
.animal { position: absolute; filter: drop-shadow(12px 14px 0 rgba(23,32,27,.13)); }
.animal::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); box-shadow: 22px 0 var(--ink); }
.fox { width: 185px; height: 230px; left: 9%; bottom: 19%; background: #ff735f; clip-path: polygon(5% 0, 33% 16%, 64% 16%, 96% 0, 82% 72%, 50% 100%, 17% 72%); border: 0; }
.fox i { position: absolute; inset: 16% 18% 20%; background: #ffb1a4; clip-path: polygon(0 0, 50% 30%, 100% 0, 50% 100%); }
.fox::after { left: 40%; top: 40%; }
.penguin { width: 160px; height: 230px; left: 42%; bottom: 19%; background: var(--ink); clip-path: polygon(50% 0, 95% 32%, 80% 100%, 20% 100%, 5% 32%); }
.penguin i { position: absolute; inset: 19% 18% 5%; background: #f8f0e2; clip-path: polygon(0 0, 50% 22%, 100% 0, 72% 100%, 28% 100%); }
.penguin b { position: absolute; width: 44px; height: 25px; left: 58px; top: 58px; background: var(--yellow); clip-path: polygon(0 0, 100% 50%, 0 100%); z-index: 2; }
.penguin::after { left: 39%; top: 19%; background: white; box-shadow: 22px 0 white; }
.elephant { width: 230px; height: 180px; right: 6%; bottom: 19%; background: var(--purple); clip-path: polygon(0 30%, 35% 0, 75% 18%, 100% 9%, 86% 60%, 78% 100%, 61% 58%, 35% 82%, 13% 69%); }
.elephant i { position: absolute; width: 80px; height: 100px; left: 43%; top: 13%; background: #b99fd8; clip-path: polygon(0 0, 100% 20%, 55% 100%); }
.elephant::after { left: 45%; top: 31%; }
.animal-label { position: absolute; bottom: 12%; font: 800 9px/1 ui-monospace, monospace; letter-spacing: .1em; }
.label-one { left: 12%; }.label-two { left: 47%; }.label-three { right: 10%; }

footer { padding: 38px clamp(22px, 6vw, 90px); display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--paper); }
.footer-mark { display: flex; align-items: center; gap: 8px; }
.brand-mark.small { width: 29px; height: 29px; }
footer p { font-size: 12px; opacity: .6; }
footer a { color: inherit; font-size: 12px; font-weight: 800; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 140px); background: var(--ink); color: white; padding: 13px 18px; border: 1px solid white; box-shadow: 5px 5px 0 var(--yellow); font-size: 12px; font-weight: 700; transition: transform .3s; }
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-card { grid-template-columns: 310px 1fr; }
  .challenge { grid-template-columns: 1fr; }
  .challenge-copy { min-height: 520px; }
  .animal-stage { border-left: 0; border-top: 1.5px solid var(--ink); }
  .sticker { right: 30px; bottom: -45px; top: auto; }
}

@media (max-width: 760px) {
  .site-header { height: 70px; padding: 0 18px; }
  .site-header nav { display: none; }
  .progress-pill > span:last-child { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 72px 24px 64px; }
  .hero-art { min-height: 500px; border-left: 0; border-top: 1.5px solid var(--ink); }
  .hero h1 { font-size: clamp(58px, 21vw, 92px); }
  .hero-meta div + div { padding-left: 13px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .course-tools { flex-direction: column; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card { min-height: 360px; }
  .scan-card { min-height: 450px; }
  .scan-thumb, .scan-thumb img { height: 290px; }
  .studio { padding-left: 12px; padding-right: 20px; }
  .studio-card { grid-template-columns: 1fr; box-shadow: 7px 7px 0 var(--ink); }
  .lesson-sidebar { padding: 27px; }
  .step-list { grid-template-columns: repeat(3, 1fr); }
  .step-item { display: flex; justify-content: center; }
  .step-item b { display: none; }
  .paper-workbench { min-height: 430px; }
  .scan-workbench { padding: 12px; min-height: 540px; }
  .book-scan { width: 100%; }
  .fold-visual { width: 82%; }
  .stage-footer > span { display: none; }
  .complete-btn { margin-left: 0; width: 100%; }
  .symbol-grid { grid-template-columns: 1fr; }
  .symbol-grid article { min-height: 260px; border-right: 0; border-bottom: 1.5px solid var(--ink); }
  .symbol-grid article:last-child { border-bottom: 0; }
  .challenge-copy { min-height: 560px; }
  .animal-stage { min-height: 480px; }
  .fox { transform: scale(.72); transform-origin: bottom left; }
  .penguin { transform: scale(.72); transform-origin: bottom center; }
  .elephant { transform: scale(.64); transform-origin: bottom right; }
  footer { flex-direction: column; text-align: center; }
}

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