:root {
  color-scheme:light;
  --bg:#faf8f2;--surface:#fffdf7;--soft:#f1eee5;--ink:#202e29;--muted:#525e56;--faint:#666d61;
  --line:#d9d9ca;--strong-line:#a5ab9a;--green:#1d5142;--green-deep:#173e34;--green-light:#e5ede2;
  --gold:#dcc28a;--gold-ink:#805d31;--focus:#9b5405;--serif:Georgia,"Times New Roman",serif;--sans:"Segoe UI",Arial,sans-serif;
}
:root[data-theme="dark"] {
  color-scheme:dark;--bg:#17231f;--surface:#1c2b25;--soft:#293831;--ink:#f4f0e3;--muted:#c0c9bb;--faint:#aeb9ad;
  --line:#415147;--strong-line:#788b7b;--green:#b7d7ba;--green-deep:#d1e6ce;--green-light:#294437;--gold-ink:#e4c690;--focus:#f2c777;
}
*{box-sizing:border-box}html{min-height:100%;scroll-padding-top:1.2rem}
body{margin:0;background:var(--bg);color:var(--ink);font:1rem/1.62 var(--sans);-webkit-font-smoothing:antialiased}
[hidden]{display:none!important}body,button,input,select,textarea{font-family:var(--sans)}button,input,select,textarea{font-size:inherit}
button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
a{color:var(--green);text-underline-offset:.19em}button,summary,select{cursor:pointer}button{color:inherit}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
#main:focus{outline:0}a:hover{text-decoration-thickness:2px}img{max-width:100%;display:block}h1,h2,h3,h4,p{margin:0}
h1,h2,h3,h4{color:var(--ink);font-family:var(--serif);font-weight:500;line-height:1.15;text-wrap:pretty}
h1{font-size:clamp(2.65rem,5.2vw,4.8rem);letter-spacing:-.045em}
h2{font-size:clamp(2rem,3vw,2.83rem);letter-spacing:-.037em}h3{font-size:clamp(1.4rem,2.15vw,1.75rem);letter-spacing:-.025em}
p{overflow-wrap:break-word}::selection{background:#d2b77c;color:#152d24}
.icon{display:inline-block;vertical-align:middle;flex-shrink:0}.wrap{width:min(1280px,calc(100% - clamp(32px,8.4vw,144px)));margin-inline:auto}
.sr-only,.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
.skip{position:absolute;top:5px;left:10px;transform:translateY(-160%);z-index:100;padding:.55rem 1rem;background:var(--surface);border:2px solid var(--focus)}
.skip:focus{transform:translateY(0)}.site-header{background:var(--bg);border-bottom:1px solid var(--line);position:relative;z-index:5}
.header-row{min-height:77px;display:flex;align-items:center;gap:2.3rem}
.brand{display:inline-flex;align-items:center;gap:.62rem;color:var(--ink);text-decoration:none;white-space:nowrap}
.brand img{width:43px;height:43px;border-radius:11px;object-fit:cover}
.brand span{font:600 clamp(1.45rem,2.15vw,1.86rem)/1 var(--serif);letter-spacing:-.053em}
#site-nav{margin-left:auto;display:flex;align-self:stretch;align-items:stretch;gap:clamp(1.1rem,2.4vw,2.45rem)}
#site-nav a{position:relative;display:flex;align-items:center;color:var(--muted);text-decoration:none;font-weight:570;font-size:.93rem}
#site-nav a:hover,#site-nav a[aria-current]{color:var(--green)}
#site-nav a[aria-current]::after{position:absolute;content:"";height:2px;bottom:17px;left:0;right:0;background:var(--green)}
.header-actions{display:flex;align-items:center;gap:.55rem;padding-left:1.3rem;border-left:1px solid var(--line)}
.icon-btn{display:grid;place-items:center;background:var(--surface);border:1px solid var(--line);border-radius:50%;width:38px;height:38px;color:var(--ink)}
.icon-btn:hover{background:var(--green-light)}#menu-control{display:none}
.home-wrap{padding-top:clamp(20px,2.2vw,34px)}
.hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:1.04fr 1fr;align-items:center;background:linear-gradient(110deg,#173d34 0%,#1b4139 49%,#183b34 83%,#193a31);color:#f6f2df;border:1px solid #335244;border-radius:14px}
.hero::after{content:"";position:absolute;inset:9px;pointer-events:none;border:1px solid #b8ad7334;border-radius:8px;z-index:-1}
.hero-grid{position:absolute;inset:0;z-index:-2;opacity:.14;background-image:url("../assets/pattern.svg");background-size:110px;mask-image:linear-gradient(106deg,#0006 0%,#0002 27%,#000d 70%,#000 100%)}
.hero-copy{padding:clamp(34px,4vw,64px) 0 clamp(38px,4vw,66px) clamp(28px,4.4vw,70px);z-index:1}
.hero-kicker,.eyebrow,.story-theme{display:flex;align-items:center;gap:.55rem;font-size:.76rem;letter-spacing:.13em;line-height:1.5;text-transform:uppercase;font-weight:710}
.hero-kicker{color:#e9ce95;font-size:.75rem;letter-spacing:.16em;margin-bottom:1.1rem}
.hero h1{color:#fbf7e9;font-size:clamp(3.25rem,5.35vw,5.14rem);line-height:1.03;letter-spacing:-.049em}
.hero h1 em{display:block;color:#e9cb93;font-weight:400}
.hero-copy>p{margin-top:1.05rem;max-width:35rem;color:#e0e7d9;font-size:clamp(1rem,1.2vw,1.125rem);line-height:1.6}
.hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.58rem}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:44px;padding:.66rem 1.08rem;border:1px solid transparent;border-radius:7px;text-decoration:none;font:650 .94rem/1.33 var(--sans);cursor:pointer}
.btn-gold{background:#eed49d;color:#23382d;border-color:#edd3a1}.btn-gold:hover{background:#f9e3b6}
.btn-hero{border-color:#a4ad91;background:#16382f66;color:#fff8e6}.btn-hero:hover{background:#345446}
.btn-primary{background:var(--green);color:var(--bg)}.btn-primary:hover{background:var(--green-deep)}
.btn-outline{background:var(--surface);color:var(--green);border-color:var(--strong-line)}.btn-outline:hover{background:var(--soft)}
.hero-art{width:100%;min-width:0;align-self:stretch;display:flex;align-items:center;justify-content:center;padding:12px 3.5% 4px 0;pointer-events:none}
.hero-art img{width:100%;height:100%;max-height:420px;object-fit:contain}
.shelf{padding:clamp(33px,3.2vw,53px) 0 clamp(35px,4vw,62px)}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.35rem}
.section-head p{color:var(--muted);margin-top:.33rem}
.text-link{display:inline-flex;align-items:center;gap:.48rem;font-size:.925rem;font-weight:650;text-decoration-line:underline;text-underline-offset:.27em;color:var(--green)}
.section-action{padding:.55rem 0;white-space:nowrap}
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,1.65vw,25px)}
.story-card{display:flex;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:10px;transition:box-shadow .18s ease,transform .18s ease}
.story-card:hover,.story-card:focus-within{transform:translateY(-2px);box-shadow:0 8px 20px #2b403013}
.card-link{width:100%;color:var(--ink);display:flex;flex-direction:column;text-decoration:none;border-radius:inherit}
.card-image{position:relative;overflow:hidden;border-radius:9px 9px 0 0;background:var(--soft)}
.card-image img{width:100%;height:auto;aspect-ratio:2.05;object-fit:cover}
.card-format{display:inline-flex;align-items:center;gap:.34rem;position:absolute;left:13px;top:13px;background:#183a35ec;color:#fff9e8;border:1px solid #f4eddc52;border-radius:5px;font:630 .75rem/1.4 var(--sans);padding:.23rem .53rem}
.card-copy{padding:clamp(17px,1.65vw,25px);display:flex;flex:1;flex-direction:column}
.story-theme{color:var(--gold-ink);font-size:.73rem;letter-spacing:.13em}.story-theme i{width:6px;height:6px;background:currentColor;transform:rotate(45deg);display:block}
.card-copy .card-title{margin:.56rem 0 .57rem;font-size:clamp(1.4rem,1.95vw,1.85rem);line-height:1.14}.card-link:hover .card-title{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.15em}
.card-copy p{font-size:.96rem;color:var(--muted);margin-bottom:1rem;line-height:1.56}
.card-ref{margin-top:auto;border-top:1px solid var(--line);padding-top:.85rem;display:flex;gap:.4rem;align-items:center;color:var(--faint);font-size:.8rem;font-weight:570}
.explore{border-top:1px solid var(--line);padding:clamp(30px,3.4vw,52px) 0 clamp(40px,4.5vw,72px)}
.explore>h2,.related>h2{margin-bottom:1.15rem}
.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.35rem}
.feature,.panel{border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:clamp(19px,2.3vw,34px)}
.feature{display:flex;gap:1.3rem;align-items:flex-start;background:var(--soft)}.feature-quiz{background:var(--green-light)}
.feature-symbol,.side-icon{width:54px;height:54px;border:1px solid var(--strong-line);color:var(--green);display:grid;place-items:center;flex:none;border-radius:13px}
.feature p{margin:.6rem 0 .8rem;font-size:1rem;color:var(--muted)}
.site-footer{border-top:1px solid var(--line);background:var(--soft);color:var(--muted)}
.footer-layout{padding:2.65rem 0 2.1rem;display:grid;grid-template-columns:1.55fr .78fr 1fr 1fr;gap:1.4rem}
.footer-layout .brand img{width:36px;height:36px;border-radius:9px}.footer-layout .brand span{font-size:1.46rem}.footer-layout p{max-width:17rem;margin:.7rem 0 0;font-size:.94rem}
.footer-layout h2{font:650 .9rem/1.4 var(--sans);letter-spacing:0;margin:0 0 .65rem;color:var(--ink)}
.footer-layout a:not(.brand){display:block;text-decoration:none;color:var(--muted);font-size:.88rem;padding:.15rem 0}
.footer-layout a:not(.brand):hover{text-decoration:underline}.socials{display:grid;grid-template-columns:1fr 1fr;column-gap:.65rem}
.footer-credit{border-top:1px solid var(--line);display:flex;align-items:center;gap:.45rem;padding:.88rem 0 1.1rem;font-size:.8rem}
.page-head{padding:clamp(35px,5vw,72px) 0 clamp(31px,3.8vw,54px);border-bottom:1px solid var(--line);background-color:var(--soft);background-image:url("../assets/header-pattern.svg");background-position:right center;background-size:auto 100%;background-repeat:no-repeat}
.page-head h1{font-size:clamp(2.55rem,4.4vw,4rem)}.page-head p,.story-heading>p{max-width:49rem;margin:.75rem 0 0;color:var(--muted);font-size:clamp(1.02rem,1.3vw,1.15rem)}
.content-section{padding-block:clamp(26px,3.3vw,50px) clamp(46px,5.25vw,82px)}
.eyebrow,.meta{color:var(--gold-ink)}.meta{font-size:.85rem}.muted{color:var(--muted)}
.chips,.toolbar,.source-list{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem}
.chip{display:inline-flex;align-items:center;justify-content:center;gap:.36rem;min-height:42px;background:var(--surface);border:1px solid var(--line);color:var(--green);border-radius:6px;font:600 .93rem/1.25 var(--sans);padding:.55rem .92rem;text-decoration:none}
.chip[aria-current],.chip[aria-pressed="true"],.chip.active{background:var(--green);color:var(--bg);border-color:var(--green)}.chip span{font-size:.75rem;padding:.11rem .32rem;background:#82967c29;border-radius:3px}
.library-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.4rem;flex-wrap:wrap}
input[type="search"],input[type="text"],select,textarea{color:var(--ink);background:var(--surface);border:1px solid var(--strong-line);border-radius:6px;padding:.64rem .8rem;min-height:44px}
select{max-width:100%;padding-right:2.4rem;appearance:none;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 17px) center,calc(100% - 12px) center;background-size:5px 5px;background-repeat:no-repeat}
input::placeholder,textarea::placeholder{color:var(--faint);opacity:1}.field{display:flex;flex-direction:column;gap:.3rem;font-weight:600}
.search-field{position:relative;display:flex;align-items:center;min-width:min(100%,17rem)}.search-field>.icon{position:absolute;left:.7rem;color:var(--muted)}.search-field input{padding-left:2.35rem;width:100%}
.empty{background:var(--soft);border-radius:8px;padding:1.5rem}.empty button{margin-top:1rem}
.planned-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;align-items:start;margin-top:1.2rem}
.planned{border:1px solid var(--line);background:var(--surface);border-radius:8px}
.planned summary{list-style:none;padding:1rem 1.2rem;display:flex;align-items:center;justify-content:space-between;gap:.7rem}
summary::-webkit-details-marker{display:none}.planned summary strong{display:block;font:500 1.24rem/1.35 var(--serif);margin-top:.18rem;color:var(--ink)}.planned[open] summary>.icon{transform:rotate(180deg)}.planned>div{padding:0 1.2rem 1.15rem}.planned p{color:var(--muted);margin-bottom:.75rem}
.source-link{display:inline-flex;align-items:baseline;gap:.28rem;font-size:.91rem;font-weight:600;line-height:1.5}.source-link .icon{align-self:center}
.stack>*+*{margin-top:1rem}.story-wrap{padding-block:1.5rem 3.8rem}.crumb{display:inline-flex;align-items:center;gap:.5rem;font-size:.88rem;font-weight:600}
.story-heading{margin:1.65rem 0 2.2rem}.story-heading h1{font-size:clamp(2.6rem,5vw,4.2rem);max-width:19ch;margin-top:.48rem}.story-heading>p{max-width:50rem}
.story-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(265px,.85fr);gap:clamp(24px,4.4vw,70px)}
.story-illustration{height:clamp(165px,19vw,270px);width:100%;object-fit:cover;border-radius:10px}
.reading>section,.prose>section{margin:2.3rem 0}.reading>section>p,.prose>section>p{margin:.9rem 0;font-size:1.06rem;max-width:75ch}
.reading section h2,.prose h2{font-size:clamp(1.8rem,2.8vw,2.45rem)}
.lesson{background:var(--green-light);border-left:3px solid var(--green);border-radius:0 8px 8px 0;padding:1.25rem 1.5rem}
.lesson .eyebrow{color:var(--green)}.reading .lesson p{margin:.45rem 0 0;font:500 1.36rem/1.47 var(--serif)}
.reading-note{display:flex;gap:.55rem;align-items:flex-start;font-size:.93rem;color:var(--muted);margin:.8rem 0}.reading-note .icon{margin-top:.23rem}
.story-side{display:flex;flex-direction:column;gap:1rem}
.story-side .panel h2,.about-card h2{font-size:1.55rem}.story-side .panel p{color:var(--muted);font-size:.96rem;margin:.6rem 0 1rem}
.story-side .source-list{align-items:flex-start;flex-direction:column}.watch-panel{background:var(--green-light)}.watch-panel .side-icon{margin-bottom:.9rem;width:44px;height:44px}
.watch-panel .text-link{margin-top:1rem}#video-slot iframe{width:100%;aspect-ratio:9/15;max-height:600px;border:0;border-radius:6px;background:#101812}
.side-links{display:grid;gap:.5rem;margin-top:1rem}.side-links a{display:flex;align-items:center;gap:.6rem;font-weight:580;font-size:.96rem}
.numbered{padding-left:1.4rem}.numbered li{padding:.3rem 0 .3rem .25rem}.numbered li::marker{color:var(--gold-ink);font-weight:650}
.related{padding-top:1.9rem;border-top:1px solid var(--line)}
.related-link{display:flex;align-items:center;gap:.9rem;border:1px solid var(--line);border-radius:7px;text-decoration:none;padding:.7rem;background:var(--surface);font:500 1.25rem/1.35 var(--serif)}
.related-link img{border-radius:4px;object-fit:cover}.related-link small{font:.77rem/1.5 var(--sans);color:var(--muted);display:block}
.about-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(230px,.65fr);gap:clamp(2rem,6vw,6rem);align-items:start}.prose>section:first-child{margin-top:0}
.prose h3{font-size:1.35rem;margin-top:1.2rem}.about-mark{border-radius:15px;margin-bottom:1rem}
@media(max-width:1000px){.header-row{gap:1.1rem}#site-nav{gap:1.05rem}.header-actions{padding-left:.75rem}.hero-copy{padding-left:2.1rem}.hero-actions{gap:.55rem}.hero-actions .btn{font-size:.89rem;padding:.67rem .78rem}.hero-art{padding-right:1%}}
@media(max-width:820px){.header-row{min-height:65px;justify-content:space-between}.header-actions{border:0}#menu-control{display:grid}
#site-nav{display:none;position:absolute;z-index:10;background:var(--surface);border:1px solid var(--line);border-radius:9px;top:calc(100% - 2px);left:4%;right:4%;padding:.55rem;box-shadow:0 12px 30px #102b1c22}
.menu-open #site-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.15rem}
#site-nav a{padding:.65rem .8rem;min-height:44px;border-radius:4px}#site-nav a[aria-current]{background:var(--green-light)}#site-nav a[aria-current]::after{display:none}
.hero{grid-template-columns:1.22fr 1fr}.hero h1{font-size:clamp(2.8rem,6.9vw,3.7rem)}.hero-copy{padding:2rem 0 2rem 1.7rem}
.card-grid{gap:.8rem}.card-copy{padding:1rem}.story-layout{grid-template-columns:minmax(0,1.55fr) minmax(220px,.85fr);gap:1.1rem}
.footer-layout{grid-template-columns:1.2fr .9fr .95fr}.footer-layout>:last-child{grid-column:2/4}.socials{display:flex;flex-wrap:wrap;gap:.2rem 1rem}}
@media(max-width:650px){.hero{display:flex;flex-direction:column;align-items:stretch}.hero-copy{padding:1.85rem 1.5rem .1rem}.hero h1{font-size:clamp(2.75rem,9.8vw,3.7rem)}.hero-kicker{margin-bottom:.65rem;font-size:.7rem}.hero-copy>p{margin-top:.8rem;font-size:1rem}.hero-actions{margin-top:1.05rem}
.hero-art{height:clamp(160px,43vw,237px);width:100%;padding:0;align-self:center;margin-top:.3rem}.hero-art img{height:100%;width:auto;max-width:100%}
.card-grid,.two-col,.planned-grid,.story-layout,.about-layout{grid-template-columns:1fr}.card-grid{gap:1.15rem}.card-copy{padding:1.17rem}.card-copy .card-title{font-size:1.55rem}.card-image img{aspect-ratio:2.3}
.section-head{align-items:flex-start;flex-wrap:wrap;gap:.32rem}.section-head .section-action{padding:.3rem 0}
.feature{gap:.85rem}.feature-symbol{width:43px;height:43px}.feature-symbol .icon{width:25px;height:25px}.footer-layout{grid-template-columns:1fr 1fr}.footer-layout>:first-child,.footer-layout>:last-child{grid-column:1/-1}
.library-bar{justify-content:flex-start}.search-field{width:100%}.story-heading{margin:1.2rem 0 1.5rem}.related{margin-top:1.65rem}.story-side{display:grid;grid-template-columns:1fr}.watch-panel{order:0}
body[data-route="story"] .story-layout{display:flex;flex-direction:column}.about-layout{gap:.6rem}.shelf{padding-top:1.8rem}.page-head{background-image:none}
}
@media(max-width:365px){.wrap{width:calc(100% - 24px)}.hero-copy{padding-inline:1.2rem}.hero-actions .btn{width:100%}.hero-art{height:140px}.footer-layout{gap:.8rem}.brand img{width:36px;height:36px}.brand span{font-size:1.43rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{body{background:white!important;color:#111!important;font-size:11pt}.site-header,.site-footer,.skip,.hero-art,.card-format,.hero-actions,.section-action,.related,.watch-panel,.about-card{display:none!important}.wrap{width:100%;max-width:none}.page-head{padding:0 0 10pt;background:none}.content-section{padding:10pt 0}.story-layout,.about-layout{display:block}.story-illustration{max-height:100pt}.panel,.lesson{break-inside:avoid}.source-link{color:#111}}

.story-jumps{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem 1.2rem;margin-top:.9rem}.story-jumps .text-link{min-height:32px}.reading .lesson h2.eyebrow{font:700 .82rem/1.4 var(--sans);letter-spacing:.1em}

.hero-actions a:focus-visible{outline-color:#fff7dc}
@media screen and (max-width:650px){
  body{overflow-wrap:anywhere}
  .header-row{flex-wrap:wrap;gap:4px 12px;padding-block:8px}
  .header-actions{margin-left:auto;padding-left:0}
  .header-actions .icon-btn{width:44px;height:44px}
  .brand{max-width:100%;white-space:normal}
  .section-action{white-space:normal}
  .feature>div,.section-head>div{min-width:0}
  .footer-layout{grid-template-columns:repeat(2,minmax(0,1fr))}
}
