@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../assets/fonts/ibm-plex-sans.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif CJK JP";
  src: url("../assets/fonts/noto-serif-jp-kanji.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+653E, U+8569;
}

:root {
  --bg: #070505;
  --paper: #f7f5f0;
  --ink: #16120f;
  --red: #b01030;
  --red-hot: #d4183a;
  --bone: #f7f5f0;
  --muted: rgba(247, 245, 240, 0.58);
  --muted-ink: rgba(22, 18, 15, 0.58);
  --hair: rgba(247, 245, 240, 0.14);
  --hair-ink: rgba(22, 18, 15, 0.16);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --jp: "Noto Serif CJK JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --gold: #C9A45C;
  --gold-hi: #E2C889;
  --gold-lo: #B89145;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg);
  color: var(--bone);
  scroll-behavior: smooth;
}

html, body {
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { min-height: 100%; background: var(--bg); }

img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; background: none; border: none; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
:focus-visible { outline: 1px solid var(--red); outline-offset: 4px; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.07;
  background: url("../assets/images/grain.png") repeat;
  mix-blend-mode: overlay;
}

#gate { display: flex; }
html.is-entered #gate { display: none; }
html.is-leaving #gate { pointer-events: none; }
html:not(.is-entered) {
  overflow: hidden;
}
html:not(.is-entered) body {
  overflow: hidden;
  height: 100svh;
}

#gate {
  position: fixed;
  inset: 0;
  z-index: 70;
  min-height: 100svh;
  overflow: hidden;
  background: #050203;
  color: var(--bone);
  flex-direction: column;
}

.gate-photo-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gate-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  transform: scale(1.04);
  transform-origin: 72% 50%;
}

.gate-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,2,3,0.82) 0%, rgba(5,2,3,0.55) 28%, rgba(5,2,3,0.12) 58%, rgba(5,2,3,0.28) 100%),
    linear-gradient(180deg, rgba(5,2,3,0.28) 0%, rgba(5,2,3,0) 22%, rgba(5,2,3,0) 72%, rgba(5,2,3,0.55) 100%);
}

.gate-kanji {
  position: absolute;
  top: clamp(1.5rem, 6vh, 5rem);
  left: clamp(1rem, 3vw, 3rem);
  font-family: var(--jp);
  font-size: clamp(0.95rem, 1.6vw, 1.375rem);
  font-weight: 400;
  letter-spacing: 0.45em;
  line-height: 1.55;
  writing-mode: vertical-rl;
  color: rgba(247, 245, 240, 0.28);
  pointer-events: none;
}

.gate-inner {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding: clamp(2.5rem, 8vh, 4.5rem) var(--pad);
  display: flex;
  flex-direction: column;
}

.gate-est {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.62);
}

.gate-mark { margin-top: auto; }

.gate-wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.75rem, 9vw, 5.75rem);
  line-height: 0.92;
  letter-spacing: 0.165em;
  text-transform: uppercase;
  color: var(--gold);
  background-image: linear-gradient(175deg, var(--gold-hi) 0%, var(--gold) 46%, var(--gold) 62%, var(--gold-lo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Stacked NAKED / SUSHI: SUSHI is fitted to NAKED's visual width in JS.
   Trailing letter-spacing is excluded so the right edges sit flush. */
.wordmark-word {
  white-space: nowrap;
}

.gate-wordmark .wordmark-word,
.hero-title-text .wordmark-word {
  background-image: linear-gradient(175deg, var(--gold-hi) 0%, var(--gold) 46%, var(--gold) 62%, var(--gold-lo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

.wordmark.is-stacked .wordmark-space {
  display: none;
}

.wordmark.is-stacked .wordmark-word {
  display: inline-block;
}

/* No-JS / pre-JS fallback on viewports where the wordmark already wraps. */
@media (max-width: 480px) {
  .gate-wordmark .wordmark-word[data-word="sushi"] {
    letter-spacing: 0.273em;
  }
  .hero-title .wordmark-word[data-word="sushi"] {
    letter-spacing: 0.208em;
  }
}

.gate-rule {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--red);
  margin: 1.75rem 0 2.25rem;
}

.gate-choices {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
}

.gate-btn {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 0.875rem 4px;
  border-bottom: 1px solid transparent;
  background: none;
}

.gate-btn.leave {
  color: rgba(247, 245, 240, 0.48);
  border-bottom-color: rgba(247, 245, 240, 0.22);
}

.gate-btn.enter {
  color: var(--bone);
  border-bottom-color: var(--red);
}

.gate-btn:hover { color: var(--bone); }

.gate-legal {
  margin-top: 4rem;
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  color: rgba(247, 245, 240, 0.64);
}

#home { background: var(--bg); }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #050505;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-media {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  left: -8%;
  top: -8%;
  will-change: transform;
}

.hero-photo,
.hero-silk {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
}

.hero-silk {
  object-position: 0% 50%;
  -webkit-mask-image: linear-gradient(to right, #000 28%, transparent 52%);
  mask-image: linear-gradient(to right, #000 28%, transparent 52%);
  pointer-events: none;
  will-change: transform;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,5,5,0.42) 0%, rgba(7,5,5,0.08) 28%, rgba(7,5,5,0.18) 52%, rgba(7,5,5,0.88) 100%),
    linear-gradient(90deg, rgba(7,5,5,0.20) 0%, rgba(7,5,5,0) 40%);
}

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem) var(--pad) 0;
}

.nav-mark {
  font-family: var(--serif);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--bone);
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
  flex-wrap: wrap;
  justify-content: flex-end;
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.72);
}

