@font-face {
  font-family: "Shippori Mincho";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/shippori-mincho-400.woff2") format("woff2");
}

@font-face {
  font-family: "Shippori Mincho";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/shippori-mincho-700.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --ink: #191410;
  --paper: #e6dccb;
  --paper-bright: #f3ecdf;
  --fog: #a89a86;
  --line: rgba(243, 236, 223, 0.22);
  --vermilion: #b4342a;
  --serif: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
  --sans: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper-bright);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}
::selection { background: var(--vermilion); color: var(--paper-bright); }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 50;
  padding: .8rem 1rem;
  background: var(--vermilion);
  color: var(--paper-bright);
}
.skip-link:focus { top: 1rem; }

.masthead {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 3vw;
  border-bottom: 1px solid var(--line);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.brand { display: flex; align-items: center; gap: .8rem; font-weight: 700; }
.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 1rem;
}
.mast-meta { display: flex; align-items: center; gap: 1rem; }
.mast-rule { width: 5rem; height: 1px; background: currentColor; opacity: .55; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #211a16;
}
.hero-image {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(.72) contrast(1.04) sepia(.05);
  animation: settle 1.7s cubic-bezier(.2,.8,.2,1) both;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,9,7,.68), rgba(12,9,7,.05) 57%, rgba(12,9,7,.34)), linear-gradient(0deg, rgba(12,9,7,.74), transparent 48%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, transparent calc(25% - 1px), var(--line) 25%, transparent calc(25% + 1px)), linear-gradient(90deg, transparent calc(75% - 1px), var(--line) 75%, transparent calc(75% + 1px));
  opacity: .55;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 3vw 6rem;
}
.eyebrow {
  display: flex;
  max-width: 38rem;
  justify-content: space-between;
  margin: 0 0 1.4rem;
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero h1 {
  display: flex;
  max-width: 11ch;
  flex-direction: column;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 13rem);
  font-weight: 400;
  letter-spacing: -.075em;
  line-height: .68;
}
.hero h1 span:last-child { padding-left: .75em; font-style: italic; }
.hero-note {
  display: grid;
  width: min(38rem, 70%);
  grid-template-columns: 1fr 1fr;
  margin-top: 3.2rem;
  margin-left: 8vw;
  font-size: .8rem;
  line-height: 1.65;
}
.hero-note p { margin: 0; }
.hero-note a { align-self: end; padding-bottom: .4rem; border-bottom: 1px solid currentColor; letter-spacing: .08em; }
.hero-note a span { float: right; font-size: 1rem; }
.hero-caption {
  position: absolute;
  right: 3vw;
  bottom: 2.5rem;
  z-index: 2;
  margin: 0;
  font-size: .62rem;
  letter-spacing: .14em;
  line-height: 1.65;
  text-align: right;
  text-transform: uppercase;
}
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 3vw;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: left bottom;
}
.scroll-cue span { width: 3rem; height: 1px; background: currentColor; }

