@font-face {
  font-family: Fraunces;
  src: url("/site-fonts/fraunces.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("/site-fonts/nunito.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #0f1c21;
  --panel: #192d32;
  --panel-deep: #132328;
  --gold: #f4c774;
  --gold-bright: #ffe1a4;
  --ivory: #fff0d1;
  --soft: #d5d8ce;
  --muted: #a9b2aa;
  --line: #766849;
  --line-soft: #4e5852;
  --parchment: #f6eedb;
  --parchment-card: #fffaf0;
  --parchment-ink: #1e3338;
  --parchment-muted: #4c5e61;
  --title: Fraunces, Georgia, serif;
  --body: Nunito, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ivory);
  background: var(--ink);
  font: 500 1rem/1.58 var(--body);
  overflow-x: clip;
}
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--title); line-height: 1.08; text-wrap: balance; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: .19em; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #ffdd89;
  outline-offset: 3px;
}
.skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link:focus { position: absolute; top: 1rem; left: 1rem; z-index: 10; padding: .6em 1em; background: var(--ink); border: 1px solid var(--gold); }
.header-inner, .hero-inner, .section-inner, .footer-inner {
  width: min(1260px, calc(100% - clamp(2rem, 6vw, 6.5rem)));
  margin-inline: auto;
}
.site-header {
  position: relative;
  z-index: 5;
  background: #132228f2;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 -1px #a48653, 0 4px 14px #06131570;
}
.header-inner, .footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1rem;
}
.header-inner { min-height: 68px; padding-block: .38rem; }
.wordmark { display: inline-flex; align-items: center; width: clamp(165px, 15vw, 220px); min-height: 44px; flex-shrink: 0; }
.wordmark img, .footer-brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem clamp(.75rem, 1.8vw, 1.55rem); }
.site-nav a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 760; color: #e3e5d8; text-decoration: none; white-space: nowrap; }
.site-nav a[aria-current], .site-nav a:hover { color: var(--gold); }
.header-languages {
  display: flex; align-items: center; flex-wrap: wrap; gap: .38rem;
}
.header-languages a {
  display: inline-flex; align-items: center; gap: .3rem; min-height: 34px;
  padding: .2rem .62rem; border: 1px solid #6b634b; border-radius: 999px;
  background: #182b30; color: var(--ivory); font-size: .84rem; font-weight: 800; text-decoration: none;
}
.header-languages a .lang-code { color: var(--gold); font-size: .72rem; letter-spacing: .06em; }
.header-languages a:hover, .header-languages a[aria-current] {
  border-color: var(--gold); background: #263d42; color: #fff6df;
}
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: center; min-height: clamp(470px, 38vw, 640px);
  background: #1a3038; border-bottom: 2px solid #ad8951;
}
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; z-index: -3; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(95deg, #0b181ded 0%, #0e1e23db 46%, #1121277d 76%, #0b181db0 100%),
              linear-gradient(0deg, #0f1c219c, transparent 32%);
}
.hero-inner { padding-block: clamp(2.6rem, 4.8vw, 4.8rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr); gap: clamp(1.6rem, 4vw, 3.6rem); align-items: center; }
.hero-copy { max-width: 40rem; text-shadow: 0 2px 6px #091116; }
.hero-copy > .eyebrow {
  display: inline-block; margin-bottom: .65rem; padding: .24rem .62rem;
  background: #0d1b20d9; border: 1px solid #b5986266; border-radius: 3px;
}
.hero h1 { font-size: clamp(2.65rem, 4.4vw, 4.5rem); line-height: .98; font-weight: 760; letter-spacing: -.04em; }
.hero h1 span { display: block; margin-top: .16rem; color: var(--gold); }
.hero-description { font-size: clamp(1.03rem, 1.3vw, 1.18rem); line-height: 1.56; color: #fff6e8; margin-top: 1.1rem; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .8rem; margin-top: 1.4rem; }
.hero-proof {
  list-style: none; padding: 0; margin: 1.25rem 0 0;
  display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; font-size: .88rem; color: var(--soft);
}
.hero-proof li::before { content: "✓ "; color: var(--gold); font-weight: 900; }
.hero-proof code { background: #ffffff1a; padding: .08rem .35rem; border-radius: 4px; font-size: .86em; }
.hero-fit {
  margin-top: .85rem; padding-left: .75rem; border-left: 3px solid var(--gold);
  max-width: 38rem; font-size: .92rem; line-height: 1.45; color: #d9e4e2;
}
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  gap: .4em; padding: .63rem 1.3rem; border: 1px solid; border-radius: 5px;
  font: 820 .96rem/1.1 var(--body); text-decoration: none; text-shadow: none; cursor: pointer;
}
.button.primary { background: #f2c67a; color: #1b2223; border-color: #ffe1a4; box-shadow: inset 0 -2px #c29659, 0 3px 8px #07101466; }
.button.primary:hover { background: #ffdc9c; }
.button.secondary { color: #fff3d4; border-color: #d2b681; background: #16272be6; }
.button.secondary:hover { background: #2c4145; }
.secondary-action { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font-weight: 800; color: var(--ivory); }
.release-line { color: var(--gold-bright); font-weight: 800; margin-top: 1rem; }
.has-promo .hero-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 4vw; align-items: center; }
.promo { display: block; margin: 0; background: var(--ink); box-shadow: 0 10px 22px #07131566; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.promo video, .promo img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; }
.promo-link { color: var(--ivory); text-decoration: none; }
.promo-link span { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; }
.promo-link b { color: var(--gold); }

/* Trailer hero card */
.trailer-card { margin: 0; }
.trailer-trigger {
  position: relative; display: block; width: 100%; padding: 0;
  border: 2px solid #b59256; border-radius: 12px; overflow: hidden;
  background: var(--ink); box-shadow: 0 18px 42px #040a0ea6; cursor: pointer; text-align: left; color: var(--ivory); text-decoration: none;
}
.trailer-trigger img { width: 100%; height: auto; }
.trailer-label { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .65rem 1rem; border-top: 1px solid var(--line); color: var(--gold-bright); }
.trailer-label strong { font: 700 1.05rem/1.2 var(--title); color: var(--ivory); }
.trailer-caption { margin-top: .55rem; font-size: .88rem; color: var(--soft); text-align: center; }

.eyebrow { color: #f3cc88; font-size: .73rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow-dark { color: #7b4e12; }
.section-heading { margin-bottom: 1.75rem; max-width: 52rem; }
.section-heading h2, .adventure-strip h2, .play-notes h2, .encounter h2, #editions h2 {
  margin-top: .3rem; font-weight: 680; font-size: clamp(1.85rem, 3vw, 2.95rem); letter-spacing: -.03em;
}
.section-heading p, .page-intro p { color: var(--soft); max-width: 50rem; margin-top: .55rem; }

/* How it works + Interactive Witness Sketch Demo */
.how-it-works { background: #14262c; border-bottom: 1px solid var(--line); }
.how-it-works .section-inner, .pillars-band .section-inner, .broccoli-band .section-inner,
.experiences .section-inner, .research-band .section-inner, .editions-band .section-inner, .faq-band .section-inner,
.play-notes .section-inner, .encounter-inner {
  padding-block: clamp(2.6rem, 4.6vw, 4.8rem);
}
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; margin-bottom: 1.9rem; }
.step-card { padding: 1.3rem; background: #192e35; border: 1px solid var(--line); border-radius: 10px; }
.step-num { display: inline-block; font: 800 .9rem/1 var(--body); color: var(--gold); margin-bottom: .45rem; }
.step-card h3 { font-size: 1.24rem; margin-bottom: .45rem; }
.step-card p { color: var(--soft); font-size: .95rem; }

.demo-panel {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr); gap: clamp(1.25rem, 3vw, 2.4rem); align-items: center;
  padding: clamp(1.2rem, 2.4vw, 1.9rem); background: var(--ink); border: 1px solid #8a734a; border-radius: 12px;
}
.demo-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: .75rem; }
.demo-top h3 { font-size: 1.44rem; margin-top: .25rem; }
.demo-lang-tabs { display: flex; gap: .35rem; }
.demo-lang-btn {
  padding: .35rem .72rem; border-radius: 999px; border: 1px solid var(--line); background: #162a30;
  color: var(--soft); font: 750 .83rem/1.1 var(--body); cursor: pointer;
}
.demo-lang-btn.is-active { background: var(--gold); color: #162124; border-color: var(--gold-bright); }
.demo-prompt { margin-top: .9rem; color: var(--soft); font-size: .96rem; }
.tile-row { margin-top: .95rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.word-tile {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  padding: .48rem .78rem; border-radius: 8px; border: 1px solid #d4a657;
  background: #f5dfb0; color: #162124; font: 800 .96rem/1.15 var(--body);
}
.word-tile .gloss {
  font-size: .72rem; font-weight: 700; color: #534022;
  opacity: 0; max-height: 0; overflow: hidden; transition: opacity .15s ease, max-height .15s ease;
}
.word-tile:hover .gloss, .word-tile:focus .gloss { opacity: 1; max-height: 1.5rem; margin-top: .18rem; }
.demo-controls { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .6rem; }
/* The language buttons and demo actions only work once site-home.js runs. */
.demo-panel:not(.is-live) .demo-lang-tabs, .demo-panel:not(.is-live) .demo-controls { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.demo-feedback {
  margin-top: .9rem; min-height: 3.4rem; padding: .7rem .9rem;
  border-radius: 8px; border: 1px solid #35545c; background: #13252c; color: var(--ivory); font-size: .93rem;
}
.sketch-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.sketch-frame { margin: 0; padding: .55rem; border-radius: 10px; border: 1px solid var(--line); background: #162a31; }
.sketch-frame.is-active { border-color: var(--gold); }
.sketch-frame img { width: 100%; border-radius: 6px; }
.sketch-frame figcaption { margin-top: .45rem; font-size: .82rem; color: var(--soft); text-align: center; }
.demo-footnote { margin-top: .65rem; font-size: .84rem; color: var(--muted); }

/* Three Pillars */
.pillars-band { background: var(--ink); border-bottom: 1px solid var(--line); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pillar-card { background: #16292f; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.pillar-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pillar-media-dual { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; padding: .65rem; background: var(--parchment); color: var(--parchment-ink); }
.pillar-media-dual figure { margin: 0; text-align: center; }
.pillar-media-dual img { aspect-ratio: 4 / 3; object-fit: contain; }
.pillar-media-dual figcaption { font-size: .76rem; margin-top: .2rem; line-height: 1.25; }
.pillar-body { padding: 1.25rem; }
.pillar-body h3 { margin: .25rem 0 .45rem; font-size: 1.3rem; }
.pillar-body p { color: var(--soft); font-size: .95rem; }

/* Chocolate-covered broccoli warm editorial contrast band */
.broccoli-band { background: var(--parchment); color: var(--parchment-ink); border-bottom: 2px solid #c5b28e; }
.broccoli-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .72fr); gap: clamp(1.5rem, 4vw, 3.6rem); align-items: center; }
.broccoli-copy h2 { margin-top: .3rem; font-size: clamp(1.85rem, 3.1vw, 2.85rem); color: #162b30; }
.broccoli-copy p { margin-top: .85rem; color: #273e42; font-size: 1.02rem; }
.contrast-cards { margin-top: 1.3rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.contrast-item { padding: 1rem; border-radius: 8px; display: flex; flex-direction: column; gap: .3rem; }
.contrast-item.is-muted { background: #ede2cb; border: 1px solid #ccb995; color: #4a595c; }
.contrast-item.is-strong { background: #172e34; border: 1px solid #8a734a; color: var(--ivory); }
.contrast-item.is-strong strong { color: var(--gold-bright); }
.contrast-item span { font-size: .91rem; line-height: 1.45; }
.essay-links { margin-top: 1.15rem; display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; }
.text-link-dark { color: #16444b; font-weight: 800; }
.broccoli-art { margin: 0; padding: .85rem; background: var(--parchment-card); border: 1px solid #cbb996; border-radius: 10px; box-shadow: 0 12px 26px #1e333824; }
.broccoli-art img { width: 100%; max-height: 430px; object-fit: contain; border-radius: 6px; }
.broccoli-art figcaption { margin-top: .55rem; font-size: .85rem; color: var(--parchment-muted); text-align: center; }

/* Six Experiences */
.experiences { background: #13252c; border-bottom: 1px solid var(--line); }
.experiences:not(.is-tabbed) .exp-tabs { display: none; }
.exp-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.exp-tab {
  padding: .52rem .92rem; border-radius: 7px; border: 1px solid var(--line);
  background: var(--ink); color: var(--soft); font: 760 .91rem/1.1 var(--body); cursor: pointer;
}
.exp-tab.is-active { background: var(--gold); color: #162124; border-color: var(--gold-bright); }
.exp-panels { display: grid; gap: 1.25rem; }
.exp-panel {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr); gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center;
  padding: clamp(1rem, 2.2vw, 1.7rem); background: var(--ink); border: 1px solid #846f48; border-radius: 12px;
}
.exp-panel[hidden] { display: none; }
.exp-visual { margin: 0; }
.rehearsal-scene { margin-top: .7rem; }
.rehearsal-scene summary { width: fit-content; padding: .4rem 0; cursor: pointer; color: var(--gold-bright); font-weight: 750; }
.rehearsal-scene[open] summary { margin-bottom: .4rem; }
.encounter .encounter-scene { margin-top: 1.25rem; }
.exp-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.exp-details h3 { margin: .3rem 0 .6rem; font-size: clamp(1.4rem, 2.1vw, 1.95rem); }
.exp-details > p { color: var(--soft); }
.exp-example-box { margin-top: .95rem; padding: .8rem 1rem; border-radius: 7px; background: #182d34; border-left: 3px solid var(--gold); }
.exp-example-box small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--gold); font-weight: 800; }
.exp-phrase { margin-top: .22rem; font-weight: 800; font-size: 1.04rem; color: var(--ivory); }
.exp-gloss { margin-top: .15rem; font-size: .88rem; color: var(--soft); }
.exp-bullets { margin: .85rem 0 0; padding-left: 1.15rem; color: var(--soft); font-size: .92rem; }
.exp-bullets li + li { margin-top: .32rem; }
.exp-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.exp-summary-card {
  display: flex; flex-direction: column; gap: .55rem; padding: 1.2rem;
  background: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .16s ease;
}
.exp-summary-card:hover, .exp-summary-card:focus-within { border-color: var(--gold); }
.exp-summary-card h3 { font-size: 1.28rem; line-height: 1.2; }
.exp-summary-card h3 a { color: var(--ivory); text-decoration: none; }
.exp-summary-card h3 a:hover { text-decoration: underline; text-underline-offset: .16em; }
.exp-summary-card > p { color: var(--soft); font-size: .93rem; line-height: 1.48; }
.exp-summary-phrase {
  margin-top: .2rem; padding: .6rem .85rem; border-radius: 6px;
  background: #182d34; border-left: 3px solid var(--gold);
  display: flex; flex-direction: column; gap: .12rem; font-size: .9rem;
}
.exp-summary-phrase > span:first-child { font-weight: 800; color: var(--ivory); }
.exp-summary-gloss { color: var(--soft); font-size: .84rem; }
.exp-summary-link { margin-top: auto; padding-top: .35rem; color: var(--gold-bright); font-weight: 760; }
.exp-summary-cta { margin-top: 1.4rem; }

/* Research & Founders */
.research-band { background: var(--ink); border-bottom: 1px solid var(--line); }
.institution-strip { list-style: none; padding: 0; margin: 0 0 1.85rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.institution-strip li { padding: .92rem; border-radius: 8px; background: #16292f; border: 1px solid var(--line); }
.institution-strip span { display: block; font: 700 .96rem/1.25 var(--title); color: var(--gold-bright); }
.institution-strip small { display: block; margin-top: .32rem; font-size: .82rem; color: var(--soft); line-height: 1.38; }
.founder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
.founder-card { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 1.2rem; align-items: start; padding: 1.25rem; background: #16292f; border: 1px solid var(--line); border-radius: 10px; }
.founder-card img { width: 145px; height: 162px; object-fit: cover; border-radius: 8px; border: 1px solid #8a734a; background: var(--parchment); }
.founder-card h3 { font-size: 1.34rem; }
.founder-role { margin: .2rem 0 .55rem; font-size: .86rem; font-weight: 700; color: var(--gold); }
.founder-card p:last-child { color: var(--soft); font-size: .94rem; }
.research-more { margin-top: 1.2rem; font-weight: 780; }

/* Editions & FAQ */
.editions-band { background: #162a30; border-bottom: 1px solid var(--line); }
.edition-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.edition-card { padding: 1.25rem; border: 1px solid #827251; border-radius: 8px; background: var(--ink); display: flex; flex-direction: column; gap: .5rem; }
.edition-card.is-featured { border-color: var(--gold); }
.edition-top { display: flex; justify-content: space-between; align-items: center; gap: .7rem; }
.edition-top img { width: 72px; height: auto; }
.status-pill { padding: .22rem .58rem; border-radius: 999px; border: 1px solid var(--line); background: #16292f; font-size: .75rem; font-weight: 800; color: var(--soft); }
.status-pill.is-gold { background: #f2c46d29; border-color: var(--gold); color: var(--gold-bright); }
.edition-card h3 { font-size: 1.38rem; }
.edition-card h3 span { color: var(--gold); font-style: italic; display: block; margin-top: .18rem; font-size: 1.05rem; }
.edition-town { font-weight: 800; color: var(--gold-bright); font-size: .9rem; }
.edition-card p { font-size: .93rem; color: var(--soft); margin: 0; }
.edition-card a { margin-top: auto; padding-top: .5rem; font-weight: 800; }

.faq-band { background: var(--ink); border-bottom: 1px solid var(--line); }
.faq-list { display: grid; gap: .75rem; max-width: 56rem; }
.faq-item { background: #16292f; border: 1px solid var(--line); border-radius: 8px; padding: .95rem 1.15rem; }
.faq-item summary { font: 700 1.05rem/1.3 var(--title); color: var(--gold-bright); cursor: pointer; }
.faq-item p { margin-top: .65rem; color: var(--soft); font-size: .95rem; }

/* Modals */
.modal { border: 0; padding: 0; background: transparent; max-width: min(680px, calc(100% - 2rem)); color: var(--ivory); }
.modal::backdrop { background: #050b0fc7; backdrop-filter: blur(4px); }
.modal-card { background: #16292f; border: 1px solid var(--gold); border-radius: 12px; overflow: hidden; box-shadow: 0 22px 50px #000000a6; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; background: var(--ink); border-bottom: 1px solid var(--line); }
.modal-close { border: 1px solid var(--line); background: #182b30; color: var(--ivory); width: 34px; height: 34px; border-radius: 6px; cursor: pointer; font-weight: 800; }
.modal-body { padding: 1.25rem; }
.modal-poster { width: 100%; border-radius: 6px; margin-bottom: 1rem; border: 1px solid var(--line); }
.modal-body p { color: var(--soft); }
.modal-actions { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* Existing subpage & shared layout rules preserved verbatim */
.play-notes { background: #172c32; border-bottom: 1px solid var(--line); }
.play-notes dl { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem 2rem; margin: 1.6rem 0 0; }
.play-notes dl > div { border-left: 2px solid #907141; padding-inline-start: 1rem; }
.play-notes dt, .practice h3 { font: 650 1.22rem/1.2 var(--title); color: var(--gold-bright); }
.play-notes dd { margin: .45rem 0 0; color: var(--soft); }
.encounter { background: #132429; border-bottom: 1px solid var(--line); }
.opening-scene { margin: 0; min-width: 0; }
.opening-scene figcaption { margin-top: .6rem; color: var(--soft); font-size: .93rem; }
.scene-image { display: block; position: relative; cursor: zoom-in; }
.scene-image img { display: block; width: 100%; height: auto; }
.enlarge-mark { position: absolute; right: .5rem; bottom: .5rem; background: #132429ed; border: 1px solid var(--line); color: var(--gold); border-radius: 4px; width: 1.8rem; text-align: center; font: bold 1.35rem/1.65rem var(--body); }
.page-intro { background: #1b3137; border-bottom: 1px solid #726348; }
.page-intro .section-inner, .adventure-strip .section-inner { padding-block: clamp(2.25rem, 4.4vw, 4.5rem); }
.page-intro h1 { font-size: clamp(2.65rem, 5vw, 4.75rem); letter-spacing: -.045em; margin-block: .25rem .8rem; }
.page-intro p, .adventure-strip p { max-width: 49rem; margin-block: .65rem; }
.at-a-glance { max-width: 49rem; margin: 1.4rem 0 0; padding-left: 1.15rem; color: var(--soft); }
.at-a-glance li + li { margin-top: .3rem; }
.entry-spread { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); align-items: center; gap: clamp(1.2rem,4vw,4rem); }
.language-identity { display: flex; align-items: center; gap: 1rem; margin-bottom: .5rem; }
.language-identity img { width: clamp(70px,7vw,100px); height: auto; }
.entry-art { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; }
.page-intro .edition-subtitle { font: italic 575 clamp(1.45rem,2.6vw,2.05rem)/1.15 var(--title); color: var(--gold); margin-bottom: 1.2rem; }
.encounter-inner { display: grid; grid-template-columns: 1.5fr 1fr; align-items: start; gap: clamp(1.4rem,5vw,5rem); }
.encounter-inner p { margin-top: .75rem; }
.practice { padding: 1.2rem 1.4rem; border-left: 2px solid var(--line); background: #1b3036; }
.practice ul { padding-left: 1.2rem; margin: .6rem 0 0; }
.practice li { margin-top: .35rem; }
.sample-line, .phrase-words { color: var(--gold-bright); font: 600 clamp(1.4rem,2.1vw,2rem)/1.35 var(--title); margin: 1.2rem 0 .6rem; }
.sample-line { border-left: 2px solid var(--gold); padding-left: 1rem; }
.phrase-words { display: flex; flex-wrap: wrap; gap: .25rem .45rem; }
.word-gloss { position: relative; }
.word-gloss summary { list-style: none; cursor: pointer; text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.word-gloss summary::-webkit-details-marker { display: none; }
.word-gloss > span, .word-gloss:not([open]) summary:focus-visible::after {
  position: absolute; left: 0; bottom: calc(100% + .25rem); z-index: 2; padding: .3rem .55rem; white-space: nowrap;
  color: var(--ink); background: var(--ivory); border-radius: .25rem; font: 700 .92rem/1.3 var(--body); box-shadow: 0 3px 8px #07101466;
}
.word-gloss:not([open]) summary:focus-visible::after { content: attr(data-gloss); }
@media (hover:hover) {
  .word-gloss:not([open]) summary:hover::after { content: attr(data-gloss); position: absolute; left: 0; bottom: calc(100% + .25rem); z-index: 2; padding: .3rem .55rem; white-space: nowrap; color: var(--ink); background: var(--ivory); border-radius: .25rem; font: 700 .92rem/1.3 var(--body); box-shadow: 0 3px 8px #07101466; }
}
.word-tip { color: var(--muted); font-size: .88rem; }
.phrase-translation { font-style: italic; color: var(--soft); }
.adventure-strip { background: linear-gradient(105deg,#243f45,#17292e 68%); border-bottom: 1px solid var(--line); }
.adventure-strip .section-inner { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); align-items: center; gap: clamp(1.2rem,4vw,4rem); }
.adventure-strip .opening-scene { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.adventure-strip-copy .eyebrow { display: inline-block; margin-bottom: .65rem; }
.site-footer { background: #0e191e; color: #c1c8bf; }
.footer-inner { padding-block: 1.35rem; }
.site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; }
.site-footer a { display: inline-flex; align-items: center; min-height: 36px; }
.teaching-stories { background: #14262a; border-bottom: 1px solid var(--line); }
.teaching-stories .section-inner { padding-block: clamp(2rem, 3.8vw, 3.4rem); }
.story-pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem; }
.story-pair a {
  display: grid; grid-template-columns: minmax(0, 38%) 1fr; align-items: center;
  gap: clamp(.75rem, 2vw, 1.4rem); color: var(--ivory); background: #203235;
  text-decoration: none; border: 1px solid #706349; border-radius: 5px; overflow: hidden;
}
.story-pair a > div { padding: .85rem 1rem .85rem 0; display: grid; gap: .35rem; }
.story-pair span { font: 640 clamp(1.15rem, 1.75vw, 1.55rem)/1.18 var(--title); }
.story-pair small { color: var(--soft); font-size: .9rem; line-height: 1.4; }
.story-pair b { color: var(--gold); }
.story-pair a:hover { border-color: var(--gold); background: #263b3f; }
.story-pair img { width: 100%; height: 100%; min-height: 148px; max-height: 168px; object-fit: cover; }
.teacher-invite { background: #1e3337; border-bottom: 1px solid var(--line); color: var(--ivory); }
.teacher-invite .section-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding-block: 2rem; }
.teacher-invite p { max-width: 40rem; color: var(--soft); margin-top: .35rem; }
.footer-brand { width: 184px; }

@media (max-width: 1080px) {
  .institution-strip, .exp-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar-grid, .edition-list { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .step-grid, .demo-panel, .broccoli-grid, .exp-panel, .founder-grid,
  .entry-spread, .adventure-strip .section-inner, .encounter-inner, .has-promo .hero-inner {
    grid-template-columns: 1fr;
  }
  .contrast-cards { grid-template-columns: 1fr; }
  .entry-art { max-width: 44rem; }
}
@media (max-width: 680px) {
  .header-inner, .section-inner, .footer-inner, .hero-inner { width: calc(100% - 2rem); }
  .header-inner { gap: .35rem .65rem; padding-block: .5rem; }
  .site-nav { gap: .65rem; font-size: .86rem; }
  .site-nav a { min-height: 36px; }
  .header-languages { width: 100%; padding-bottom: .25rem; }
  .story-pair, .edition-list, .play-notes dl, .institution-strip, .sketch-stage, .exp-summary-grid { grid-template-columns: 1fr; }
  .story-pair { gap: .85rem; }
  .story-pair img { max-height: 128px; }
  .founder-card { grid-template-columns: 1fr; }
  .founder-card img { width: 120px; height: 136px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; background: var(--ink); }
  .hero-art { position: static; z-index: auto; height: clamp(135px,45vw,280px); object-position: 65% 68%; }
  .hero::before { display: none; }
  .home .hero-art { position: absolute; z-index: -3; height: 21rem; object-position: center 42%; }
  .home .hero::before { display: block; background: linear-gradient(170deg, #0b181dd9, #102127a8 9rem, var(--ink) 21rem); }
  .hero-inner { padding-block: 1.4rem 1.8rem; }
  .hero-copy { max-width: 32rem; }
  .hero h1 { font-size: clamp(2.2rem,9.2vw,3.6rem); }
  .hero-description { max-width: 29rem; }
  .hero-actions { margin-top: 1.05rem; }
  .footer-inner { align-items: flex-start; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .site-nav a { transition: background-color .14s ease,color .14s ease,border-color .14s ease; }
}

.editorial-cover {
  isolation: isolate;
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(380px, 34vw, 590px);
  overflow: hidden;
  background: #152b31;
  border-bottom: 2px solid #a68453;
}
.editorial-cover-art, .editorial-cover::before {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}
.editorial-cover-art {
  z-index: -2;
  object-fit: cover;
  object-position: 62% 49%;
}
.editorial-cover::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #0b161ced 0%, #0b171dd9 24%, #0b171da6 42%, transparent 76%),
              linear-gradient(0deg, #0a141acc, transparent 32%);
}
.editorial-intro {
  max-width: 42rem;
  padding-block: clamp(2.9rem, 5.6vw, 6.25rem);
  text-shadow: 0 2px 6px #101316;
}
.editorial-intro h1 {
  font-size: clamp(3rem, 5.7vw, 6rem);
  letter-spacing: -.045em;
  line-height: .98;
}
.editorial-intro p {
  max-width: 34rem;
  margin-top: 1rem;
  color: #fff7e5;
  line-height: 1.55;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}
.editorial-intro .button { margin-top: 1.3rem; text-shadow: none; }
.editorial-spread, .teacher-shelf {
  padding-block: clamp(2.5rem, 5.4vw, 5.5rem);
}
.editorial-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, .9fr);
  align-items: start;
  gap: clamp(1.65rem, 6vw, 6.25rem);
}
.editorial-story { max-width: 68ch; }
.editorial-story h2, .teacher-shelf h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
  letter-spacing: -.035em;
  margin-top: .2rem;
}
.editorial-story section + section {
  border-top: 1px solid #465151;
  margin-top: 2.25rem;
  padding-top: 1.9rem;
}
.editorial-story p, .teacher-letter p, .editorial-lede {
  margin-top: .95rem;
  line-height: 1.7;
  color: #e3e2d6;
  max-width: 68ch;
  font-size: 1.05rem;
}
.terms .editorial-spread, .privacy .editorial-spread { display: block; }
.terms .editorial-story h2 { font-size: clamp(1.45rem, 2.3vw, 2rem); margin-top: 1.6rem; }
.editorial-principles { margin: 1.25rem 0; }
.editorial-principles dt {
  margin-top: 1.05rem;
  color: var(--gold);
  font: 600 1.25rem/1.25 var(--title);
}
.editorial-principles dd { margin: .3rem 0 0; color: #dee0d4; }
.article-example { margin: 1.4rem 0 0; }
.article-example img { width: 100%; height: auto; border: 1px solid #716548; border-radius: 4px; }
.article-example figcaption { margin-top: .5rem; color: var(--soft); font-size: .94rem; line-height: 1.5; }
.editorial-story section[id] { scroll-margin-top: 1rem; }
.worksheet-example, .artist-reply, .learning-figure, .learning-sequence, .menu-study,
.sketch-comparison, .umbrella-spread, .crossword-slip { margin: 1.35rem 0; }
.worksheet-example { max-width: 30rem; }
.worksheet-sheet {
  position: relative;
  overflow: hidden;
  border: 1px solid #b3a286;
  border-radius: 3px;
  background: repeating-linear-gradient(0deg, transparent 0 25px, #7b98972b 25px 26px), #f4ecd9;
}
.worksheet-portrait { position: relative; width: 48%; }
.worksheet-portrait img { width: 100%; height: auto; }
.worksheet-portrait::after {
  content: ""; position: absolute; top: 43.7%; left: 66%; width: 59%;
  border-top: 2px solid #38565a; filter: drop-shadow(0 1px 0 #fff5d9);
}
.worksheet-answer {
  position: absolute; top: 43.7%; left: 60%; width: 30%; transform: translateY(-66%);
  border-bottom: 2px solid #38565a; color: #28494b; text-align: center; font: italic 600 clamp(1.5rem, 4vw, 2.1rem)/1.25 var(--title);
}
.worksheet-example figcaption, .learning-figure figcaption, .learning-sequence figcaption {
  margin-top: .55rem; color: var(--soft); font-size: .96rem; line-height: 1.5;
}
.umbrella-spread, .sketch-comparison, .learning-sequence {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem;
}
.umbrella-spread figure, .sketch-comparison figure, .learning-sequence figure { min-width: 0; margin: 0; }
.umbrella-spread {
  gap: 0; border: 1px solid #a89979; border-radius: 4px; overflow: hidden;
  background: #f7efdf; color: #2a302d;
}
.umbrella-spread figure { padding: clamp(.65rem, 1.5vw, 1.3rem); }
.umbrella-spread figure + figure { border-left: 1px solid #bdab8a; }
.umbrella-spread img, .sketch-comparison img, .learning-figure img, .learning-sequence img { width: 100%; height: auto; }
.umbrella-spread figcaption { margin-top: .45rem; font: 500 clamp(1.02rem, 1.6vw, 1.35rem)/1.35 var(--title); }
.umbrella-spread strong { font-weight: 750; color: #803d28; }
.sketch-comparison { gap: .65rem; }
.sketch-comparison img, .learning-figure img, .learning-sequence img { border: 1px solid #81714e; border-radius: 3px; }
.sketch-comparison figcaption { margin-top: .4rem; color: var(--ivory); line-height: 1.4; }
.artist-reply {
  display: grid; grid-template-columns: minmax(85px, 29%) 1fr; align-items: center;
  gap: clamp(.8rem, 2.5vw, 1.6rem); background: #23383a; padding: .8rem 1rem 0; border-left: 3px solid #b39962;
}
.artist-reply img { width: 100%; height: auto; align-self: end; }
.artist-reply figcaption { padding-bottom: .85rem; font: 500 clamp(1.03rem, 1.8vw, 1.4rem)/1.45 var(--title); }
.artist-reply q { quotes: none; }
.crossword-slip {
  display: grid; align-content: center; justify-items: start; gap: .55rem;
  width: 100%; aspect-ratio: 414 / 184; margin: 0; padding: .8rem 1rem;
  color: #293d3b; background: #f5ecd6; border: 1px solid #c3ac7c; border-radius: 3px;
}
.crossword-letters { display: inline-flex; color: #253c39; }
.crossword-letters > * {
  display: grid; place-items: center; width: 1.5em; height: 1.6em; border: 1px solid #677569;
  font: 600 clamp(1.2rem, 2.3vw, 1.65rem)/1 var(--title);
}
.crossword-letters > * + * { border-left: 0; }
.menu-study { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 1.2rem; }
.menu-study img { display: block; width: 100%; height: auto; }
.menu-study figcaption { line-height: 1.55; }
.learning-figure figcaption small { display: block; color: #c6cabb; margin-top: .55rem; }
.kitchen-outcome { grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr); }
.kitchen-outcome img + img { margin-top: .6rem; }
@media (min-width: 761px) and (max-width: 900px) {
  .editorial-spread { grid-template-columns: 1fr; }
  .editorial-margin { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 600px) {
  .learning-sequence, .menu-study { grid-template-columns: 1fr; }
  .learning-sequence { gap: 1.3rem; }
}
@media (max-width: 360px) {
  .umbrella-spread figure { padding: .5rem; }
  .artist-reply { grid-template-columns: 70px 1fr; }
}
.editorial-margin { display: grid; align-content: start; gap: 1.65rem; }
.editorial-aside, .editorial-invitation {
  background: #1c3033;
  border-left: 2px solid #b49a65;
  padding: 1.25rem clamp(1rem, 1.8vw, 1.65rem);
}
.editorial-margin h2, .teacher-reading h3 {
  font-size: clamp(1.42rem, 2vw, 1.9rem);
  letter-spacing: -.02em;
}
.editorial-margin p, .editorial-activity-body p { margin: .65rem 0 .85rem; color: var(--soft); }
.editorial-margin a, .teacher-reading a { display: block; padding-block: .38rem; }
.editorial-invitation a { overflow-wrap: anywhere; }
.editorial-activity {
  border: 1px solid #77664a;
  border-radius: 5px;
  overflow: hidden;
  min-width: 0;
  background: #1b2e32;
}
.editorial-activity > img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.4;
  object-fit: cover;
  border-bottom: 1px solid #726348;
}
.editorial-activity-body { padding: clamp(1rem, 2vw, 1.65rem); }
.classroom-routines { margin-top: 2.2rem; padding-top: 1.9rem; border-top: 1px solid #465151; }
.routine-card {
  padding: 1.2rem 1.35rem; border-radius: 8px;
  border: 1px solid var(--line); background: #162a30;
}
.routine-card h3 { font-size: 1.22rem; color: var(--gold-bright); margin-bottom: .45rem; }
.routine-card p { color: var(--soft); line-height: 1.55; margin: 0; }
.curriculum-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.5vw, 2rem);
  margin-top: 1.4rem;
}
.classroom-practicals { margin-top: clamp(2.5rem, 4vw, 4rem); }
.classroom-practicals dl { max-width: 72ch; }
.teacher-letter {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(13rem, .8fr);
  gap: clamp(1.4rem, 5vw, 4.5rem);
  border-block: 1px solid #74664c;
  margin-top: clamp(2.5rem, 4vw, 4rem);
  padding-block: clamp(1.75rem, 3.5vw, 3rem);
}
.teacher-email { display: inline-block; margin-top: .85rem; font-weight: 800; overflow-wrap: anywhere; }
.teacher-reading { align-self: start; }
.teacher-reading h3 { margin-bottom: .7rem; }
@media (max-width: 860px) {
  .curriculum-columns { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .editorial-cover { min-height: 445px; }
  .editorial-cover-art { object-position: 69% 0; height: 65%; }
  .editorial-cover::before {
    background: linear-gradient(0deg, #13272d 0 32%, #13272df7 41%, #13272da6 53%, transparent 75%);
  }
  .editorial-intro { padding-block: 11.5rem 2rem; }
  .editorial-intro h1 { font-size: clamp(2.7rem, 9vw, 4rem); }
  .editorial-spread, .teacher-letter { grid-template-columns: 1fr; gap: 2rem; }
  .editorial-story { max-width: none; }
}
@media (max-width: 360px) {
  .editorial-intro .button { text-align: left; }
}

.classroom-capture {
  margin: 1.15rem 0 1.35rem;
}
.classroom-capture img {
  width: 100%;
  height: auto;
  border: 1px solid #827450;
  border-radius: 4px;
}
.classroom-capture figcaption {
  margin-top: .6rem;
  padding-left: .8rem;
  border-left: 2px solid #a48652;
  color: var(--soft);
  font-size: .95rem;
  line-height: 1.55;
}
.classroom-capture a {
  display: inline-block;
}
.studio-bio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8.5rem, 30%);
  align-items: start;
  gap: clamp(1rem, 2.1vw, 1.75rem);
}
.studio-archive {
  margin: 0;
  width: 100%;
  max-width: 12rem;
  justify-self: end;
}
.studio-archive img { width: 100%; height: auto; }
.studio-archive figcaption {
  margin-top: .45rem;
  color: var(--soft);
  font-size: .88rem;
  text-align: center;
}
@media (max-width: 600px) {
  .studio-bio { grid-template-columns: 1fr; }
  .studio-archive { justify-self: start; max-width: 10rem; }
}

a[data-enlarge]:has(img) { display: block; cursor: zoom-in; }
.image-viewer {
  box-sizing: border-box;
  width: min(96vw, 90rem);
  height: min(92vh, 64rem);
  height: min(92dvh, 64rem);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid #a58b5d;
  border-radius: .45rem;
  background: #101f24;
  color: var(--ivory);
}
.image-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.image-viewer::backdrop { background: #051014dd; }
.viewer-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .75rem;
  border-bottom: 1px solid var(--line);
}
.viewer-bar h2 { flex: 1; font: 600 clamp(1rem, 2vw, 1.55rem)/1.2 var(--title); }
.viewer-bar button {
  font: 700 .95rem/1.25 var(--body);
  min-height: 42px;
  padding: .5em .7em;
  border: 1px solid #ac925e;
  border-radius: .25rem;
  background: #1b3035;
  color: var(--ivory);
  cursor: pointer;
}
.viewer-bar button[aria-pressed="true"], .viewer-bar button:hover { background: var(--gold); color: var(--ink); }
.viewer-canvas { overflow: auto; }
.viewer-canvas img { width: 100%; height: 100%; object-fit: contain; }
.actual-size .viewer-canvas img { display: block; max-width: none; width: auto; height: auto; margin: 0 auto; }