.nav-links a:hover { color: var(--bone); }

.hero-copy {
  position: relative;
  z-index: 3;
  padding: 7.5rem var(--pad) clamp(3rem, 10vh, 5.5rem);
}

.hero-kicker {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 0.85rem;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 8.5vw, 5.75rem);
  line-height: 0.92;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title-text {
  background-image: linear-gradient(175deg, var(--gold-hi) 0%, var(--gold) 46%, var(--gold) 62%, var(--gold-lo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin-top: 1.15rem;
  max-width: 28em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: rgba(247, 245, 240, 0.82);
}

.hero-link {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.hero-link:hover,
.hero-link:focus-visible {
  text-decoration: underline;
  text-decoration-color: rgba(247, 245, 240, 0.7);
}

.gold-name {
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold);
  background-image: linear-gradient(175deg, var(--gold-hi) 0%, var(--gold) 46%, var(--gold) 62%, var(--gold-lo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-link.gold-name:hover,
.hero-link.gold-name:focus-visible {
  text-decoration: underline;
  text-decoration-color: rgba(201, 164, 92, 0.85);
}

.hero-quiet {
  margin-top: 1.5rem;
  max-width: 28em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
  letter-spacing: 0.01em;
  color: rgba(247, 245, 240, 0.52);
}

.hero-quiet::before {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--red);
  margin: 0 0 1.15rem;
}

@media (prefers-contrast: more), (forced-colors: active) {
  .hero-title,
  .hero-title-text,
  .gate-wordmark,
  .gate-wordmark .wordmark-word,
  .hero-title-text .wordmark-word,
  .gold-name {
    background-image: none;
    -webkit-text-fill-color: unset;
    color: var(--gold);
  }
}

.press {
  background: var(--bg);
  border-top: 1px solid var(--hair);
  padding: 1.75rem var(--pad) 2rem;
  text-align: center;
}

.press-row {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: rgba(247, 245, 240, 0.52);
  line-height: 1.7;
}

.press-row .dot {
  margin: 0 0.875rem;
  color: var(--red);
  letter-spacing: 0;
}

.paper {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}

.paper-kanji {
  display: none;
}

.origin {
  --origin-bg: #ffffff;
  --origin-ink: #141110;
  --origin-gold: #7A5C24;
  --origin-gold-lo: #6B511F;
  position: relative;
  overflow: hidden;
  background: var(--origin-bg);
  color: var(--origin-ink);
  padding: clamp(5rem, 12vw, 8.5rem) var(--pad) clamp(4.5rem, 10vw, 7.5rem);
  padding-left: calc(var(--pad) + 3.75rem);
}

.origin-kanji {
  position: absolute;
  top: clamp(5.15rem, 12vw, 8.65rem);
  left: var(--pad);
  z-index: 2;
  font-family: var(--jp);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.5em;
  line-height: 1.6;
  writing-mode: vertical-rl;
  color: #8a8682;
  pointer-events: none;
}

.origin-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(50%, 40rem);
  z-index: 0;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  pointer-events: none;
}

.origin-media picture {
  display: flex;
  height: 100%;
  justify-content: flex-end;
}

.origin-photo {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center right;
  opacity: 1;
  will-change: transform;
}

.origin-inner {
  position: relative;
  z-index: 3;
  max-width: 36rem;
  min-width: 0;
}

.origin .section-label {
  color: var(--red);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

.origin-prose {
  color: var(--origin-ink);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.85);
}

.origin-accent {
  color: var(--red);
}

.origin .gold-name {
  color: var(--red);
  background-image: none;
  -webkit-text-fill-color: var(--red);
  text-shadow: none;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}

.origin-link strong {
  font-weight: 600;
}

.origin-link:hover,
.origin-link:focus-visible,
.origin-next a:hover,
.origin-next a:focus-visible {
  text-decoration-color: rgba(20, 17, 16, 0.55);
}

.origin-next a:hover .gold-name,
.origin-next a:focus-visible .gold-name {
  text-decoration: underline;
  text-decoration-color: rgba(176, 16, 48, 0.85);
}

.origin-next {
  color: var(--origin-ink);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.85);
}

.section-label {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.75rem;
}

.origin-prose {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1.8vw, 1.4375rem);
  font-weight: 400;
  line-height: 1.62;
  color: var(--origin-ink);
}

.origin-prose p + p { margin-top: 1.35em; }

.origin-link {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}



.origin-next {
  margin-top: 2.25rem;
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--origin-ink);
}