.manifesto {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) 3fr;
  gap: 2rem;
  padding: clamp(6rem, 12vw, 12rem) 5vw;
  background: var(--paper);
  color: var(--ink);
}
.section-index, .kicker {
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section-index { padding-top: .7rem; }
.kicker { margin: 0 0 2rem; }
.manifesto h2, .closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6.5vw, 7rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
}
.manifesto-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 52rem;
  margin: 5rem 0 0 15%;
  font-size: .88rem;
  line-height: 1.85;
}
.manifesto-detail p { margin: 0; }
.manifesto-detail .english { color: #6b5f4e; font-family: var(--serif); font-size: 1rem; font-style: italic; }

.stories { padding: 10vw 5vw 14vw; background: #120e0b; }
.story figure { margin: 0; overflow: hidden; }
.story img { object-fit: cover; filter: saturate(.72); transition: filter .5s ease, transform .8s ease; }
.story figure:hover img { filter: saturate(.95); transform: scale(1.012); }
.story figcaption {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.story-wide { width: 78%; }
.story-wide img { aspect-ratio: 16 / 8.5; }
.story-copy { display: flex; align-items: center; gap: 1rem; margin: 2rem 0 0 30%; color: var(--fog); font-family: var(--serif); font-size: 1.15rem; }
.story-copy p { margin: 0; }
.story-line { width: 6rem; height: 1px; background: var(--fog); }
.story-portrait { width: 43%; margin: 14vw 0 0 auto; }
.story-portrait img { aspect-ratio: 4 / 5; }
.story-reflection {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5vw;
  align-items: end;
  margin-top: 14vw;
}
.story-reflection img { aspect-ratio: 4 / 3; }
.story-heading > span { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; }
.story-heading h2 { margin: 2rem 0 1rem; font-family: var(--serif); font-size: clamp(2.3rem, 5vw, 5.4rem); font-weight: 400; letter-spacing: -.04em; line-height: .95; }

.closing {
  position: relative;
  display: grid;
  min-height: 75vh;
  grid-template-columns: 1fr 3fr;
  align-items: center;
  padding: 8vw 5vw;
  overflow: hidden;
  background: var(--vermilion);
  color: var(--paper-bright);
}
.closing-coordinate { align-self: start; font-size: .65rem; letter-spacing: .16em; line-height: 1.8; }
.closing-mark { position: absolute; right: -2vw; bottom: -14vw; color: rgba(243, 236, 223, .14); font-family: var(--serif); font-size: 45vw; line-height: 1; }
.closing-mark span { font-style: italic; }

footer {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 3rem;
  padding: 4rem 5vw;
  background: #0b0806;
  color: var(--fog);
  font-size: .62rem;
  letter-spacing: .1em;
  line-height: 1.8;
  text-transform: uppercase;
}
.footer-brand { color: var(--paper-bright); font-size: .8rem; }
.footer-brand span { display: block; color: var(--fog); font-size: .55rem; }
.credits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem 2rem; }
.credits p { grid-column: 1 / -1; margin: 0 0 .5rem; }
.credits a:hover { color: var(--paper-bright); }
.copyright { margin: 0; text-align: right; }

@keyframes settle {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-image { animation: none; }
  .story img { transition: none; }
}

@media (max-width: 760px) {
  .masthead { padding: 1.1rem 1.2rem; }
  .mast-meta span:first-child, .mast-rule { display: none; }
  .hero-copy { padding: 7rem 1.2rem 8rem; justify-content: flex-end; }
  .hero h1 { font-size: clamp(4.7rem, 25vw, 8rem); line-height: .72; }
  .eyebrow { max-width: none; }
  .hero-note { width: 88%; grid-template-columns: 1fr; gap: 2rem; margin: 2.5rem 0 0 8%; }
  .hero-caption { right: 1.2rem; bottom: 1.5rem; }
  .scroll-cue { display: none; }
  .manifesto { grid-template-columns: 1fr; padding: 6rem 1.2rem; }
  .manifesto-copy h2 { font-size: clamp(2.7rem, 13vw, 4.5rem); }
  .manifesto-detail { grid-template-columns: 1fr; gap: 2rem; margin: 3rem 0 0 8%; }
  .stories { padding: 6rem 1.2rem 8rem; }
  .story-wide, .story-portrait { width: 100%; }
  .story-wide img { aspect-ratio: 4 / 5; }
  .story-copy { margin-left: 0; }
  .story-portrait { margin-top: 7rem; }
  .story-reflection { grid-template-columns: 1fr; margin-top: 8rem; }
  .story-reflection .story-heading { order: 2; }
  .closing { min-height: 65vh; grid-template-columns: 1fr; align-content: center; gap: 5rem; padding: 6rem 1.2rem; }
  .closing h2 { font-size: 13vw; }
  footer { grid-template-columns: 1fr; padding: 3rem 1.2rem; }
  .credits { grid-template-columns: 1fr; }
  .copyright { text-align: left; }
}
