:root {
  color-scheme: light;
  --ink: #182d3e;
  --muted: #415765;
  --paper: #fffaf0;
  --white: #fff;
  --sun: #ffce54;
  --teal: #0b584e;
  --line: #ddd8c8;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, video:focus-visible { outline: 3px solid #116d9c; outline-offset: 4px; }
.skip { position: absolute; z-index: 2; top: -100px; left: 1rem; padding: .75rem; background: var(--white); }
.skip:focus { top: 1rem; }
.shell { width: min(100% - 3rem, 1180px); margin-inline: auto; }
.top, .foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.top { min-height: 84px; border-bottom: 1px solid var(--line); }
.brand { font-size: 1.25rem; font-weight: 800; text-decoration: none; white-space: nowrap; letter-spacing: -.04em; }
.brand img { width: 132px; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: .6rem 1.65rem; }
nav a { font-weight: 700; font-size: .95rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3rem, 7vw, 7rem); }
.tag { margin: 0 0 .85rem; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 850; letter-spacing: -.055em; line-height: 1.04; }
h1 { max-width: 12ch; font-size: clamp(3.2rem, 5.9vw, 5.35rem); }
h1 em { color: var(--teal); font-style: normal; }
h2 { font-size: clamp(2.1rem, 4vw, 3.65rem); }
h3 { font-size: 1.5rem; }
.intro, .section-intro, .teacher p:not(.tag), .films article > p:not(.tag) { color: var(--muted); line-height: 1.62; }
.intro { margin-top: 1.35rem; font-size: 1.12rem; max-width: 44ch; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.button { display: inline-flex; align-items: center; gap: .6rem; border: 2px solid var(--ink); padding: .75rem 1rem; border-radius: .8rem; text-decoration: none; font-weight: 750; box-shadow: 0 3px 0 var(--ink); }
.primary { background: var(--sun); }
.secondary { background: var(--white); }
.button:hover { translate: 0 -2px; }
.hero-art { border-radius: 1.5rem; overflow: hidden; background: #d7ecbc; border: 3px solid var(--ink); box-shadow: 7px 8px 0 var(--sun); }
.hero-art img { width: 100%; height: auto; }
.characters { background: #e4f1e8; padding-block: clamp(3rem, 6vw, 5rem); }
.portraits { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .8rem; margin-top: 1.8rem; }
figure { margin: 0; text-align: center; min-width: 0; }
figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: var(--white); border-radius: 1rem; }
figcaption { margin-top: .6rem; font-weight: 800; }
.stories { padding-block: clamp(3rem, 7vw, 6rem); }
.section-intro { margin-top: .7rem; }
.films { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; margin-top: 1.5rem; }
.films article { min-width: 0; }
.films .tag { margin-top: 1rem; margin-bottom: .5rem; }
.films article > p:not(.tag) { margin-top: .45rem; }
video { width: 100%; aspect-ratio: 9 / 16; background: #102538; border-radius: 1rem; }
.teacher { background: #ffebbc; padding-block: clamp(3rem, 7vw, 6rem); }
.teacher-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.teacher img { width: 100%; border: 3px solid var(--ink); border-radius: 1.5rem; box-shadow: 6px 7px 0 #f4b454; }
.teacher h2 + p { margin-top: 1rem; }
.teacher ul { padding-left: 1.25rem; line-height: 1.6; margin-block: 1rem 1.25rem; }
.teacher li + li { margin-top: .5rem; }
.materials { font-weight: 800; text-underline-offset: .22em; color: var(--teal); }
.foot { min-height: 100px; flex-wrap: wrap; padding-block: 1rem; }
.foot span { color: var(--muted); }
@media (max-width: 850px) {
  .hero, .teacher-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 650px; }
  .teacher img { max-width: 520px; }
  .portraits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .films { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .shell { width: calc(100% - 2rem); }
  .top { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 1rem; }
  nav { gap: .55rem 1rem; }
  .films { grid-template-columns: 1fr; gap: 2rem; }
  .foot { min-height: 0; }
}

.social a { text-decoration: underline; text-underline-offset: .2em; }
.social a { display: inline-flex; align-items: center; gap: .35em; } .social svg { width: .9em; height: .9em; flex: none; }
.studio-credit { display: inline-flex; align-items: center; gap: .5rem; }
