/* —————————————————————————————————————————————
   YOIMATSURI — Yūgen Atelier
   Art direction: a night crossing, set in ink, vermilion & moonlight
   ————————————————————————————————————————————— */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/fonts/cormorant-light.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/fonts/cormorant-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/manrope-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Shippori Mincho';
  src: url('../assets/fonts/shippori-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Shippori Mincho';
  src: url('../assets/fonts/shippori-500.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #050811;
  --ink-blue: #091020;
  --ink-soft: #0d1424;
  --cream: #f3ede2;
  --cream-bright: #fbf7ef;
  --paper: #eee5d5;
  --paper-deep: #e5dac7;
  --vermilion: #d85138;
  --vermilion-deep: #a93426;
  --vermilion-light: #e28b76;
  --gold: #c6a66e;
  --line: rgba(243, 237, 226, 0.18);
  --line-soft: rgba(243, 237, 226, 0.1);
  --ink-line: rgba(5, 8, 17, 0.16);
  --muted: rgba(243, 237, 226, 0.68);
  --muted-soft: rgba(243, 237, 226, 0.54);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --jp: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --gutter: clamp(22px, 4.1vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --header-h: calc(104px + var(--safe-top));
}

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

html {
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: auto;
}

html.is-loading,
html.is-loading body {
  overflow: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-dialog-open {
  overflow: hidden;
}

::selection {
  background: var(--vermilion);
  color: var(--cream-bright);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--ink);
}
::-webkit-scrollbar-thumb {
  background: rgba(243, 237, 226, 0.22);
  border-radius: 99px;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.ja {
  font-style: normal;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

input {
  border: 0;
  border-radius: 0;
  background: none;
  appearance: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 1px solid var(--vermilion);
  outline-offset: 5px;
}
.field input:focus-visible,
.wish-form input:focus-visible,
.newsletter-form input:focus-visible {
  outline: none;
}
.field input:focus-visible {
  border-bottom-color: var(--ink);
  box-shadow: 0 1px 0 var(--ink);
}
.wish-form input:focus-visible {
  border-bottom-color: var(--cream);
  box-shadow: 0 1px 0 rgba(243, 237, 226, 0.24);
}
.newsletter-form input:focus-visible {
  border-bottom-color: var(--ink);
  box-shadow: 0 1px 0 var(--ink);
}
a,
button,
input,
label {
  touch-action: manipulation;
}

.paper input:focus-visible,
dialog.is-paper input:focus-visible {
  outline-color: var(--vermilion-deep);
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 12px 18px;
  background: var(--cream);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.08em;
  transform: translateY(-180%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus {
  transform: none;
}

.container {
  width: calc(100% - var(--gutter) * 2);
  max-width: 1600px;
  margin-inline: auto;
}

/* Lenis */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* ——— Loader ——— */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(30px + var(--safe-top)) var(--gutter) calc(34px + env(safe-area-inset-bottom, 0px));
  background: #04060d;
  color: var(--cream);
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  transition: transform 0.95s var(--ease-in-out);
}
.preloader.is-done {
  transform: translate3d(0, -101%, 0);
  pointer-events: none;
}
.preloader__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 47%, rgba(216, 81, 56, 0.12), transparent 32%),
    radial-gradient(ellipse at 50% 100%, rgba(40, 62, 111, 0.28), transparent 52%);
}
.preloader__top,
.preloader__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(243, 237, 226, 0.48);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.preloader__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.preloader__glyph {
  position: relative;
  width: clamp(180px, 34vw, 400px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 237, 226, 0.09);
  border-radius: 50%;
}
.preloader__glyph::before,
.preloader__glyph::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(216, 81, 56, 0.18);
}
.preloader__glyph::before {
  inset: 11%;
}
.preloader__glyph::after {
  inset: 22%;
  border-color: rgba(243, 237, 226, 0.07);
}
.preloader__glyph span {
  position: relative;
  z-index: 1;
  font-family: var(--jp);
  font-size: clamp(94px, 15vw, 190px);
  font-weight: 400;
  line-height: 1;
  color: var(--cream);
  opacity: 0;
  transform: scale(0.85) rotate(-3deg);
  animation: glyph-breathe 2.8s var(--ease) 0.2s forwards;
}
.preloader__glyph::after {
  animation: glyph-pulse 3.8s ease-in-out infinite;
}
.preloader__poem {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.02em;
  color: rgba(243, 237, 226, 0.54);
  opacity: 0;
  transform: translateY(8px);
  animation: poem-in 1.4s var(--ease) 0.8s forwards;
}
.preloader__meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.preloader__meta b {
  color: var(--cream);
  font-weight: 400;
}
.preloader__track {
  width: calc(100% - 0px);
  height: 1px;
  margin-top: 12px;
  background: rgba(243, 237, 226, 0.11);
  overflow: hidden;
}
.preloader__track i {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--cream);
  transition: width 0.45s var(--ease);
}
.preloader__bottom {
  display: block;
}
.preloader__bottom .preloader__meta {
  align-items: baseline;
}

@keyframes glyph-breathe {
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}
@keyframes glyph-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.04); opacity: 0.25; }
}
@keyframes poem-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ——— World canvas & texture ——— */
.world {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 61% 33%, rgba(251, 247, 239, 0.94) 0 4.4vmin, rgba(251, 247, 239, 0.19) 5.7vmin, transparent 21vmin),
    radial-gradient(ellipse at 50% 106%, rgba(98, 38, 35, 0.48), transparent 56%),
    linear-gradient(180deg, #0a1020 0%, #2a1726 46%, #0b1322 72%, #050811 100%);
  overflow: hidden;
}
#world-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1.8s ease, transform 2.4s var(--ease);
}
body.is-ready #world-canvas {
  opacity: 1;
  transform: scale(1);
}
.world__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 5, 12, 0.7) 0%, rgba(3, 5, 12, 0.24) 40%, transparent 70%),
    linear-gradient(180deg, rgba(3, 5, 12, 0.4) 0%, transparent 24%, transparent 62%, rgba(3, 5, 12, 0.58) 100%);
}
.world__haze {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  background: radial-gradient(ellipse at 71% 45%, rgba(247, 224, 197, 0.24), transparent 34%);
  mix-blend-mode: screen;
}
.grain {
  position: fixed;
  inset: -80px;
  z-index: 40;
  pointer-events: none;
  opacity: 0.066;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  background-size: 190px 190px;
  animation: grain-shift 0.26s steps(2) infinite;
  mix-blend-mode: soft-light;
}
@keyframes grain-shift {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-2%, 1.5%, 0); }
  50% { transform: translate3d(1.2%, -2%, 0); }
  75% { transform: translate3d(-1%, -1%, 0); }
  100% { transform: translate3d(1.5%, 1.2%, 0); }
}

/* A composed fallback if WebGL cannot start. */
body.no-webgl .world {
  background:
    radial-gradient(circle at 61% 33%, rgba(251, 247, 239, 0.94) 0 4.4vmin, rgba(251, 247, 239, 0.19) 5.7vmin, transparent 21vmin),
    radial-gradient(ellipse at 50% 106%, rgba(98, 38, 35, 0.48), transparent 56%),
    linear-gradient(180deg, #0a1020 0%, #2a1726 46%, #0b1322 72%, #050811 100%);
}
body.no-webgl #world-canvas {
  display: none;
}
body.no-webgl .world__haze {
  opacity: 0.48;
}
body.no-webgl .cursor {
  display: none;
}