.origin-next a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.archive { padding: 0 var(--pad) clamp(4.5rem, 10vw, 7.5rem); }

.archive-rule {
  width: 100%;
  max-width: 680px;
  margin: 0 auto 3.5rem;
  border: 0;
  border-top: 1px solid var(--hair-ink);
}

.archive-inner {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.archive-label {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--red);
  padding-top: 0.5rem;
}

.archive-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.375rem);
  line-height: 1.5;
  color: var(--ink);
}

.archive-text span {
  display: block;
  margin-top: 0.625rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-ink);
}

.preview {
  background: #0b0a0a;
  color: var(--bone);
  display: grid;
  grid-template-columns: minmax(220px, 420px) 1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
  padding: clamp(4.5rem, 10vw, 7.5rem) var(--pad);
}

.pv-cover img {
  width: 100%;
  display: block;
  box-shadow: 0 40px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(247,245,240,.08);
}

.pv-label {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.125rem;
}

.pv-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  color: var(--bone);
}

.pv-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  margin-top: 0.75rem;
}

.pv-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.45;
  margin: 2.75rem 0 0;
  padding-left: 1.75rem;
  border-left: 1px solid var(--red);
  max-width: 620px;
  color: var(--bone);
}

.pv-body {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: rgba(247,245,240,.8);
  margin-top: 1.5rem;
  max-width: 620px;
}

.pv-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--red);
  padding: 4px 0 10px;
  background: none;
  cursor: pointer;
}

.btn:hover { color: var(--red-hot); }

.pv-btn,
.btn-dark { color: var(--bone); }

.pv-sub {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.ukiyo {
  --ukiyo-bg: #23221F;
  --ukiyo-mint: #A8D8C0;
  --ukiyo-red: #FF7882;
  /* Light uniform film; edge vignette carries most of the contrast. */
  --ukiyo-veil: rgba(7, 5, 5, 0.18);
  --ukiyo-edge:
    linear-gradient(var(--ukiyo-veil), var(--ukiyo-veil)),
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.52) 18%,
      rgba(0, 0, 0, 0.28) 34%,
      rgba(0, 0, 0, 0.10) 46%,
      transparent 58%
    ),
    linear-gradient(
      to left,
      rgba(0, 0, 0, 0.34) 0%,
      rgba(0, 0, 0, 0.12) 12%,
      transparent 28%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.70) 0%,
      rgba(0, 0, 0, 0.28) 6%,
      transparent 16%
    ),
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.70) 0%,
      rgba(0, 0, 0, 0.32) 9%,
      transparent 22%
    ),
    radial-gradient(
      ellipse 78% 72% at 62% 44%,
      transparent 40%,
      rgba(0, 0, 0, 0.18) 72%,
      rgba(0, 0, 0, 0.48) 100%
    );
  position: relative;
  overflow: hidden;
  background: var(--ukiyo-bg);
  color: var(--bone);
  padding: clamp(4.5rem, 10vw, 8rem) var(--pad) clamp(3.5rem, 7vw, 5.5rem);
}

.ukiyo-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ukiyo-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ukiyo-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Favor the right so she sits opposite the copy; slight downward bias to keep the feet. */
  object-position: 68% 38%;
  will-change: transform;
  transform: scale(1.04);
  transform-origin: 68% 40%;
}

/* Edge vignette: soft black at all edges, stronger left (text) and top/bottom
   (blend into the book section and footer). Center/dancer stays bright.
   Cris asked for this treatment on this section only. */
.ukiyo-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ukiyo-edge);
  pointer-events: none;
}

.ukiyo-main {
  position: relative;
  z-index: 2;
  width: min(36rem, calc(50% - 1.25rem));
  max-width: 100%;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.ukiyo-label {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ukiyo-red);
  margin-bottom: 1.25rem;
}

