:root {
  --ink: #0e0e0c;
  --paper: #f3efe6;
  --muted: #3f3a33;
  --line: rgba(14, 14, 12, 0.14);
  --gold: #e6d3a3;
  --serif: "Bodoni Moda", "Noto Serif SC", "Times New Roman", serif;
  --sans: "Outfit", "Noto Sans SC", sans-serif;
  --nav: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button, a { font: inherit; color: inherit; }
a { text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  height: var(--nav);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  color: var(--paper);
  background: linear-gradient(to bottom, rgba(14,14,12,.72), rgba(14,14,12,0));
}
.brand {
  font-family: var(--serif);
  letter-spacing: 0.04em;
  font-size: 18px;
}
.nav nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lang { display: flex; gap: 6px; }
.lang button, .menu {
  background: transparent;
  border: 0;
  color: var(--paper);
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  min-height: 44px;
  min-width: 44px;
}
.lang button[aria-pressed="true"] { color: var(--gold); }
.menu { display: none; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--paper);
  background: var(--ink);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.08);
  will-change: transform;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,14,12,.78) 0%, rgba(14,14,12,.15) 42%, rgba(14,14,12,.25) 100%);
}
.hero-copy, .scroll { position: relative; z-index: 1; }
.hero-copy { padding: 0 22px 72px; max-width: 1100px; }
.kicker, .chapter-head span, figcaption, .credits span, .note {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}
.kicker { margin: 0 0 8px; color: var(--gold); }
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(64px, 13vw, 168px);
  line-height: 0.82;
  letter-spacing: -0.03em;
}
h1 span { display: block; }
.lede { max-width: 28em; margin: 18px 0 0; font-weight: 300; font-size: 18px; }
.scroll {
  position: absolute;
  right: 22px;
  bottom: 28px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
}

.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-top: 1px solid rgba(243,239,230,.16);
}
.marquee div {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 14px 0;
  animation: drift 28s linear infinite;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.08em;
}
.marquee span::before { content: "·"; margin-right: 48px; color: var(--gold); }
@keyframes drift { to { transform: translateX(-50%); } }

.chapter { padding: 72px 22px 24px; }
.chapter-head {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: baseline;
  max-width: 1200px;
  margin: 0 auto 28px;
}
.chapter-head span { color: var(--muted); }
.chapter-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
}
.chapter-head p {
  grid-column: 2;
  margin: 8px 0 0;
  max-width: 36em;
  color: var(--muted);
}

.grid, .digitals {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.grid { grid-template-columns: 1.2fr 1fr 1fr; }
.grid .span2 { grid-column: span 2; }
.grid .wide { grid-column: span 2; }
figure { margin: 0; }
figure button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #ddd;
  cursor: zoom-in;
  overflow: hidden;
}
figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  transition: transform 0.6s ease;
}
.span2 img, .wide img { aspect-ratio: 4 / 5; }
figure button:hover img { transform: scale(1.04); }
figcaption { margin-top: 8px; color: var(--muted); }

.band {
  position: relative;
  min-height: 70vh;
  margin-top: 48px;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
  background: var(--ink);
}
.band-media { position: absolute; inset: -12% 0; }
.band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,14,12,.7), rgba(14,14,12,.1));
}
.band p {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 40px 22px;
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 80px);
  line-height: 0.95;
  max-width: 12em;
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}
.about-grid > figure img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.bio { font-size: 18px; margin: 0 0 16px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cards article {
  border-top: 1px solid var(--ink);
  padding-top: 12px;
}
.cards h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
}
dl { margin: 0; }
dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
dt { color: var(--muted); }
dd { margin: 0; }
.note { color: var(--muted); }

.screen { background: var(--ink); color: var(--paper); margin-top: 48px; }
.screen .chapter-head span, .screen .chapter-head p { color: #c8c2b6; }
.credits {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1200px;
}
.credits li {
  display: grid;
  grid-template-columns: 90px 1.4fr 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid rgba(243,239,230,.2);
  font-size: 18px;
}
.credits strong { font-family: var(--serif); font-weight: 500; font-size: 28px; }
.credits em { font-style: normal; color: #d9d3c7; }

.digitals { grid-template-columns: repeat(3, 1fr); }
.digitals img { aspect-ratio: 2 / 3; background: #f7f4ee; }

.book-links {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.book-links a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 160px;
  padding: 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
}
.book-links small {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.book-links a:hover { background: #1c1c18; }

footer {
  padding: 28px 22px 40px;
  color: var(--muted);
  font-size: 13px;
}
footer p { margin: 0 0 6px; }

dialog {
  width: min(920px, calc(100vw - 32px));
  border: 0;
  padding: 0;
  background: transparent;
}
dialog::backdrop { background: rgba(14,14,12,.88); }
dialog img { width: 100%; max-height: 86vh; object-fit: contain; margin: 0 auto; }
dialog .close {
  position: fixed;
  top: 16px;
  right: 16px;
  background: var(--paper);
  color: var(--ink);
  border: 0;
  min-height: 44px;
  padding: 0 16px;
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

@media (max-width: 900px) {
  .menu { display: block; margin-left: auto; }
  .nav nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(14,14,12,.96);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    font-size: 22px;
    margin: 0;
  }
  .nav nav.open { display: flex; }
  .lang { position: relative; z-index: 11; }
  .grid, .about-grid, .digitals, .book-links { grid-template-columns: 1fr 1fr; }
  .grid .span2, .grid .wide { grid-column: span 2; }
  .credits li { grid-template-columns: 72px 1fr; }
  .credits em, .credits li > span:last-child { grid-column: 2; }
  .credits strong { font-size: 22px; }
  h1 { font-size: clamp(58px, 18vw, 96px); }
}

@media (max-width: 640px) {
  .chapter { padding: 56px 16px 8px; }
  .hero-copy { padding: 0 16px 64px; }
  .grid, .digitals, .cards, .book-links, .about-grid { grid-template-columns: 1fr; }
  .grid .span2, .grid .wide { grid-column: auto; }
  .book-links a { min-height: 112px; font-size: 24px; }
  .lede { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee div { animation: none; }
  figure img { transition: none; }
  .hero-media img, .band-media img { transform: none !important; }
}