/* ——— Cursor ——— */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 250;
  pointer-events: none;
  mix-blend-mode: difference;
  will-change: transform;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
}
.cursor__dot {
  position: absolute;
  width: 5px;
  height: 5px;
  margin: -2.5px;
  border-radius: 50%;
  background: var(--cream-bright);
  transition: transform 0.25s var(--ease);
}
.cursor__ring {
  position: absolute;
  width: 34px;
  height: 34px;
  margin: -17px;
  border: 1px solid rgba(251, 247, 239, 0.72);
  border-radius: 50%;
  transition: width 0.5s var(--ease), height 0.5s var(--ease), margin 0.5s var(--ease), opacity 0.3s ease, background-color 0.4s ease;
}
.cursor.is-active {
  opacity: 1;
}
.cursor.is-hovering .cursor__ring {
  width: 46px;
  height: 46px;
  margin: -23px;
  background: rgba(251, 247, 239, 0.06);
  border-color: rgba(251, 247, 239, 0.88);
}
.cursor.is-pressed .cursor__ring {
  width: 18px;
  height: 18px;
  margin: -9px;
  background: rgba(251, 247, 239, 0.12);
  border-color: rgba(251, 247, 239, 0.9);
}
.cursor.is-hovering .cursor__dot {
  transform: scale(0.5);
}
.cursor__label {
  position: absolute;
  top: 17px;
  left: 30px;
  color: var(--cream-bright);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.45s var(--ease);
}
.cursor.is-labelled .cursor__label {
  opacity: 0.9;
  transform: translateY(0);
}
.cursor.is-water .cursor__ring {
  width: 52px;
  height: 52px;
  margin: -26px;
  border-color: rgba(243, 237, 226, 0.42);
  background: rgba(243, 237, 226, 0.05);
}
.cursor.is-water .cursor__label {
  opacity: 0.7;
}
.cursor.is-hidden {
  opacity: 0 !important;
}
body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button {
  cursor: none;
}
body.has-custom-cursor input {
  cursor: text;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--header-h);
  padding: var(--safe-top) var(--gutter) 0;
  color: var(--cream);
  transition: color 0.5s ease, transform 0.7s var(--ease), background-color 0.5s ease, height 0.5s var(--ease);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 6, 13, 0.64), transparent);
  opacity: 1;
  transition: opacity 0.5s ease, background 0.5s ease;
  pointer-events: none;
}
.site-header.is-scrolled::before {
  background: linear-gradient(180deg, rgba(4, 6, 13, 0.86), rgba(4, 6, 13, 0.3));
  backdrop-filter: blur(14px);
}
.site-header.is-hidden {
  transform: translateY(-110%);
}
.site-header.is-light {
  color: var(--ink);
}
.site-header.is-light::before {
  background: linear-gradient(
    180deg,
    rgba(238, 229, 213, 0.985) 0%,
    rgba(238, 229, 213, 0.94) 62%,
    rgba(238, 229, 213, 0.58) 86%,
    rgba(238, 229, 213, 0) 100%
  );
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.site-header.is-light .brand__seal {
  border-color: var(--vermilion-deep);
  color: var(--vermilion-deep);
}
.site-header.is-light .primary-nav a span,
.site-header.is-light .sound-toggle__label {
  opacity: 0.48;
}
.site-header.is-light .reserve-button {
  border-color: rgba(5, 8, 17, 0.4);
}
.site-header.is-light .reserve-button:hover {
  background: var(--ink);
  color: var(--paper);
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}
.brand__seal {
  width: 31px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 81, 56, 0.75);
  color: var(--vermilion);
  font-family: var(--jp);
  font-size: 16px;
  line-height: 1;
  transform: rotate(-2.5deg);
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.brand:hover .brand__seal {
  background: var(--vermilion);
  border-color: var(--vermilion);
  color: var(--cream-bright);
}
.brand__type {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1;
}
.brand__type small {
  font-family: var(--serif);
  font-size: 10px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.04em;
  opacity: 0.55;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.25vw, 42px);
  margin-left: auto;
  margin-right: clamp(20px, 3vw, 56px);
}
.primary-nav a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 8px 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.primary-nav a span {
  font-family: var(--serif);
  font-size: 9px;
  font-style: italic;
  letter-spacing: 0;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.primary-nav a:hover span {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  flex: 0 0 auto;
}
.sound-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: inherit;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 0;
  opacity: 0.82;
  transition: opacity 0.3s ease;
}
.sound-toggle:hover {
  opacity: 1;
}
.sound-toggle__bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}
.sound-toggle__bars i {
  display: block;
  width: 1px;
  height: 4px;
  background: currentColor;
  transition: height 0.35s ease;
}
.sound-toggle.is-on .sound-toggle__bars i {
  animation: equalize 1.2s ease-in-out infinite;
}
.sound-toggle.is-on .sound-toggle__bars i:nth-child(2) {
  animation-delay: -0.5s;
}
.sound-toggle.is-on .sound-toggle__bars i:nth-child(3) {
  animation-delay: -0.25s;
}
.sound-toggle.is-on .sound-toggle__bars i:nth-child(4) {
  animation-delay: -0.75s;
}
@keyframes equalize {
  0%, 100% { height: 3px; }
  50% { height: 12px; }
}
.sound-toggle__label {
  opacity: 0.78;
}
.reserve-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(243, 237, 226, 0.35);
  border-radius: 100px;
  color: inherit;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
  transition: color 0.4s ease, border-color 0.4s ease, background-color 0.4s ease;
}
.reserve-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: 0;
}
.reserve-button > span {
  position: relative;
  z-index: 1;
}
.reserve-button__jp {
  font-family: var(--jp);
  font-size: 10px;
  opacity: 0.5;
  letter-spacing: 0.06em;
}
.reserve-button:hover {
  color: var(--ink);
  border-color: var(--cream);
}
.reserve-button:hover::before {
  transform: translateY(0);
}
.menu-toggle {
  display: none;
  min-height: 44px;
}

/* ——— Progress / edge notes ——— */
.chapter-progress {
  position: fixed;
  right: 27px;
  bottom: 11vh;
  z-index: 24;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.08em;
  transition: color 0.5s ease;
}
.chapter-progress__all {
  opacity: 0.3;
}
.chapter-progress__track {
  display: block;
  width: 1px;
  height: 68px;
  background: rgba(243, 237, 226, 0.18);
  overflow: hidden;
}
.chapter-progress__track i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cream);
  transform: scaleY(0);
  transform-origin: top;
}
.edge-note {
  position: fixed;
  left: 24px;
  top: 50%;
  z-index: 24;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  writing-mode: vertical-rl;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.24em;
  opacity: 0.3;
  transform: translateY(-50%) rotate(180deg);
  transition: color 0.5s ease;
  pointer-events: none;
}
.edge-note i {
  display: block;
  width: 1px;
  height: 34px;
  background: currentColor;
}
body.on-paper .chapter-progress,
body.on-paper .edge-note {
  color: var(--ink);
}
body.on-paper .chapter-progress__track {
  background: rgba(5, 8, 17, 0.16);
}
body.on-paper .chapter-progress__track i {
  background: var(--ink);
}

/* ——— Shared type ——— */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  line-height: 1.4;
}
.eyebrow__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--vermilion);
  box-shadow: 0 0 12px rgba(216, 81, 56, 0.7);
}
.eyebrow__divider {
  width: 24px;
  height: 1px;
  background: var(--line);
  margin-inline: 2px;
}
.eyebrow--hero {
  color: rgba(243, 237, 226, 0.65);
}
.display {
  font-family: var(--serif);
  font-size: clamp(58px, 7.4vw, 118px);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.045em;
  color: var(--cream-bright);
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.05em;
}
.lead {
  font-family: var(--serif);
  font-size: clamp(22px, 1.85vw, 31px);
  font-weight: 300;
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: rgba(243, 237, 226, 0.9);
  text-shadow: 0 1px 20px rgba(2, 4, 10, 0.55);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 52px;
  padding: 0 25px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease;
}
.button svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.2;
  transition: transform 0.45s var(--ease);
}
.button:hover svg {
  transform: translateX(3px);
}
.button--light {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--cream);
}
.button--light::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--vermilion);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.button--light:hover {
  color: var(--cream-bright);
  border-color: var(--vermilion);
}
.button--light:hover::before {
  transform: translateY(0);
}
.button--ink {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
}
.button--ink::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--vermilion-deep);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.button--ink:hover {
  color: var(--cream-bright);
  border-color: var(--vermilion-deep);
}
.button--ink:hover::before {
  transform: translateY(0);
}
.button--full {
  width: 100%;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
  padding-bottom: 6px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.text-link::before {
  content: '';
  position: absolute;
  inset: -10px -8px;
}
.text-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  opacity: 0.35;
  transition: transform 0.5s var(--ease), opacity 0.3s ease;
}
.text-link:hover::after {
  transform: scaleX(1);
  opacity: 1;
}
.text-link__arrow {
  font-size: 15px;
  font-weight: 300;
  transition: transform 0.4s var(--ease);
}
.text-link:hover .text-link__arrow {
  transform: translate(3px, -2px);
}
.text-link--long {
  width: 100%;
  max-width: 350px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.text-link--long::after {
  display: none;
}
.text-link--long:hover {
  border-color: rgba(243, 237, 226, 0.5);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + 14px);
  padding-bottom: 26px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 5, 12, 0.2) 0%, transparent 26%),
    linear-gradient(90deg, rgba(3, 5, 12, 0.52) 0%, rgba(3, 5, 12, 0.18) 44%, transparent 68%),
    linear-gradient(0deg, rgba(3, 5, 12, 0.76) 0%, rgba(3, 5, 12, 0.12) 28%, transparent 48%);
  pointer-events: none;
}
.hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.hero__seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 45px;
  height: 62px;
  border: 1px solid rgba(216, 81, 56, 0.7);
  color: var(--vermilion);
  transform: rotate(3deg);
  opacity: 0.9;
}
.hero__seal-jp {
  font-family: var(--jp);
  font-size: 20px;
  line-height: 1;
}
.hero__seal-year {
  font-family: var(--serif);
  font-size: 8px;
  letter-spacing: 0.1em;
}
.hero__main {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(30px, 5vw, 100px);
  margin-top: auto;
  margin-bottom: clamp(36px, 7vh, 94px);
  position: relative;
}
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: clamp(18px, 2.5vh, 30px);
  font-family: var(--serif);
  font-size: clamp(13px, 1.04vw, 17px);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(248, 243, 234, 0.84);
  text-shadow: 0 2px 18px rgba(2, 4, 10, 0.8), 0 1px 3px rgba(2, 4, 10, 0.45);
}
.hero__kicker-mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid rgba(216, 81, 56, 0.4);
  border-radius: 50%;
  color: var(--vermilion);
  font-family: var(--jp);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0;
  transform: rotate(-5deg);
}
.hero__title {
  position: relative;
  color: var(--cream-bright);
  font-family: var(--serif);
  font-size: clamp(120px, 17.3vw, 300px);
  font-weight: 300;
  line-height: 0.69;
  letter-spacing: -0.06em;
  text-shadow: 0 12px 65px rgba(2, 4, 10, 0.28);
}
.hero__title-line {
  position: relative;
  display: flex;
  align-items: flex-end;
}
.hero__title-line--one {
  padding-left: 0.02em;
}
.hero__title-line--two {
  margin-left: 0.02em;
}
.hero__word {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1.5s var(--ease) 0.1s;
  will-change: transform;
}
.hero__word--italic {
  font-style: italic;
  letter-spacing: -0.075em;
  padding-right: 0.045em;
}
.hero__kanji {
  writing-mode: vertical-rl;
  margin-left: clamp(16px, 2.6vw, 44px);
  margin-bottom: clamp(8px, 1.4vw, 24px);
  font-family: var(--jp);
  font-size: clamp(21px, 2.5vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.12em;
  color: rgba(243, 237, 226, 0.8);
  transform: translateY(130%);
  transition: transform 1.4s var(--ease) 0.28s;
}
.hero__aside {
  position: relative;
  isolation: isolate;
  max-width: 385px;
  justify-self: end;
  padding-bottom: clamp(14px, 2.4vw, 40px);
}
.hero__aside::before {
  content: '';
  position: absolute;
  inset: -36px -32px -38px -56px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 54% 54%, rgba(4, 7, 14, 0.46), transparent 66%);
  filter: blur(10px);
}
.hero__aside-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(243, 237, 226, 0.66);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 15px rgba(2, 4, 10, 0.8);
}
.hero__aside-note i {
  width: 26px;
  height: 1px;
  background: rgba(243, 237, 226, 0.32);
}
.hero__aside-note span:last-child {
  font-family: var(--jp);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: none;
  color: rgba(243, 237, 226, 0.72);
}
.hero__lede {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 300;
  line-height: 1.45;
  color: rgba(248, 243, 234, 0.94);
  max-width: 34ch;
  text-shadow: 0 2px 32px rgba(2, 4, 10, 0.86), 0 1px 4px rgba(2, 4, 10, 0.6);
}
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 30px;
}
.river-prompt {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  padding: 4px 0;
  margin-top: 20px;
  color: rgba(243, 237, 226, 0.62);
  text-align: left;
  text-shadow: 0 1px 14px rgba(2, 4, 10, 0.8);
  touch-action: manipulation;
  transition: color 0.35s ease;
}
.river-prompt:hover,
.river-prompt:focus-visible {
  color: rgba(243, 237, 226, 0.92);
}
.river-prompt__rings {
  position: relative;
  display: block;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
}
.river-prompt__rings::before,
.river-prompt__rings::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  margin: -2px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
}
.river-prompt__rings i {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 13px;
  height: 13px;
  margin: -6.5px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  animation: prompt-ripple 3.4s var(--ease) infinite;
}
.river-prompt__rings i:nth-child(2) { animation-delay: 1.1s; }
.river-prompt__rings i:nth-child(3) { animation-delay: 2.2s; }
.river-prompt__copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}
.river-prompt__copy small {
  font-family: var(--jp);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: none;
  opacity: 0.58;
}
.river-prompt.is-answered {
  color: var(--cream-bright);
}
.river-prompt.is-answered .river-prompt__rings i {
  border-color: var(--vermilion);
  animation-duration: 0.8s;
}
@keyframes prompt-ripple {
  0% { opacity: 0; transform: scale(0.55); }
  16% { opacity: 0.65; }
  75%, 100% { opacity: 0; transform: scale(2.15); }
}
.hero__footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: clamp(22px, 5vw, 80px);
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3.4vw, 58px);
}
.hero__meta div span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted-soft);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero__meta div p {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--muted-soft);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scroll-cue__line {
  position: relative;
  display: block;
  width: 1px;
  height: 26px;
  overflow: hidden;
  background: rgba(243, 237, 226, 0.15);
}
.scroll-cue__line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cream);
  animation: scroll-line 2.1s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { top: -100%; }
  55%, 100% { top: 100%; }
}
.hero__coordinates {
  font-family: var(--serif);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--muted-soft);
  text-align: right;
}
.hero__side-copy {
  position: absolute;
  right: calc(var(--gutter) + 10px);
  top: 30%;
  writing-mode: vertical-rl;
  font-family: var(--jp);
  font-size: 11px;
  letter-spacing: 0.42em;
  color: rgba(243, 237, 226, 0.3);
}
[data-hero] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
body.is-ready [data-hero] {
  opacity: 1;
  transform: translateY(0);
}
body.is-ready [data-hero='1'] { transition-delay: 0.1s; }
body.is-ready [data-hero='2'] { transition-delay: 0.22s; }
body.is-ready [data-hero='3'] { transition-delay: 0.32s; }
body.is-ready [data-hero='4'] { transition-delay: 0.48s; }
body.is-ready [data-hero='5'] { transition-delay: 0.58s; }
body.is-ready [data-hero='6'] { transition-delay: 0.7s; }
body.is-ready .hero__word {
  transform: translateY(0);
}
body.is-ready .hero__kanji {
  transform: translateY(0);
}

