:root {
  color-scheme: light;
  --ink: #15252e;
  --muted: #425661;
  --blue: #005d89;
  --sky: #eaf7fb;
  --accent: #b8e7f7;
  --paper: #fff;
  --line: #b8d0da;
  --gutter: clamp(18px, 3.8vw, 64px);
  --mono: "Cascadia Mono", Consolas, monospace;
  font-family: "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  background: var(--sky);
}

*, *::before, *::after { box-sizing: border-box; }
body, p, h1, h2, h3, figure, dl, dd { margin: 0; }
p { line-height: 1.85; }
h1, h2, h3 { line-height: 1.43; line-break: strict; }
h2 { font-size: clamp(24px, 3.15vw, 46px); letter-spacing: -.045em; }
h3 { font-size: clamp(20px, 2.3vw, 32px); letter-spacing: -.035em; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { width: min(100%, 1440px); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; z-index: 3; top: 0; left: 16px; padding: 12px; background: white; transform: translateY(-120%); }
.skip:focus { transform: translateY(0); }

.top { padding: 17px var(--gutter) 0; }
.masthead {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  max-width: 1330px;
  min-height: 65px;
  padding: 8px clamp(15px, 2vw, 28px);
  background: #f9fdff;
  border: 2px solid var(--ink);
  border-radius: 38px;
  box-shadow: 5px 5px 0 var(--ink);
}
.brand { display: grid; gap: 3px; text-decoration: none; width: fit-content; }
.brand b { font: 950 25px/.95 system-ui, sans-serif; letter-spacing: -.1em; font-style: italic; padding-right: 3px; }
.brand span { color: var(--muted); font-size: 10px; font-weight: 700; }
nav { display: flex; flex-wrap: wrap; gap: 0 clamp(10px, 1.6vw, 23px); }
.masthead nav { justify-content: flex-end; }
nav a, .subscribe { font-size: 13px; font-weight: 700; text-decoration: none; }
nav a { display: inline-flex; align-items: center; min-height: 36px; }
nav a:hover, .subscribe:hover { text-decoration: underline; }
.subscribe, .button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--accent);
  padding: 8px 15px;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
}
.subscribe { white-space: nowrap; }
.button { box-shadow: 4px 4px 0 var(--ink); }
.button:hover { background: #d6f2fb; }

.eyebrow, .profile dt { font: 700 12px/1.55 var(--mono); letter-spacing: .085em; text-transform: uppercase; color: var(--blue); }
.hero { padding: clamp(34px, 4vw, 65px) 0 clamp(32px, 5vw, 76px); }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 3vw, 42px); }
.hero-copy {
  background: #fbfeff;
  border: 2px solid var(--ink);
  border-radius: clamp(22px, 3vw, 42px);
  padding: clamp(24px, 4.3vw, 64px);
  box-shadow: 6px 7px 0 var(--ink);
}
.hero-label { display: flex; align-items: center; gap: 11px; }
.hero-label::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.hero h1 { margin-top: 16px; font-size: clamp(28px, 3.5vw, 54px); font-weight: 900; letter-spacing: -.055em; }
.hero h1 span { display: block; margin-top: 3px; color: var(--blue); }
.hero-caption { margin-top: 17px; font-size: clamp(13px, 1.2vw, 16px); font-weight: 800; }
.hero-description { margin-top: 10px; color: var(--muted); font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 19px; margin-top: 23px; }
.actions a { font-size: 13px; font-weight: 800; }
.hero-art { position: relative; align-self: stretch; display: grid; align-content: center; min-width: 0; }
.hero-art img { display: block; width: 100%; height: auto; }
.hero-art figcaption, .slate { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; }
.hero-art figcaption { padding: 10px 0; border-top: 1px solid var(--line); }
.featured-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px clamp(10px, 3vw, 35px);
  padding: 14px clamp(14px, 2.8vw, 38px);
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  text-decoration: none;
}
.featured-strip strong { margin-inline-start: 10px; }
.featured-strip > :last-child { display: grid; place-items: center; width: 34px; height: 34px; background: var(--accent); border-radius: 50%; }
.featured-strip:hover strong { text-decoration: underline; }

.chapter { border-top: 1px solid var(--line); padding-block: clamp(52px, 7vw, 100px); background: var(--sky); }
.chapter.light { background: var(--paper); }
#creators { background: #f4f9fb; }
.chapter-heading { display: grid; grid-template-columns: minmax(200px, .42fr) minmax(0, 1fr); align-items: center; gap: 12px 36px; margin-bottom: clamp(26px, 4.2vw, 62px); }
.chapter-marker > span { display: block; font: 950 clamp(28px, 3.65vw, 54px)/1.15 system-ui, sans-serif; color: var(--blue); letter-spacing: -.075em; }
.chapter-heading h2 + p { margin-top: 9px; max-width: 57ch; color: var(--muted); }
.film figure { overflow: hidden; border: 2px solid var(--ink); border-radius: 22px; background: var(--ink); box-shadow: 5px 6px 0 var(--ink); }
iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.film figcaption { padding: 11px 17px; color: var(--ink); background: white; }
.film-detail { display: grid; grid-template-columns: 1fr minmax(0, 1fr); gap: 18px clamp(24px, 5vw, 78px); margin-top: clamp(25px, 4.2vw, 60px); }
.film-detail p, .row > p, .privacy p { color: var(--muted); }
.film-detail p + p { margin-top: 10px; }
.film-detail .button, #contact .button { margin-top: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 0; margin: 17px 0; list-style: none; color: var(--blue); font-size: 12px; }

.rows { border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, .75fr); align-items: center; gap: 11px clamp(18px, 3.6vw, 55px); padding: clamp(18px, 3vw, 43px) 0; border-bottom: 1px solid var(--line); }
.row h3 { margin-top: 3px; }
.row > :last-child { font-size: 13px; font-weight: 700; }
.social { text-decoration: none; }
.social span { text-decoration: underline; text-underline-offset: .25em; }
.social:hover span { text-decoration-thickness: 2px; }
.profile { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-top: 33px; padding-top: 17px; border-top: 2px solid var(--ink); }
.profile dd { margin-top: 4px; font-weight: 800; }
#contact .chapter-heading { margin-bottom: 0; }
.privacy { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; }
.privacy h3 { font-size: 15px; letter-spacing: 0; }
.privacy p { margin-top: 7px; font-size: 13px; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 25px; border-top: 1px solid var(--line); padding-block: 24px; font-size: 13px; }
.footer small { display: block; color: var(--muted); margin-top: 4px; }

@media (max-width: 950px) {
  .masthead { grid-template-columns: 1fr auto; gap: 5px 12px; border-radius: 24px; }
  .masthead nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; border-top: 1px solid var(--line); padding-top: 4px; }
}
@media (max-width: 740px) {
  .hero-layout, .chapter-heading, .film-detail, .row { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 510px; margin-inline: auto; width: 100%; }
  .hero-copy { padding-inline: clamp(19px, 5vw, 35px); }
  .featured-strip { grid-template-columns: 1fr auto; }
  .featured-strip > :first-child { grid-column: 1 / -1; }
  .featured-strip strong { display: block; margin-inline-start: 0; }
  .profile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { gap: 7px; }
}