.ukiyo-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 6vw, 4rem);
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--bone);
}

.ukiyo-name-mint { color: var(--ukiyo-mint); }
.ukiyo-name-red { color: var(--ukiyo-red); }

.ukiyo-lede {
  margin-top: 1.75rem;
  max-width: 460px;
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.55;
  color: rgba(247, 245, 240, 0.86);
}

.ukiyo-note {
  margin-top: 1.375rem;
  max-width: 460px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--muted);
}

.tables {
  list-style: none;
  margin-top: 2.125rem;
  max-width: 460px;
  border-top: 1px solid rgba(247,245,240,.14);
}

.tables li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(247,245,240,.14);
}

.t-name { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--ukiyo-red); }
.t-sub {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

form.inquiry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2rem;
  padding-top: 0.5rem;
}

.field { display: flex; flex-direction: column; min-width: 0; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.5);
  margin-bottom: 0.625rem;
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--bone);
  border: 0;
  border-bottom: 1px solid rgba(247, 245, 240, 0.22);
  padding: 0 0 10px;
  border-radius: 0;
  outline: none;
  resize: none;
  background: transparent;
}

.field textarea { height: 3.25rem; }

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(247, 245, 240, 0.28);
  font-style: italic;
}

.form-actions { grid-column: 1 / -1; padding-top: 0.5rem; }


.footer {
  background: var(--bg);
  border-top: 1px solid var(--hair);
  padding: 2.5rem var(--pad) 3.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.42);
}

.footer-email {
  color: rgba(247, 245, 240, 0.62);
  letter-spacing: 0.12em;
  text-transform: none;
  text-decoration: none;
}

.footer-email:hover,
.footer-email:focus-visible {
  color: var(--bone);
}

.fade-up {
  opacity: 1;
  transform: none;
}