/* ——— Chapters / shared ——— */
.chapter {
  position: relative;
  z-index: 2;
  padding-block: clamp(100px, 16vh, 200px);
}
.chapter-head {
  display: grid;
  grid-template-columns: 54px minmax(160px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted-soft);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.chapter-head__num {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: rgba(243, 237, 226, 0.92);
}
.chapter-head__name {
  color: rgba(243, 237, 226, 0.84);
}
.chapter-head__name i {
  padding-inline: 8px;
  font-family: var(--jp);
  font-style: normal;
  color: var(--vermilion);
}
.chapter-head__aside {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.03em;
  text-transform: none;
  color: rgba(243, 237, 226, 0.6);
  opacity: 1;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.15s var(--ease), transform 1.25s var(--ease);
}
.motion-ready [data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}
.motion-ready .display[data-reveal] {
  opacity: 1;
  transform: translateY(16px);
  clip-path: inset(-8% 0 102% 0);
  transition:
    opacity 0.9s var(--ease),
    transform 1.35s var(--ease),
    clip-path 1.4s var(--ease);
  will-change: clip-path, transform;
}
.motion-ready .display[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(-12% 0 -12% 0);
}

/* ——— Story ——— */
.story {
  min-height: 118vh;
  display: flex;
  align-items: center;
}
.story::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 6, 14, 0.9) 0%, rgba(3, 6, 14, 0.68) 44%, rgba(3, 6, 14, 0.44) 76%, rgba(3, 6, 14, 0.34) 100%),
    linear-gradient(180deg, rgba(3, 6, 14, 0.24) 0%, rgba(3, 6, 14, 0.1) 32%, rgba(3, 6, 14, 0.52) 100%);
}
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.55fr);
  gap: clamp(50px, 8vw, 140px);
  align-items: start;
  margin-top: clamp(54px, 8vh, 96px);
}
.story__heading {
  position: relative;
}
.story__heading .display {
  margin-top: clamp(26px, 4vh, 48px);
  font-size: clamp(62px, 6.7vw, 110px);
}
.story__body {
  max-width: 430px;
  padding-top: clamp(26px, 5vh, 64px);
  padding-bottom: 8px;
}
.story__body > p + p {
  margin-top: 24px;
}
.story__body > p:not(.lead) {
  max-width: 42ch;
  color: rgba(243, 237, 226, 0.74);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.74;
  text-shadow: 0 1px 16px rgba(2, 4, 10, 0.5);
}
.story__legend {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.story__legend-mark {
  width: 27px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 81, 56, 0.54);
  color: var(--vermilion);
  font-family: var(--jp);
  font-size: 13px;
}
.story__legend blockquote {
  font-family: var(--serif);
  font-size: clamp(18px, 1.55vw, 23px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
  color: rgba(243, 237, 226, 0.88);
  text-shadow: 0 1px 16px rgba(2, 4, 10, 0.45);
}
.story__legend cite {
  display: block;
  grid-column: 2;
  margin-top: -6px;
  color: var(--muted-soft);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.story__body .text-link--long {
  margin-top: 40px;
}
.story__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(70px, 11vh, 150px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px 30px 0;
}
.fact + .fact {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.fact__num {
  font-family: var(--serif);
  font-size: clamp(35px, 3.2vw, 54px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}
.fact__num sup {
  margin-left: 3px;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vermilion);
  vertical-align: top;
  position: relative;
  top: 6px;
}
.fact__label {
  color: var(--muted-soft);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.story__vertical {
  position: absolute;
  right: calc(var(--gutter) + 35px);
  top: 47%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--jp);
  font-size: 11px;
  letter-spacing: 0.35em;
  color: rgba(243, 237, 226, 0.42);
}

/* ——— Ritual ——— */
.ritual {
  padding-top: clamp(70px, 10vh, 130px);
}
.ritual::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 6, 14, 0.64) 0%, rgba(3, 6, 14, 0.42) 55%, rgba(3, 6, 14, 0.3) 100%),
    linear-gradient(180deg, rgba(3, 6, 14, 0.5), rgba(3, 6, 14, 0.6));
}
.ritual__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  align-items: end;
  gap: 8vw;
  margin-top: clamp(55px, 8vh, 100px);
}
.ritual__lede {
  max-width: 40ch;
  margin-bottom: 8px;
  color: rgba(243, 237, 226, 0.7);
  font-size: 14px;
  line-height: 1.72;
  text-shadow: 0 1px 16px rgba(2, 4, 10, 0.45);
}
.ritual__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.2vw, 20px);
  margin-top: clamp(50px, 8vh, 96px);
}
.ritual-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: clamp(24px, 2.3vw, 36px);
  border: 1px solid var(--line-soft);
  background: rgba(7, 11, 22, 0.42);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.5s ease, background-color 0.5s ease;
}
.ritual-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at var(--pointer-x, 82%) var(--pointer-y, 4%), rgba(216, 81, 56, 0.19), transparent 56%);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.ritual-item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--vermilion);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.ritual-item:hover {
  border-color: rgba(243, 237, 226, 0.22);
  background: rgba(9, 14, 27, 0.4);
}
.ritual-item:hover::before {
  opacity: 1;
}
.ritual-item:hover::after {
  transform: scaleX(1);
}
.ritual-item__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.ritual-item__num {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--muted-soft);
}
.ritual-item__icon {
  width: 56px;
  height: 56px;
  color: rgba(243, 237, 226, 0.38);
  stroke-width: 0.8;
  transition: color 0.5s ease, transform 0.7s var(--ease);
}
.ritual-item:hover .ritual-item__icon {
  color: rgba(243, 237, 226, 0.82);
  transform: translateY(-5px) rotate(-2deg);
}
.ritual-item__icon :is(path, circle) {
  stroke-dasharray: 300;
  stroke-dashoffset: 0;
}
@media (hover: hover) and (pointer: fine) {
  .ritual-item:hover .ritual-item__icon :is(path, circle) {
    animation: icon-draw 1.15s var(--ease) both;
  }
  .ritual-item:hover .ritual-item__icon path:nth-child(2) { animation-delay: 0.08s; }
  .ritual-item:hover .ritual-item__icon path:nth-child(3) { animation-delay: 0.16s; }
}
@keyframes icon-draw {
  from { stroke-dashoffset: 300; }
  to { stroke-dashoffset: 0; }
}
.ritual-item__jp {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 64px;
  font-family: var(--jp);
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--vermilion);
}
.ritual-item h3 {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(27px, 2.25vw, 36px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.025em;
  transition: transform 0.6s var(--ease);
}
.ritual-item:hover h3 {
  transform: translateX(7px);
}
.ritual-item > p:not(.ritual-item__jp) {
  position: relative;
  z-index: 1;
  max-width: 35ch;
  margin-top: 13px;
  color: rgba(243, 237, 226, 0.66);
  font-size: 12.5px;
  line-height: 1.75;
}
.ritual-item__meta {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-soft);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.ritual-item__ghost {
  position: absolute;
  right: 20px;
  bottom: 19px;
  z-index: 0;
  font-family: var(--jp);
  font-size: clamp(76px, 7vw, 114px);
  line-height: 0.8;
  color: rgba(243, 237, 226, 0.04);
  pointer-events: none;
  transition: color 0.7s ease, transform 0.9s var(--ease);
}
.ritual-item:hover .ritual-item__ghost {
  color: rgba(243, 237, 226, 0.095);
  transform: translateY(-5px) rotate(-3deg);
}
.ritual__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  color: var(--muted-soft);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
}
.ritual__foot span {
  font-family: var(--jp);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(243, 237, 226, 0.24);
}

