@font-face {
  font-family: Inter;
  src: url("Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body { margin: 0; font: 400 1rem/1.58 Inter, Arial, sans-serif; background: var(--canvas); color: var(--ink); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .18em; }
button, select, summary { font: inherit; }
summary, select { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.13; text-wrap: balance; }
h1 { font-size: clamp(2.3rem,4.5vw,3.75rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.55rem,2.7vw,2.15rem); letter-spacing: -.026em; }
h3 { font-size: 1.24rem; line-height: 1.28; letter-spacing: -.025em; }
.wrap { width: min(1144px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: -120px; left: 16px; z-index: 5; background: var(--surface); padding: 12px; }
.skip:focus { top: 8px; }
.site-header { position: relative; z-index: 2; background: var(--canvas); border-bottom: 1px solid var(--line); }
.header-row, .header-actions, .wide-nav, .actions, .legal { display: flex; align-items: center; }
.header-row { min-height: 78px; gap: 32px; }
.brand { width: 96px; height: 48px; flex: none; display: grid; align-items: center; }
.brand img { width: 100%; height: 46px; object-fit: contain; object-position: left center; }
.brand .night, :root[data-theme=dark] .brand .day { display: none; }
:root[data-theme=dark] .brand .night { display: block; }
.wide-nav { margin-inline: auto; gap: clamp(16px,2.7vw,37px); }
.wide-nav a, .mobile-nav nav a, .site-footer nav a, .legal a, .contact { color: var(--ink); text-decoration: none; }
.wide-nav a { display: flex; min-height: 44px; align-items: center; font-size: .9375rem; font-weight: 550; }
.wide-nav a:hover, .site-footer a:hover, .mobile-nav nav a:hover, nav a[aria-current=page] { color: var(--accent); text-decoration: underline; }
.wide-nav a[aria-current=page] { color: var(--accent); box-shadow: inset 0 -2px var(--accent); text-decoration: none; }
.header-actions { gap: 8px; }
.button, .mobile-nav > summary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; border: 1px solid var(--line); border-radius: var(--radius-control); padding: 11px 19px; font-size: .9375rem; font-weight: 650; line-height: 1.35; text-align: center; text-decoration: none; }
.button.primary { background: var(--accent); color: var(--primary-ink); border-color: var(--accent); }
.button.primary:hover { background: var(--accent-deep); }
.button.secondary, .mobile-nav > summary { color: var(--ink); background: var(--surface); }
.button.secondary:hover, .mobile-nav > summary:hover { background: var(--tint); border-color: var(--accent); }
.compact, .mobile-nav > summary { min-height: 44px; padding: 9px 18px; }
.mobile-nav { display: none; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; inset: calc(100% - 1px) 0 auto; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px max(16px,calc((100% - 1144px)/2)); box-shadow: 0 12px 24px #161b2a12; }
.mobile-nav nav a { display: block; padding: 11px 12px; }
.inner-hero, .class-intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px,5.6vw,84px); align-items: center; padding-block: clamp(38px,4.5vw,66px); }
.edition { border: 1px solid var(--line); border-radius: 22px; overflow: clip; background: var(--surface); margin-block: 28px 46px; }
.cover { isolation: isolate; position: relative; background: #281d21; color: #fff; }
.cover-art { position: absolute; top: 0; right: 0; z-index: -2; width: 69%; height: 100%; object-fit: cover; object-position: center 37%; }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#281d21 20%,#281d21f5 32%,#281d21cd 44%,#281d2150 61%,transparent 75%); }
.cover-copy { width: 57%; padding: clamp(32px,4.4vw,62px); padding-right: 0; }
.eyebrow { margin-bottom: 16px; color: var(--accent); font-size: .9375rem; font-weight: 650; }
.cover .eyebrow { color: #f3dad8; }
.cover h1 { font-size: clamp(2.6rem,4.8vw,4.25rem); letter-spacing: -.032em; line-height: 1.05; text-wrap: wrap; }
.lead { font-size: clamp(1.0625rem,1.5vw,1.2rem); line-height: 1.6; color: var(--muted); max-width: 60ch; margin-top: 20px; }
.cover .lead { max-width: 40ch; color: #faf0ed; }
.cover-link { min-height: 44px; display: inline-flex; align-items: center; color: white; font-size: .9375rem; font-weight: 600; }
.cover .actions { column-gap: 22px; }
.cover :focus-visible { outline-color: #fff; }
.actions { gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.inner-hero figure, .picture-round { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.sample { display: grid; gap: 24px; grid-template-columns: minmax(0,1fr) minmax(170px,.6fr); align-items: start; padding: 22px clamp(24px,4.4vw,62px); }
.sample .exercise { width: fit-content; max-width: 100%; justify-self: end; }
.sample .exercise[open] { width: 100%; }
.sample .exercise > summary { gap: 24px; background: var(--tint); border-radius: var(--radius-control); padding: 8px 16px; }
.sample .choices { margin-top: 10px; }
.meta, figcaption { font-size: .8125rem; color: var(--muted); }
.sample h2 { margin-top: 5px; font-size: clamp(1.25rem,2vw,1.6rem); line-height: 1.22; }
.exercise > summary, .recording > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: .9375rem; font-weight: 650; color: var(--accent); }
.exercise > summary::after, .recording > summary::after, .questions summary::after { content: "+"; font-size: 1.45rem; font-weight: 450; flex: none; }
.exercise[open] > summary::after, .recording[open] > summary::after, .questions details[open] summary::after { content: "−"; }
.choices { display: grid; gap: 8px; }
.choices details { background: var(--canvas); border: 1px solid var(--line); border-radius: 10px; }
.choices summary, .choices p { padding: 11px 14px; font-size: .9375rem; }
.choices summary:hover, .choices details[open] summary { color: var(--accent); }
.choices p { border-top: 1px solid var(--line); }
.source { display: inline-block; margin-top: 13px; font-size: .8125rem; }
.section, .reading-section, .mode-group { border-top: 1px solid var(--line); padding-block: clamp(32px,4.2vw,56px); }
.path-grid { display: grid; gap: 16px; margin-top: 22px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.path-card { display: grid; grid-template-columns: minmax(96px,.55fr) 1fr auto; gap: 20px; align-items: center; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding-right: 18px; color: var(--ink); text-decoration: none; }
.path-card:hover { border-color: var(--accent); }
.path-card img { width: 100%; height: 100%; min-height: 146px; object-fit: cover; }
.path-card > div { padding-block: 18px; }
.path-card .path-label { color: var(--accent); margin: 0 0 5px; font-size: .8125rem; font-weight: 600; }
.edition + .section { border-top: none; padding-top: 0; }
.path-card p, .film p, .strip p, .steps p, .mode p { color: var(--muted); margin-top: 6px; }
.go { font-size: 1.4rem; color: var(--accent); }
.film, .reading-section, .mode-group { display: grid; grid-template-columns: .85fr 1.2fr; align-items: start; gap: clamp(24px,6vw,92px); }
.film p { max-width: 48ch; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
.recording, .questions, .steps, .mode-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); }
.recording { padding: 12px 20px; }
.recording video { display: block; margin: 12px auto; max-width: 100%; width: auto; height: min(62vh,580px); background: #111; }
.inner-hero figure img { width: 100%; height: auto; aspect-ratio: 1.8; object-fit: cover; }
figcaption { padding: 10px 16px; }
.page-intro { max-width: 830px; padding-block: clamp(40px,5vw,72px); }
.steps { margin: 0; list-style: none; padding: 0 22px; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding: 21px 0 21px 48px; }
.steps li::before { content: counter(step); position: absolute; inset: 20px auto auto 0; border-radius: 10px; background: var(--tint); color: var(--accent); width: 32px; height: 32px; display: grid; place-items: center; font-weight: 650; }
.steps li + li, .mode + .mode, .questions details + details { border-top: 1px solid var(--line); }
.strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(20px,3vw,36px); background: var(--tint); border-radius: var(--radius-card); margin-bottom: clamp(36px,5vw,68px); }
.strip h2 { font-size: 1.45rem; }
.strip p { max-width: 66ch; }
.strip a { flex-shrink: 0; }
.class-copy { align-self: center; }
.class-copy .lead { max-width: 43ch; }
.class-copy h1 { max-width: 14ch; }
.class-copy .text-link { margin-inline: 6px; }
.picture-round fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.picture-round legend { width: 100%; padding: 19px 22px 17px; }
.round-type { display: block; color: var(--accent); font-size: .8125rem; font-weight: 650; }
.round-question { display: block; margin-top: 5px; font-size: clamp(1.15rem,2vw,1.5rem); line-height: 1.22; letter-spacing: -.03em; font-weight: 700; }
.picture-stage { position: relative; aspect-ratio: 1.5; }
.picture-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.picture-point { position: absolute; width: 46px; height: 46px; transform: translate(-50%,-50%); cursor: pointer; display: grid; place-items: center; }
.picture-point.arch { left: 13%; top: 18%; }
.picture-point.stall { left: 20%; top: 74%; }
.picture-point.temple { left: 81%; top: 22%; }
.picture-point input { position: absolute; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.picture-point span { pointer-events: none; display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid white; border-radius: 50%; background: #272030; color: white; box-shadow: 0 1px 8px #15111d88; font-weight: 700; }
.picture-point:hover span, .picture-point input:checked + span { background: #a90034; }
.picture-point input:focus-visible + span { outline: 3px solid #fff; outline-offset: 3px; }
.round-note { min-height: 112px; padding: 15px 22px; font-size: .9375rem; }
.round-feedback p, .round-reset { display: none; }
.picture-round:has(:checked) #round-help { display: none; }
.picture-round:has([value=arch]:checked) .for-arch,
.picture-round:has([value=stall]:checked) .for-stall,
.picture-round:has([value=temple]:checked) .for-temple { display: block; }
.picture-round:has(:checked) .round-reset { display: inline-block; }
.round-reset { border: 0; background: transparent; color: var(--accent); padding: 6px 0; min-height: 36px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }
.plan-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; list-style: none; padding: 0; margin: 24px 0 0; counter-reset: step; }
.plan-steps li { position: relative; counter-increment: step; }
.plan-steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--accent); background: var(--tint); font-weight: 650; margin-bottom: 12px; }
.plan-steps li:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: 46px; right: -19px; height: 1px; background: var(--line); }
.plan-steps p, .teacher-tools > div > p, .tool-list p { color: var(--muted); margin-top: 7px; }
.tool-list { border-left: 3px solid var(--tint); padding-left: 22px; }
.tool-list article + article { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.jump { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 24px; }
.page-intro:has(+ .jump) { padding-bottom: 22px; }
.jump a { padding: 9px 14px; border-radius: var(--radius-control); color: var(--ink); background: var(--panel); text-decoration: none; font-weight: 550; }
.jump a:hover { background: var(--tint); color: var(--accent); }
.mode-group { scroll-margin-top: 16px; }
.mode { padding: 20px 24px; scroll-margin-top: 16px; }
.mode:target { outline: 2px solid var(--accent); border-radius: 12px; }
.story { display: grid; grid-template-columns: 1fr 320px; align-items: center; gap: clamp(24px,6vw,80px); padding-bottom: clamp(32px,5vw,64px); }
.story p, .prose p + p { margin-top: 14px; }
.story img { width: 100%; aspect-ratio: 1.6; height: auto; object-fit: cover; border-radius: var(--radius-card); }
.questions { margin-bottom: 36px; padding: 0 22px; max-width: 860px; }
.questions details { padding: 0 0 1px; }
.questions summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; font-weight: 600; }
.questions summary::after { color: var(--accent); }
.questions details p { padding-bottom: 14px; }
.questions details .text-link { margin-bottom: 8px; }
.site-footer { background: var(--panel); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: .85fr 1.5fr auto; gap: 32px; padding-block: 32px; }
.site-footer nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; align-content: start; gap: 6px 16px; }
.contact, .site-footer nav a, .legal a { font-size: .875rem; padding-block: 3px; }
.contact { display: inline-block; margin-top: 6px; }
.theme-label { font-size: .8125rem; font-weight: 600; }
select { display: block; margin-top: 5px; min-height: 42px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--surface); font-size: .875rem; }
.legal { flex-wrap: wrap; gap: 6px 24px; padding-block: 14px; border-top: 1px solid var(--line); }
.legal a { color: var(--muted); }
@media(max-width:820px) {
  .header-actions > .compact { display: none; }
  .wrap { width: calc(100% - 40px); }
  .wide-nav { display: none; }
  .mobile-nav { display: block; }
  .header-row { justify-content: space-between; min-height: 66px; }
  .inner-hero, .class-intro { gap: 24px; }
  .cover-copy { width: 62%; padding: 34px; padding-right: 0; }
  .path-card { grid-template-columns: 76px 1fr auto; gap: 12px; }
  .class-intro { grid-template-columns: .9fr 1.1fr; }
  .story { grid-template-columns: 1fr 230px; }
}
@media(max-width:680px) {
  .wrap { width: calc(100% - 32px); }
  .brand { width: 79px; }
  .inner-hero, .class-intro, .film, .reading-section, .mode-group, .story { grid-template-columns: 1fr; }
  .inner-hero, .class-intro { padding-block: 30px; }
  .edition { margin-block: 16px 32px; border-radius: var(--radius-card); }
  .cover-art { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 2.05; object-position: center 32%; }
  .cover::before { display: none; }
  .cover-copy { width: 100%; padding: 22px 20px; }
  .cover .eyebrow { margin-bottom: 10px; }
  .cover h1 { font-size: clamp(2.25rem,8vw,3rem); }
  .actions { margin-top: 20px; }
  .lead { margin-top: 16px; }
  .sample { padding: 18px 20px; grid-template-columns: 1fr; gap: 10px; }
  .sample .exercise { justify-self: stretch; width: 100%; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { grid-template-columns: minmax(70px,24%) 1fr auto; padding-right: 12px; }
  .path-card img { min-height: 116px; }
  .plan-steps { grid-template-columns: 1fr; gap: 18px; }
  .plan-steps li { padding-left: 52px; }
  .plan-steps li::before { position: absolute; left: 0; }
  .plan-steps li:not(:last-child)::after { top: 44px; bottom: -12px; width: 1px; height: auto; left: 19px; }
  .picture-round legend, .round-note { padding-inline: 16px; }
  .strip { align-items: flex-start; flex-direction: column; gap: 16px; }
  .steps { padding-inline: 16px; }
  .mode { padding: 17px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .theme-label { justify-self: start; }
  .story img { max-height: 230px; }
}
@media(max-width:480px) {
  .actions { display: grid; }
  .cover .actions { justify-items: start; row-gap: 2px; }
  .round-note { min-height: 126px; }
}
