@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('./barlow-condensed-800.woff2') format('woff2');
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('./barlow-condensed-900.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --paper: #f8efdc;
  --light: #fff8e9;
  --ink: #211914;
  --muted: #5d4c3b;
  --red: #a52a1d;
  --rust: #872417;
  --gold: #f1bc61;
  --line: #cbbba2;
  --display: 'Barlow Condensed', Impact, 'Arial Narrow', 'Nimbus Sans Narrow', sans-serif;
  --jp: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Noto Sans CJK JP', Meiryo, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.8 var(--jp);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img, video { display: block; max-width: 100%; }
figure, h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
[id] { scroll-margin-top: 6rem; }

.shell { width: min(100% - 6.5rem, 1370px); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7.5vw, 8.25rem); }
.eyebrow {
  color: var(--rust);
  font: 800 .95rem/1 var(--display);
  letter-spacing: .16em;
  margin-bottom: .8rem;
}
h2 {
  font-size: clamp(2rem, 4.7vw, 4.9rem);
  line-height: 1.19;
  font-weight: 900;
  letter-spacing: -.065em;
  line-break: strict;
}
.section-heading { margin-bottom: clamp(1.6rem, 3.4vw, 3.5rem); }
.section-heading > p:not(.eyebrow) { margin-top: 1rem; }
.skip-link {
  position: fixed;
  top: .7rem;
  left: .7rem;
  transform: translateY(-180%);
  z-index: 5;
  padding: .6rem 1rem;
  background: var(--light);
  color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.masthead { background: var(--paper); border-bottom: 1px solid var(--ink); }
.masthead-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.3rem; }
.masthead-inner { min-height: 4.2rem; }
.wordmark { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; align-items: flex-start; }
.wordmark > span { font: 900 2rem/.8 var(--display); letter-spacing: -.012em; }
.wordmark > small { margin-top: .38rem; font-weight: 800; font-size: .62rem; letter-spacing: .08em; }
.main-nav { display: flex; gap: clamp(.85rem, 3.1vw, 2.7rem); align-items: center; }
.main-nav a { font-size: .85rem; text-decoration: none; font-weight: 800; }
.main-nav a:not(.nav-archive):hover, .contents-inner a:hover, .wordmark:hover { text-decoration: underline; }
.nav-archive { background: var(--ink); color: var(--light); padding: .48rem 1.15rem; }
.nav-archive:hover { background: var(--red); }
.nav-archive:focus-visible { outline-color: var(--ink); }

.hero { background: var(--red); color: var(--light); overflow: clip; }
.hero-inner { min-height: min(44vw, 650px); display: grid; grid-template-columns: .92fr 1.08fr; }
.hero-copy { min-width: 0; padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 3vw, 3.25rem) 3.4rem 0; align-self: center; }
.hero-kicker { font-weight: 800; font-size: clamp(.74rem, 1.25vw, 1rem); letter-spacing: .02em; }
.hero-kicker span { margin-left: .68rem; padding-left: .68rem; border-left: 1px solid currentColor; }
.hero-display {
  font: 900 clamp(5.6rem, 12.7vw, 12.25rem)/.8 var(--display);
  letter-spacing: -.022em;
  margin-top: .14em;
  white-space: nowrap;
}
.hero-display span { color: var(--gold); }
.hero h1 { font-size: clamp(1.25rem, 2.15vw, 2.15rem); font-weight: 900; letter-spacing: -.04em; margin-top: .55rem; }
.hero h1 > span + span { margin-left: .25em; }
.hero-date { font: 800 clamp(1.5rem, 3.2vw, 3.25rem)/1 var(--display); margin-top: 1.2rem; letter-spacing: .04em; }
.hero-date > span { color: var(--gold); }
.hero-actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: clamp(1.4rem, 3vw, 2.65rem); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .65rem 1.05rem;
  border: 1px solid transparent;
  font-weight: 850;
  font-size: .87rem;
  line-height: 1.45;
  text-decoration: none;
  text-align: center;
  transition: background .18s ease, color .18s ease;
}
.button-cream { background: var(--light); color: var(--ink); }
.button-cream:hover { background: var(--gold); }
.hero .button-cream:focus-visible, .archive-panel .button-cream:focus-visible { outline-color: var(--light); }
.button-outline { color: var(--light); border-color: currentColor; }
.button-outline:hover { background: var(--ink); border-color: var(--ink); }
.button-ink { background: var(--ink); color: var(--light); }
.button-ink:hover { background: var(--rust); }
.button-ink:focus-visible { outline-color: var(--ink); }
.hero-shot { position: relative; margin-right: min(-3.25rem, (1370px - 100vw) / 2); min-width: 0; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 48%; }
.hero-shot figcaption {
  position: absolute;
  bottom: 1rem;
  right: 1.05rem;
  padding: .32rem .62rem;
  color: var(--light);
  background: var(--ink);
  font-size: .69rem;
  font-weight: 700;
}