/* ——— Wish ——— */
.wish {
  min-height: 112vh;
  display: flex;
  align-items: center;
  padding-block: clamp(100px, 17vh, 210px);
}
.wish__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 5, 12, 0.74) 0%, rgba(3, 5, 12, 0.58) 48%, rgba(3, 5, 12, 0.72) 100%),
    linear-gradient(180deg, rgba(3, 5, 12, 0.32), rgba(3, 5, 12, 0.18) 45%, rgba(3, 5, 12, 0.58));
}
.wish__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.65fr);
  column-gap: clamp(40px, 8vw, 140px);
  align-items: end;
}
.wish .chapter-head {
  grid-column: 1 / -1;
}
.wish__copy {
  padding-top: clamp(50px, 9vh, 110px);
}
.wish__copy .display {
  margin-top: clamp(22px, 3.4vh, 38px);
  font-size: clamp(62px, 7vw, 114px);
}
.wish__lede {
  max-width: 42ch;
  margin-top: 28px;
  color: rgba(243, 237, 226, 0.78);
  font-size: 14px;
  line-height: 1.74;
  text-shadow: 0 1px 16px rgba(2, 4, 10, 0.45);
}
.wish__stage {
  position: relative;
  align-self: end;
  padding: clamp(30px, 3.2vw, 46px);
  border: 1px solid rgba(243, 237, 226, 0.24);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(216, 81, 56, 0.1), transparent 46%),
    linear-gradient(155deg, rgba(12, 18, 33, 0.92), rgba(4, 8, 16, 0.84));
  backdrop-filter: blur(20px) saturate(1.08);
  box-shadow: 0 34px 90px rgba(1, 3, 9, 0.4), inset 0 1px 0 rgba(243, 237, 226, 0.06);
  overflow: hidden;
}
.wish__stage::before {
  content: '';
  position: absolute;
  top: 0;
  left: clamp(30px, 3.2vw, 46px);
  width: 56px;
  height: 1px;
  background: var(--vermilion);
}
.wish__stage::after {
  content: '願';
  position: absolute;
  right: -14px;
  bottom: -52px;
  font-family: var(--jp);
  font-size: 150px;
  line-height: 1;
  color: rgba(243, 237, 226, 0.032);
  pointer-events: none;
}
.wish__count {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 36px;
  color: rgba(243, 237, 226, 0.66);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wish__count [data-wish-count] {
  color: var(--cream);
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--vermilion);
  box-shadow: 0 0 0 0 rgba(216, 81, 56, 0.5);
  animation: live-pulse 2.4s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(216, 81, 56, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(216, 81, 56, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 81, 56, 0); }
}
.wish-form > label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(243, 237, 226, 0.7);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.wish-form > label span {
  font-family: var(--jp);
  font-weight: 400;
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.wish-form__field {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: 6px;
  border-bottom: 1px solid rgba(243, 237, 226, 0.38);
  transition: border-color 0.4s ease;
}
.wish-form__field:focus-within {
  border-color: var(--cream);
}
.wish-form input {
  width: 100%;
  min-width: 0;
  height: 68px;
  padding: 0;
  font-family: var(--serif);
  font-size: clamp(21px, 1.9vw, 28px);
  font-weight: 300;
  color: var(--cream-bright);
  border-radius: 0;
}
.wish-form input::placeholder {
  color: rgba(243, 237, 226, 0.44);
  font-style: italic;
}
.wish-form__submit {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 18px;
  border: 1px solid rgba(243, 237, 226, 0.42);
  border-radius: 100px;
  color: var(--cream);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.wish-form__submit svg {
  width: 13px;
  height: 13px;
}
.wish-form__submit:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}
.wish-form__foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  color: rgba(243, 237, 226, 0.52);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}
.wish-form__length b {
  color: rgba(243, 237, 226, 0.78);
  font-weight: 500;
}
.form-error {
  min-height: 14px;
  margin-top: 8px;
  color: #ee957f;
  font-size: 10px;
  line-height: 1.4;
}
.wish__privacy {
  position: relative;
  z-index: 1;
  max-width: 44ch;
  margin-top: 26px;
  color: rgba(243, 237, 226, 0.56);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  line-height: 1.65;
}
.wish-success {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  min-height: 114px;
  animation: soft-in 0.8s var(--ease);
}
.wish-success__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(216, 81, 56, 0.7);
  border-radius: 50%;
  color: var(--vermilion);
  font-family: var(--jp);
  font-size: 23px;
}
.wish-success__label {
  margin-bottom: 7px;
  color: var(--cream);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.wish-success__text {
  max-width: 40ch;
  color: rgba(243, 237, 226, 0.75);
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
}
.wish-success .text-link {
  min-height: 38px;
  align-items: center;
  margin-top: 14px;
}
@keyframes soft-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.wish-lantern {
  position: fixed;
  z-index: 220;
  display: block;
  width: 48px;
  height: 66px;
  pointer-events: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 0 16px rgba(255, 186, 105, 0.32));
}
.wish-lantern__glow {
  position: absolute;
  inset: -54px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 163, 0.38), rgba(255, 167, 91, 0.1) 38%, transparent 68%);
}
.wish-lantern__body {
  position: absolute;
  inset: 7px 5px 6px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(106, 53, 29, 0.55);
  border-radius: 48% 48% 42% 42% / 38% 38% 60% 60%;
  background:
    linear-gradient(90deg, rgba(161, 104, 49, 0.2), transparent 16%, transparent 84%, rgba(102, 55, 27, 0.18)),
    radial-gradient(ellipse at 50% 35%, #fff7e0, #f3d7aa 52%, #e1b57d 100%);
  box-shadow:
    inset 0 0 20px rgba(255, 244, 209, 0.8),
    inset 0 -6px 15px rgba(153, 88, 42, 0.3),
    0 0 32px rgba(255, 183, 101, 0.45);
}
.wish-lantern__body b {
  font-family: var(--jp);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  color: rgba(120, 49, 34, 0.78);
}
.wish-lantern__cap {
  position: absolute;
  top: 1px;
  left: 13px;
  width: 22px;
  height: 9px;
  border-radius: 2px;
  background: #2c1b12;
  box-shadow: 0 57px 0 #2c1b12;
}

/* ——— Programme ——— */
.programme {
  padding-top: clamp(100px, 12vh, 160px);
}
.programme::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 6, 14, 0.66) 0%, rgba(3, 6, 14, 0.42) 58%, rgba(3, 6, 14, 0.38) 100%),
    linear-gradient(180deg, rgba(3, 6, 14, 0.6) 0%, rgba(3, 6, 14, 0.32) 38%, rgba(3, 6, 14, 0.7) 100%);
}
.programme__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.48fr);
  gap: clamp(44px, 6vw, 110px);
  align-items: start;
  margin-top: clamp(50px, 8vh, 92px);
}
.programme__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 0.36fr);
  align-items: end;
  gap: 4vw;
  margin-bottom: clamp(42px, 6vh, 68px);
}
.programme__heading .display {
  font-size: clamp(55px, 6.2vw, 100px);
}
.programme__heading > p {
  margin-bottom: 9px;
  color: rgba(243, 237, 226, 0.64);
  font-size: 12px;
  line-height: 1.65;
}
.schedule {
  border-top: 1px solid var(--line);
}
.schedule__row {
  display: grid;
  grid-template-columns: 68px minmax(190px, 0.9fr) minmax(180px, 1.2fr) 26px;
  align-items: start;
  gap: clamp(18px, 2vw, 36px);
  padding: 25px 0 26px;
  border-bottom: 1px solid var(--line);
  transition: padding 0.5s var(--ease), background-color 0.4s ease;
}
.schedule__row:hover {
  padding-left: 12px;
  padding-right: 12px;
  background: rgba(243, 237, 226, 0.025);
}
.schedule__time {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  color: rgba(243, 237, 226, 0.78);
  padding-top: 2px;
}
.schedule__title h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.schedule__title span {
  display: block;
  margin-top: 5px;
  font-family: var(--jp);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--vermilion-light);
}
.schedule__row > p {
  color: rgba(243, 237, 226, 0.62);
  font-size: 12px;
  line-height: 1.66;
}
.schedule__mark {
  font-family: var(--jp);
  font-size: 11px;
  color: rgba(243, 237, 226, 0.25);
  text-align: right;
}
.ticket-card {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: clamp(28px, 3vw, 40px);
  background:
    radial-gradient(ellipse at 85% 0%, rgba(255, 229, 212, 0.22), transparent 42%),
    #dd5a42;
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(3, 5, 12, 0.25);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .ticket-card:hover {
    transform: translateY(-5px) rotate(-0.45deg);
    box-shadow: 0 42px 98px rgba(3, 5, 12, 0.34);
  }
}
.ticket-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.ticket-card__seal {
  position: absolute;
  top: 17px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(32, 17, 13, 0.35);
  border-radius: 50%;
  font-family: var(--jp);
  font-size: 24px;
  transform: rotate(7deg);
}
.ticket-card__label {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}
.ticket-card__date {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  font-family: var(--serif);
  font-size: clamp(82px, 6.4vw, 104px);
  font-weight: 300;
  line-height: 0.72;
  letter-spacing: -0.065em;
  white-space: nowrap;
}
.ticket-card__date span {
  display: inline-block;
  margin-inline: -0.03em;
  font-size: 0.43em;
  font-style: italic;
  transform: translateY(-0.19em);
  opacity: 0.55;
}
.ticket-card__month {
  position: relative;
  z-index: 1;
  margin-top: 15px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ticket-card__status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(5, 8, 17, 0.18);
  color: var(--ink);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}
