:root {
  --ink: #080704;
  --ink-soft: #100e09;
  --paper: #e7dec7;
  --paper-dim: #aaa18c;
  --gold: #c6a35c;
  --gold-bright: #e6ca81;
  --line: rgba(225, 203, 147, 0.18);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 28%, rgba(137, 98, 39, 0.08), transparent 28rem),
    var(--ink);
  font-family: var(--sans);
  line-height: 1.8;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--gold-bright);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 76px;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, min-height 0.4s ease;
}
.site-header.is-scrolled {
  min-height: 62px;
  border-color: var(--line);
  background: rgba(8, 7, 4, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #f3ecd9;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.23em;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 30px;
  aspect-ratio: 1;
  place-items: center;
  color: var(--ink);
  background: var(--gold-bright);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 0.9rem;
  letter-spacing: 0;
}
.global-nav { display: flex; align-items: center; gap: clamp(1.3rem, 3vw, 3rem); }
.global-nav a {
  position: relative;
  color: rgba(244, 238, 222, 0.72);
  font-family: var(--serif);
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-decoration: none;
}
.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 100%;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.global-nav a:hover::after, .global-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #070604;
  isolation: isolate;
}
.hero-art,
.hero-motion {
  position: absolute;
  z-index: -4;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  scale: 1.035;
}
.hero-art {
  animation: heroBreath 14s ease-in-out infinite alternate;
}
.hero-motion {
  z-index: -3;
  scale: 1.025;
  filter: saturate(.9) contrast(1.05);
}
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 4, 3, 0.82) 0%, rgba(4, 4, 3, 0.34) 43%, rgba(4, 4, 3, 0.08) 72%),
    linear-gradient(0deg, rgba(5, 4, 3, 0.88) 0%, transparent 42%, rgba(5, 4, 3, 0.28) 100%);
}
.hero-grain {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  left: clamp(1.5rem, 7vw, 7.5rem);
  bottom: clamp(4.8rem, 10vh, 8.5rem);
  max-width: 45rem;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.65);
}
.eyebrow, .section-kicker {
  margin: 0 0 1.25rem;
  color: var(--gold-bright);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.28em;
}
.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: .95;
}
.hero-title span {
  display: block;
  margin-bottom: .2rem;
  color: rgba(244, 235, 211, .82);
  font-size: clamp(1rem, 1.7vw, 1.55rem);
  letter-spacing: .22em;
}
.hero-title strong {
  display: block;
  color: #f0e6cc;
  font-size: clamp(3.4rem, 7vw, 7rem);
  font-weight: 500;
  letter-spacing: -.07em;
}
.hero-line {
  margin: 1.25rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3.3vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.15;
}
.hero-line em { display: inline-block; color: var(--gold-bright); font-style: normal; white-space: nowrap; }
.hero-sub {
  margin: .7rem 0 0;
  color: rgba(245, 238, 218, 0.76);
  font-family: var(--serif);
  font-size: clamp(0.95rem, 1.5vw, 1.35rem);
  letter-spacing: 0.13em;
}
.watch-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
  padding: 0.75rem 0;
  color: #fff6df;
  border-bottom: 1px solid var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
}
.watch-link span { color: var(--gold-bright); font-size: 0.7rem; }
.hero-scroll {
  position: absolute;
  right: clamp(1rem, 3vw, 3rem);
  bottom: 2.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,.5);
  font-size: 0.54rem;
  letter-spacing: .25em;
  text-decoration: none;
  writing-mode: vertical-rl;
}
.hero-scroll i { display: block; width: 1px; height: 50px; background: linear-gradient(var(--gold), transparent); }

.section { position: relative; padding: clamp(6rem, 12vw, 11rem) clamp(1.4rem, 6vw, 6rem); }
.intro { max-width: 1280px; margin: 0 auto; }
.intro::before {
  content: "九";
  position: absolute;
  z-index: -1;
  top: 3rem;
  right: 1rem;
  color: rgba(198, 163, 92, 0.035);
  font-family: var(--serif);
  font-size: clamp(18rem, 38vw, 38rem);
  line-height: 1;
}
.intro-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.brush-en { margin: 0 0 0.6rem; color: rgba(230, 202, 129, 0.16); font-family: Georgia, serif; font-size: clamp(3.2rem, 8vw, 7rem); letter-spacing: -0.07em; line-height: 0.8; }
.intro h2, .film-copy h2, .duality h2, .nature h2, .gallery h2, .stamps h2, .next-world h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 6vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.15;
}
.intro h2 span, .nature h2 span { color: var(--gold-bright); }
.intro-copy { padding-top: 2rem; border-top: 1px solid var(--line); }
.intro-copy p { margin: 0 0 1.65rem; color: var(--paper-dim); font-family: var(--serif); font-size: clamp(1rem, 1.4vw, 1.16rem); }