.ukiyo-cta {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-soon[aria-disabled="true"] {
  cursor: default;
  opacity: 0.82;
}

.btn-soon[aria-disabled="true"]:hover {
  color: var(--bone);
}

.soon-tag {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(247, 245, 240, 0.22);
  padding: 0.28em 0.7em 0.22em;
}

.reveal-word {
  display: inline-block;
}

.hero-title.reveal-word {
  display: block;
}

.press-item {
  display: inline-block;
}

html.js-motion:not(.reduce-motion) [data-reveal]:not(.is-ready),
html.js-motion:not(.reduce-motion) .reveal-word,
html.js-motion:not(.reduce-motion) .reveal-item,
html.js-motion:not(.reduce-motion) .reveal-media {
  opacity: 0;
}

html.js-motion:not(.reduce-motion) [data-reveal].is-ready:not(.reveal-word):not(.reveal-item):not(.reveal-media) {
  opacity: 1;
}

html.js-motion:not(.reduce-motion) .reveal-word {
  transform: translateY(0.55em);
}

html.js-motion:not(.reduce-motion) .reveal-item {
  transform: translateY(0.7rem);
}

html.js-motion:not(.reduce-motion) .tables .reveal-item {
  transform: translateX(1.75rem);
}

html.js-motion:not(.reduce-motion) .origin-media.reveal-media,
html.js-motion:not(.reduce-motion) .ukiyo-media.reveal-media {
  transform: translate3d(5.5%, 0, 0);
}

html.js-motion:not(.reduce-motion) .pv-cover.reveal-media {
  transform: translateY(2.25rem);
}

html.js-motion:not(.reduce-motion) .fade-up {
  opacity: 0;
  transform: translateY(1.35rem);
}

html.js-motion:not(.reduce-motion) .reveal-word.is-in,
html.js-motion:not(.reduce-motion) .reveal-item.is-in,
html.js-motion:not(.reduce-motion) .reveal-media.is-in,
html.js-motion:not(.reduce-motion) .fade-up.is-in {
  opacity: 1;
  transform: none;
  transition-property: opacity, transform;
  transition-duration: 800ms;
  transition-timing-function: ease-out;
  transition-delay: var(--d, 0ms);
}

@media (max-width: 1023px) {
  html.js-motion:not(.reduce-motion) .reveal-word {
    transform: translateY(0.32em);
  }
  html.js-motion:not(.reduce-motion) .reveal-item {
    transform: translateY(0.4rem);
  }
  html.js-motion:not(.reduce-motion) .tables .reveal-item {
    transform: translateX(0.8rem);
  }
  html.js-motion:not(.reduce-motion) .origin-media.reveal-media,
  html.js-motion:not(.reduce-motion) .ukiyo-media.reveal-media {
    transform: translate3d(3%, 0, 0);
  }
  html.js-motion:not(.reduce-motion) .pv-cover.reveal-media {
    transform: translateY(1.15rem);
  }
  html.js-motion:not(.reduce-motion) .fade-up {
    transform: translateY(0.75rem);
  }
  html.js-motion:not(.reduce-motion) .reveal-word.is-in,
  html.js-motion:not(.reduce-motion) .reveal-item.is-in,
  html.js-motion:not(.reduce-motion) .reveal-media.is-in,
  html.js-motion:not(.reduce-motion) .fade-up.is-in {
    transition-duration: 650ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media, .hero-silk, .gate-photo, .origin-media, .origin-photo, .ukiyo-media, .ukiyo-photo { transform: none !important; will-change: auto; }
  .fade-up,
  .reveal-word,
  .reveal-item,
  .reveal-media,
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 799px) {
  /* Keep the vertical kanji, but clear Est. 2009 so they never overlap on phones. */
  .gate-kanji {
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    left: 0.7rem;
    top: clamp(2rem, 5vh, 3.5rem);
  }
  .gate-inner {
    padding-left: max(var(--pad), 2.9rem);
  }
}

@media (max-width: 1023px) {
  .hero-media, .hero-silk, .origin-media, .origin-photo, .ukiyo-media, .ukiyo-photo { will-change: auto; }
  .preview { grid-template-columns: 1fr; }
  .pv-cover { max-width: 320px; }
  .ukiyo {
    padding-top: clamp(3.25rem, 8vw, 5rem);
    padding-bottom: 5.75rem;
    --ukiyo-veil: rgba(7, 5, 5, 0.16);
    --ukiyo-edge:
      linear-gradient(var(--ukiyo-veil), var(--ukiyo-veil)),
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.38) 16%,
        rgba(0, 0, 0, 0.16) 36%,
        transparent 58%
      ),
      linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.34) 12%,
        transparent 28%
      ),
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0.48) 0%,
        rgba(0, 0, 0, 0.18) 16%,
        transparent 38%
      ),
      linear-gradient(
        to left,
        rgba(0, 0, 0, 0.32) 0%,
        rgba(0, 0, 0, 0.10) 14%,
        transparent 30%
      ),
      radial-gradient(
        ellipse 90% 70% at 50% 40%,
        transparent 34%,
        rgba(0, 0, 0, 0.24) 76%,
        rgba(0, 0, 0, 0.52) 100%
      );
  }
  .ukiyo-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .ukiyo-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% 22%;
    will-change: auto;
    transform: none;
  }
  .ukiyo-main {
    width: 100%;
    max-width: 40rem;
    padding-top: 0;
  }
  .ukiyo-title { letter-spacing: 0.08em; }
  .archive-inner { grid-template-columns: 1fr; gap: 1rem; }
  .paper-kanji, .origin-kanji { display: none; }
  .origin {
    padding-left: var(--pad);
  }
  .origin-media {
    inset: 0;
    width: 100%;
    justify-content: center;
  }
  .origin-media picture {
    width: 100%;
    height: 100%;
    justify-content: center;
  }
  .origin-photo {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
    opacity: 1;
    will-change: auto;
  }
  .origin-inner { max-width: 40rem; }
}

@media (max-width: 639px) {
  form.inquiry { grid-template-columns: 1fr; }
  .tables li { flex-direction: column; gap: 0.35rem; }
  .t-sub { text-align: left; }
  .press-row .dot { margin: 0 0.5rem; }
  .nav { flex-direction: column; align-items: flex-start; }
  .nav-links { justify-content: flex-start; }
  .gate-legal { margin-top: 2.5rem; }
  .hero { min-height: 100svh; }
  .hero-copy { padding-top: 6.5rem; padding-bottom: 5.25rem; }
  .hero-kicker { letter-spacing: 0.2em; }
  .hero-title {
    font-size: clamp(2.35rem, 12.5vw, 3.15rem);
    letter-spacing: 0.1em;
  }
  .hero-sub { font-size: 1.0625rem; max-width: none; }
  .pv-cover { max-width: 260px; }
  .origin { padding-top: 3.25rem; padding-bottom: 5.75rem; }
  .origin .section-label { margin-bottom: 1.25rem; }
  .origin-next { margin-top: 1.75rem; }
}


@media (prefers-contrast: more), (forced-colors: active) {
  .origin .gold-name {
    background-image: none;
    -webkit-text-fill-color: var(--red);
    color: var(--red);
    filter: none;
  }
}