.ticket-card__status > span:not(.live-dot) {
  opacity: 0.6;
}
.ticket-card__status .live-dot {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  background: #20110d;
  box-shadow: none;
  animation: ticket-pulse 2.8s ease-out infinite;
}
@keyframes ticket-pulse {
  0% { opacity: 1; }
  50% { opacity: 0.35; }
  100% { opacity: 1; }
}
.ticket-card__rule {
  position: relative;
  z-index: 1;
  height: 1px;
  margin: 30px 0 24px;
  background: rgba(32, 17, 13, 0.23);
}
.ticket-card__details {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
}
.ticket-card__details div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ticket-card__details dt {
  color: var(--ink);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.86;
}
.ticket-card__details dd {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1;
}
.ticket-card .button {
  position: relative;
  z-index: 1;
  margin-top: 32px;
}
.ticket-card__note {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: var(--ink);
  font-size: 8.5px;
  line-height: 1.6;
  opacity: 0.86;
}
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(20px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes soft-pop {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* ——— Visit / footer (paper) ——— */
.visit {
  position: relative;
  z-index: 3;
  padding-top: clamp(80px, 10vh, 120px);
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
  overflow: hidden;
}
.visit::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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='.18'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.visit > .container,
.visit > .visit__top,
.visit > .site-footer,
.visit > .visit__marquee {
  position: relative;
  z-index: 1;
}
.visit .chapter-head {
  border-color: var(--ink-line);
  color: rgba(5, 8, 17, 0.55);
}
.chapter-head--dark .chapter-head__num {
  color: rgba(5, 8, 17, 0.82);
}
.chapter-head--dark .chapter-head__name {
  color: rgba(5, 8, 17, 0.72);
}
.chapter-head--dark .chapter-head__aside {
  color: rgba(5, 8, 17, 0.58);
  opacity: 1;
}
.visit .display {
  color: var(--ink);
}
.visit__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.42fr);
  align-items: end;
  gap: clamp(40px, 8vw, 140px);
  padding-block: clamp(60px, 9vh, 120px) clamp(80px, 12vh, 160px);
}
.visit__hero .display {
  font-size: clamp(66px, 9vw, 150px);
  line-height: 0.87;
}
.visit__hero .display em {
  color: var(--vermilion-deep);
}
.visit__intro {
  max-width: 370px;
  padding-bottom: 8px;
}
.visit__intro > p {
  margin-bottom: 28px;
  color: rgba(5, 8, 17, 0.68);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.45;
}
.visit__marquee {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(243, 237, 226, 0.14);
  background: var(--ink);
  color: var(--cream);
  padding: 17px 0;
}
.visit__marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 34s linear infinite;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(21px, 2.1vw, 34px);
  font-weight: 300;
  letter-spacing: 0.01em;
}
.visit__marquee-track i {
  font-size: 9px;
  font-style: normal;
  color: var(--vermilion);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ——— Visit route map ——— */
.visit__route {
  position: relative;
  padding-top: clamp(70px, 10vh, 124px);
}
.visit__route::before {
  content: '';
  position: absolute;
  top: clamp(70px, 10vh, 124px);
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--ink-line);
}
.visit__route-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.52fr);
  align-items: end;
  gap: clamp(48px, 8vw, 140px);
  padding-top: clamp(44px, 6vh, 74px);
}
.visit__route .eyebrow {
  color: rgba(5, 8, 17, 0.54);
}
.visit__route-heading .display {
  margin-top: 21px;
  font-size: clamp(52px, 6.4vw, 104px);
  line-height: 0.9;
}
.visit__route-heading .display em {
  color: var(--vermilion-deep);
}
.visit__route-intro > p {
  color: rgba(5, 8, 17, 0.68);
  font-family: var(--serif);
  font-size: clamp(17px, 1.32vw, 20px);
  font-weight: 300;
  line-height: 1.52;
}
.route-steps {
  display: flex;
  flex-direction: column;
  margin-top: 27px;
  border-top: 1px solid var(--ink-line);
}
.route-steps li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ink-line);
}
.route-steps li > span {
  color: var(--vermilion-deep);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}
.route-steps li div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  width: 100%;
}
.route-steps b {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.route-steps small {
  color: rgba(5, 8, 17, 0.48);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-align: right;
}
.route-map {
  position: relative;
  margin-top: clamp(44px, 6.4vh, 80px);
  border: 1px solid rgba(5, 8, 17, 0.2);
  background: #e8dfce;
  box-shadow: 0 22px 55px rgba(61, 44, 27, 0.08);
}
.route-map::before,
.route-map::after {
  content: '';
  position: absolute;
  z-index: 2;
  width: 14px;
  height: 14px;
  border-color: var(--vermilion-deep);
  pointer-events: none;
}
.route-map::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid;
  border-left: 1px solid;
}
.route-map::after {
  right: -1px;
  bottom: 34px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}
.route-map__canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 560;
  overflow: hidden;
  isolation: isolate;
}
.route-map__canvas svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.route-map__canvas svg text {
  font-family: var(--sans);
}
.route-map__route {
  animation: route-drift 3.2s linear infinite;
}
.route-map__route-glow {
  animation: route-drift 5s linear infinite reverse;
}
@keyframes route-drift {
  to { stroke-dashoffset: -72; }
}
.route-map__pulse {
  transform-origin: center;
  animation: map-pulse 3.6s ease-out infinite;
}
@keyframes map-pulse {
  0% { transform: scale(0.7); opacity: 0.7; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}
.route-map__traveler {
  filter: drop-shadow(0 0 5px rgba(201, 71, 49, 0.8));
}
.map-label {
  position: absolute;
  z-index: 1;
  color: rgba(5, 8, 17, 0.78);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.25;
  text-transform: uppercase;
  pointer-events: none;
}
.map-label b {
  display: block;
  font-weight: 600;
}
.map-label small {
  display: block;
  margin-top: 3px;
  color: rgba(5, 8, 17, 0.43);
  font-family: var(--jp);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
}
.map-label--station {
  top: 3%;
  right: 7%;
  left: auto;
  text-align: right;
}
.map-label--river {
  top: 54%;
  left: 66%;
  color: rgba(5, 8, 17, 0.28);
  font-family: var(--jp);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.4em;
  writing-mode: vertical-rl;
}
.map-label--river small {
  margin-top: 0;
  margin-right: 6px;
  font-family: var(--sans);
  font-size: 7px;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
}
.map-label--west {
  top: 49%;
  left: 35%;
  color: rgba(5, 8, 17, 0.48);
}
.map-label--gate {
  top: 72%;
  left: 34%;
  color: var(--vermilion-deep);
  white-space: nowrap;
}
.map-label--gate small {
  color: rgba(5, 8, 17, 0.48);
}
.route-map__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 35px;
  padding: 9px 18px;
  border-top: 1px solid rgba(5, 8, 17, 0.18);
  color: rgba(5, 8, 17, 0.62);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.route-map__key {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.route-map__key i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--vermilion-deep);
  box-shadow: 0 0 0 3px rgba(169, 52, 38, 0.1);
}
.visit__details {
  padding-top: clamp(60px, 9vh, 110px);
}
.visit__info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: clamp(60px, 9vh, 110px);
  border-bottom: 1px solid var(--ink-line);
}
.visit__info-item > span {
  display: block;
  color: rgba(5, 8, 17, 0.58);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.visit__info-item > span i {
  font-family: var(--jp);
  font-style: normal;
  color: var(--vermilion-deep);
}
.visit__info-item > p {
  margin-top: 21px;
  font-family: var(--serif);
  font-size: clamp(19px, 1.55vw, 24px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.visit__info-item small {
  display: block;
  margin-top: 10px;
  color: rgba(5, 8, 17, 0.56);
  font-size: 9.5px;
  line-height: 1.6;
}
.visit__newsletter {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: end;
  gap: 8vw;
  padding-block: clamp(60px, 9vh, 110px);
  border-bottom: 1px solid var(--ink-line);
}
.visit__newsletter .eyebrow {
  color: rgba(5, 8, 17, 0.56);
}
.visit__newsletter h3 {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.3vw, 68px);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.04em;
}
.visit__newsletter h3 em {
  color: var(--vermilion-deep);
}
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid rgba(5, 8, 17, 0.35);
}
.newsletter-form input {
  height: 62px;
  min-width: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--ink);
}
.newsletter-form input::placeholder {
  color: rgba(5, 8, 17, 0.48);
  font-style: italic;
}
.newsletter-form button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(5, 8, 17, 0.28);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.newsletter-form button svg {
  width: 18px;
  height: 18px;
}
.newsletter-form button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.newsletter-form__note {
  grid-column: 1 / -1;
  min-height: 16px;
  padding-bottom: 10px;
  color: rgba(5, 8, 17, 0.55);
  font-size: 9px;
  letter-spacing: 0.03em;
}
.newsletter-form.is-success .newsletter-form__note {
  color: var(--vermilion-deep);
}