.film-section {
  display: grid;
  grid-template-columns: minmax(250px, .7fr) minmax(320px, 1.3fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  min-height: 100svh;
  background:
    radial-gradient(circle at 70% 50%, rgba(152, 119, 63, 0.12), transparent 32rem),
    #0d0b08;
  border-block: 1px solid var(--line);
}
.film-copy { justify-self: end; max-width: 28rem; }
.film-copy p:not(.section-kicker):not(.film-note) { margin: 2rem 0 0; color: var(--paper-dim); }
.film-note { margin-top: 2.5rem; color: var(--gold-bright); font-size: .68rem; letter-spacing: .16em; }
.film-frame { position: relative; width: min(100%, 610px); margin-inline: auto; isolation: isolate; }
.film-frame video {
  width: min(100%, 410px);
  max-height: 78svh;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  background: #000;
  border: 1px solid rgba(230, 202, 129, .26);
  object-fit: cover;
  box-shadow: 0 45px 110px rgba(0,0,0,.72);
}
.film-halo { position: absolute; z-index: -1; inset: 15% 0; background: rgba(173, 134, 67, .12); filter: blur(60px); }
.film-mark { position: absolute; z-index: -1; right: -2%; bottom: -10%; color: rgba(230, 202, 129, .055); font-family: var(--serif); font-size: clamp(15rem, 28vw, 28rem); line-height: 1; }

.duality { max-width: 1440px; margin: 0 auto; }
.duality-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(3rem, 6vw, 6rem); }
.duality-head .section-kicker { order: 2; margin-bottom: 0.8rem; }
.duality-panels { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2.4rem); }
.duality-card { position: relative; min-height: 650px; overflow: hidden; background: #111; }
.duality-card img,
.duality-card video { width: 100%; height: 100%; object-fit: cover; transition: scale 1.3s var(--ease), filter 1.3s var(--ease); }
.duality-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,4,3,.94), transparent 58%); }
.duality-card-copy { position: absolute; z-index: 2; left: clamp(1.5rem, 4vw, 3rem); right: clamp(1.5rem, 4vw, 3rem); bottom: clamp(1.5rem, 4vw, 3rem); }
.duality-card-copy span { color: var(--gold-bright); font-size: .58rem; letter-spacing: .2em; }
.duality-card-copy h3 { margin: .4rem 0; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 500; }
.duality-card-copy p { max-width: 28rem; margin: 0; color: rgba(240,231,210,.65); font-family: var(--serif); }
.duality-card:hover img,
.duality-card:hover video { scale: 1.025; filter: contrast(1.05); }

