:root {
  --bg: #071316;
  --panel: #102126;
  --gold: #d8bc85;
  --white: #eef1e8;
  --muted: #b4c4ba;
  --line: rgba(190, 212, 195, .24);
  --cream: #f1f0e6;
  --ink: #17332e;
  --serif: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Segoe UI", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--white); font: 1rem/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, figure { margin: 0; }
h1, h2, .mission, .company { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.8vw, 3.8rem); line-height: 1.16; letter-spacing: -.035em; text-wrap: balance; }
:lang(ja) h2 { line-height: 1.5; letter-spacing: .015em; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--gold); color: var(--bg); }
.wrap { width: min(1270px, 89%); margin-inline: auto; }
.skip-link { position: fixed; z-index: 2; top: -8rem; left: 1rem; background: var(--gold); color: var(--bg); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header, .brand, nav, .stage, figcaption, .footer { display: flex; align-items: center; }
.site-header { gap: 2rem; min-height: 82px; border-bottom: 1px solid var(--line); }
.brand { gap: .5rem; text-decoration: none; letter-spacing: .12em; white-space: nowrap; font-size: 1.1rem; }
.brand em { color: var(--gold); font-style: normal; }
nav { gap: 1.7rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-decoration: none; }
.sections { margin-left: auto; }
.languages { gap: .7rem; padding-left: 1.7rem; border-left: 1px solid var(--line); }
.languages a[aria-current], nav a:hover { color: var(--gold); text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(4rem, 7.5vw, 7.4rem); }
.stage, .section-label { font-size: .88rem; letter-spacing: .055em; }
.stage { gap: .65rem; color: var(--gold); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold); }
h1 { font-size: clamp(4.5rem, 8.4vw, 8.4rem); letter-spacing: -.065em; line-height: 1.1; margin: 1rem 0 .5rem; }
h1 em { font-weight: 400; color: var(--gold); }
.subtitle { font-size: clamp(.92rem, 1.18vw, 1.18rem); letter-spacing: .035em; }
.mission { font-size: clamp(1.5rem, 2vw, 2.1rem); line-height: 1.4; margin-top: 2.4rem; text-wrap: pretty; }
.lead, .process-intro p, .exchange p { color: var(--muted); margin-top: 1rem; max-width: 60ch; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border: 1px solid var(--gold); border-radius: 3px; text-decoration: none; }
.primary { background: var(--gold); color: #102022; font-weight: 600; }
.primary:hover { background: #ead1a1; }
.hero .button { margin-top: 1.7rem; }
.art-frame { position: relative; border: 1px solid #506754; border-radius: 48% 48% 3px 3px; overflow: hidden; box-shadow: 0 25px 70px #0005; transform: rotate(-2deg); aspect-ratio: 1.15; }
.art-frame img { height: 100%; width: 100%; object-fit: cover; object-position: 64% center; }
figcaption { justify-content: space-between; flex-wrap: wrap; gap: .1rem .8rem; font-size: .85rem; color: var(--muted); }
.hero-art figcaption { margin: 1.5rem .45rem 0; }
figcaption b { font-family: var(--serif); color: var(--white); font-weight: 400; font-size: 1.08rem; }
.paper { background: var(--cream); color: var(--ink); }
.spread, .process, .exchange { padding-block: clamp(3.7rem, 7vw, 7rem); }
.spread { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7%; align-items: center; }
.book-figure { display: grid; justify-items: center; gap: 1.6rem; }
.book { width: min(70%, 280px); position: relative; border: 1px solid #90a88d66; border-radius: 2px 6px 6px 2px; overflow: hidden; transform: rotate(5deg); box-shadow: 14px 17px 35px #142e2740; }
.book img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.book::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,#071a2280,transparent 6%,#e6e5ba30 7%,transparent 8%); }
.book-title { position: absolute; inset: auto 0 0; background: linear-gradient(transparent,#071c22eb); padding: 2.7rem 1.2rem 1rem; color: var(--white); font: 1.4rem var(--serif); }
.book-figure figcaption { color: #476258; }
.section-label { color: var(--gold); }
.paper .section-label { color: #45604c; }
.prose h2 { margin: .5rem 0 1.3rem; }
.prose p + p { margin-top: .85rem; }
.prose { max-width: 64ch; }
.process { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7%; }
.steps { counter-reset: step; list-style: none; padding: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; gap: .35rem 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font: italic 1.45rem var(--serif); color: var(--gold); }
.steps h3 { font-weight: 500; line-height: 1.3; font-size: 1.18rem; }
.steps p { grid-column: 2; color: var(--muted); }
.collaboration { background: linear-gradient(115deg,#193f35,#0e3030); border-block: 1px solid var(--line); }
.exchange { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; }
.exchange h2 { font-size: clamp(1.75rem, 2.7vw, 2.6rem); }
.email { display: inline-block; margin-top: 1.25rem; font-size: clamp(1.1rem, 1.8vw, 1.5rem); color: var(--gold); overflow-wrap: anywhere; }
.footer { justify-content: space-between; gap: 2rem; padding-block: 3rem; font-size: .93rem; color: var(--muted); }
.footer .company { font-size: 1.42rem; color: var(--white); margin-block: .35rem; }
.footer a { display: block; width: fit-content; padding: .3rem 0; }
@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; gap: .3rem 1rem; padding-block: .6rem; }
  .sections { order: 3; width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 0 1.2rem; }
  .languages { margin-left: auto; }
}
@media (max-width: 760px) {
  .wrap { width: 89%; }
  .hero, .spread, .process, .exchange { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero { padding-block: 2.4rem 3.2rem; }
  .mission { margin-top: 1.6rem; }
  .hero-art { width: min(95%, 490px); margin-inline: auto; }
  .spread .prose { grid-row: 1; }
  .book { width: min(52vw, 240px); }
  .footer { align-items: start; flex-wrap: wrap; }
  .languages { padding-left: .8rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
