:root{color-scheme:light;--ink:#143b3c;--deep:#0f3234;--accent:#ad3d32;--paper:#fbf8ef;--muted:#415b5a;--line:#d5ddcf;--white:#fffdf7}
*{box-sizing:border-box}
html{scroll-padding-top:1rem}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.6 "Trebuchet MS",system-ui,sans-serif}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{line-height:1.04}
h1,h2{font-family:Georgia,serif;font-weight:700;letter-spacing:-.055em}
h1{font-size:clamp(2.6rem,6.7vw,5.25rem);max-width:16ch;margin:.4rem 0 1.15rem}
h2{font-size:clamp(2rem,4vw,3rem);margin-bottom:.55rem}
h3{font-size:1.27rem;letter-spacing:-.03em}
p+ p{margin-top:.8rem}
a{color:inherit;text-underline-offset:.2em}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.frame{width:min(1120px,calc(100% - 2.5rem));margin-inline:auto}
.masthead{border-bottom:1px solid var(--line);background:var(--white)}
.masthead .frame,.footer .frame{min-height:4.15rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.masthead nav,.tabs{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem 1.2rem}
.masthead nav a,.brand{text-decoration:none}
.masthead nav a:hover{text-decoration:underline}
.brand{font:800 1.7rem/1 Georgia,serif;letter-spacing:-.08em}
.brand span,.hero em{color:var(--accent)}
.skip{position:absolute;left:1rem;top:.5rem;transform:translateY(-150%);padding:.5rem;background:var(--white)}
.skip:focus{transform:none;z-index:5}
.hero{padding:clamp(2.5rem,7vw,6.7rem) 0;display:grid;grid-template-columns:1.08fr 1fr;align-items:center;gap:clamp(1rem,4vw,3rem)}
.hero em{font-weight:inherit}
.lead{font-size:clamp(1.05rem,2.1vw,1.3rem);max-width:50ch}
.hero .lead{margin-bottom:1.5rem}
.level{font-size:.77rem;letter-spacing:.11em;text-transform:uppercase;font-weight:800;color:var(--accent)}
.characters{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:.25rem;padding:1.3rem .6rem;border-radius:48% 45% 21% 22%;background:radial-gradient(ellipse at center,#deead8 40%,#edf0da 73%,transparent 74%)}
.characters img{display:block;width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 7px 3px #18372a28)}
.characters figcaption{text-align:center;font-size:.85rem;font-weight:800;margin-top:.5rem}
.button{display:inline-block;padding:.65rem 1.15rem;background:var(--deep);color:white;border:2px solid var(--deep);border-radius:.5rem;font:inherit;font-weight:bold;text-decoration:none;cursor:pointer}
.button:hover{background:#275858}
.subject-section{padding:1.8rem 0 3rem;border-top:2px solid var(--deep)}
.subject-section>p{margin-bottom:1.15rem;color:var(--muted)}
.subject-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}
.subject-card{display:flex;flex-direction:column;justify-content:space-between;min-height:10.5rem;padding:1rem 1.1rem;background:var(--white);text-decoration:none;border:1px solid var(--line);border-radius:.65rem;gap:.85rem}
.subject-card:hover{border-color:var(--ink);background:#f6f7ec}
.subject-card h3{margin:.45rem 0}
.subject-card p:last-child{font-size:.94rem;color:var(--muted)}
.card-end{display:flex;justify-content:space-between;gap:.4rem;align-items:center;border-top:1px solid var(--line);padding-top:.5rem;font-weight:bold;font-size:.82rem}
.card-end span:last-child{font-size:1.2rem}
.project,.box{padding:1.2rem 1.3rem;margin-bottom:1rem;background:var(--white);border:1px solid var(--line);border-radius:.65rem}
.project{margin-bottom:3rem;padding:1.5rem}
.project p{max-width:65ch}
.crumb{margin:1.5rem 0 1rem;font-size:.9rem}
.tabs{margin:1.65rem 0 1rem;font-weight:bold}
.tabs a{background:#e8ede0;padding:.4rem .8rem;border-radius:.35rem}
.box p{margin-bottom:.55rem}
.curriculum-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.5rem 0}
.curriculum-grid .box{margin:0}
.curriculum-grid h2{font-size:clamp(1.45rem,3vw,2.1rem);margin:.35rem 0 .65rem}
.curriculum-links{padding-left:1.2rem}
.footer{margin-top:2rem;padding:.7rem 0;background:#e8ede0}
.footer p{font-size:.85rem}
:where([hidden]){display:none!important}
@media(max-width:820px){.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.hero,.subject-grid,.curriculum-grid{grid-template-columns:1fr}.hero{padding-bottom:2rem}.characters{max-width:350px}.masthead .frame{padding:.7rem 0}.masthead nav{font-size:.9rem}}

.units{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.units>li{border:1px solid rgba(15,76,92,.18);border-radius:14px;padding:14px 16px;background:#fff}
.units h3{margin:0 0 4px;font-size:1.05rem}
.units p{margin:0 0 8px;color:#4a5560}
.units .links{display:flex;flex-wrap:wrap;gap:8px}
.units .links a{display:inline-block;padding:6px 11px;border-radius:999px;background:#eef5f6;color:#0f4c5c;text-decoration:none;font-weight:600;font-size:.92rem}
.units .links a[href$=".pdf"]{background:#fff1ee;color:#b83a27}
.units .links a:hover{text-decoration:underline}
