:root {
  color-scheme: dark;
  --ink: #271f1a;
  --paper: #f4efe6;
  --cream: #fff8ee;
  --muted: #d4c8b9;
  --rule: #766458;
  --gutter: clamp(1.25rem, 6.2vw, 7rem);
  --serif: "Cormorant Garamond", Georgia, "Noto Serif CJK JP", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); font: .98rem/1.75 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-underline-offset: .28em; }
button, input { font: inherit; }
button { cursor: pointer; }
img, video { display: block; width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
p + p { margin-top: 1.15em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.8vw, 6.3rem); letter-spacing: -.036em; }
h2 { font-size: clamp(2.15rem, 4.1vw, 4.65rem); letter-spacing: -.026em; }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.45rem); letter-spacing: -.02em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip { position: fixed; z-index: 4; top: .5rem; left: .5rem; padding: .7rem 1rem; background: var(--paper); color: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { min-height: 5.2rem; position: relative; z-index: 2; color: var(--cream); background: #201b18; border-bottom: 1px solid #ffffff26; }
.home .site-header { position: absolute; inset: 0 0 auto; background: transparent; border: 0; }
.home .header-inner { padding-top: 1.45rem; }
.home .controls { border-bottom: 1px solid #fff8ee70; }
.control-language span { font-size: 1.1em; }
.header-inner { min-height: 5.2rem; display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--gutter); gap: .8rem; }
.controls { display: flex; gap: clamp(.45rem, 1.9vw, 1.65rem); align-items: center; flex-wrap: wrap; }
.control, .close { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .65rem; padding: .15rem 0; color: inherit; background: transparent; border: 0; font-size: .875rem; }
.control:hover, .text-link:hover, .footer a:hover { text-decoration: underline; }
.icon-menu, .icon-search { position: relative; display: inline-block; width: 1.14rem; height: 1.1rem; }
.icon-menu::before, .icon-menu::after { content: ""; position: absolute; left: 0; width: 100%; border-top: 1px solid; top: 30%; }
.icon-menu::after { top: 70%; }
.icon-search::before { content: ""; position: absolute; height: .68rem; width: .68rem; border: 1px solid; border-radius: 50%; left: 0; top: 0; }
.icon-search::after { content: ""; position: absolute; width: .45rem; left: .69rem; top: .8rem; border-top: 1px solid; transform: rotate(45deg); }
.wordmark { font: 400 3.1rem/.74 var(--serif); letter-spacing: -.055em; text-decoration: none; }
.home .wordmark { position: absolute; right: var(--gutter); top: clamp(2.4rem, 6vh, 5.5rem); font-size: clamp(7.4rem, 16.5vw, 15.7rem); }
.hero { position: relative; display: grid; align-items: end; isolation: isolate; min-height: max(39rem, 100svh); overflow: clip; padding: 12rem var(--gutter) clamp(5rem, 13vh, 9rem); background: #332d28; }
.hero-photo, .hero-film, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo, .hero-film { z-index: -2; object-fit: cover; object-position: 58% 53%; filter: saturate(.71) sepia(.15); }
.hero-film { opacity: 0; }
.hero-film.is-visible { opacity: 1; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(180deg,#1f1916a6 0%,#21191632 29%,transparent 42%,#22191325 56%,#1c1510e6 100%),linear-gradient(90deg,#1c140fd9 0%,#1c161181 33%,transparent 75%); }
.hero-copy { width: min(100%, 57rem); }
.hero-copy .eyebrow { margin-bottom: .95rem; text-transform: uppercase; color: #ecdecb; }
.hero h1 { max-width: 15ch; font-size: clamp(3.8rem, 7.1vw, 7.75rem); line-height: .91; }
.hero h1 em { font-weight: inherit; }
.hero-copy > p:not(.eyebrow) { max-width: 31rem; margin-top: 1.2rem; color: #f9ede0; }
.hero .button { margin-top: 1.7rem; }
.hero-caption { position: absolute; left: var(--gutter); bottom: 2.7rem; margin: 0; font-size: .72rem; letter-spacing: .12em; color: #f2e3d2; }
.chapter-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1.2rem; padding: .7rem var(--gutter); color: var(--ink); background: #efe7da; border-bottom: 1px solid #cbbeb0; }
.chapter-link { display: inline-flex; min-height: 2.75rem; align-items: center; font-size: .83rem; text-decoration: none; }
.chapter-link:hover { text-decoration: underline; }
.eyebrow, figcaption { font-size: .76rem; letter-spacing: .14em; }
.eyebrow { font-weight: 560; }
.button { display: inline-flex; align-items: center; min-height: 3rem; padding: .62rem 1.25rem; border: 1px solid currentColor; text-decoration: none; font-size: .9rem; }
.button::after { content: "→"; margin-left: 1.35rem; }
.button:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.paper .button:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.text-link { display: inline-block; font-size: .95rem; font-weight: 600; }
.section { padding: clamp(3.8rem, 8vw, 8.5rem) var(--gutter); }
.paper { color-scheme: light; color: var(--ink); background: linear-gradient(145deg,#faf6ef,var(--paper) 63%,#eadfd1); }
.dark { background: linear-gradient(135deg,#3c3029,#251e1a 63%,#201b18); }
.intro { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 2rem 6vw; }
.intro .eyebrow { grid-column: 1/-1; }
.intro p { max-width: 37rem; }
.editorial { display: grid; grid-template-columns: minmax(0,1.32fr) minmax(0,1fr); align-items: center; gap: clamp(1.5rem, 5vw, 6rem); }
.editorial .copy > * + *, .journal-copy > * + * { margin-top: 1.25rem; }
[hidden] { display: none !important; }
figcaption { margin-top: .6rem; letter-spacing: .015em; }
.blocks { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.4rem, 3vw, 3.2rem); }
.grid-intro { padding-bottom: 2.4rem; }
.blocks article { border-top: 1px solid var(--rule); padding-top: 1.15rem; }
.blocks h2, .blocks h3 { margin: .55rem 0 .8rem; font-size: clamp(1.5rem, 2.5vw, 2.7rem); overflow-wrap: break-word; }
.home .editorial { grid-template-columns: minmax(0,.9fr) minmax(0,1.25fr); }
.home .editorial img { aspect-ratio: 1.56; object-fit: cover; }
.features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.65rem; }
.features img, .collection-preview { aspect-ratio: 16 / 10; margin-bottom: 1.25rem; }
.features img { object-fit: cover; }
.collection-preview {
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 25%, #645143, #2a211b 78%);
}
.collection-preview .empty-frame { width: 61%; }
.features h2 { font-size: clamp(2rem, 3.3vw, 3.55rem); }
.features p { margin-top: .45rem; color: var(--muted); }
.feature-link { text-decoration: none; }
.feature-link:hover { text-decoration: underline; }
.generation { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; padding: 0; }
.portrait { background: #080808; display: flex; align-items: end; justify-content: center; align-self: stretch; min-height: 34rem; }
.portrait img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 49rem;
  mask-image: linear-gradient(to right, transparent, #000 17%, #000 83%, transparent),
              linear-gradient(to bottom, transparent, #000 5%, #000 87%, transparent);
  mask-composite: intersect;
}
.generation .copy { padding: clamp(2rem, 6vw, 7rem); }
.generation .copy > * + * { margin-top: 1.2rem; }
.cards { row-gap: 3.5rem; }
.cards img { aspect-ratio: 4/3; object-fit: cover; margin-bottom: 1.05rem; background: #312720; }
.cards .text-link { margin-top: .95rem; }
.collection { padding-top: 3rem; }
.coming-frame { max-width: 47rem; width: 100%; }
.empty-frame {
  aspect-ratio: 4 / 3;
  border: clamp(.65rem, 1.65vw, 1.45rem) solid #513b2e;
  background: linear-gradient(145deg, #e6dbca, #f4ecdf 65%, #e2d6c3);
  box-shadow: 0 .8rem 1.8rem #13100db0, inset 0 0 0 2px #ac9376, inset 0 0 0 .55rem #c3ad90;
}
.coming-frame figcaption { margin-top: 1.15rem; color: var(--cream); font-size: .92rem; text-align: center; }
.journal-feature { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(1.5rem, 6vw, 7rem); align-items: center; }
.journal-feature img { aspect-ratio: 4/3; object-fit: cover; }
.letter { max-width: 51rem; margin: auto; }
.letter h1 { margin: .6rem 0; }
.letter header { margin-bottom: 2rem; padding-bottom: 1.6rem; border-bottom: 1px solid #abaea5; }
.letter p { line-height: 1.82; }
.narrative { border-top: 1px solid #d9cbbf; }
.narrative-copy h2 { font-size: clamp(2rem, 4vw, 3.6rem); margin-bottom: .85rem; }
.letter > .narrative-copy { margin-block: 2.25rem; }
.letter .back { margin-top: 2rem; }
.contact-copy > * + * { margin-top: 1rem; }
.contact-copy a { overflow-wrap: anywhere; }
.footer { padding: 3.1rem var(--gutter) 2.3rem; background: #201b18; border-top: 1px solid #ffffff26; }
.footer nav { display: flex; flex-wrap: wrap; gap: .65rem 1.6rem; padding-bottom: 1.8rem; }
.footer a { text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .7rem 1.5rem; border-top: 1px solid #ffffff26; padding-top: 1.3rem; color: var(--muted); font-size: .875rem; }
.credits { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #bfb1a5; }
.credits h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.credits ul { margin: .65rem 0 0; padding-left: 1.3rem; }
.credits a { text-decoration: underline; }
dialog { background: var(--paper); color: var(--ink); color-scheme: light; border: 0; width: min(92vw, 48rem); max-height: 88svh; padding: clamp(1.25rem, 4vw, 3rem); }
dialog::backdrop { background: #1a1410dd; }
.dialog-head { display: flex; gap: 1rem; justify-content: space-between; align-items: start; margin-bottom: 1.3rem; }
.dialog-head h2 { font-size: clamp(1.9rem, 4vw, 3.3rem); }
.close { flex-shrink: 0; align-items: start; min-width: 2.75rem; justify-content: end; text-align: end; }
.dialog-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .1rem 1.4rem; }
.dialog-nav a, .results a { padding: .75rem 0; border-bottom: 1px solid #50413250; }
dialog a[aria-current] { font-weight: 700; }
dialog input { min-height: 3rem; width: 100%; padding: .6rem .8rem; margin-top: .35rem; border: 1px solid #676f66; background: #ffffff87; color: var(--ink); }
.search-status { margin-top: .7rem; }
.results { margin: 0; padding: 0; list-style: none; }
.results a { display: block; }
@media (max-width: 800px) {
  .features { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro, .editorial, .home .editorial, .generation, .journal-feature { grid-template-columns: 1fr; align-items: start; }
  .blocks { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portrait { min-height: 0; }
  .portrait img { max-height: min(115vw, 40rem); }
  .generation .copy { padding: 2.8rem var(--gutter) 3.8rem; }
}
@media (max-width: 510px) {
  .home .wordmark { top: 4.8rem; font-size: clamp(6.7rem, 24vw, 8rem); }
  .home .header-inner { padding-top: .5rem; }
  .hero { padding-top: 13rem; padding-bottom: 8.5rem; }
  .hero-caption { bottom: 1.1rem; }
  .chapter-nav { justify-content: flex-start; }
  .hero-photo { object-position: 62% center; }
  .hero h1 { font-size: clamp(2.7rem, 10vw, 3.5rem); }
  .blocks { grid-template-columns: 1fr; }
  .header-inner { padding-right: 1rem; }
  .controls { column-gap: .8rem; }
  .control { gap: .35rem; }
  .control .icon-menu, .control .icon-search { display: none; }
  .dialog-nav { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion:no-preference) {
  .button, a { transition: color .18s ease, background-color .18s ease; }
  dialog[open] { animation: enter .2s ease-out; }
  @keyframes enter { from { opacity: 0; transform: translateY(.4rem); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
