@font-face { font-family: 'Scholar Sans'; src: url('fonts/noto-sans-tc-regular.woff2') format('woff2'); font-style: normal; font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'Scholar Sans'; src: url('fonts/noto-sans-tc-bold.woff2') format('woff2'); font-style: normal; font-weight: 600 900; font-display: swap; }
@font-face { font-family: 'Scholar Serif'; src: url('fonts/noto-serif-tc-regular.woff2') format('woff2'); font-style: normal; font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'Scholar Serif'; src: url('fonts/noto-serif-tc-bold.woff2') format('woff2'); font-style: normal; font-weight: 600 900; font-display: swap; }
:root {
  --ink: #00625D;
  --red: #B12528;
  --sage: #93A398;
  --coral: #E7503F;
  --orange: #FE773D;
  --text: #253D39;
  --muted: #53655E;
  --desk: #EEEFE9;
  --paper: #FFFEF9;
  --line: #CCD3C8;
  --serif: 'Noto Serif TC', 'Scholar Serif', serif;
  --sans: 'Noto Sans TC', 'Scholar Sans', sans-serif;
  --hand: 'LXGW WenKai TC', 'Scholar Serif', serif;
  --paper-shadow: 2px 6px 16px rgb(34 60 44 / 9%), 0 1px 2px rgb(34 60 44 / 8%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; scrollbar-color: var(--sage) var(--desk); }
body { margin: 0; background: var(--desk); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='130'%3E%3Cg fill='%2358634e' fill-opacity='.28'%3E%3Ccircle cx='10' cy='20' r='.5'/%3E%3Ccircle cx='38' cy='76' r='.6'/%3E%3Ccircle cx='107' cy='39' r='.4'/%3E%3Ccircle cx='83' cy='116' r='.5'/%3E%3Ccircle cx='129' cy='98' r='.5'/%3E%3C/g%3E%3C/svg%3E"); }
::selection { background: #D3E2D7; color: var(--ink); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: rgb(0 98 93 / 12%); }
button { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { color: var(--ink); font-family: var(--serif); font-weight: 700; line-height: 1.5; text-wrap: balance; }
h2 { font-size: clamp(26px, 2.6vw, 34px); }
h3 { font-size: 22px; line-height: 1.6; }
address { font-style: normal; }
img { max-width: 100%; height: auto; display: block; }
button, summary, a { -webkit-user-select: auto; }
.container { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.section-space { padding-block: 92px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; flex-shrink: 0; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px 20px; background: var(--paper); z-index: 100; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { width: min(1180px, calc(100% - 64px)); min-height: 108px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; }
.brand { width: 152px; flex-shrink: 0; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; gap: clamp(20px, 2.8vw, 36px); align-items: center; }
.site-nav a { font-size: 15px; text-decoration: none; padding-block: 12px; white-space: nowrap; }
.site-nav a:hover { color: var(--red); text-decoration: underline; }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; min-height: 680px; gap: 30px; padding-block: 60px 80px; }
.hero-copy { padding-bottom: 10px; }
.hero h1 { font-size: clamp(56px, 6.3vw, 80px); letter-spacing: .015em; line-height: 1.25; }
.hero-subtitle { font-weight: 500; color: var(--ink); margin-top: 28px; font-size: 20px; }
.hero-description { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.text-link { display: inline-flex; align-items: center; gap: 12px; border: 0; background: none; padding: 8px 0; text-decoration: underline; text-underline-offset: 7px; color: var(--ink); font-size: 15px; font-weight: 600; min-height: 44px; }
.text-link:hover { color: var(--red); }
.hero .text-link { margin-top: 20px; font-size: 14px; }
.homework-desk { height: 490px; position: relative; isolation: isolate; }
.handbook-cover { position: absolute; top: 28px; right: 0; width: 68%; height: 388px; padding: 27px 25px; background: var(--ink); color: #FFFEF9; box-shadow: var(--paper-shadow); transform: rotate(8deg); border-radius: 3px 9px 9px 3px; display: flex; flex-direction: column; align-items: center; }
.handbook-cover::before { content: ''; position: absolute; top: 0; bottom: 0; left: 12px; border-left: 1px solid rgb(255 255 255 / 20%); }
.handbook-cover > span:first-child { font-size: 14px; letter-spacing: .16em; }
.handbook-cover strong { margin-top: 10px; font: 600 33px var(--serif); letter-spacing: .15em; }
.cover-rule { width: 75%; border-bottom: 1px solid rgb(255 255 255 / 40%); margin-top: auto; margin-bottom: 10px; }
.handbook-cover small { font-size: 12px; }
.paper { background-color: var(--paper); box-shadow: var(--paper-shadow); }
.hero-sheet { position: absolute; top: 62px; left: 3%; width: 81%; padding: 27px 30px 16px; transform: rotate(-5deg); z-index: 2; }
.tape { position: absolute; display: block; width: 103px; height: 27px; background: rgb(183 190 155 / 53%); clip-path: polygon(1% 0, 99% 2%, 97% 16%, 100% 28%, 98% 48%, 100% 71%, 97% 91%, 99% 100%, 0 98%, 2% 80%, 0 64%, 2% 40%, 0 20%); }
.tape-top { top: -13px; left: 38%; transform: rotate(3deg); }
.sheet-topline { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sheet-subject { letter-spacing: .2em; }
.hero-sheet h2 { font-size: clamp(17px, 1.7vw, 22px); margin-top: 16px; }
.exercise { display: flex; align-items: center; justify-content: center; gap: 16px; font-family: var(--serif); font-size: 25px; line-height: 1.3; color: #35463E; }
.hero-sheet > .exercise { margin-top: 28px; }
.fraction { display: inline-flex; flex-direction: column; text-align: center; min-width: 25px; }
.fraction > span:first-child { border-bottom: 1px solid currentColor; padding-inline: 4px; padding-bottom: 2px; }
.fraction > span:last-child { padding-top: 2px; }
.mistake { position: relative; }
.mistake::after { content: ''; position: absolute; inset: -8px -11px; border: 2px solid var(--red); border-radius: 48% 51% 46% 49%; transform: rotate(11deg); }
.pen-question { font-family: var(--hand); color: var(--red); font-size: 20px; line-height: 1.6; }
.hero-sheet .pen-question { margin-top: 14px; text-align: right; transform: rotate(-2deg); }
.sheet-bottom { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); }
.pen-tick { width: 22px; height: 12px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-48deg); margin: 0 7px 7px 0; }
.hero-note { position: absolute; right: -7px; bottom: -6px; width: 225px; padding: 25px 24px 20px; background: #EEE4AB; box-shadow: 1px 5px 9px rgb(56 60 31 / 12%); transform: rotate(4deg); z-index: 3; }
.hero-note p { font: 26px/1.55 var(--hand); color: var(--ink); }
.tape-note { top: -12px; width: 70px; left: 35%; background: rgb(220 211 178 / 70%); transform: rotate(-8deg); }
.note-signature { font-size: 10px; display: block; margin-top: 12px; color: #5B5D38; }
.why-section { background: #DDE5DD; padding-block: 52px; position: relative; }
.why-section::before { content: ''; position: absolute; top: -5px; left: 0; right: 0; height: 7px; background: #DDE5DD; clip-path: polygon(0 70%, 6% 20%, 11% 60%, 19% 10%, 28% 65%, 39% 18%, 48% 65%, 59% 0, 70% 60%, 80% 10%, 91% 55%, 100% 10%, 100% 100%, 0 100%); }
.why-inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 76px; }
.why-inner h2 { font-size: 29px; }
.why-copy { max-width: 600px; font-size: 15px; }
.why-copy p + p { margin-top: 12px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 42px; }
.section-heading p { color: var(--muted); font-size: 15px; margin-top: 12px; }
.handwritten { font-family: var(--hand); }
.heading-note { color: var(--red); font-size: 23px; transform: rotate(-4deg); white-space: nowrap; padding: 0 15px 7px; }
.mobile-break { display: none; }
.homework-journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 38px 42px; }
.journey-step { position: relative; padding: 32px 35px 26px; min-width: 0; display: flex; flex-direction: column; }
.journey-step h3 { color: var(--ink); font: 700 27px/1.5 var(--serif); margin-bottom: 15px; }
.journey-step > p { font-size: 15px; line-height: 1.9; max-width: 34em; }
.step-work { background: #ECE5B9; box-shadow: var(--paper-shadow); transform: rotate(-1deg); }
.step-tape { top: -12px; left: 39%; transform: rotate(4deg); background: rgb(187 198 174 / 65%); }
.work-note { margin-top: 26px; padding-bottom: 18px; }
.work-note > span { font-size: 12px; color: #535D3C; }
.work-note strong { display: block; font: 29px/1.7 var(--hand); margin-top: 6px; color: var(--ink); }
.paper-caption { font-family: var(--hand); font-size: 17px; color: var(--muted); display: block; margin-top: auto; padding-top: 19px; }
.step-check { transform: rotate(1deg); }
.paperclip { position: absolute; width: 15px; height: 41px; right: 32px; top: -12px; border: 2px solid #7A8C82; border-radius: 9px; transform: rotate(12deg); }
.paperclip::before { content: ''; position: absolute; inset: 3px 3px 6px; border: 1px solid #7A8C82; border-bottom: 0; border-radius: 6px 6px 0 0; }
.checklist { margin-top: 25px; font-size: 16px; }
.checklist > div { display: flex; gap: 15px; align-items: center; padding-block: 8px; border-bottom: 1px solid #DCE2D9; }
.check-mark { display: block; width: 15px; height: 9px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); margin-bottom: 5px; }
.red-ink { color: var(--red); }
.step-guide { transform: rotate(.6deg); }
.guide-example { padding: 12px 0 4px; margin-top: 12px; }
.example-label { display: block; color: var(--muted); font-size: 11px; }
.guide-example .exercise { justify-content: flex-start; margin: 17px 0 12px 12px; gap: 21px; }
.guide-example .pen-question { margin-top: 15px; transform: rotate(-2deg); }
.child-correction { color: var(--ink); font-size: 14px; margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--line); }
.step-handbook { background: #DCE5DC; box-shadow: var(--paper-shadow); transform: rotate(-.7deg); padding-bottom: 64px; }
.handbook-page { background: var(--paper); padding: 15px 18px; margin-top: 22px; }
.handbook-line { padding-top: 10px; padding-bottom: 5px; border-bottom: 1px solid #DCE2D9; font-size: 13px; color: var(--muted); }
.handbook-sign { display: flex; justify-content: space-between; align-items: end; margin-top: 17px; font-size: 10px; color: var(--muted); }
.stamp { color: var(--red); font: 20px/1.3 var(--hand); border: 2px solid var(--red); padding: 4px 7px; transform: rotate(-8deg); }
.courses-section { padding-top: 68px; background: #E1E6DE; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 13px; }
.course-card { display: block; position: relative; background: var(--paper); padding: 36px 27px 25px; text-decoration: none; box-shadow: var(--paper-shadow); }
.course-tab { position: absolute; top: -16px; left: 0; background: #C4D3C7; color: #254A40; padding: 3px 19px; font-size: 13px; border-radius: 3px 9px 0 0; }
.course-upper .course-tab { background: #E6DDAA; color: #4C502E; }
.course-junior .course-tab { background: var(--sage); color: #173E35; }
.course-card h3 { font: 700 31px var(--serif); color: var(--ink); margin-bottom: 18px; }
.course-card p { font-size: 15px; color: var(--muted); }
.course-link { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 13px; margin-top: 28px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--ink); }
.course-card:hover h3, .course-card:hover .course-link { color: var(--red); }
.branch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.branch-card { min-width: 0; }
.branch-polaroid { position: relative; padding: 15px 15px 11px; background: var(--paper); box-shadow: var(--paper-shadow); transform: rotate(-1.5deg); margin: 10px 9px 31px; }
.branch-card:nth-child(even) .branch-polaroid { transform: rotate(1.3deg); }
.polaroid-tape { top: -10px; left: 39%; transform: rotate(4deg); }
.photo-placeholder { aspect-ratio: 1.92; background: #DCE1D8; color: #526151; display: flex; gap: 9px; flex-direction: column; align-items: center; justify-content: center; font-size: 14px; }
.photo-placeholder .icon { width: 32px; height: 32px; stroke-width: 1.2; }
.polaroid-caption { display: block; font: 18px/1.6 var(--hand); color: var(--ink); padding-top: 12px; text-align: center; }
.branch-information { padding-inline: 9px; }
.branch-area { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; }
.branch-area .icon { width: 16px; height: 16px; }
.branch-information h3 { font: 700 24px/1.6 var(--serif); margin: 7px 0 13px; color: var(--ink); }
.branch-information h3 a { text-decoration: none; }
.branch-information h3 a:hover { text-decoration: underline; }
.branch-information address, .branch-information p { font-size: 15px; }
.branch-information p { margin-top: 3px; }
.branch-information p a { font-variant-numeric: tabular-nums; }
.branch-information .opening-hours { color: var(--muted); margin-top: 13px; font-size: 13px; }
.branch-detail { margin-top: 13px; }
.faq-section { background: #E2E7DF; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.faq-intro { font-size: 15px; color: var(--muted); margin-top: 13px; }
.faq-note { display: block; font-size: 24px; line-height: 1.65; color: var(--red); transform: rotate(-4deg); margin: 37px 0 0 14px; }
.faq-list details { border-top: 1px solid #AEBEB1; }
.faq-list details:last-child { border-bottom: 1px solid #AEBEB1; }
.faq-list summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 2px; color: var(--ink); font-size: 17px; font-weight: 500; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; width: 9px; height: 9px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); margin: 0 7px 5px 3px; flex-shrink: 0; }
.faq-list details[open] summary::after { transform: rotate(225deg); margin-bottom: -4px; }
.faq-answer { font-size: 15px; color: var(--muted); padding: 0 26px 24px 2px; }
.faq-answer .text-link { margin-top: 12px; }
.all-articles { flex-shrink: 0; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card { text-decoration: none; display: flex; flex-direction: column; }
.article-cover { position: relative; height: 205px; padding: 47px 25px 20px; overflow: hidden; }
.sample-tag { position: absolute; top: 14px; left: 17px; color: var(--ink); font-size: 10px; border: 1px solid currentColor; padding: 1px 7px; background: rgb(255 254 249 / 45%); }
.article-cover-title { display: block; position: relative; z-index: 1; font: 500 27px/1.65 var(--serif); color: var(--ink); }
.cover-homework { background: #DFE6DC; }
.cover-underline { position: absolute; width: 131px; height: 10px; border-bottom: 2px solid var(--coral); left: 26px; bottom: 31px; transform: rotate(-4deg); border-radius: 50%; }
.cover-question { background: #EAE2B6; }
.cover-question-mark { position: absolute; right: 9px; bottom: -28px; font: 150px/1.4 var(--hand); color: rgb(0 98 93 / 10%); }
.cover-handbook { background: #D6E0D6; }
.mini-stamp { position: absolute; right: 17px; bottom: 15px; font: 13px var(--hand); border: 1px solid var(--red); padding: 4px 8px; color: var(--red); transform: rotate(-8deg); }
.article-card h3 { font-size: 17px; line-height: 1.85; font-weight: 500; margin-top: 20px; color: var(--ink); }
.article-read { display: flex; align-items: center; gap: 10px; padding-top: 16px; margin-top: auto; font-size: 12px; color: var(--muted); }
.article-read .icon { width: 19px; }
.article-card:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.closing-section { padding-block: 13px 92px; }
.closing-paper { position: relative; background: var(--paper); box-shadow: var(--paper-shadow); display: flex; flex-direction: column; align-items: flex-start; gap: 32px; padding: 46px 60px; }
.closing-paper h2 { font-size: 34px; }
.closing-paper p { margin-top: 17px; font-size: 15px; color: var(--muted); }
.closing-tape { top: -12px; left: 44%; transform: rotate(-5deg); background: rgb(183 190 155 / 60%); }
.cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--orange); color: #263A2C; padding: 17px 22px; border: 0; font-weight: 600; font-size: 15px; flex-shrink: 0; border-radius: 3px; min-height: 58px; }
.cta-button:hover, .whatsapp-float:hover { background: #FF905F; }
.site-footer { border-top: 1px solid var(--line); padding-top: 46px; padding-bottom: max(116px, calc(92px + env(safe-area-inset-bottom))); background: #E7EBE3; }
.about-strip { display: grid; grid-template-columns: 1fr 2fr; gap: 70px; border-bottom: 1px solid var(--line); padding-bottom: 37px; scroll-margin-top: 25px; }
.about-strip h2 { font-size: 23px; }
.about-strip p { font-size: 14px; color: var(--muted); max-width: 640px; }
.footer-main { display: grid; grid-template-columns: .9fr 2fr; gap: 70px; padding-block: 35px; }
.footer-brand img { width: 138px; height: auto; }
.footer-brand p { font-size: 12px; margin-top: 5px; color: var(--muted); }
.footer-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-top: 10px; }
.footer-branch h3 { font-size: 15px; color: var(--ink); font-weight: 600; margin-bottom: 9px; }
.footer-branch h3 a { text-decoration: none; }
.footer-branch address, .footer-branch p { font-size: 12px; line-height: 2; color: var(--muted); }
.footer-bottom { padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 11px; }
.whatsapp-float { position: fixed; bottom: max(22px, env(safe-area-inset-bottom)); right: 25px; z-index: 30; display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 56px; padding: 13px 21px; border: 1px solid #C2521F; background: var(--orange); color: #263A2C; border-radius: 28px; box-shadow: 0 4px 16px rgb(36 61 43 / 16%); font-size: 14px; font-weight: 600; }
.whatsapp-float .icon { width: 26px; height: 26px; }
.branch-picker { display: none; position: fixed; inset: auto 25px 93px auto; width: min(410px, calc(100% - 40px)); margin: 0; padding: 23px 22px 14px; background: var(--paper); color: var(--text); border: 0; border-radius: 13px; box-shadow: 0 8px 38px rgb(26 46 32 / 22%); z-index: 50; max-height: calc(100dvh - 125px); overflow-y: auto; }
.branch-picker:popover-open, .branch-picker.is-open { display: block; }
.picker-header { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.picker-header h2 { font: 700 21px/1.6 var(--serif); }
.picker-header p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.picker-close { border: 0; background: none; width: 44px; height: 44px; margin: -8px -9px 0 0; flex-shrink: 0; border-radius: 50%; }
.picker-close:hover { background: #E6ECE2; }
.picker-list { list-style: none; margin: 18px 0 0; padding: 0; max-height: min(390px, 52dvh); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.picker-list li { border-top: 1px solid var(--line); }
.picker-list a { display: flex; justify-content: space-between; gap: 10px; align-items: center; text-decoration: none; padding: 16px 8px; }
.picker-list a:hover { background: #E6ECE2; }
.picker-list strong { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.picker-area { color: var(--muted); font-size: 11px; display: block; margin-top: 2px; }
.picker-number { display: block; color: var(--ink); font-size: 13px; font-variant-numeric: tabular-nums; }
.picker-list a > .icon { color: var(--ink); }
.picker-footnote { font-size: 10px; color: var(--muted); margin-top: 8px; }
.picker-backdrop { position: fixed; inset: 0; background: rgb(23 43 34 / 30%); z-index: 40; }
.picker-backdrop[hidden] { display: none; }
@media (min-width: 701px) and (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  .brand { width: 125px; }
  .site-nav { gap: 17px; }
  .site-nav a { font-size: 13px; }
  .hero { gap: 20px; min-height: 620px; }
  .hero-subtitle { font-size: 17px; }
  .hero-sheet { padding: 22px 21px 15px; width: 89%; left: 0; }
  .hero-sheet .exercise { gap: 10px; font-size: 22px; }
  .hero-sheet .pen-question { font-size: 16px; }
  .hero-note { width: 190px; right: 0; bottom: 1px; padding: 23px 21px 17px; }
  .hero-note p { font-size: 23px; }
  .why-inner, .faq-layout { gap: 35px; }
  .journey-step { padding-inline: 25px; }
  .heading-note { font-size: 18px; }
  .course-grid { gap: 15px; }
  .course-card { padding-inline: 20px; }
  .course-card p { font-size: 13px; }
  .course-link { font-size: 11px; gap: 5px; }
  .branch-grid { gap: 35px; }
  .article-grid { gap: 20px; }
  .article-cover { padding-inline: 18px; height: 190px; }
  .article-cover-title { font-size: 22px; }
  .closing-paper { padding: 36px; gap: 20px; }
  .closing-paper h2 { font-size: 28px; }
  .cta-button { padding-inline: 16px; font-size: 13px; gap: 8px; }
  .footer-main, .about-strip { gap: 35px; }
}
@media (max-width: 700px) {
  :root { --whatsapp-float-width: 170px; }
  html { scroll-padding-top: 16px; }
  .container { width: calc(100% - 44px); }
  .section-space { padding-block: 61px; }
  .header-inner { width: calc(100% - 36px); min-height: 88px; gap: 20px; }
  .brand { width: 125px; }
  .menu-toggle { display: flex; align-items: center; gap: 8px; min-width: 77px; min-height: 46px; padding: 8px 9px; border: 1px solid #B1BFB2; background: transparent; border-radius: 3px; color: var(--ink); font-size: 13px; }
  .menu-lines { display: block; width: 17px; height: 10px; border-block: 1px solid var(--ink); position: relative; }
  .menu-lines::after { content: ''; position: absolute; inset: 4px 0 auto; border-top: 1px solid var(--ink); }
  .site-nav { display: none; position: absolute; top: calc(100% - 1px); right: -18px; left: -18px; padding: 15px 22px 20px; background: var(--paper); z-index: 25; box-shadow: 0 8px 12px rgb(34 60 44 / 9%); grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .site-nav.is-open { display: grid; }
  .site-nav a { font-size: 15px; padding: 13px 8px; border-bottom: 1px solid var(--line); }
  .hero { display: block; min-height: 0; padding-block: 39px 52px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(48px, 13.3vw, 70px); line-height: 1.25; letter-spacing: .025em; }
  .hero h1 { max-width: 5em; }
  .hero-subtitle { font-size: 16px; margin-top: 21px; white-space: nowrap; }
  .hero-description { font-size: 13px; margin-top: 12px; }
  .hero .text-link { margin-top: 10px; font-size: 13px; }
  .homework-desk { width: 100%; max-width: 410px; margin: 20px auto 0; height: 560px; }
  .handbook-cover { width: 66%; height: 286px; padding: 18px 14px; top: 19px; right: 7px; transform: rotate(7deg); }
  .handbook-cover > span:first-child { font-size: 10px; }
  .handbook-cover strong { font-size: 23px; margin-top: 7px; }
  .handbook-cover small { font-size: 9px; }
  .hero-sheet { top: 45px; left: 2%; width: 85%; padding: 20px 20px 12px; transform: rotate(-4deg); }
  .sheet-topline { font-size: 9px; padding-bottom: 8px; }
  .hero-sheet h2 { font-size: 17px; margin-top: 12px; }
  .hero-sheet > .exercise { font-size: 23px; gap: 16px; margin-top: 19px; }
  .hero-sheet .pen-question { font-size: 16px; margin-top: 11px; }
  .sheet-bottom { font-size: 9px; margin-top: 10px; }
  /* Below the worksheet, in the lane to the left of the fixed WhatsApp button. */
  .hero-note { width: 167px; padding: 16px 18px 13px; top: 330px; bottom: auto; left: 0; right: auto; transform: rotate(3deg); }
  .hero-note p { font-size: 21px; line-height: 1.45; }
  .note-signature { font-size: 8px; margin-top: 7px; }
  .tape-note { height: 22px; }
  .why-section { padding-block: 35px; }
  .why-inner { display: block; }
  .why-inner h2 { font-size: 26px; }
  .why-copy { margin-top: 20px; font-size: 14px; }
  .why-copy p + p { margin-top: 12px; }
  h2 { font-size: 27px; }
  .section-heading { margin-bottom: 31px; display: block; }
  .section-heading p { font-size: 14px; margin-top: 13px; }
  .heading-note { display: none; }
  .mobile-break { display: block; }
  .homework-journey { grid-template-columns: 1fr; gap: 30px; margin-inline: 3px; }
  .journey-step { padding: 27px 25px 24px; }
  .journey-step h3 { font-size: 25px; margin-bottom: 13px; }
  .journey-step > p { font-size: 14px; }
  .step-work { transform: rotate(-.7deg); }
  .step-check { transform: rotate(.6deg); }
  .step-guide { transform: rotate(-.5deg); }
  .step-handbook { transform: rotate(.5deg); padding-bottom: 64px; }
  .work-note { margin-top: 16px; padding-bottom: 7px; }
  .work-note strong { font-size: 26px; }
  .paper-caption { font-size: 16px; padding-top: 20px; }
  .checklist { margin-top: 15px; font-size: 15px; }
  .guide-example .exercise { gap: 17px; }
  .guide-example .pen-question { font-size: 19px; }
  .handbook-page { margin-top: 19px; }
  .course-grid { grid-template-columns: 1fr; gap: 35px; padding-top: 12px; }
  .course-card { padding: 30px 25px 22px; }
  .course-card h3 { font-size: 29px; margin-bottom: 13px; }
  .course-card p { font-size: 14px; }
  .course-link { margin-top: 20px; padding-top: 13px; }
  .branch-grid { grid-template-columns: 1fr; gap: 45px; }
  .branch-polaroid { padding: 11px 11px 10px; margin-inline: 4px; margin-bottom: 25px; }
  .branch-information { padding-inline: 3px; }
  .branch-information h3 { font-size: 23px; }
  .branch-information address, .branch-information p { font-size: 14px; }
  .faq-layout { grid-template-columns: 1fr; gap: 27px; }
  .faq-note { display: none; }
  .faq-intro { font-size: 14px; }
  .faq-list summary { font-size: 16px; padding-block: 19px; }
  .faq-answer { font-size: 14px; padding-bottom: 22px; }
  .all-articles { margin-top: 10px; font-size: 13px; }
  .article-grid { grid-template-columns: 1fr; gap: 33px; }
  .article-cover { height: 204px; padding-top: 49px; }
  .article-cover-title { font-size: 28px; }
  .article-card h3 { margin-top: 17px; font-size: 17px; }
  .article-read { padding-top: 10px; }
  .closing-section { padding-block: 9px 63px; }
  .closing-paper { display: block; padding: 30px 24px; }
  .closing-paper h2 { font-size: 27px; }
  .closing-paper p { font-size: 14px; margin-top: 17px; }
  .closing-tape { left: 35%; }
  /* Keep a horizontal gap from the float, even when both buttons share a row. */
  .cta-button { display: inline-flex; margin-top: 25px; width: auto; max-width: 100%; font-size: 14px; padding-inline: 16px; white-space: nowrap; overflow-wrap: normal; }
  .cta-button .icon:last-child { width: 20px; margin-left: 0; }
  .site-footer { padding-top: 34px; padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .about-strip { display: block; padding-bottom: 27px; }
  .about-strip h2 { font-size: 23px; }
  .about-strip p { margin-top: 14px; font-size: 13px; }
  .footer-main { display: block; padding-block: 26px; }
  .footer-brand img { width: 129px; }
  .footer-brand p { margin-top: 0; }
  .footer-branches { grid-template-columns: 1fr; padding-top: 27px; gap: 24px; }
  .footer-branch h3 { font-size: 15px; }
  .footer-branch address, .footer-branch p { font-size: 13px; }
  .footer-bottom { align-items: center; font-size: 10px; }
  .whatsapp-float { bottom: max(16px, env(safe-area-inset-bottom)); right: 16px; width: var(--whatsapp-float-width); padding: 13px 17px; font-size: 13px; min-height: 55px; }
  .branch-picker { width: 100%; inset: auto 0 0; max-height: min(80dvh, 630px); padding: 27px 22px max(18px, env(safe-area-inset-bottom)); border-radius: 17px 17px 0 0; }
  .branch-picker::before { content: ''; position: absolute; top: 9px; left: calc(50% - 20px); width: 40px; height: 3px; border-radius: 3px; background: var(--sage); }
  .picker-list { max-height: 50dvh; }
  .picker-list a { padding-block: 17px; }
  .picker-open { overflow: hidden; }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 36px); }
  .hero-subtitle { font-size: 14px; }
  .hero-sheet { padding-inline: 17px; }
  .hero-sheet > .exercise { gap: 12px; }
  .journey-step { padding-inline: 20px; }
  .guide-example .exercise { gap: 14px; }
  .closing-paper { padding-inline: 21px; }
  .cta-button { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* V2: an afternoon homework desk. All marks are CSS / SVG, no stock imagery. */
:root { --desk: #f3eddd; --paper: #fffdf5; --blue: #426d9a; --line: #d4cdbb; --paper-shadow: 1px 3px 2px #6b553013, 4px 10px 23px #6b553018; }
body { background-image: repeating-linear-gradient(0deg, transparent 0 6px, #a58c5904 6px 7px); }
.site-header { background: #fffdf55e; border-bottom: 1px dashed #aaa58f; }
.header-inner { min-height: 100px; }
.hero { min-height: 710px; padding-block: 48px 76px; grid-template-columns: .95fr 1.05fr; }
.desk-label { font-size: 11px; color: var(--ink); letter-spacing: .07em; margin-bottom: 23px; }
.desk-label span { display: block; color: var(--muted); letter-spacing: .15em; margin-top: 3px; }
.hero h1 { font-size: clamp(58px, 6.2vw, 80px); line-height: 1.35; }
.highlight-word { position: relative; isolation: isolate; white-space: nowrap; }
.highlight-word::before { content: ''; position: absolute; inset: 54% -5px 9%; background: #efdb5b8f; z-index: -1; transform: rotate(-2deg); clip-path: polygon(0 5%, 98% 0, 100% 95%, 2% 100%); }
.highlight-word svg { position: absolute; width: 100%; height: 24px; left: 0; bottom: -15px; fill: none; stroke: var(--red); stroke-width: 2.5; }
.hero-subtitle { margin-top: 31px; }
.homework-desk { height: 535px; }
.handbook-cover { top: 32px; right: 5px; transform: rotate(11deg); background: #00625d; height: 370px; }
.hero-sheet { top: 94px; left: 1%; width: 82%; padding: 26px 29px 24px 39px; transform: rotate(-7deg); background-image: linear-gradient(90deg, transparent 26px, #d8737366 26px 27px, transparent 27px), repeating-linear-gradient(transparent 0 31px, #a5bfdb55 31px 32px); background-position: 0 0, 0 16px; }
.hero-sheet::after { content: ''; position: absolute; height: 10px; bottom: -8px; left: 0; right: 0; background: var(--paper); clip-path: polygon(0 0,100% 0,100% 40%,97% 90%,94% 30%,91% 80%,88% 40%,85% 90%,82% 30%,79% 70%,76% 20%,73% 90%,70% 40%,67% 80%,64% 30%,61% 80%,58% 20%,55% 70%,52% 40%,49% 90%,46% 30%,43% 80%,40% 20%,37% 80%,34% 30%,31% 90%,28% 30%,25% 80%,22% 40%,19% 90%,16% 20%,13% 80%,10% 40%,7% 90%,4% 30%,0 80%); }
.tape-top { background: repeating-linear-gradient(90deg,#e7503f70 0 5px,#e7503f36 5px 10px); width: 110px; transform: rotate(5deg); }
.hero-sheet .pen-question { font-size: 21px; }
.hero-note { bottom: 2px; right: -2px; width: 207px; padding: 22px 22px 17px; background: #f4df78; transform: rotate(6deg); }
.hero-note p { font-size: 25px; }
.asset-slot { border: 1px dashed #7d8f9e; color: #405d71; background-color: #f3f4ed; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.asset-slot strong { font: 500 15px/1.7 var(--sans); }
.slot-number { font: 10px/1.6 var(--sans); letter-spacing: .09em; color: #546475; }
.hero-handwriting { position: absolute; left: 8px; bottom: 5px; width: 242px; min-height: 116px; padding: 18px 19px; transform: rotate(-4deg); box-shadow: var(--paper-shadow); background-image: repeating-linear-gradient(transparent 0 27px,#9ebcdd55 27px 28px); }
.hero-handwriting .tape { width: 65px; height: 22px; top: -12px; left: 76px; background: #e5b1a978; transform: rotate(8deg); }
.slot-lines { display: block; height: 18px; width: 90%; border-bottom: 1px solid #7894b3; }
.desk-pencil { position: absolute; z-index: 4; width: 11px; height: 205px; right: -8px; top: 140px; background: linear-gradient(90deg,#c88f24 0 20%,#efc659 20% 72%,#d29a32 72%); transform: rotate(19deg); border-radius: 2px; box-shadow: 3px 3px 2px #4c341926; pointer-events: none; }
.desk-pencil::after { content: ''; position: absolute; bottom: -24px; left: 0; border-left: 5.5px solid transparent; border-right: 5.5px solid transparent; border-top: 25px solid #b69b72; }
.desk-pencil::before { content: ''; position: absolute; bottom: -24px; left: 4px; height: 6px; width: 3px; background: #55544a; z-index: 1; }
.desk-eraser { position: absolute; right: 10px; top: 20px; width: 54px; height: 25px; background: linear-gradient(90deg,#d8979b 0 35%,#e9ded0 35% 80%,#c7c8b9 80%); border-radius: 4px; transform: rotate(-15deg); box-shadow: 2px 4px 3px #60412b22; }
.desk-doodle { position: absolute; left: -4px; top: -5px; width: 82px; height: 82px; fill: none; stroke: #7b77627a; stroke-width: 1.5; transform: rotate(-10deg); }
.why-section { background: #e8dfc8; border-block: 1px solid #d4c8aa; }
.why-section::before { background: #e8dfc8; }
.why-inner h2 { position: relative; }
.why-inner h2::after { content: ''; display: block; width: 155px; height: 8px; margin-top: 13px; background: #edcf4c88; transform: rotate(-2deg); }
.section-index { display: block; font-size: 11px; letter-spacing: .12em; color: #77634e; margin-bottom: 11px; }
.approach-section { padding-bottom: 105px; }
.heading-note { border-bottom: 2px solid var(--red); border-radius: 0 0 40% 30%; }
.homework-journey { gap: 40px 36px; counter-reset: journey; }
.journey-step { padding: 34px 34px 28px; }
.journey-step h3 { padding-right: 40px; }
.step-number { position: absolute; right: 24px; top: 22px; font: 34px/1.4 var(--serif); color: #426d9a; transform: rotate(8deg); opacity: .8; }
.step-work { background: #f4df7b; transform: rotate(-1.7deg); }
.step-check { transform: rotate(1.3deg); background-image: repeating-linear-gradient(transparent 0 31px,#aac3dc45 31px 32px); }
.step-guide { transform: rotate(-.6deg); border-left: 3px solid #cb7d7d8a; }
.step-handbook { background: #e1e9df; transform: rotate(1.5deg); padding-bottom: 28px; }
.step-handbook .step-tape { background: repeating-linear-gradient(-45deg,#759db64f 0 3px,#9bbac333 3px 7px); }
.homework-slot { min-height: 92px; margin-top: 20px; padding: 12px 17px; background-image: repeating-linear-gradient(90deg,transparent 0 19px,#abbfce30 19px 20px),repeating-linear-gradient(transparent 0 19px,#abbfce30 19px 20px); }
.courses-section { background: #dce6e6; border-block: 1px dashed #7c9c9a; }
.course-grid { gap: 28px; }
.course-card { border-top: 3px solid #dfbd51; transform: rotate(-1deg); }
.course-upper { transform: rotate(1deg); border-color: #cc8586; }
.course-junior { transform: rotate(-.6deg); border-color: #7195b8; }
.course-tab { background: #f1d86c; }
.course-upper .course-tab { background: #ecc5c0; }
.course-junior .course-tab { background: #b8d0e7; }
.course-card h3 { display: inline-block; position: relative; }
.course-upper h3::after { content: ''; position: absolute; inset: -8px -14px; border: 2px solid #b12528a6; border-radius: 50%; transform: rotate(-8deg); }
.branch-polaroid { transform: rotate(-2.4deg); }
.branch-card:nth-child(even) .branch-polaroid { transform: rotate(2deg); }
.photo-placeholder { background: #e8e5db; background-image: repeating-linear-gradient(0deg,transparent 0 23px,#b7b2a122 23px 24px); }
.polaroid-tape { background: #edb49b91; }
.faq-section { background: #f9f6eb; border-block: 1px solid #d4cdbb; }
.faq-list { border-left: 1px solid #ce858566; padding-left: 26px; }
.faq-list details { border-color: #a9bdcc; }
.article-cover { box-shadow: var(--paper-shadow); }
.cover-homework { background: #ebe6d5; transform: rotate(-1.5deg); background-image: repeating-linear-gradient(transparent 0 27px,#a6bed05c 27px 28px); }
.cover-question { background: #f0df8b; transform: rotate(1deg); }
.cover-handbook { background: #e3e9df; transform: rotate(-1deg); }
.article-asset-label { position: absolute; bottom: 15px; left: 25px; font-size: 11px; padding: 2px 9px; border: 1px dashed #6e817d; background: #fffdf5b8; }
.closing-paper { background-color: #fffdf4; background-image: repeating-linear-gradient(transparent 0 33px,#9fbad131 33px 34px); border-left: 2px solid #cb7e7e; transform: rotate(-.6deg); }
.closing-tape { background: #e7503f66; }
.cta-button, .cta-label { white-space: nowrap; overflow-wrap: normal; }
.site-footer { background: #e9e2d1; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .course-card, .branch-polaroid, .article-cover { transition: transform .2s ease; } .course-card:hover, .branch-card:hover .branch-polaroid, .article-card:hover .article-cover { transform: rotate(0); } }
@media (min-width: 701px) and (max-width: 1000px) {
 .hero-handwriting { width: 190px; padding-inline: 13px; } .hero-note { width: 160px; padding-inline: 16px; } .hero-note p { font-size: 21px; } .desk-pencil { right: 0; } .hero-sheet { padding-inline: 27px 18px; } .hero-sheet .pen-question { font-size: 16px; }
}
@media (max-width: 700px) {
 .header-inner { min-height: 85px; } .hero { padding-block: 28px 47px; } .desk-label { font-size: 10px; margin-bottom: 17px; } .desk-label span { display: none; }
 .hero h1 { font-size: clamp(48px,13.2vw,70px); } .hero-subtitle { margin-top: 27px; white-space: normal; } .hero-description { font-size: 13px; }
 .homework-desk { height: 480px; margin-top: 14px; } .handbook-cover { height: 275px; top: 20px; right: 13px; transform: rotate(7deg); }
 .hero-sheet { top: 53px; left: 3%; width: 86%; padding: 20px 17px 17px 29px; transform: rotate(-4deg); background-image: linear-gradient(90deg,transparent 19px,#d8737366 19px 20px,transparent 20px),repeating-linear-gradient(transparent 0 31px,#a5bfdb55 31px 32px); }
 .hero-sheet h2 { font-size: 16px; } .hero-sheet .pen-question { font-size: 16px; } .hero-sheet > .exercise { gap: 14px; }
 .desk-pencil { height: 150px; top: 100px; right: 0; transform: rotate(8deg); } .desk-eraser, .desk-doodle { display: none; }
 .hero-handwriting { left: 6px; top: 349px; bottom: auto; width: 205px; min-height: 102px; padding: 12px 16px; transform: rotate(-2deg); }
 .hero-handwriting strong { font-size: 13px; } .hero-note { left: auto; right: 3px; top: 292px; bottom: auto; width: 142px; padding: 14px 13px; transform: rotate(4deg); } .hero-note p { font-size: 19px; } .note-signature { font-size: 8px; }
 .section-index { font-size: 10px; } .journey-step { padding: 28px 24px 25px; } .journey-step h3 { font-size: 24px; padding-right: 32px; } .step-number { font-size: 28px; top: 22px; right: 20px; }
 .homework-journey { gap: 31px; } .step-work, .step-check, .step-guide, .step-handbook { transform: none; } .homework-slot { min-height: 88px; }
 .course-card, .course-upper, .course-junior { transform: none; } .course-grid { gap: 35px; } .faq-list { padding-left: 16px; } .closing-paper { transform: none; padding-inline: 22px; } .closing-paper h2 { font-size: 26px; } .cta-button { gap: 8px; padding-inline: 13px; font-size: 13px; } .cta-button .icon { width: 20px; }
 .article-asset-label { bottom: 12px; } .branch-polaroid { transform: rotate(-1.5deg); } .branch-card:nth-child(even) .branch-polaroid { transform: rotate(1.3deg); }
 /* Leave the persistent WhatsApp control visible below an open mobile picker. */
 .branch-picker { bottom: 84px; width: calc(100% - 24px); left: 12px; right: 12px; border-radius: 12px; max-height: calc(100dvh - 110px); }
 .picker-backdrop { bottom: 80px; } .whatsapp-float { z-index: 45; }
}
@media (max-width: 359px) { .hero-handwriting { width: 183px; } .hero-note { width: 130px; } .hero-note p { font-size: 17px; } .hero-sheet > .exercise { gap: 11px; } .closing-paper { padding-inline: 17px; } .cta-button { font-size: 12px; gap: 6px; padding-inline: 10px; } }
/* font test */
@font-face { font-family: 'ThePeakFontPlus'; src: url('fonts/ThePeakFontPlus-Regular.ttf') format('truetype'); font-display: swap; }
:root { --hand: 'ThePeakFontPlus', 'Scholar Serif', serif; }
h1, h2 { font-family: 'Chiron GoRound TC', var(--sans); font-weight: 800; }

/* ===== realism pass (hero desk) ===== */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .36 0 0 0 0 .28 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}
/* paper sheet: soft contact + lifted shadow that also follows the torn edge, punched holes, grain, light falloff */
.hero-sheet { box-shadow: none; filter: drop-shadow(0 1px 1px rgb(60 45 20 / 22%)) drop-shadow(3px 12px 14px rgb(60 45 20 / 16%)) drop-shadow(10px 26px 30px rgb(60 45 20 / 10%)); }
.hero-sheet::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 13px 22%, #e9e1cc 0 5px, #d3c8ae 5.5px, transparent 6.5px),
    radial-gradient(circle at 13px 50%, #e9e1cc 0 5px, #d3c8ae 5.5px, transparent 6.5px),
    radial-gradient(circle at 13px 78%, #e9e1cc 0 5px, #d3c8ae 5.5px, transparent 6.5px),
    linear-gradient(115deg, rgb(255 255 255 / 35%) 0%, transparent 38%, transparent 70%, rgb(120 95 50 / 9%) 100%),
    var(--grain);
  mix-blend-mode: multiply; opacity: .9; }
.hero-sheet > * { position: relative; z-index: 1; }
.hero-sheet > .tape { position: absolute; z-index: 3; }
/* ink: slight bleed so pen marks sit IN the paper */
.pen-question, .hero-note p { text-shadow: 0 0 .6px currentColor; mix-blend-mode: multiply; }
.pen-question { color: #b42a2a; opacity: .93; }
.mistake::after { border-width: 2.2px; border-color: #b12528e0; border-top-color: #b12528aa; box-shadow: 0 0 .5px #b12528; }

/* sticky note: glued top, curled-up bottom corner casting a deeper shadow */
.hero-note { box-shadow: none; background: linear-gradient(178deg, #efd765 0%, #f6e284 18%, #f8e68e 70%, #f2dc78 100%);
  filter: drop-shadow(0 1px 1px rgb(80 60 10 / 22%)) drop-shadow(2px 8px 9px rgb(80 60 10 / 18%));
  clip-path: polygon(0 0, 100% 0, 100% 86%, 93% 100%, 0 100%); }
.hero-note::before { content: ''; position: absolute; inset: 0; background: var(--grain); mix-blend-mode: multiply; opacity: .55; pointer-events: none; }
.hero-note::after { content: ''; position: absolute; right: 0; bottom: 0; width: 7%; height: 14%; background: linear-gradient(225deg, transparent 49%, #e6cd5e 50%, #fff3b8 100%); box-shadow: -2px -2px 4px rgb(80 60 10 / 18%); }

/* washi / masking tape: translucent, slightly glossy, fibrous */
.tape { backdrop-filter: saturate(1.1); box-shadow: 0 1px 1.5px rgb(60 45 20 / 12%); }
.tape::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(255 255 255 / 35%), transparent 45%, rgb(0 0 0 / 5%)), var(--fibre); mix-blend-mode: soft-light; }

/* handbook: cloth-bound cover with spine shadow, stitched border, worn corners */
.handbook-cover { box-shadow: inset 14px 0 18px -8px rgb(0 0 0 / 35%), inset -2px 0 0 rgb(255 255 255 / 8%), 0 2px 2px rgb(20 30 25 / 25%), 6px 18px 30px rgb(20 30 25 / 22%);
  background-color: #00625d; background-image: var(--grain), linear-gradient(100deg, rgb(255 255 255 / 4%), rgb(0 0 0 / 14%)); background-blend-mode: multiply; }
.handbook-cover::after { content: ''; position: absolute; inset: 12px 12px 12px 24px; border: 1.5px dashed rgb(255 254 249 / 28%); border-radius: 4px; pointer-events: none; }

/* placeholder card: also real paper */
.hero-handwriting { box-shadow: 0 1px 1px rgb(60 45 20 / 18%), 3px 10px 16px rgb(60 45 20 / 14%); }
.hero-handwriting::after { content: ''; position: absolute; inset: 0; background: var(--grain); mix-blend-mode: multiply; opacity: .5; pointer-events: none; }

/* pencil + eraser: rounder, lit from top-left */
.desk-pencil, .desk-eraser { filter: drop-shadow(2px 4px 3px rgb(60 45 20 / 22%)); }
.hero-sheet::before { opacity: .5; }
.hero-sheet::after { background: #f6f2e6; }
.hero-note::before { opacity: .4; }
/* ===== t111 edits ===== */
.sheet-topline { display:flex; justify-content:space-between; align-items:baseline; }
.sheet-ex { font: 600 15px/1.4 var(--sans); color:#35463E; letter-spacing:.02em; }
.sheet-date { font: 18px/1.4 var(--hand); color:#2f4a7a; border-bottom:1px solid #9aa9be; padding: 0 4px; }
.hero-sheet h2.sheet-title { font-family: var(--hand); font-weight:400; color:#b42a2a; font-size: clamp(22px, 2.1vw, 28px); text-shadow: 0 0 .6px currentColor; mix-blend-mode:multiply; transform: rotate(-1.5deg); margin-top:14px; }
.q-no { font: 600 20px/1 var(--sans); color:#35463E; margin-right:4px; align-self:center; }
.philosophy-note { position:absolute; left: 0; bottom: -18px; width: 250px; z-index:4; transform: rotate(-3deg); color: var(--ink); }
.philosophy-arrow { position:absolute; right: -6px; top: -78px; width: 96px; height: 72px; fill:none; stroke: #b42a2a; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.philosophy-label { display:inline-block; font: 600 13px/1.4 var(--sans); color:#fff; background: var(--ink); padding: 2px 10px; border-radius: 2px; transform: rotate(-2deg); }
.philosophy-note p { font: 30px/1.4 var(--hand); color: var(--ink); margin-top: 6px; background: linear-gradient(transparent 62%, #f6e27a99 62% 92%, transparent 92%); display:inline; }
@media (max-width: 760px) {
  .philosophy-note { width: 200px; bottom: -10px; }
  .philosophy-note p { font-size: 23px; }
  .philosophy-arrow { width: 70px; height: 54px; top: -56px; right: 0; }
}
.philosophy-note { width: 300px; bottom: -30px; }
.philosophy-label { display: table; margin-bottom: 4px; }
.philosophy-note p { display: inline; white-space: nowrap; font-size: 28px; }
.philosophy-arrow { right: 40px; top: -62px; width: 80px; height: 60px; }
.hero-note p { white-space: nowrap; }
@media (max-width: 760px) { .philosophy-note { width: 220px; } .philosophy-note p { font-size: 22px; } .philosophy-arrow { right: 20px; top: -48px; width: 60px; height: 46px; } }

/* ===== hero intro animation (plays once, ~3.2s) ===== */
@property --ring { syntax: '<angle>'; inherits: false; initial-value: 360deg; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.hero-play) .handbook-cover,
  html:not(.hero-play) .hero-sheet,
  html:not(.hero-play) .hero-note,
  html:not(.hero-play) .philosophy-note,
  html:not(.hero-play) .desk-pencil,
  html:not(.hero-play) .desk-eraser { opacity: 0; }

  .hero-play .handbook-cover { animation: drop .7s cubic-bezier(.2,.8,.25,1) both; }
  .hero-play .hero-sheet { animation: drop .7s .15s cubic-bezier(.2,.8,.25,1) both; }
  .hero-play .desk-pencil { animation: roll .6s .35s ease-out both; }
  .hero-play .desk-eraser { animation: roll .6s .45s ease-out both; }
  .hero-play .hero-sheet > .tape-top { animation: tape .35s .8s ease-out both; }
  .hero-play .hero-sheet h2.sheet-title { animation: write .7s 1s steps(10, end) both; }
  .hero-play .mistake::after { animation: ring .55s 1.6s ease-in-out both; mask: conic-gradient(from 200deg, #000 var(--ring), transparent 0); }
  .hero-play .pen-question { animation: write .8s 2.05s steps(12, end) both; }
  .hero-play .hero-note { animation: stick .55s 2.6s cubic-bezier(.3,1.6,.5,1) both; transform-origin: 50% 0; }
  .hero-play .philosophy-note { animation: fade .3s 3s ease-out both; }
  .hero-play .philosophy-arrow path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .hero-play .philosophy-arrow .arr1 { animation: draw .45s 3.15s ease-out forwards; }
  .hero-play .philosophy-arrow .arr2 { animation: draw .2s 3.55s ease-out forwards; }
  .hero-play .philosophy-note p { background-repeat: no-repeat; background-size: 0% 100%; animation: hl .6s 3.75s ease-out forwards; }

  /* gentle hover after intro (desktop) */
  @media (hover: hover) {
    .hero-sheet, .hero-note { transition: translate .25s ease, filter .25s ease; }
    .hero-sheet:hover, .hero-note:hover { translate: 0 -4px; }
    .desk-pencil:hover { animation: wiggle .5s ease; }
  }
}
@keyframes drop { from { opacity: 0; translate: 0 -40px; scale: 1.04; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes roll { from { opacity: 0; translate: 30px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes tape { from { opacity: 0; scale: 1.3; } to { opacity: 1; scale: 1; } }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ring { from { --ring: 0deg; } to { --ring: 360deg; } }
@keyframes stick { 0% { opacity: 0; translate: 0 -30px; scale: 1.15; } 60% { opacity: 1; translate: 0 2px; scale: .98; } 100% { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes hl { to { background-size: 100% 100%; } }
@keyframes wiggle { 25% { rotate: -4deg; } 75% { rotate: 3deg; } }

/* ===== custom cursors: pencil everywhere, red pen on clickable things ===== */
html, body { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg transform='rotate(45 16 16)'%3E%3Crect x='13' y='3' width='6' height='5' rx='1' fill='%23E89AA0' stroke='%23333' stroke-width='.8'/%3E%3Crect x='13' y='8' width='6' height='2' fill='%23B9B9B9' stroke='%23333' stroke-width='.8'/%3E%3Crect x='13' y='10' width='6' height='13' fill='%23F2C14E' stroke='%23333' stroke-width='.8'/%3E%3Cpath d='M13 23 L16 30 L19 23 Z' fill='%23F3D9B1' stroke='%23333' stroke-width='.8'/%3E%3Cpath d='M15.2 28 L16 30 L16.8 28 Z' fill='%23333'/%3E%3C/g%3E%3C/svg%3E") 5 27, auto; }
a, button, summary, [role="button"], label { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg transform='rotate(45 16 16)'%3E%3Crect x='13' y='2' width='6' height='9' rx='2' fill='%23B12528' stroke='%23333' stroke-width='.8'/%3E%3Crect x='13.5' y='11' width='5' height='12' fill='%23F4F1EA' stroke='%23333' stroke-width='.8'/%3E%3Cpath d='M13.5 23 L16 30 L18.5 23 Z' fill='%23B12528' stroke='%23333' stroke-width='.8'/%3E%3C/g%3E%3C/svg%3E") 5 27, pointer; }
/* slogan mock */
.whatsapp-float,.cta-button{background:#00625D!important;color:#FFFEF9!important;border-color:#004E4A!important}
.whatsapp-float svg,.cta-button svg{fill:#FFFEF9!important;color:#FFFEF9!important}
#hero-heading{font-size:clamp(2.1rem,4.6vw,4.1rem);line-height:1.25}
#hero-heading .nw{display:inline-block;white-space:nowrap}
@media (max-width:600px){#hero-heading{font-size:2.55rem}}
.hero-subtitle{font-family:'Chiron GoRound TC',sans-serif;font-weight:400}
/* why section v3 */
.why-inner{grid-template-columns:.8fr 1fr .75fr;gap:54px}
.why-copy p{line-height:1.9}
.obs-card{position:relative;margin:0;background:#FFFEF9 repeating-linear-gradient(transparent 0 31px,#d6e1ea 31px 32px);background-position:0 14px;padding:26px 24px 22px;transform:rotate(1.8deg);box-shadow:0 1px 0 #e6dfcd,0 10px 18px -10px #5a4a2a55,0 2px 4px #5a4a2a22;border-left:2px solid #e7a3a0}
.obs-tape{position:absolute;top:-12px;left:50%;width:84px;height:22px;translate:-50% 0;rotate:-4deg;background:#E7503F55}
.obs-title{font-family:var(--hand);color:#B12528;font-size:20px;margin-bottom:6px}
.obs-card ul{list-style:none;margin:0;padding:0}
.obs-card li{display:flex;justify-content:space-between;gap:10px;font-family:var(--hand);font-size:17px;color:#2b3b36;line-height:32px}
.obs-card em{font-style:normal;color:#B12528;font-weight:700;letter-spacing:2px}
.obs-card em.ok{color:#00625D}
.obs-next{margin-top:8px;font-family:var(--hand);font-size:17px;color:#00625D;line-height:32px}
.obs-next b{background:linear-gradient(transparent 55%,#F4DF78aa 55%);font-weight:400}
.obs-sample{position:absolute;right:10px;bottom:-22px;font-size:11px;color:#93A398}
@media (max-width:900px){.why-inner{display:block}.obs-card{margin:34px auto 10px;max-width:320px}}
@media (min-width:901px){.why-inner{grid-template-columns:.62fr 1.2fr .7fr;gap:44px}.why-copy{max-width:none}}

/* values section (part 4) */
.values-section { position: relative; }
.values-section::before { content:''; position:absolute; left:-4%; right:-4%; top:0; height:14px; background:
  radial-gradient(circle at 10px -4px, transparent 9px, #E9DFC9 10px) 0 0/22px 14px repeat-x; opacity:.55; }
.values-grid { display:grid; grid-template-columns: 1fr 1.15fr; gap: 44px; margin-top: 40px; align-items: start; }
.value-card { position: relative; padding: 38px 36px 40px; box-shadow: var(--paper-shadow); }
.value-card h3 { color: var(--ink); font-family: 'Chiron GoRound TC', var(--serif); font-weight: 800; font-size: 26px; line-height:1.45; margin-bottom: 16px; }
.value-card p { font-size: 15.5px; line-height: 1.95; color: #34433C; }
.value-card p + p { margin-top: 14px; }
.value-no { position:absolute; top: 18px; right: 26px; font-family: var(--hand); font-size: 46px; color: var(--coral); line-height:1; transform: rotate(-6deg); }
.value-self { background: #E8DCC2; background-image: radial-gradient(rgb(120 90 50 / 6%) 1px, transparent 1px); background-size: 6px 6px; transform: rotate(-1deg); border-radius: 2px 6px 3px 8px; }
.value-tape { top: -13px; left: 30px; transform: rotate(-5deg); background: rgb(231 80 63 / 45%); }
.self-list { list-style:none; margin-top: 22px; padding: 16px 20px; background: var(--paper); transform: rotate(1deg); }
.self-list li { display:flex; align-items:center; gap: 12px; font-family: var(--hand); font-size: 21px; color: var(--ink); padding: 6px 0; border-bottom: 1px dashed #D8D2C2; }
.self-list li:last-child { border-bottom: 0; }
.box-tick { position: relative; width: 20px; height: 20px; border: 2px solid var(--ink); border-radius: 3px 5px 2px 4px; flex: none; }
.box-tick::after { content:''; position:absolute; left: 4px; top: -3px; width: 14px; height: 8px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-48deg); }
.value-try { background: var(--paper); background-image: repeating-linear-gradient(transparent 0 31px, #E3E8E2 31px 32px); transform: rotate(.6deg); margin-top: 26px; padding-bottom: 150px; }
.value-try::before { content:''; position:absolute; top:0; bottom:0; left: 22px; border-left: 1.5px solid rgb(177 37 40 / 30%); }
.try-note { position:absolute; right: 30px; bottom: 26px; width: 210px; padding: 20px 18px 16px; background: #F6DA74; box-shadow: 0 2px 2px rgb(0 0 0 / 8%), 3px 10px 16px rgb(60 50 20 / 16%); font-family: var(--hand); font-size: 20px; line-height: 1.55; color: var(--ink); transform: rotate(-3deg); }
.try-note .tape-note { left: 32%; }
@media (max-width: 900px) {
  .values-grid { grid-template-columns: 1fr; gap: 34px; }
  .value-card { padding: 32px 24px 34px; }
  .value-try { margin-top: 0; padding-bottom: 34px; }
  .try-note { position: relative; right:auto; bottom:auto; margin: 24px 0 0 auto; }
}
@media (min-width: 901px) { .value-try { padding-bottom: 190px; } }

/* courses v2 */
.course-grid-v2 { margin-top: 34px; gap: 30px; }
.cv2 { display: flex; flex-direction: column; }
.cv2 h3 { font-family: 'Chiron GoRound TC', var(--serif); font-weight: 800; font-size: 28px; }
.cv2 p { color: #34433C; line-height: 1.85; }
.cv2-homework { border-color: #dfbd51; transform: rotate(-1deg); }
.cv2-secondary { border-color: #7195b8; transform: rotate(.7deg); }
.cv2-subject { border-color: #cc8586; transform: rotate(-.4deg); }
.cv2-secondary .course-tab { background: #b8d0e7; }
.cv2-subject .course-tab { background: #ecc5c0; }
.cv2-subject h3::after { content: none; }
.course-facts { list-style: none; margin-top: 18px; }
.course-facts li { display: inline-flex; align-items: baseline; gap: 10px; padding: 8px 14px; background: #FBF1C9; transform: rotate(-1.5deg); }
.course-facts span { font-size: 13px; color: var(--muted); }
.course-facts strong { font-family: var(--hand); font-size: 24px; color: var(--ink); font-weight: 400; }
.course-facts em { font-style: normal; font-size: 15px; margin: 0 6px; color: var(--red); }
.subject-chips { display: flex; gap: 12px; margin-top: 18px; }
.subject-chips span { width: 46px; height: 46px; display: grid; place-items: center; font-family: var(--hand); font-size: 24px; color: var(--red); border: 2px solid var(--red); border-radius: 48% 52% 45% 55%; transform: rotate(-6deg); }
.subject-chips span:nth-child(2) { transform: rotate(5deg); }
.cv2 .course-link { margin-top: auto; }
.cv2 p + .course-link, .cv2 .course-facts + .course-link, .cv2 .subject-chips + .course-link { margin-top: 28px; }
.coming-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 40px; max-width: 66%; }
.coming-card { position: relative; display: flex; align-items: center; gap: 18px; padding: 26px 28px; border: 2px dashed #8FA79F; border-radius: 4px 10px 6px 12px; background: rgb(255 254 249 / 45%); transform: rotate(.8deg); }
.coming-b { transform: rotate(-1deg); }
.coming-tape { top: -12px; right: 24px; width: 66px; background: rgb(231 80 63 / 35%); transform: rotate(6deg); }
.coming-q { font-family: 'Chiron GoRound TC', var(--serif); font-weight: 800; font-size: 40px; color: var(--coral); line-height: 1; }
.coming-card strong { font-family: 'Chiron GoRound TC', var(--serif); font-size: 20px; color: var(--ink); }
.coming-hand { font-family: var(--hand); font-size: 18px; color: var(--muted); margin-left: auto; }
@media (max-width: 900px) { .coming-row { grid-template-columns: 1fr; max-width: none; gap: 22px; } .cv2 { transform: none; } }
.cv2 p + .course-link, .cv2 .course-facts + .course-link, .cv2 .subject-chips + .course-link { margin-top: auto; }
.cv2 .course-link { padding-top: 17px; } .cv2 > :nth-last-child(2) { margin-bottom: 28px; }
.course-facts { align-self: flex-start; }
.coming-q { font-family: var(--hand); font-size: 42px; font-variant-emoji: text; }

.course-eyebrow { display:inline-block; font-family:'Chiron GoRound TC', var(--serif); font-weight:800; font-size:15px; color: var(--paper); background: var(--ink); padding: 3px 14px; border-radius: 3px 8px 4px 9px; transform: rotate(-2deg); margin-bottom: 14px; }
.courses-big { font-family:'Chiron GoRound TC', var(--serif); font-weight:800; font-size: clamp(28px, 3.2vw, 42px); line-height:1.5; }
.courses-big .hl { background: linear-gradient(transparent 58%, rgb(246 218 116 / 85%) 58% 92%, transparent 92%); color: inherit; padding: 0 2px; }
.courses-big .hl-red { background: none; position: relative; color: var(--red); }
.courses-big .hl-red::after { content:''; position:absolute; left:-2%; right:-2%; bottom:-4px; height:9px; border-bottom: 3px solid var(--red); border-radius: 0 0 50% 40%; transform: rotate(-1.5deg); }

#branches-heading { font-family:'Chiron GoRound TC', var(--serif); font-weight:800; }
.branch-information h3 { font-family:'Chiron GoRound TC', var(--serif); font-weight:800; }
.branch-actions { display:flex; align-items:center; gap: 22px; margin-top: 16px; flex-wrap: wrap; }
.branch-actions .branch-detail { margin-top: 0; }
.branch-wa { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding: 0 20px; background:#00625D; color:#FFFEF9 !important; text-decoration:none; font-weight:600; font-size:15px; border-radius: 4px 12px 6px 10px; box-shadow: 0 3px 0 #004743; }
.branch-wa .icon { width:20px; height:20px; color:#FFFEF9; fill: currentColor; }

.branch-information .opening-hours { display:flex; flex-direction:column; gap:2px; margin-top: 14px; padding: 12px 16px; background: #FBF1C9; color: #34433C; font-size: 14px; transform: rotate(-.6deg); width: fit-content; }
.oh-label { font-family: var(--hand); font-size: 18px; color: var(--red); }
.branch-map { display:inline-flex; align-items:center; gap:6px; margin-top: 12px; font-size: 14px; color: var(--ink); text-underline-offset: 5px; }
.branch-map .icon { width:16px; height:16px; }
.branch-photo { display:block; width:100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-placeholder { aspect-ratio: 4/3; }
.branch-coming { max-width: none; margin-top: 48px; gap: 60px; }
@media (max-width:900px){ .branch-coming { gap: 22px; } }
/* closing photos */
.closing-paper { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
.closing-text { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; flex: 1 1 auto; }
.closing-photos { position: relative; flex: 0 0 440px; height: 300px; }
.polaroid { position: absolute; margin: 0; background: #fff; padding: 10px 10px 26px; box-shadow: 0 6px 18px rgb(60 50 30 / 18%); width: 300px; }
.polaroid img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.polaroid .tape { position: absolute; top: -11px; left: 50%; width: 76px; height: 22px; margin-left: -38px; background: rgb(183 190 155 / 65%); }
.polaroid.p1 { top: 0; left: 0; transform: rotate(-4deg); z-index: 1; }
.polaroid.p2 { bottom: 0; right: 0; transform: rotate(3.5deg); z-index: 2; }
.polaroid.p2 .tape { background: #e7503f55; transform: rotate(4deg); }
@media (max-width: 900px) {
  .closing-paper { flex-direction: column; align-items: stretch; }
  .closing-photos { flex: none; width: 100%; max-width: 420px; height: 280px; margin: 10px auto 0; }
  .polaroid { width: 62%; }
}
@media (min-width: 901px) { .closing-photos { flex-basis: 520px; height: 260px; } .polaroid { width: 270px; } .polaroid.p1 { top: 10px; } .polaroid.p2 { bottom: 10px; } }
@media (max-width: 900px) { .closing-text { gap: 20px; } .closing-text .cta-button { margin-top: 0; } .closing-photos { margin-top: 26px; } }
/* 2026-11-12: unify all headings & card titles to Chiron GoRound TC (full CJK coverage) */
h1, h2:not(.sheet-title), h3, h4, .course-card h3, .branch-information h3 { font-family: 'Chiron GoRound TC', 'Scholar Sans', sans-serif !important; font-weight: 800; }

/* Final review: consistent navigation and static content fallbacks. */
[hidden] { display: none !important; }
.site-header { position: relative; z-index: 30; }
.header-inner { width: min(1360px, calc(100% - 48px)); gap: 24px; }
.site-nav { gap: clamp(12px, 1.5vw, 24px); }
.site-nav a, .site-nav summary { font-size: 17px; font-weight: 700; line-height: 1.5; }
.site-nav summary { padding-block: 12px; cursor: pointer; white-space: nowrap; }
.branch-dropdown { position: relative; }
.branch-dropdown-links { position: absolute; top: 100%; left: -16px; width: max-content; max-width: calc(100vw - 44px); padding: 10px 16px; background: var(--paper); box-shadow: var(--paper-shadow); z-index: 31; }
.branch-dropdown-links a { display: block; min-height: 44px; }
.site-nav .platform-link { color: var(--paper); background: var(--ink); border-radius: 4px; padding: 10px 14px; }
.site-nav .platform-link:hover { background: #004d49; color: var(--paper); }
.menu-toggle { font-size: 16px; font-weight: 700; }
.footer-links, .social-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 32px; }
.footer-branches .branch-contact { font-size: 14px; }
.branch-contact h2, .branch-contact h3 { margin-bottom: 12px; }
.branch-contact > a > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 24px; }
.branch-contact address { margin-bottom: 12px; }
.branch-contact .opening-hours { margin-block: 14px; }
#branch-cards .branch-contact { background: var(--paper); padding: 24px; box-shadow: var(--paper-shadow); }
.about-section > h2 { max-width: 24em; margin-bottom: 32px; }
.about-content { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.about-content p + p { margin-top: 20px; }
.about-content ul { margin: 0; padding-left: 1.3em; color: var(--ink); font-weight: 700; }
.about-content li { margin-bottom: 12px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-block: 36px; }
.page-intro, .group-intro { margin-block: 16px 30px; }
.policy { max-width: 850px; }
.policy h1, #contact-heading { font-size: clamp(32px, 4vw, 48px); }
.policy h2 { margin: 36px 0 12px; font-size: 25px; }
.policy-review { margin-top: 24px; color: var(--muted); }
.course-eligibility { font-size: 20px; color: var(--ink); margin-top: 16px; }
.eligibility { color: var(--ink); font-weight: 700; margin-bottom: 16px; }
.special-course-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.sp-card h3 { font-size: 23px; margin-bottom: 16px; }
.facts-note { margin-top: 20px; font-size: 14px; color: var(--muted); }
.art-filters button { min-height: 44px; padding: 8px 18px; border: 1px solid var(--ink); background: var(--paper); border-radius: 24px; font-weight: 700; }
.art-filters button:hover { background: #DDE5DD; }
.art-filters button[aria-pressed="true"] { color: var(--paper); background: var(--ink); }
.filter-status { margin-bottom: 20px; color: var(--muted); }
.article-grid .art-card h3 { font-size: 21px; margin-block: 16px; }
.art-card:hover h2, .art-card:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.art-body { min-width: 0; overflow-wrap: anywhere; }
.art-body h2 { line-height: 1.6; }
.art-body h3 { line-height: 1.7; }
.reference-list { list-style: none; padding: 0; }
.reference-list li { margin-bottom: 14px; }
.art-related { overflow-wrap: anywhere; }
.art-related h2:not(:first-child) { margin-top: 28px; }
.art-related ul { padding-left: 1.1em; }
.art-related li { margin-bottom: 16px; }
.art-related p + p { margin-top: 16px; }
.picker-backdrop { z-index: 80; }
.branch-picker { z-index: 81; }
html:not(.js) .picker-trigger, html:not(.js) .menu-toggle { display: none; }
html:not(.js) .site-nav { display: flex; flex-wrap: wrap; position: static; box-shadow: none; }
@media (max-width: 1120px) {
  .header-inner { width: calc(100% - 36px); min-height: 88px; }
  .brand { width: 125px; }
  .menu-toggle { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 12px; border: 1px solid var(--line); background: var(--paper); }
  .menu-lines { display: block; width: 17px; height: 10px; border-block: 1px solid var(--ink); position: relative; }
  .menu-lines::after { content: ''; position: absolute; inset: 4px 0 auto; border-top: 1px solid var(--ink); }
  .site-nav { display: none; position: absolute; top: 100%; inset-inline: -18px; padding: 16px 22px 24px; background: var(--paper); grid-template-columns: 1fr 1fr; gap: 0 24px; box-shadow: var(--paper-shadow); }
  .site-nav.is-open { display: grid; }
  .site-nav > a, .site-nav summary { padding: 13px 8px; border-bottom: 1px solid var(--line); }
  .branch-dropdown { grid-column: 1 / -1; }
  .branch-dropdown-links { position: static; box-shadow: none; width: auto; padding: 4px 18px; }
  .site-nav .platform-link { grid-column: 1 / -1; margin-top: 14px; justify-self: start; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 16px; }
}
@media (max-width: 800px) {
  .about-content, .contact-grid, .special-course-list { grid-template-columns: 1fr; gap: 28px; }
  .closing-text { min-width: 0; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (max-width: 380px) {
  .cp-close-btns .cta-button { min-width: 0; width: 100%; }
  .cp-branch { grid-template-columns: 1fr; }
  .branch-dropdown-links a { white-space: normal; }
}

/* V3 completion: real instant print at z-index 1, behind sheet (2), note (3),
   philosophy note and pencil (4). Headroom keeps the upper portrait clear of
   the sheet and keeps the print below the preceding copy/CTA on mobile. */
.homework-desk { margin-top: 80px; }
.hero-instant { position: absolute; top: -80px; right: 10%; width: 180px; max-width: 52%; margin: 0; padding: 12px 12px 34px; background: #fff; box-shadow: 2px 7px 14px rgb(30 43 36 / 18%); transform: rotate(6deg); z-index: 1; }
.hero-instant img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) {
  .homework-desk { margin-top: 114px; }
  .hero-instant { top: -90px; width: 168px; padding: 10px 10px 30px; }
}

/* V5: hero teacher remark only; keep marker wash and rotation clear of the edge. */
.hero-sheet .pen-comment {
  left: -6px;
  padding-inline-end: 12px;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.hero-sheet .pen-comment-highlight {
  background: linear-gradient(transparent 55%, #F4DF78aa 55% 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (max-width: 700px) {
  .hero-sheet .pen-comment { left: -4px; padding-inline-end: 8px; }
}

/* V6: marker on the four existing specialty enrolment labels. */
.sp-card .eligibility-highlight {
  background: linear-gradient(transparent 55%, #F4DF78aa 55% 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* V6: blue ink for the hero comment only. */
.hero-sheet .pen-comment { color: #1E4B8C; }
/* V6: allow the two longer homepage notes to fit at visible widths. */
#courses .section-heading, #branches .section-heading { flex-wrap: wrap; }
#courses .heading-note, #branches .heading-note {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  margin-inline-start: auto;
}