.site-footer {
  margin-top: clamp(70px, 10vh, 130px);
  background: var(--ink);
  color: var(--cream);
  padding-top: clamp(50px, 8vw, 120px);
}
.site-footer__mark {
  display: flex;
  align-items: flex-end;
  gap: 2.4vw;
  padding-inline: var(--gutter);
  font-family: var(--serif);
  font-size: clamp(100px, 26vw, 430px);
  font-weight: 300;
  line-height: 0.64;
  letter-spacing: -0.065em;
  color: var(--cream-bright);
  white-space: nowrap;
}
.site-footer__mark span {
  writing-mode: vertical-rl;
  margin-bottom: 0.3em;
  font-family: var(--jp);
  font-size: clamp(20px, 2.4vw, 40px);
  line-height: 1;
  letter-spacing: 0.12em;
  color: rgba(243, 237, 226, 0.52);
}
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: clamp(50px, 7vw, 100px);
  padding-block: 23px;
  border-top: 1px solid var(--line);
  color: var(--muted-soft);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-footer__bottom nav {
  display: flex;
  gap: 24px;
}
.site-footer__bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  transition: color 0.3s ease;
}
.site-footer__bottom a > span {
  margin-left: 3px;
  font-size: 9px;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
}
.site-footer__bottom a:hover > span {
  opacity: 1;
  transform: translate(2px, -2px);
}
.site-footer__bottom a:hover {
  color: var(--cream);
}
.back-to-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}
.back-to-top span {
  font-size: 13px;
  font-weight: 300;
  transition: transform 0.4s var(--ease);
}
.back-to-top:hover span {
  transform: translateY(-4px);
}

/* ——— Dialogs ——— */
dialog {
  border: 0;
  padding: 0;
  color: var(--ink);
}
dialog::backdrop {
  background: rgba(2, 4, 10, 0.76);
  backdrop-filter: blur(12px);
  animation: backdrop-in 0.5s ease;
}
@keyframes backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.reserve-dialog {
  width: min(1050px, calc(100vw - 32px));
  max-height: min(810px, calc(100svh - 32px));
  margin: auto;
  grid-template-columns: 0.95fr 1.05fr;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
}
.reserve-dialog[open] {
  display: grid;
  animation: dialog-in 0.65s var(--ease);
  overscroll-behavior: contain;
}
.reserve-dialog__story {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 4vw, 60px);
  background:
    radial-gradient(ellipse at 24% 47%, rgba(216, 81, 56, 0.21), transparent 45%),
    #070b16;
  color: var(--cream);
  overflow: hidden;
}
.reserve-dialog__story::after {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(243, 237, 226, 0.08);
  border-radius: 50%;
  left: -200px;
  bottom: -240px;
}
.reserve-dialog__story .eyebrow {
  color: rgba(243, 237, 226, 0.48);
}
.reserve-dialog__story h2 {
  margin-top: 70px;
  font-family: var(--serif);
  font-size: clamp(60px, 6vw, 92px);
  font-weight: 300;
  line-height: 0.82;
  letter-spacing: -0.055em;
}
.reserve-dialog__story h2 em {
  color: var(--vermilion);
}
.reserve-dialog__story > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 33ch;
  margin-top: 28px;
  color: rgba(243, 237, 226, 0.5);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.47;
}
.reserve-dialog__event {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: auto;
  padding-top: 40px;
  color: rgba(243, 237, 226, 0.45);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.reserve-dialog__event strong {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.02em;
}
.reserve-dialog__seal {
  position: absolute;
  right: 35px;
  bottom: 32px;
  display: grid;
  place-items: center;
  width: 75px;
  height: 75px;
  border: 1px solid rgba(216, 81, 56, 0.54);
  border-radius: 50%;
  color: var(--vermilion);
  font-family: var(--jp);
  font-size: 31px;
  transform: rotate(8deg);
  opacity: 0.8;
}
.reserve-dialog__form-wrap {
  padding: clamp(34px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(5, 8, 17, 0.18);
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.3s ease, transform 0.4s var(--ease);
}
.dialog-close:hover {
  background: rgba(5, 8, 17, 0.06);
  transform: rotate(90deg);
}
.dialog-close span {
  position: absolute;
  width: 13px;
  height: 1px;
  background: currentColor;
}
.dialog-close span:first-child {
  transform: rotate(45deg);
}
.dialog-close span:last-child {
  transform: rotate(-45deg);
}
.reserve-form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 27px;
}
.reserve-form legend {
  padding: 0;
  margin-bottom: 14px;
  color: rgba(5, 8, 17, 0.5);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.reserve-form legend span {
  font-family: var(--jp);
  font-weight: 400;
}
.night-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.night-picker label {
  position: relative;
  cursor: pointer;
}
.night-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.night-picker label > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 13px 12px;
  border: 1px solid rgba(5, 8, 17, 0.16);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.night-picker label:hover > span {
  border-color: rgba(5, 8, 17, 0.4);
}
.night-picker input:checked + span {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.night-picker input:focus-visible + span {
  outline: 1px solid var(--vermilion-deep);
  outline-offset: 3px;
}
.night-picker b {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
}
.night-picker small {
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.6;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 17px;
}
.field label {
  color: rgba(5, 8, 17, 0.5);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.field label span {
  font-family: var(--jp);
  font-weight: 400;
  letter-spacing: 0.05em;
}
.field input {
  width: 100%;
  height: 48px;
  padding: 0;
  border-bottom: 1px solid rgba(5, 8, 17, 0.25);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 300;
  color: var(--ink);
  transition: border-color 0.3s ease;
}
.field input:focus {
  border-color: var(--ink);
}
.field input::placeholder {
  color: rgba(5, 8, 17, 0.3);
  font-style: italic;
}
.reserve-form .button {
  margin-top: 14px;
}
.reserve-form__note {
  margin-top: 16px;
  color: rgba(5, 8, 17, 0.4);
  font-size: 8px;
  line-height: 1.6;
}
.form-error:empty {
  min-height: 0;
  margin: 0;
}
.reserve-success {
  text-align: center;
  animation: soft-in 0.7s var(--ease);
}
.reserve-success__glyph {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 30px;
  border: 1px solid rgba(216, 81, 56, 0.62);
  border-radius: 50%;
  color: var(--vermilion-deep);
  font-family: var(--jp);
  font-size: 34px;
}
.reserve-success .eyebrow {
  justify-content: center;
  color: rgba(5, 8, 17, 0.47);
}
.reserve-success h3 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(37px, 3.5vw, 53px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.reserve-success > p:not(.eyebrow) {
  max-width: 34ch;
  margin: 20px auto 0;
  color: rgba(5, 8, 17, 0.55);
  font-size: 12px;
  line-height: 1.7;
}
.reserve-success .text-link {
  margin-top: 35px;
  color: var(--vermilion-deep);
}

/* ——— Menu dialog ——— */
.menu-dialog {
  width: 100vw;
  max-width: none;
  height: 100svh;
  max-height: none;
  margin: 0;
  padding: 0 var(--gutter);
  background: #050811;
  color: var(--cream);
  overflow: hidden;
}
.menu-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: menu-in 0.7s var(--ease-in-out);
  overscroll-behavior: contain;
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-2%); }
  to { opacity: 1; transform: none; }
}
.menu-dialog::backdrop {
  background: #050811;
}
.menu-dialog__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 75% 48%, rgba(216, 81, 56, 0.14), transparent 38%),
    radial-gradient(ellipse at 30% 100%, rgba(38, 60, 110, 0.3), transparent 50%);
}
.menu-dialog__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding-top: var(--safe-top);
  flex: 0 0 auto;
}
.brand--menu {
  pointer-events: none;
}
.menu-close {
  position: static;
  flex: 0 0 auto;
  color: var(--cream);
  border-color: rgba(243, 237, 226, 0.2);
}
.menu-close:hover {
  background: rgba(243, 237, 226, 0.08);
}
.menu-dialog__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(760px, 65vw);
  margin-left: auto;
  flex: 1;
}
.menu-dialog__body > .eyebrow {
  color: rgba(243, 237, 226, 0.4);
}
.menu-dialog nav {
  margin-top: 28px;
}
.menu-dialog nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(243, 237, 226, 0.09);
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.04em;
  transition: padding-left 0.5s var(--ease), color 0.3s ease;
}
.menu-dialog nav a > span {
  width: 25px;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0.35;
}
.menu-dialog nav a em {
  margin-left: auto;
  font-family: var(--jp);
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.1em;
  opacity: 0.32;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.menu-dialog nav a:hover {
  padding-left: 14px;
  color: var(--vermilion);
}
.menu-dialog nav a:hover em {
  opacity: 0.8;
  color: var(--cream);
}
.menu-dialog nav a.is-active {
  color: var(--cream-bright);
}
.menu-dialog nav a.is-active > span {
  opacity: 1;
  color: var(--vermilion);
}
.menu-dialog nav a.is-active em {
  opacity: 0.9;
  color: var(--vermilion);
}
.menu-dialog nav a {
  opacity: 0;
  transform: translateY(20px);
}
.menu-dialog[open] nav a {
  animation: menu-link-in 0.8s var(--ease) forwards;
}
.menu-dialog[open] nav a:nth-child(1) { animation-delay: 0.12s; }
.menu-dialog[open] nav a:nth-child(2) { animation-delay: 0.18s; }
.menu-dialog[open] nav a:nth-child(3) { animation-delay: 0.24s; }
.menu-dialog[open] nav a:nth-child(4) { animation-delay: 0.3s; }
.menu-dialog[open] nav a:nth-child(5) { animation-delay: 0.36s; }
@keyframes menu-link-in {
  to { opacity: 1; transform: translateY(0); }
}
.menu-dialog__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: auto;
  padding-bottom: 34px;
  color: rgba(243, 237, 226, 0.4);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.menu-dialog__foot > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.menu-dialog__foot .button {
  height: 48px;
  color: var(--ink);
  background: var(--cream);
  border-color: var(--cream);
}
.menu-dialog__foot .button::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--vermilion);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.menu-dialog__foot .button:hover {
  background: var(--cream);
  border-color: var(--vermilion);
  color: var(--cream-bright);
}
.menu-dialog__foot .button:hover::before {
  transform: translateY(0);
}
.menu-dialog__aside {
  position: absolute;
  left: var(--gutter);
  bottom: 34px;
  z-index: 1;
  font-family: var(--jp);
  font-size: clamp(13px, 1.4vw, 19px);
  line-height: 2;
  letter-spacing: 0.24em;
  color: rgba(243, 237, 226, 0.2);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.menu-dialog__aside br {
  display: none;
}

/* ——— Toast ——— */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  z-index: 400;
  padding: 12px 18px;
  border: 1px solid rgba(243, 237, 226, 0.2);
  border-radius: 100px;
  background: rgba(6, 10, 20, 0.92);
  color: var(--cream);
  font-size: 9px;
  letter-spacing: 0.08em;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.4s var(--ease);
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ——— Responsive ——— */
@media (max-width: 1240px) {
  .primary-nav {
    gap: 17px;
    margin-right: 12px;
  }
  .primary-nav a {
    font-size: 9px;
  }
  .primary-nav a span {
    display: none;
  }
  .hero__side-copy,
  .edge-note {
    display: none;
  }
  .hero__title {
    font-size: clamp(110px, 16vw, 220px);
  }
  .story__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
    gap: 7vw;
  }
}