.nature { display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; padding-inline: 0 clamp(1.4rem, 7vw, 8rem); background: #e0d6bc; color: #17130c; }
.nature-image { min-height: 720px; clip-path: polygon(0 0, 94% 0, 100% 100%, 0 100%); }
.nature-image img,
.nature-image video { width: 100%; height: 100%; min-height: 720px; object-fit: cover; }
.ambient-motion { background: #090806; }
.nature-copy { max-width: 34rem; }
.nature .section-kicker { color: #795d29; }
.nature h2 span { color: #76591f; }
.cat-signs { margin: 3rem 0 0; border-top: 1px solid rgba(24,19,10,.2); }
.cat-signs div { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(24,19,10,.2); }
.cat-signs dt { color: #76591f; font-family: var(--serif); font-size: 1.15rem; font-weight: 700; }
.cat-signs dd { margin: 0; color: rgba(23,19,12,.7); }

.gallery { max-width: 1440px; margin: 0 auto; }
.gallery-head { display: grid; grid-template-columns: .5fr 1.5fr; align-items: end; margin-bottom: 4rem; }
.gallery-head .section-kicker { align-self: start; }
.gallery-wide { position: relative; margin: 0; overflow: hidden; }
.gallery-wide img { width: 100%; max-height: 780px; object-fit: cover; }
.gallery-wide::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 90px rgba(0,0,0,.5); pointer-events: none; }
.gallery-wide figcaption { position: absolute; z-index: 2; right: 1.5rem; bottom: 1.2rem; padding: .35rem .65rem; color: rgba(255,255,255,.7); background: rgba(0,0,0,.45); font-family: var(--serif); font-size: .72rem; letter-spacing: .1em; }

.stamps { min-height: 780px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #151109, #080704); border-block: 1px solid var(--line); }
.stamp-ghost { position: absolute; color: rgba(230, 202, 129, .035); font-family: var(--serif); font-size: clamp(7rem, 20vw, 20rem); font-weight: 700; letter-spacing: -.12em; white-space: nowrap; transform: rotate(-5deg); }
.stamps-inner { position: relative; z-index: 2; width: min(100%, 1180px); }
.stamps-heading { max-width: 760px; margin: 0 auto clamp(3rem, 6vw, 5rem); text-align: center; }
.stamps-intro { max-width: 38rem; margin: 1.8rem auto 0; color: var(--paper-dim); }
.stamp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); }
.stamp-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, .72fr) minmax(0, 1.28fr);
  gap: clamp(1rem, 2.3vw, 2rem);
  align-items: center;
  min-height: 360px;
  padding: clamp(1.25rem, 2.8vw, 2.25rem);
  overflow: hidden;
  border: 1px solid rgba(230, 202, 129, .18);
  background: rgba(10, 9, 6, .82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
  isolation: isolate;
}
.stamp-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .45;
  background: radial-gradient(circle at 18% 45%, rgba(198, 163, 92, .3), transparent 36%);
}
.stamp-card--sword::before { background: radial-gradient(circle at 18% 45%, rgba(132, 36, 28, .38), transparent 38%); }
.stamp-art { position: relative; display: grid; aspect-ratio: 1; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(236, 222, 187, .16), transparent 68%); }
.stamp-art::after { content: ""; position: absolute; inset: 7%; border: 1px solid rgba(230, 202, 129, .16); border-radius: 50%; }
.stamp-art img { position: relative; z-index: 2; width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgba(0,0,0,.5)); }
.stamp-card-copy { min-width: 0; }
.stamp-number { color: var(--gold-bright); font-size: .56rem; font-weight: 800; letter-spacing: .24em; }
.stamp-card h3 { margin: .7rem 0 1rem; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.85rem); font-weight: 500; line-height: 1.35; }
.stamp-card h3 strong { color: var(--gold-bright); font-weight: 500; }
.stamp-card-copy > p { margin: 0; color: rgba(231, 222, 199, .63); font-family: var(--serif); font-size: .84rem; line-height: 1.75; }
.stamp-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.3rem; color: rgba(231, 222, 199, .48); font-size: .58rem; font-weight: 700; letter-spacing: .14em; }
.status-pill { display: inline-flex; margin-top: 1rem; padding: .55rem .85rem; color: var(--gold-bright); border: 1px solid rgba(230,202,129,.34); border-radius: 99px; font-size: .57rem; font-weight: 700; letter-spacing: .08em; }
.status-pill--live { color: #f3df9a; background: rgba(198, 163, 92, .11); box-shadow: inset 0 0 24px rgba(198, 163, 92, .07); }
.stamps-small { margin: 1.4rem 0 0; color: rgba(231,222,199,.44); font-size: .7rem; text-align: center; }

.next-world { max-width: 1200px; margin: 0 auto; text-align: center; }
.next-world h2 { max-width: 900px; margin: 0 auto; font-size: clamp(2.2rem, 5vw, 5.4rem); }
.next-card { display: flex; justify-content: space-between; align-items: center; max-width: 780px; margin: 3.2rem auto 0; padding: 1.2rem 1.5rem; border-block: 1px solid var(--line); text-decoration: none; transition: color .3s ease, border-color .3s ease; }
.next-card span { font-family: var(--serif); font-size: 1.1rem; }
.next-card b { color: var(--gold-bright); font-size: .68rem; letter-spacing: .12em; }
.next-card:hover { color: var(--gold-bright); border-color: var(--gold); }
.next-card i { font-style: normal; }

footer { padding: 3rem clamp(1.4rem, 6vw, 6rem) 2rem; color: rgba(231,222,199,.52); border-top: 1px solid var(--line); }
.footer-main, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 2rem; max-width: 1320px; margin: 0 auto; }
.footer-main div { display: flex; flex-direction: column; }
.footer-main strong { color: var(--paper); font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.footer-main span, .footer-bottom { font-size: .58rem; letter-spacing: .15em; }
.footer-main a { color: var(--gold-bright); font-size: .72rem; text-decoration: none; border-bottom: 1px solid currentColor; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(231,222,199,.08); }
.footer-bottom a { color: inherit; font-weight: 700; text-decoration: none; letter-spacing: .2em; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes heroBreath { to { scale: 1.075; } }

@media (max-width: 860px) {
  .site-header { min-height: 64px; }
  .nav-toggle { position: relative; z-index: 2; display: grid; gap: 5px; width: 42px; height: 42px; padding: 11px 9px; color: inherit; background: rgba(8,7,4,.35); border: 1px solid var(--line); border-radius: 50%; }
  .nav-toggle span:not(.sr-only) { display: block; width: 100%; height: 1px; background: var(--paper); transition: transform .3s ease, opacity .3s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .global-nav { position: fixed; inset: 0; display: grid; align-content: center; justify-items: center; gap: 2rem; background: rgba(8,7,4,.97); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
  .global-nav.is-open { opacity: 1; visibility: visible; }
  .global-nav a { font-size: 1.15rem; }
  .hero-art { object-position: 62% center; }
  .hero-motion { object-position: 54% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(4,4,3,.94) 0%, rgba(4,4,3,.35) 58%, rgba(4,4,3,.18) 100%); }
  .hero-copy { left: 1.4rem; right: 2rem; bottom: 5.5rem; }
  .hero-title strong { font-size: clamp(3.2rem, 14vw, 5.2rem); }
  .hero-line { font-size: clamp(1.8rem, 8vw, 3rem); }
  .hero-sub { font-size: .9rem; }
  .intro-grid, .film-section, .nature { grid-template-columns: 1fr; }
  .film-copy { justify-self: start; max-width: 35rem; }
  .film-frame video { max-height: 72svh; }
  .duality-head { display: block; }
  .duality-head .section-kicker { margin-bottom: 1.25rem; }
  .duality-panels { grid-template-columns: 1fr; }
  .duality-card { min-height: 540px; }
  .nature { padding-inline: 0; padding-bottom: 7rem; gap: 3rem; }
  .nature-image, .nature-image img, .nature-image video { min-height: 480px; }
  .nature-image { clip-path: polygon(0 0, 100% 0, 100% 91%, 0 100%); }
  .nature-copy { padding-inline: 1.4rem; }
  .gallery-head { grid-template-columns: 1fr; gap: 1rem; }
  .stamp-grid { grid-template-columns: 1fr; }
  .stamp-card { grid-template-columns: 170px 1fr; }
  .footer-main { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .brand span:last-child { font-size: .6rem; }
  .section { padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .hero { min-height: 94svh; }
  .hero-art { object-position: 59% center; }
  .hero-motion { display: none; }
  .hero-scroll { display: none; }
  .eyebrow { margin-bottom: .8rem; }
  .hero-line { max-width: 9em; }
  .intro-grid { gap: 2.5rem; }
  .brush-en { font-size: 3rem; }
  .film-section { padding-inline: 1.4rem; }
  .film-frame video { width: min(100%, 330px); }
  .duality-card { min-height: 450px; }
  .nature-image, .nature-image img, .nature-image video { min-height: 360px; }
  .gallery-wide { margin-inline: -1.4rem; }
  .gallery-wide img { min-height: 440px; object-position: 63% center; }
  .gallery-wide figcaption { left: 1rem; right: auto; bottom: .8rem; max-width: calc(100% - 2rem); }
  .stamps { min-height: 0; }
  .stamp-card { grid-template-columns: 1fr; text-align: center; }
  .stamp-art { width: min(210px, 74%); margin: 0 auto; }
  .stamp-meta { justify-content: center; }
  .next-card { align-items: flex-start; flex-direction: column; gap: .5rem; text-align: left; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