.contents-bar { background: var(--gold); border-block: 1px solid var(--ink); }
.contents-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.contents-inner a { text-align: center; padding: .9rem .45rem; text-decoration: none; font-size: .83rem; font-weight: 850; }
.contents-inner a + a { border-left: 1px solid var(--ink); }
.contents-inner a:focus-visible { outline-offset: -5px; }
.report-open { display: grid; grid-template-columns: 1fr .83fr; gap: clamp(2rem, 7.4vw, 7.4rem); align-items: end; }
.report-lead { font-size: clamp(.93rem, 1.25vw, 1.07rem); line-height: 2.12; }
.report-lead p + p, .story-copy p + p { margin-top: .9rem; }
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(2rem, 4.5vw, 4.5rem); border-block: 2px solid var(--ink); }
.fact-strip > div { min-width: 0; padding: 1rem clamp(.75rem, 2vw, 1.75rem) 1.05rem; }
.fact-strip > div + div { border-left: 1px solid var(--line); }
.fact-strip dt { font-weight: 900; font-size: .78rem; }
.fact-strip dd { display: grid; gap: .28rem; }
.fact-strip strong { color: var(--rust); white-space: nowrap; font: 800 clamp(2.2rem, 5.1vw, 5rem)/1 var(--display); letter-spacing: -.01em; }
.fact-strip strong small { font: 900 .37em/1 var(--jp); padding-left: .15em; }
.fact-strip dd span { font-size: .76rem; line-height: 1.55; }

.story-band { background: var(--gold); border-block: 1px solid var(--ink); padding-block: clamp(2rem, 5.3vw, 5.25rem); }
.story-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(1.3rem, 5vw, 6rem); align-items: center; }
.story-shot img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.story-shot figcaption, .article-hero-shot figcaption, .gallery-card figcaption { font-size: .75rem; font-weight: 800; margin-top: .4rem; }
.story-copy h2 { margin-bottom: 1rem; }
.story-copy p:not(.eyebrow) { font-size: clamp(.91rem, 1.2vw, 1rem); line-height: 2; }
.story-copy .button { margin-top: 1.3rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.65rem, 2vw, 1.6rem); }
.gallery-card { min-width: 0; grid-column: span 5; }
.gallery-card:nth-child(4n + 1), .gallery-card:nth-child(4n + 4) { grid-column: span 7; }
.gallery-card a { display: block; overflow: hidden; background: var(--line); }
.gallery-card img { width: 100%; height: clamp(9rem, 29vw, 25rem); object-fit: cover; transition: transform .35s ease-out; }
.gallery-card a:hover img { transform: scale(1.045); }
.gallery-card:last-child img { object-position: center 48%; }