@media (max-width: 1080px) {
  :root {
    --header-h: calc(88px + var(--safe-top));
  }
  .primary-nav,
  .sound-toggle__label {
    display: none;
  }
  .sound-toggle {
    padding-right: 2px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 0;
  }
  .menu-toggle__lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 18px;
  }
  .menu-toggle__lines i {
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
  }
  .menu-toggle__lines i:last-child {
    width: 65%;
    margin-left: auto;
  }
  .chapter-progress {
    display: none;
  }
  .header-actions {
    gap: 18px;
  }
  .hero__main {
    grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.5fr);
    gap: 40px;
  }
  .hero__title {
    font-size: clamp(100px, 15.5vw, 170px);
  }
  .hero__lede {
    font-size: 16px;
  }
  .hero__meta {
    gap: 25px;
  }
  .story {
    min-height: 0;
  }
  .story__vertical {
    display: none;
  }
  .story__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .story__body {
    max-width: 560px;
  }
  .story__facts {
    margin-top: 70px;
  }
  .ritual-item {
    min-height: 360px;
    padding: 24px;
  }
  .wish {
    min-height: 0;
  }
  .wish__inner {
    grid-template-columns: 1fr;
    row-gap: 50px;
  }
  .wish__copy {
    padding-top: 50px;
  }
  .wish__lede {
    max-width: 52ch;
  }
  .wish__stage {
    width: min(680px, 100%);
  }
  .programme__grid {
    grid-template-columns: 1.35fr minmax(280px, 0.55fr);
    gap: 4vw;
  }
  .programme__heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .programme__heading > p {
    max-width: 45ch;
  }
  .schedule__row {
    grid-template-columns: 54px minmax(150px, 0.95fr) minmax(130px, 1fr) 20px;
    gap: 15px;
  }
  .visit__hero {
    grid-template-columns: 1.2fr 0.55fr;
    gap: 5vw;
  }
  .visit__hero .display {
    font-size: clamp(62px, 8.4vw, 110px);
  }
  .site-footer__mark {
    font-size: clamp(100px, 24vw, 300px);
  }
}

@media (max-width: 800px) {
  :root {
    --header-h: calc(76px + var(--safe-top));
    --gutter: 22px;
  }
  .site-header {
    gap: 14px;
  }
  .reserve-button {
    display: none;
  }
  .sound-toggle {
    justify-content: center;
    min-width: 44px;
    margin-left: auto;
    padding: 10px 8px;
  }
  .brand__type {
    font-size: 10px;
  }
  .brand__type small {
    font-size: 9px;
  }
  .brand__seal {
    width: 27px;
    height: 33px;
    font-size: 14px;
  }
  .hero {
    padding-top: calc(var(--header-h) + 14px);
    min-height: 100svh;
    padding-bottom: 18px;
  }
  .hero__main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 24px;
    margin-top: auto;
    margin-bottom: clamp(18px, 4vh, 42px);
  }
  .hero__title {
    font-size: clamp(82px, 21vw, 180px);
    line-height: 0.74;
  }
  .hero__kicker {
    margin-bottom: 16px;
    font-size: 13px;
  }
  .hero__kicker-mark {
    display: none;
  }
  .hero__aside {
    max-width: 100%;
    justify-self: stretch;
    padding: 0;
  }
  .hero__aside::before {
    display: none;
  }
  .hero__aside-note {
    display: none;
  }
  .hero__lede {
    max-width: 37ch;
    font-size: 16.5px;
    text-shadow: 0 2px 20px rgba(2, 4, 10, 0.9), 0 1px 4px rgba(2, 4, 10, 0.6);
  }
  .hero__actions {
    margin-top: 18px;
    gap: 22px;
  }
  .river-prompt {
    margin-top: 13px;
    margin-bottom: 0;
    min-height: 44px;
    padding: 7px 0;
  }
  .river-prompt__rings {
    width: 26px;
    height: 26px;
  }
  .river-prompt__copy {
    font-size: 7.5px;
  }
  .hero__aside[data-hero='4'] {
    opacity: 1;
  }
  .hero__footer {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
  }
  .hero__meta div:nth-child(3) {
    display: none;
  }
  .hero__footer::after {
    display: none;
  }
  .hero__coordinates {
    display: none;
  }
  .scroll-cue {
    display: none;
  }
  .scroll-cue__line {
    display: none;
  }
  .hero__side-copy,
  .hero__seal {
    display: none;
  }
  .hero .eyebrow--hero {
    max-width: 250px;
    line-height: 1.8;
  }
  .eyebrow__divider {
    display: none;
  }
  .hero__kanji {
    font-size: 22px;
    margin-left: 12px;
    margin-bottom: 12px;
  }
  .chapter {
    padding-block: 84px;
  }
  .chapter-head {
    grid-template-columns: 34px 1fr;
    gap: 12px;
    font-size: 8px;
    letter-spacing: 0.14em;
  }
  .chapter-head__aside {
    display: none;
  }
  .chapter-head__name i {
    padding-inline: 5px;
  }
  .display {
    font-size: clamp(50px, 12.5vw, 88px);
  }
  .story__grid {
    margin-top: 44px;
    gap: 36px;
  }
  .story__heading .display {
    font-size: clamp(53px, 12.8vw, 90px);
  }
  .story__body {
    max-width: 100%;
  }
  .lead {
    font-size: 23px;
  }
  .story__body > p:not(.lead) {
    font-size: 14px;
    line-height: 1.7;
  }
  .story__facts {
    grid-template-columns: 1fr 1fr;
    margin-top: 50px;
  }
  .fact {
    padding: 22px 16px 22px 0;
  }
  .fact + .fact {
    padding-left: 16px;
  }
  .fact:nth-child(3) {
    border-left: 0;
  }
  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .fact__num {
    font-size: 34px;
  }
  .ritual__intro {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 44px;
  }
  .ritual__lede {
    max-width: 48ch;
    font-size: 14px;
  }
  .ritual__list {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 38px;
  }
  .ritual-item {
    min-height: 0;
    padding: 24px;
  }
  .ritual-item__jp {
    padding-top: 44px;
    font-size: 16px;
  }
  .ritual-item__icon {
    width: 48px;
    height: 48px;
  }
  .ritual-item h3 {
    font-size: 30px;
  }
  .ritual-item__meta {
    margin-top: 25px;
  }
  .ritual-item > p:not(.ritual-item__jp) {
    font-size: 13.5px;
  }
  .ritual__foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
  }
  .wish {
    padding-block: 88px;
  }
  .wish__copy {
    padding-top: 44px;
  }
  .wish__copy .display {
    font-size: clamp(51px, 12.5vw, 88px);
  }
  .wish__lede {
    font-size: 14px;
    max-width: 42ch;
  }
  .wish__stage {
    padding: 22px;
  }
  .wish__count {
    margin-bottom: 30px;
  }
  .wish-form input {
    font-size: 21px;
    height: 62px;
  }
  .wish-form__submit {
    padding: 10px 13px;
  }
  .wish-form__submit span {
    display: none;
  }
  .wish-form__field {
    gap: 8px;
  }
  .wish-form__submit svg {
    width: 16px;
    height: 16px;
  }
  .programme__grid {
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 42px;
  }
  .programme__heading .display {
    font-size: clamp(52px, 12.5vw, 88px);
  }
  .programme__heading {
    margin-bottom: 35px;
  }
  .programme__heading > p {
    font-size: 14px;
  }
  .schedule__row {
    grid-template-columns: 52px 1fr 22px;
    gap: 12px;
    padding: 20px 0;
  }
  .schedule__row > p {
    display: none;
  }
  .schedule__title h3 {
    font-size: 24px;
  }
  .schedule__time {
    font-size: 16px;
  }
  .ticket-card {
    position: relative;
    top: auto;
    padding: 30px;
  }
  .ticket-card__date {
    font-size: 120px;
  }
  .visit {
    padding-top: 70px;
  }
  .visit__route {
    padding-top: 64px;
  }
  .visit__route::before {
    top: 64px;
    left: var(--gutter);
    right: var(--gutter);
  }
  .visit__route-head {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 38px;
  }
  .visit__route-heading .display {
    font-size: clamp(54px, 13.6vw, 92px);
  }
  .visit__route-intro > p {
    max-width: 52ch;
    font-size: 17px;
  }
  .route-steps li div {
    align-items: flex-start;
  }
  .route-map {
    margin-top: 38px;
  }
  .map-label,
  .route-map__heading {
    display: none;
  }
  .route-map__canvas {
    aspect-ratio: 1200 / 620;
  }
  .route-map__canvas svg {
    inset: 50% auto auto 50%;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 560;
    transform: translate(-50%, -50%);
  }
  .route-map__caption {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 10px 14px;
    font-size: 7px;
  }
  .route-map__key {
    width: 100%;
    margin-left: 0;
  }
  .visit__hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 50px 70px;
  }
  .visit__hero .display {
    font-size: clamp(56px, 14vw, 100px);
  }
  .visit__intro > p {
    max-width: 50ch;
    font-size: 18px;
  }
  .visit__info {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
    padding-bottom: 60px;
  }
  .visit__newsletter {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 60px;
  }
  .visit__newsletter h3 {
    font-size: 43px;
  }
  .site-footer {
    margin-top: 0;
    padding-top: 55px;
  }
  .site-footer__mark {
    font-size: clamp(89px, 25vw, 190px);
    gap: 12px;
  }
  .site-footer__mark span {
    font-size: 19px;
  }
  .site-footer__bottom {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-top: 54px;
    font-size: 8px;
  }
  .site-footer__bottom nav {
    gap: 16px;
  }
  .site-footer__bottom a,
  .back-to-top {
    min-height: 44px;
  }
  .site-footer__bottom nav a {
    min-width: 44px;
    justify-content: center;
  }
  .site-footer__bottom p {
    width: 100%;
    order: 3;
    margin-top: 6px;
  }
  .reserve-dialog {
    grid-template-columns: 1fr;
    width: min(540px, calc(100vw - 22px));
    max-height: calc(100svh - 22px);
  }
  .reserve-dialog__story {
    padding: 34px 28px 36px;
  }
  .reserve-dialog__story h2 {
    margin-top: 46px;
    font-size: 67px;
  }
  .reserve-dialog__story > p:not(.eyebrow) {
    margin-top: 20px;
    font-size: 16px;
  }
  .reserve-dialog__event {
    padding-top: 35px;
  }
  .reserve-dialog__seal {
    top: 86px;
    right: 32px;
    bottom: auto;
    width: 58px;
    height: 58px;
    font-size: 24px;
  }
  .reserve-dialog .dialog-close {
    color: var(--cream);
    border-color: rgba(243, 237, 226, 0.28);
    background: rgba(4, 6, 13, 0.28);
  }
  .reserve-dialog .dialog-close:hover {
    background: rgba(243, 237, 226, 0.12);
  }
  .reserve-dialog__form-wrap {
    padding: 27px 28px 31px;
  }
  .menu-dialog {
    padding-inline: var(--gutter);
  }
  .menu-dialog__body {
    width: 100%;
    margin: 0;
    justify-content: center;
  }
  .menu-dialog nav a {
    font-size: clamp(38px, 11vw, 68px);
    padding: 13px 0;
  }
  .menu-dialog nav a em {
    font-size: 11px;
  }
  .menu-dialog__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 24px;
  }
  .menu-dialog__foot .button {
    width: 100%;
    justify-content: space-between;
  }
  .menu-dialog__aside {
    display: none;
  }
}

@media (max-width: 540px) {
  .hero__title {
    font-size: clamp(77px, 23vw, 140px);
  }
  .hero__title-line--two {
    margin-left: 0;
  }
  .hero__word--italic {
    padding-right: 0.09em;
  }
  .hero__kanji {
    display: none;
  }
  .hero__kicker {
    font-size: 12px;
    max-width: 24ch;
  }
  .hero__lede {
    font-size: 16px;
    max-width: 32ch;
  }
  .hero__actions {
    align-items: flex-start;
    gap: 18px;
  }
  .button {
    height: 48px;
    padding: 0 20px;
  }
  .hero__actions .text-link {
    padding-top: 8px;
  }
  .hero .eyebrow--hero {
    font-size: 7.5px;
    letter-spacing: 0.12em;
    max-width: none;
    white-space: nowrap;
  }
  .hero .eyebrow__divider {
    display: block;
    width: 14px;
    margin-inline: 0;
    opacity: 0.7;
  }
  .hero__meta div span {
    font-size: 7px;
  }
  .hero__meta div p {
    font-size: 9px;
  }
  .chapter {
    padding-block: 72px;
  }
  .story__legend {
    gap: 13px;
  }
  .story__legend blockquote {
    font-size: 18px;
  }
  .story__facts {
    grid-template-columns: 1fr;
  }
  .fact {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid var(--line);
  }
  .fact + .fact {
    border-left: 0;
    padding-left: 0;
  }
  .fact:nth-child(3) {
    border-top: 1px solid var(--line);
  }
  .fact:first-child {
    border-top: 0;
  }
  .fact__num {
    font-size: 32px;
  }
  .fact__label {
    text-align: right;
  }
  .wish__stage {
    padding: 18px;
  }
  .wish-form__foot {
    font-size: 7px;
  }
  .wish__privacy {
    margin-top: 20px;
  }
  .wish-success {
    gap: 14px;
  }
  .wish-success__mark {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
  .wish-success__text {
    font-size: 19px;
  }
  .night-picker label > span {
    padding: 12px 9px 10px;
  }
  .night-picker b {
    font-size: 23px;
  }
  .night-picker small {
    font-size: 5px;
  }
  .visit__info {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .visit__info-item > p {
    margin-top: 10px;
  }
  .visit__marquee-track {
    gap: 20px;
  }
  .site-footer__bottom nav {
    width: 100%;
    order: 2;
  }
  .back-to-top {
    order: 1;
  }
  .site-footer__bottom p {
    order: 3;
  }
  .menu-dialog nav a {
    font-size: 36px;
  }
  .menu-dialog nav a > span {
    width: 18px;
  }
  .site-footer__mark {
    font-size: 26vw;
  }
  .reserve-dialog__story h2 {
    font-size: 58px;
  }
  .reserve-dialog__story {
    padding-top: 30px;
  }
}

@media (max-width: 800px) and (max-height: 720px) {
  .hero {
    padding-top: calc(var(--header-h) + 6px);
    padding-bottom: 12px;
  }
  .hero .eyebrow--hero {
    display: none;
  }
  .hero__main {
    gap: 15px;
    margin-bottom: 14px;
  }
  .hero__kicker {
    display: none;
  }
  .hero__title {
    font-size: clamp(64px, 20vw, 118px);
  }
  .hero__lede {
    font-size: 14px;
    line-height: 1.5;
    max-width: 36ch;
  }
  .hero__actions {
    margin-top: 12px;
    gap: 15px;
  }
  .river-prompt {
    margin-top: 10px;
  }
  .river-prompt__rings {
    width: 23px;
    height: 23px;
  }
  .hero__footer {
    padding-top: 12px;
  }
  .hero__footer::after {
    display: none;
  }
  .hero__meta {
    gap: 10px 16px;
  }
  .hero__meta div:nth-child(2) {
    display: none;
  }
  .button {
    height: 44px;
  }
}

@media (min-width: 801px) and (max-height: 680px) {
  .hero {
    padding-top: calc(var(--header-h) + 4px);
    padding-bottom: 14px;
  }
  .hero__kicker {
    margin-bottom: 12px;
  }
  .hero__title {
    font-size: clamp(84px, 13.2vw, 160px);
  }
  .hero__aside-note {
    display: none;
  }
  .hero__aside {
    padding-bottom: 0;
  }
  .hero__lede {
    font-size: 14px;
    line-height: 1.45;
  }
  .hero__actions {
    margin-top: 14px;
    gap: 16px;
  }
  .river-prompt {
    margin-top: 10px;
  }
  .hero__main {
    gap: 24px;
    margin-bottom: 20px;
  }
  .hero__footer {
    padding-top: 11px;
  }
}

@media (orientation: landscape) and (max-height: 540px) {
  :root {
    --header-h: calc(64px + var(--safe-top));
  }
  .site-header {
    height: var(--header-h);
  }
  .site-header .brand__type small {
    display: none;
  }
  .hero {
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 2px);
    padding-bottom: 8px;
  }
  .hero__top {
    display: none;
  }
  .hero__main {
    gap: clamp(16px, 3vw, 42px);
    margin-top: auto;
    margin-bottom: 4px;
  }
  .hero__kicker,
  .hero__aside-note,
  .river-prompt,
  .scroll-cue {
    display: none;
  }
  .hero__title {
    font-size: clamp(58px, 24vh, 120px);
    line-height: 0.72;
  }
  .hero__aside {
    max-width: 310px;
    padding-bottom: 0;
  }
  .hero__lede {
    max-width: 34ch;
    font-size: 13px;
    line-height: 1.4;
  }
  .hero__actions {
    margin-top: 8px;
    gap: 14px;
  }
  .hero__actions .button {
    height: 38px;
    padding-inline: 17px;
    font-size: 8px;
  }
  .hero__actions .text-link {
    padding-bottom: 3px;
    font-size: 8px;
  }
  .hero__footer {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-top: 8px;
  }
  .hero__meta {
    gap: 18px;
  }
  .hero__meta div span {
    font-size: 7px;
  }
  .hero__meta div p {
    font-size: 9px;
  }
  .hero__coordinates {
    font-size: 8px;
  }
  .hero__footer::after {
    display: none;
  }
}
@media (orientation: landscape) and (max-width: 800px) and (max-height: 540px) {
  .hero__main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
  }
  .hero__lede {
    display: none;
  }
  .hero__aside {
    max-width: 100%;
  }
  .hero__actions {
    margin-top: 0;
  }
  .hero__title {
    font-size: clamp(58px, 22vh, 100px);
  }
  .hero__footer {
    grid-template-columns: 1fr auto;
  }
  .hero__meta {
    grid-template-columns: 1fr 1fr;
  }
  .hero__coordinates {
    display: none;
  }
}

@media (hover: none) {
  .cursor {
    display: none;
  }
  .grain {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .river-prompt__rings i {
    opacity: 0.28;
  }
  .route-map__route,
  .route-map__route-glow,
  .route-map__pulse {
    animation: none;
  }
  .route-map__traveler {
    display: none;
  }
  .hero__word,
  .hero__kanji,
  [data-hero],
  .motion-ready [data-reveal],
  .motion-ready .display[data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .visit__marquee-track {
    animation: none;
  }
  .grain {
    animation: none;
  }
}