.film-section { background: var(--ink); color: var(--light); }
.film-section .eyebrow { color: var(--gold); }
.film-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3.6vw, 3.2rem); }
.film-frame { aspect-ratio: 16/9; position: relative; background: #110c09; }
.film-frame video, .film-frame img { width: 100%; height: 100%; object-fit: cover; }
.expand-button {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--light);
  text-decoration: none;
  background: var(--ink);
  color: var(--light);
  padding: .48rem .8rem;
  font-size: .82rem;
  font-weight: 800;
}
.expand-button:hover { background: var(--red); }
.expand-icon { display: inline-block; width: .8rem; height: .8rem; border: 1px solid currentColor; }
.film-caption { display: flex; gap: .5rem 1rem; flex-wrap: wrap; align-items: baseline; margin-top: .75rem; }
.film-caption h3 { font-size: clamp(1rem, 1.8vw, 1.35rem); letter-spacing: -.035em; }
.film-caption p, .transcript { font-size: .82rem; }
.transcript { border-top: 1px solid #746254; margin-top: .75rem; padding-block: .65rem; }
.transcript summary { cursor: pointer; font-weight: 700; }
.transcript p { margin-top: .4rem; }
.film-open { overflow: hidden; }
.film-dialog { width: min(960px, 100% - 1.8rem, 135vh); max-height: 92vh; padding: 0; border: 1px solid #746254; color: var(--light); background: var(--ink); }
.film-dialog::backdrop { background: rgb(15 9 6 / .84); }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .65rem 1rem; }
.dialog-header h2 { font-size: clamp(.9rem, 2vw, 1.2rem); letter-spacing: -.02em; }
.dialog-close { color: inherit; background: transparent; border: 1px solid currentColor; padding: .25rem .55rem; white-space: nowrap; }
.dialog-video { aspect-ratio: 16/9; width: 100%; height: auto; background: #000; }
.film-error { padding: .75rem 1rem; }

.archive-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding: clamp(1.15rem, 3.2vw, 3rem);
  background: var(--red);
  color: var(--light);
}
.archive-panel h3 { font-size: clamp(1.35rem, 2.8vw, 2.7rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.3; }
.archive-panel p { margin-top: .52rem; font-size: .88rem; }
.archive-panel .button { flex: 0 0 auto; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: .8rem; gap: .8rem; }
.more-link {
  min-width: 0;
  min-height: 12.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1rem, 2.5vw, 2.4rem);
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: background-color .18s ease;
}
.more-link:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.more-link h3 { font-size: clamp(1.18rem, 2.3vw, 2.2rem); letter-spacing: -.064em; line-height: 1.22; font-weight: 900; }
.more-link p { font-size: .8rem; margin-top: .62rem; }
.more-story { background: var(--gold); }
.more-council { background: var(--light); }
.more-health { background: #e7d3ab; }
.press-links { border-block: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: baseline; padding-block: 1rem; margin-top: 2rem; }
.press-links h3 { font-size: .88rem; }
.press-links a, .thanks { font-size: .82rem; }
.thanks { margin-top: 1.35rem; }

.site-footer { color: var(--light); background: var(--ink); padding-block: 2rem 2.55rem; }
.footer-inner { align-items: flex-start; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .45rem 1.25rem; font-size: .8rem; }
.footer-inner p { color: #e0d1b9; margin-top: .95rem; font-size: .72rem; }

.article-hero { border-bottom: 1px solid var(--ink); background: var(--gold); }
.article-hero--student-council { background: var(--red); color: var(--light); }
.article-hero--student-council .eyebrow { color: var(--gold); }
.article-hero--gakkenpo { background: #e7d3ab; }
.article-hero-inner { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 2rem; padding-block: clamp(2rem, 5vw, 5.1rem); }
.article-hero-copy .breadcrumb { margin-bottom: 1.2rem; font-size: .82rem; font-weight: 750; }
.article-hero h1 { font-size: clamp(2rem, 5.5vw, 5.75rem); line-height: 1.1; letter-spacing: -.075em; font-weight: 900; line-break: strict; }
.article-hero h1 + p { max-width: 35em; font-size: clamp(.91rem, 1.25vw, 1.08rem); margin-top: 1.25rem; }
.article-hero-shot img { width: 100%; aspect-ratio: 1.5; height: auto; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 48rem) minmax(15rem, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.article-body section { padding-block: 1.35rem; border-top: 1px solid var(--line); }
.article-body section:first-child { border-top: 2px solid var(--ink); }
.article-body h2 { font-size: clamp(1.35rem, 2.65vw, 2.25rem); letter-spacing: -.045em; margin-bottom: .62rem; }
.article-body p { line-height: 2.05; font-size: clamp(.92rem, 1.3vw, 1.06rem); }
.article-body p + p { margin-top: .58rem; }
.article-body .article-source { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; font-size: .82rem; margin-top: .8rem; }
.related { border-top: 2px solid var(--ink); padding: 1rem 0 0; display: grid; gap: .7rem; }
.related h2 { font-size: 1.15rem; letter-spacing: -.04em; }
.related a { font-size: .86rem; }
.related .button { justify-self: start; margin-top: .5rem; }

@media (max-width: 1040px) {
  .shell { width: calc(100% - 4rem); }
  .hero-shot { margin-right: -2rem; }
  .hero-copy { padding-right: 1rem; }
  .hero-display { font-size: clamp(4.55rem, 12vw, 8.3rem); }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 2rem); }
  .masthead-inner { gap: .65rem; }
  .main-nav { gap: .85rem; }
  .main-nav a { font-size: .76rem; }
  .main-nav a:nth-child(2) { display: none; }
  .nav-archive { padding-inline: .68rem; }
  .hero-inner { width: 100%; display: block; }
  .hero-copy { padding: 2.3rem 1rem 1.65rem; }
  .hero-display { font-size: clamp(5.6rem, 23vw, 9rem); margin-top: .15em; }
  .hero h1 { font-size: clamp(1.2rem, 4.7vw, 1.65rem); }
  .hero-date { margin-top: .85rem; }
  .hero-actions { margin-top: 1.23rem; }
  .hero-shot { margin-right: 0; }
  .hero-shot img { aspect-ratio: 1.5; height: auto; }
  .hero-shot figcaption { right: .6rem; bottom: .6rem; }
  .contents-inner { width: 100%; grid-template-columns: 1fr 1fr; }
  .contents-inner a { font-size: .76rem; padding: .6rem .3rem; }
  .contents-inner a:nth-child(3) { border-left: 0; }
  .contents-inner a:nth-child(n + 3) { border-top: 1px solid var(--ink); }
  .report-open, .story-layout, .film-grid, .article-hero-inner, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .report-open { gap: 1.2rem; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .fact-strip > div { padding: .75rem .8rem; }
  .fact-strip > div:nth-child(3) { border-left: 0; }
  .fact-strip > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .story-layout { gap: 1.2rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-card, .gallery-card:nth-child(4n + 1), .gallery-card:nth-child(4n + 4) { grid-column: auto; }
  .gallery-card img { height: auto; aspect-ratio: 1.1; }
  .film-grid { gap: 1.6rem; }
  .archive-panel { align-items: flex-start; flex-direction: column; }
  .more-grid { grid-template-columns: 1fr; }
  .more-link { min-height: auto; }
  .more-link h3 br { display: none; }
  .footer-inner { flex-direction: column; }
  .article-hero-inner { gap: 1.25rem; }
}

@media (max-width: 365px) {
  .main-nav { gap: .6rem; }
  .hero-actions { gap: .4rem; }
  .hero-actions .button { font-size: .78rem; padding-inline: .7rem; }
  .hero-display { font-size: 5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-display { animation: headline-in .55s cubic-bezier(.2, .6, .25, 1) both; }
  @keyframes headline-in {
    from { opacity: .4; transform: translateY(.16em); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
