@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap");

@font-face {
  font-family: "Gaijin Shodo";
  src: url("assets/fonts/Gaijin-Shodo.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #f4f3ef;
  --panel: #ffffff;
  --panel-soft: rgba(255, 255, 255, 0.82);
  --line: rgba(12, 12, 12, 0.14);
  --line-strong: rgba(12, 12, 12, 0.28);
  --text: #0d0d0d;
  --muted: rgba(13, 13, 13, 0.62);
  --red: #111111;
  --red-dark: #666666;
  --glow: rgba(0, 0, 0, 0.2);
  --shadow: rgba(0, 0, 0, 0.18);
  --font-ui: "Zen Kaku Gothic New", "Hiragino Sans GB", "Avenir Next", sans-serif;
  --font-display: "Gaijin Shodo", "Yu Mincho", "Hiragino Mincho ProN", "Iowan Old Style", serif;
  --font-numeral: "Iowan Old Style", "Baskerville", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.07), transparent 38rem),
    radial-gradient(circle at 50% 75%, rgba(0, 0, 0, 0.04), transparent 42rem),
    linear-gradient(115deg, rgba(0,0,0,0.025), transparent 35% 65%, rgba(0,0,0,0.018)),
    var(--bg);
  font-family: var(--font-ui);
  overflow-x: hidden;
}

::selection { color: #ffffff; background: #111111; }

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: 5px;
}

body.drawer-open { overflow: hidden; }

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

.noise {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.045;
  background-image:
    linear-gradient(0deg, transparent 0 50%, rgba(0,0,0,0.04) 50% 100%),
    radial-gradient(circle at 20% 30%, rgba(0,0,0,0.18) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.14) 0 1px, transparent 1px);
  background-size: 100% 4px, 42px 42px, 61px 61px;
  mix-blend-mode: overlay;
}

#embers {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: var(--viewport-height, 100dvh);
  min-height: 100svh;
  z-index: 100;
  display: grid;
  place-items: center;
  padding:
    max(14px, env(safe-area-inset-top))
    max(14px, env(safe-area-inset-right))
    max(14px, env(safe-area-inset-bottom))
    max(14px, env(safe-area-inset-left));
  overflow: hidden;
  background: #0b0b0b;
  color: #fff;
  isolation: isolate;
  transition: opacity 0.85s ease, visibility 0.85s ease;
}
.preloader::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 37%, rgba(255,42,38,0.92), rgba(160,0,8,0.34) 18%, transparent 48%);
  mix-blend-mode: screen;
}
.preloader.is-majestic::after { animation: openingShockwave 1.35s cubic-bezier(0.16, 1, 0.3, 1) both; }

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader--legacy {
  background: var(--bg);
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.preloader__mark {
  position: relative;
  width: min(390px, 72vw);
  aspect-ratio: 1.18;
  overflow: hidden;
  animation: pulseMark 1.6s ease-in-out infinite alternate;
}
.preloader__mark img {
  position: absolute;
  left: 50%;
  top: 57%;
  width: 190%;
  max-width: none;
  display: block;
  transform: translate(-50%, -50%);
}
.preloader__line {
  position: absolute;
  bottom: 22%;
  width: min(320px, 55vw);
  height: 1px;
  overflow: hidden;
  background: rgba(0,0,0,0.12);
}
.preloader__line span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--red);
  box-shadow: 0 0 16px var(--red);
  animation: loadingLine 1.25s ease-in-out infinite;
}

.preloader__vista {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  background:
    radial-gradient(ellipse at 50% 32%, rgba(137,5,10,0.22), transparent 34%),
    repeating-radial-gradient(ellipse at 50% 40%, rgba(255,255,255,0.022) 0 1px, transparent 2px 9px),
    linear-gradient(180deg, #080707 0%, #151010 48%, #030303 100%);
  clip-path: inset(0 49.8% 0 49.8%);
  filter: blur(13px) brightness(0.22) contrast(1.48) saturate(0.35);
  transform: scale(1.24);
  transform-origin: 50% 38%;
  transition:
    opacity 0.35s ease,
    clip-path 1.25s cubic-bezier(0.77, 0, 0.18, 1),
    filter 1.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 6.2s cubic-bezier(0.12, 0.72, 0.18, 1);
}
.preloader__vista::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 49.7%, rgba(255,35,32,0.8) 49.9%, rgba(255,190,165,0.95) 50%, rgba(255,35,32,0.8) 50.1%, transparent 50.3%),
    radial-gradient(ellipse at 50% 37%, rgba(255,56,45,0.88), rgba(176,0,10,0.34) 19%, transparent 49%);
  z-index: 10;
  opacity: 0;
  mix-blend-mode: screen;
}
.preloader__vista::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -18%;
  left: -10%;
  height: 68%;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(190,0,10,0.32), transparent 52%),
    linear-gradient(180deg, transparent, rgba(0,0,0,0.74) 82%);
  filter: blur(18px);
  opacity: 0;
  z-index: 8;
  transform: translateY(18%) scale(1.06);
}
.preloader.is-majestic .preloader__vista {
  opacity: 1;
  clip-path: inset(0);
  filter: blur(0) brightness(1.06) contrast(1.14) saturate(1.18);
  transform: scale(1.035);
}
.preloader.is-departing .preloader__vista {
  filter: blur(1px) brightness(1.2) contrast(1.08) saturate(1.04);
  transform: scale(1.015);
}
.preloader.is-majestic .preloader__vista::before { animation: gateIgnition 2.15s cubic-bezier(0.16, 1, 0.3, 1) both; }
.preloader.is-majestic .preloader__vista::after { animation: shadowSurge 3.8s ease-out both; }

.vista-clouds {
  position: absolute;
  inset: -12%;
  z-index: 0;
  opacity: 0.42;
  background:
    radial-gradient(ellipse at 18% 30%, rgba(84,35,35,0.42), transparent 27%),
    radial-gradient(ellipse at 82% 27%, rgba(78,31,31,0.38), transparent 28%),
    radial-gradient(ellipse at 50% 48%, rgba(130,24,28,0.22), transparent 34%);
  filter: blur(22px);
  transform: scale(1.08);
}
.vista-embers {
  position: absolute;
  inset: 0;
  z-index: 11;
  pointer-events: none;
}
.vista-embers i {
  --ember-x: 50%;
  --ember-y: 70%;
  --ember-delay: 0s;
  position: absolute;
  left: var(--ember-x);
  top: var(--ember-y);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ff3b32;
  box-shadow: 0 0 6px #f0161d, 0 0 12px rgba(240,22,29,0.68);
  opacity: 0;
}
.vista-embers i:nth-child(1) { --ember-x: 14%; --ember-y: 72%; --ember-delay: 0.2s; }
.vista-embers i:nth-child(2) { --ember-x: 22%; --ember-y: 54%; --ember-delay: 0.55s; }
.vista-embers i:nth-child(3) { --ember-x: 31%; --ember-y: 81%; --ember-delay: 0.82s; }
.vista-embers i:nth-child(4) { --ember-x: 39%; --ember-y: 63%; --ember-delay: 0.36s; }
.vista-embers i:nth-child(5) { --ember-x: 47%; --ember-y: 76%; --ember-delay: 1.1s; }
.vista-embers i:nth-child(6) { --ember-x: 53%; --ember-y: 48%; --ember-delay: 0.68s; }
.vista-embers i:nth-child(7) { --ember-x: 61%; --ember-y: 71%; --ember-delay: 0.14s; }
.vista-embers i:nth-child(8) { --ember-x: 68%; --ember-y: 58%; --ember-delay: 0.94s; }
.vista-embers i:nth-child(9) { --ember-x: 76%; --ember-y: 82%; --ember-delay: 0.44s; }
.vista-embers i:nth-child(10) { --ember-x: 84%; --ember-y: 64%; --ember-delay: 1.24s; }
.vista-embers i:nth-child(11) { --ember-x: 57%; --ember-y: 88%; --ember-delay: 0.76s; }
.vista-embers i:nth-child(12) { --ember-x: 35%; --ember-y: 43%; --ember-delay: 1.42s; }
.vista-portal {
  position: absolute;
  left: 50%;
  top: 11%;
  z-index: 3;
  width: clamp(106px, 13vw, 210px);
  height: 48%;
  background:
    repeating-linear-gradient(135deg, transparent 0 20px, rgba(255,255,255,0.08) 21px 22px),
    linear-gradient(180deg, #f72c2e 0%, #a6000a 68%, #410006 100%);
  box-shadow: 0 0 28px rgba(226,15,24,0.9), 0 0 100px rgba(180,0,10,0.62), inset 0 0 28px rgba(255,185,166,0.34);
  clip-path: polygon(22% 0, 78% 0, 86% 75%, 50% 100%, 14% 75%);
  opacity: 0;
  transform: translateX(-50%) scaleY(0.04);
  transform-origin: 50% 100%;
}
.vista-portal::before {
  content: "";
  position: absolute;
  inset: 7% 12% 16%;
  border: 1px solid rgba(255,188,168,0.66);
  background: radial-gradient(ellipse at 50% 34%, rgba(255,205,185,0.42), transparent 52%);
  box-shadow: inset 0 0 24px rgba(255,120,105,0.38), 0 0 16px rgba(255,45,45,0.62);
  clip-path: polygon(15% 0, 85% 0, 100% 76%, 50% 100%, 0 76%);
}
.vista-portal::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(72deg, transparent 0 47%, rgba(255,220,205,0.34) 48% 49%, transparent 50%) 18% 19% / 38% 27% no-repeat,
    linear-gradient(112deg, transparent 0 48%, rgba(255,220,205,0.26) 49% 50%, transparent 51%) 72% 43% / 45% 32% no-repeat,
    linear-gradient(38deg, transparent 0 48%, rgba(255,220,205,0.28) 49% 50%, transparent 51%) 34% 76% / 40% 26% no-repeat;
  mix-blend-mode: screen;
}
.vista-portal i {
  position: absolute;
  z-index: 2;
  width: 46%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,225,210,0.78), transparent);
  box-shadow: 0 0 5px rgba(255,80,70,0.7);
  transform-origin: center;
}
.vista-portal i:nth-child(1) { top: 31%; left: 4%; transform: rotate(36deg); }
.vista-portal i:nth-child(2) { top: 52%; right: 0; transform: rotate(-48deg); }
.vista-portal i:nth-child(3) { bottom: 22%; left: 27%; transform: rotate(72deg); }
.vista-mountains {
  position: absolute;
  right: -4%;
  left: -4%;
  z-index: 2;
  height: 58%;
  background: #171414;
  filter: drop-shadow(0 -16px 24px rgba(0,0,0,0.34));
  transform: translateY(24%);
}
.vista-mountains::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(118deg, transparent 0 54px, rgba(160,84,84,0.15) 55px 56px, transparent 57px 76px),
    repeating-linear-gradient(63deg, transparent 0 62px, rgba(255,255,255,0.045) 63px 64px, transparent 65px 89px);
  mix-blend-mode: screen;
}
.vista-mountains::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 14%;
  left: 0;
  height: 23%;
  background: linear-gradient(180deg, transparent, rgba(125,95,95,0.14), transparent);
  filter: blur(8px);
}
.vista-mountains--back {
  bottom: 12%;
  opacity: 0.72;
  background: #2b2222;
  clip-path: polygon(0 100%, 0 71%, 10% 47%, 18% 68%, 31% 27%, 38% 66%, 48% 18%, 56% 61%, 66% 29%, 74% 67%, 86% 44%, 100% 73%, 100% 100%);
}
.vista-mountains--front {
  bottom: 3%;
  z-index: 5;
  background: #090909;
  clip-path: polygon(0 100%, 0 77%, 13% 55%, 23% 78%, 34% 43%, 42% 81%, 50% 58%, 58% 82%, 69% 39%, 79% 75%, 90% 56%, 100% 78%, 100% 100%);
}
.vista-torii {
  position: absolute;
  left: 50%;
  top: 8%;
  z-index: 4;
  width: clamp(230px, 30vw, 470px);
  height: 46%;
  opacity: 0;
  transform: translate(-50%, -15%) scale(1.08);
  filter: drop-shadow(0 0 18px rgba(230,20,28,0.42));
}
.vista-torii::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 17%;
  width: 16%;
  height: 10%;
  border: 1px solid rgba(235,44,45,0.7);
  background: #0d0909;
  transform: translateX(-50%);
}
.vista-torii::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 29%;
  width: 6%;
  aspect-ratio: 1;
  border: 1px solid rgba(180,36,38,0.66);
  border-radius: 50%;
  background: #090808;
  box-shadow: 0 0 12px rgba(210,18,25,0.4);
  transform: translateX(-50%);
}
.vista-torii i { position: absolute; display: block; background: #090808; }
.vista-torii i:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 12%;
  clip-path: polygon(0 16%, 7% 32%, 44% 45%, 56% 45%, 93% 32%, 100% 16%, 97% 72%, 70% 88%, 30% 88%, 3% 72%);
}
.vista-torii i:nth-child(2) { top: 13%; left: 11%; width: 78%; height: 7%; }
.vista-torii i:nth-child(3),
.vista-torii i:nth-child(4) { top: 17%; bottom: 0; width: 8%; clip-path: polygon(0 0, 100% 0, 78% 100%, 20% 100%); }
.vista-torii i:nth-child(3) { left: 22%; }
.vista-torii i:nth-child(4) { right: 22%; }
.vista-torii span {
  position: absolute;
  top: 24%;
  left: 27%;
  width: 46%;
  height: 12%;
  border-top: 2px solid #6f5136;
  border-radius: 50%;
  transform: rotate(1deg);
}
.vista-torii span b {
  --shide-angle: 0deg;
  position: absolute;
  top: -1px;
  width: 9%;
  height: 68%;
  background: #d9d0bd;
  clip-path: polygon(0 0, 100% 0, 72% 42%, 100% 100%, 26% 76%, 0 100%);
  transform: rotate(var(--shide-angle));
  transform-origin: top;
}
.vista-torii span b:nth-child(1) { --shide-angle: 5deg; left: 18%; }
.vista-torii span b:nth-child(2) { --shide-angle: -3deg; left: 47%; }
.vista-torii span b:nth-child(3) { --shide-angle: 4deg; right: 17%; }

.vista-pagoda {
  --pagoda-scale: 1;
  position: absolute;
  bottom: 17%;
  z-index: 6;
  width: clamp(52px, 7vw, 108px);
  height: 24%;
  opacity: 0;
  background: linear-gradient(90deg, transparent 43%, #080808 44% 56%, transparent 57%);
  transform: translateY(22px) scale(var(--pagoda-scale));
}
.vista-pagoda--left { left: 13%; }
.vista-pagoda--right { --pagoda-scale: 0.82; right: 13%; }
.vista-pagoda i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 18%;
  background: #080808;
  clip-path: polygon(0 54%, 42% 28%, 47% 0, 53% 0, 58% 28%, 100% 54%, 86% 72%, 14% 72%);
}
.vista-pagoda i:nth-child(1) { top: 8%; }
.vista-pagoda i:nth-child(2) { top: 38%; transform: scale(0.82); }
.vista-pagoda i:nth-child(3) { top: 68%; transform: scale(0.64); }
.vista-pagoda::before {
  content: "";
  position: absolute;
  top: 27%;
  left: 46%;
  width: 8%;
  height: 7%;
  background: #d21820;
  box-shadow: 0 34px 0 rgba(210,24,32,0.78), 0 68px 0 rgba(210,24,32,0.58), 0 0 10px #c41218;
}
.vista-pagoda::after {
  content: "";
  position: absolute;
  right: 24%;
  bottom: 0;
  left: 24%;
  height: 8%;
  background: #070707;
  box-shadow: -8px 4px 0 #070707, 8px 4px 0 #070707;
}

.vista-pine {
  --pine-base: scaleX(1);
  position: absolute;
  bottom: 11%;
  z-index: 6;
  width: clamp(130px, 17vw, 260px);
  height: 42%;
  opacity: 0;
  filter: drop-shadow(0 14px 20px rgba(0,0,0,0.62));
  transform: var(--pine-base) translateY(14px);
}
.vista-pine--left { left: -2%; }
.vista-pine--right { --pine-base: scaleX(-1); right: -2%; }
.vista-pine::before {
  content: "";
  position: absolute;
  left: 31%;
  bottom: 0;
  width: 9%;
  height: 82%;
  background: #030303;
  transform: rotate(8deg);
  transform-origin: bottom;
}
.vista-pine::after {
  content: "";
  position: absolute;
  left: 36%;
  top: 12%;
  width: 48%;
  height: 5%;
  background: #030303;
  transform: rotate(-16deg);
  transform-origin: left;
}
.vista-pine i {
  position: absolute;
  display: block;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 34% 58%, #070707 0 32%, transparent 34%),
    radial-gradient(ellipse at 62% 42%, #050505 0 38%, transparent 40%),
    #030303;
  clip-path: polygon(0 52%, 9% 31%, 24% 40%, 35% 12%, 49% 36%, 63% 5%, 72% 35%, 94% 22%, 100% 58%, 82% 72%, 64% 65%, 46% 82%, 29% 67%, 12% 76%);
}
.vista-pine i:nth-child(1) { top: 2%; left: 24%; width: 66%; height: 25%; }
.vista-pine i:nth-child(2) { top: 21%; left: 2%; width: 76%; height: 24%; }
.vista-pine i:nth-child(3) { top: 39%; left: 28%; width: 70%; height: 23%; }
.vista-pine i:nth-child(4) { top: 57%; left: 4%; width: 68%; height: 21%; }

.vista-lantern {
  position: absolute;
  bottom: 12%;
  z-index: 9;
  width: 34px;
  height: 120px;
  opacity: 0;
  background: linear-gradient(90deg, transparent 43%, #090909 44% 56%, transparent 57%);
  transform: translateY(16px);
}
.vista-lantern--left { left: 8%; }
.vista-lantern--right { right: 8%; }
.vista-lantern::before,
.vista-lantern::after {
  content: "";
  position: absolute;
  left: 3px;
  width: 28px;
  height: 4px;
  background: #050505;
}
.vista-lantern::before { top: 17px; }
.vista-lantern::after { top: 54px; }
.vista-lantern i {
  position: absolute;
  top: 21px;
  left: 7px;
  width: 20px;
  height: 31px;
  border: 2px solid #080808;
  background: rgba(196,20,25,0.72);
  box-shadow: 0 0 12px rgba(218,20,25,0.76), 0 0 28px rgba(167,8,14,0.46);
  clip-path: polygon(15% 0, 85% 0, 100% 16%, 92% 84%, 78% 100%, 22% 100%, 8% 84%, 0 16%);
}

.vista-warrior {
  --warrior-base: translateX(0) scaleX(1);
  position: absolute;
  bottom: 8%;
  z-index: 7;
  width: clamp(82px, 9vw, 140px);
  height: clamp(220px, 36vh, 390px);
  opacity: 0;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,0.82));
  transform: var(--warrior-base) translateY(24%);
}
.vista-warrior--left { left: 26%; }
.vista-warrior--center { --warrior-base: translateX(-50%) scaleX(1); left: 50%; bottom: 3%; height: clamp(150px, 25vh, 260px); }
.vista-warrior--right { --warrior-base: translateX(0) scaleX(-1); right: 25%; }
.vista-warrior i {
  position: absolute;
  top: 2%;
  left: 35%;
  width: 31%;
  aspect-ratio: 0.86;
  border-radius: 50% 50% 42% 42%;
  background: #020202;
  box-shadow: -8px -5px 0 -3px #020202, 9px -3px 0 -4px #020202;
}
.vista-warrior b {
  position: absolute;
  top: 18%;
  left: 17%;
  width: 66%;
  height: 52%;
  background: #020202;
  clip-path: polygon(18% 0, 82% 0, 100% 20%, 84% 100%, 16% 100%, 0 20%);
}
.vista-warrior b::before {
  content: "";
  position: absolute;
  inset: 9% 17% 14%;
  background:
    linear-gradient(90deg, transparent 0 28%, rgba(140,25,28,0.34) 29% 32%, transparent 33% 66%, rgba(140,25,28,0.34) 67% 70%, transparent 71%),
    repeating-linear-gradient(180deg, transparent 0 13%, rgba(255,255,255,0.07) 14% 15%);
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
}
.vista-warrior b::after {
  content: "11";
  position: absolute;
  left: 50%;
  top: 34%;
  color: rgba(160,20,24,0.72);
  font-family: var(--font-numeral);
  font-size: clamp(0.62rem, 1.1vw, 1rem);
  letter-spacing: -0.12em;
  transform: translateX(-50%);
}
.vista-warrior i::before {
  content: "";
  position: absolute;
  left: -38%;
  top: -23%;
  width: 176%;
  height: 32%;
  border-top: 3px solid #020202;
  border-radius: 50%;
  background: linear-gradient(180deg, transparent 42%, #020202 44% 68%, transparent 70%);
}
.vista-warrior i::after {
  content: "";
  position: absolute;
  right: 15%;
  bottom: 6%;
  left: 15%;
  height: 22%;
  border-bottom: 1px solid rgba(145,25,28,0.42);
  background: repeating-linear-gradient(90deg, transparent 0 4px, rgba(255,255,255,0.08) 5px 6px);
}
.vista-warrior span {
  position: absolute;
  top: 30%;
  left: 52%;
  width: 112%;
  height: 3px;
  background: linear-gradient(90deg, #050505, #a8a8a8 38%, #151515);
  transform: rotate(55deg);
  transform-origin: left center;
}
.vista-warrior span::before {
  content: "";
  position: absolute;
  left: -7px;
  top: -5px;
  width: 13px;
  height: 13px;
  border: 2px solid #121212;
  border-radius: 50%;
}
.vista-warrior span::after {
  content: "";
  position: absolute;
  right: 0;
  top: -1px;
  width: 34%;
  height: 1px;
  background: rgba(235,235,230,0.62);
  box-shadow: 0 0 4px rgba(255,255,255,0.32);
}
.vista-warrior::before {
  content: "";
  position: absolute;
  left: 25%;
  bottom: 0;
  width: 50%;
  height: 40%;
  background: linear-gradient(90deg, #020202 0 43%, transparent 44% 56%, #020202 57% 100%);
}
.vista-warrior::after {
  content: "";
  position: absolute;
  top: 11%;
  left: 42%;
  width: 145%;
  height: 2px;
  background: linear-gradient(90deg, #ff3434, rgba(255,20,25,0.7) 34%, transparent 100%);
  box-shadow: 0 0 6px #f00, 0 0 15px rgba(255,0,0,0.76);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
}
.vista-warrior--center b { top: 28%; transform: rotate(-10deg); }
.vista-warrior--center i { top: 12%; }
.vista-warrior--center span { top: 40%; transform: rotate(-18deg); }
.vista-ground {
  position: absolute;
  right: -5%;
  bottom: -6%;
  left: -5%;
  z-index: 8;
  height: 20%;
  background: #020202;
  clip-path: polygon(0 40%, 12% 28%, 24% 34%, 36% 18%, 52% 32%, 66% 20%, 82% 35%, 100% 24%, 100% 100%, 0 100%);
}
.preloader.is-majestic .vista-clouds { animation: cloudsPart 4.2s ease-out both; }
.preloader.is-majestic .vista-portal { animation: portalAwaken 1.65s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both; }
.preloader.is-majestic .vista-mountains { animation: mountainRise 1.55s cubic-bezier(0.16, 1, 0.3, 1) both; }
.preloader.is-majestic .vista-mountains--back { animation-delay: 0.05s; }
.preloader.is-majestic .vista-mountains--front { animation-delay: 0.18s; }
.preloader.is-majestic .vista-torii { animation: toriiDescend 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both; }
.preloader.is-majestic .vista-pagoda { animation: pagodaReveal 1s ease 0.62s both; }
.preloader.is-majestic .vista-pagoda--right { animation-delay: 0.76s; }
.preloader.is-majestic .vista-pagoda::before { animation: shrineWindows 1.7s steps(2, end) 0.9s both; }
.preloader.is-majestic .vista-pine { animation: pineReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.54s both; }
.preloader.is-majestic .vista-pine--right { animation-delay: 0.68s; }
.preloader.is-majestic .vista-lantern { animation: lanternRise 1s ease 0.95s both; }
.preloader.is-majestic .vista-lantern--right { animation-delay: 1.08s; }
.preloader.is-majestic .vista-lantern i { animation: lanternPulse 1.45s ease-in-out 1.15s infinite alternate; }
.preloader.is-majestic .vista-warrior { animation: warriorRise 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both; }
.preloader.is-majestic .vista-warrior--center { animation-delay: 0.86s; }
.preloader.is-majestic .vista-warrior--right { animation-delay: 1s; }
.preloader.is-majestic .vista-warrior::after { animation: eyeFlare 0.8s ease 1.32s both; }
.preloader.is-majestic .vista-portal i { animation: fracturePulse 1.3s ease-in-out 0.7s infinite alternate; }
.preloader.is-majestic .vista-torii span b { animation: shideSway 1.8s ease-in-out 0.75s infinite alternate; }
.preloader.is-majestic .vista-embers i { animation: emberRise 2.8s ease-out var(--ember-delay) infinite; }
.preloader__vista-meta {
  position: absolute;
  right: clamp(24px, 5vw, 82px);
  bottom: clamp(24px, 5vw, 66px);
  left: clamp(24px, 5vw, 82px);
  z-index: 12;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.55);
  color: #fff;
  opacity: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
  transform: translateY(12px);
  transition: opacity 0.7s ease 1.4s, transform 0.7s ease 1.4s;
}
.preloader.is-majestic .preloader__vista-meta { opacity: 1; transform: translateY(0); }
.preloader.is-departing .preloader__vista-meta { opacity: 0; transform: translateY(8px); transition-delay: 0s; }
.preloader__vista-meta span {
  font-family: "Gaijin Shodo", var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2.5rem);
  letter-spacing: 0.06em;
}
.preloader__vista-meta small {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.preloader__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 50.15%;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(13,13,13,0.28) 50%, transparent calc(50% + 1px)),
    repeating-linear-gradient(0deg, transparent 0 115px, rgba(13,13,13,0.18) 116px 118px),
    repeating-linear-gradient(90deg, transparent 0 115px, rgba(13,13,13,0.18) 116px 118px),
    linear-gradient(135deg, #f9f7ef, #d8d3c5);
  box-shadow: inset 0 0 80px rgba(71,49,25,0.12);
  transition: transform 1.55s cubic-bezier(0.77, 0, 0.18, 1) 0.05s;
}
.preloader__panel::before,
.preloader__panel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 13px;
  background: #111;
  box-shadow: 0 0 0 3px #a0171b;
}
.preloader__panel--left { left: 0; border-right: 1px solid #111; }
.preloader__panel--right { right: 0; border-left: 1px solid #111; }
.preloader__panel--left::after { right: 0; }
.preloader__panel--right::before { left: 0; }
.preloader.is-opening .preloader__panel--left,
.preloader.is-majestic .preloader__panel--left { transform: translateX(-102%); }
.preloader.is-opening .preloader__panel--right,
.preloader.is-majestic .preloader__panel--right { transform: translateX(102%); }

.preloader__content {
  position: relative;
  z-index: 3;
  width: min(470px, calc(100vw - 42px));
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px;
  border: 1px solid rgba(255,255,255,0.42);
  background: linear-gradient(90deg, transparent 0 49.8%, rgba(255,255,255,0.06) 50%, transparent 50.2%), #0b0b0b;
  box-shadow: 0 28px 80px rgba(0,0,0,0.32), inset 0 0 0 8px #0b0b0b, inset 0 0 0 9px rgba(255,255,255,0.12);
  text-align: center;
  transition: opacity 0.38s ease, transform 0.55s cubic-bezier(0.7, 0, 0.3, 1), filter 0.4s ease;
}
.preloader.is-opening .preloader__content,
.preloader.is-majestic .preloader__content {
  opacity: 0;
  filter: blur(8px);
  transform: scale(0.9);
  pointer-events: none;
}
.preloader__sigil {
  width: 88px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border: 2px solid #6e0b0f;
  background: #a0171b;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.12), 0 12px 28px rgba(0,0,0,0.32);
  transform: rotate(-2deg);
}
.preloader__sigil img {
  width: auto;
  height: 78%;
  max-width: 72%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.preloader__status {
  margin: 0 0 14px;
  color: rgba(255,255,255,0.62);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.preloader__status span {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 7px 1px 0;
  border-radius: 50%;
  background: #c41e23;
  box-shadow: 0 0 12px #c41e23;
  animation: signalPulse 1.1s steps(2, end) infinite;
}
.preloader__content h1 {
  margin: 0 0 34px;
  font-family: "Gaijin Shodo", var(--font-display);
  font-size: clamp(3rem, 8vw, 4.8rem);
  font-weight: 400;
  line-height: 0.74;
  letter-spacing: 0.035em;
}
.preloader__enter {
  width: min(270px, 100%);
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 0 19px 0 24px;
  border: 1px solid rgba(255,255,255,0.56);
  background: #f5f2e9;
  color: #111;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease, color 0.25s ease, background 0.25s ease;
}
.preloader.is-ready .preloader__enter { opacity: 1; transform: translateY(0); }
.preloader__enter:hover,
.preloader__enter:focus-visible { background: #a0171b; color: #fff; }
.preloader__enter span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-align: left;
  text-transform: uppercase;
}
.preloader__enter small {
  color: currentColor;
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  opacity: 0.62;
  text-transform: uppercase;
}
.preloader__note {
  margin: 16px 0 0;
  color: rgba(255,255,255,0.38);
  font-size: 0.53rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sound-toggle {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 110;
  min-width: 126px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.5);
  background: #111;
  color: #fff;
  box-shadow: 0 12px 34px rgba(0,0,0,0.25);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease, background 0.25s ease, color 0.25s ease;
}
.sound-toggle[hidden] { display: none; }
body.experience-started .sound-toggle,
body.intro-started .sound-toggle {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sound-toggle:hover,
.sound-toggle:focus-visible { background: #f5f2e9; color: #111; }
.sound-toggle__bars {
  height: 16px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.sound-toggle__bars i {
  width: 2px;
  height: 4px;
  display: block;
  background: currentColor;
  animation: soundMeter 0.8s ease-in-out infinite alternate;
}
.sound-toggle__bars i:nth-child(2) { height: 11px; animation-delay: -0.42s; }
.sound-toggle__bars i:nth-child(3) { height: 15px; animation-delay: -0.2s; }
.sound-toggle__bars i:nth-child(4) { height: 8px; animation-delay: -0.58s; }
.sound-toggle[aria-pressed="false"] .sound-toggle__bars i { height: 2px; animation-play-state: paused; }
.sound-toggle__label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.site-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  width: min(1540px, calc(100vw - 48px));
  min-height: calc(100vh - 64px);
  margin: 24px auto;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0,0,0,0.03);
  overflow: hidden;
}

.side-rail {
  position: sticky;
  top: 0;
  min-height: calc(100vh - 64px);
  padding: 42px 30px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(239,238,234,0.84)),
    radial-gradient(circle at 0 25%, rgba(0,0,0,0.06), transparent 16rem);
  backdrop-filter: blur(20px);
}

.brand {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 88px;
  height: 50px;
}
.brand img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: auto;
  display: block;
  transform: translate(-50%, -50%);
}

.nav-list {
  display: grid;
  gap: 27px;
  margin-top: 96px;
  width: 100%;
}

.nav-list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-list a span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 0 transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--text);
  transform: translateX(3px);
}
.nav-list a:hover span,
.nav-list a.active span {
  background: var(--red);
  box-shadow: 0 0 16px var(--red);
}

.stamp {
  margin: auto auto 0;
  width: 42px;
  min-height: 122px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  padding: 12px 0;
  color: var(--red);
  font-family: var(--font-display);
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.1em;
}

.stamp span { display: block; }

.socials {
  display: flex;
  gap: 19px;
  align-items: center;
  margin-top: 76px;
  color: var(--muted);
}
.socials a { font-size: 0.94rem; transition: color 0.25s ease, transform 0.25s ease; }
.socials a:hover { color: var(--red); transform: translateY(-2px); }

.content-frame { position: relative; min-width: 0; }

.top-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}
.top-bar p {
  grid-column: 2;
  justify-self: center;
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: 0.66rem;
}
.top-brand {
  display: none;
  position: relative;
  width: 94px;
  height: 36px;
}
.top-brand img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: auto;
  transform: translate(-50%, -50%);
}
.top-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 26px;
}
.cart-button,
.menu-button {
  background: transparent;
  border: 0;
  cursor: pointer;
}
.cart-button {
  position: relative;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}
.cart-button::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  top: 50%;
  left: -12px;
  transform: translateY(-50%);
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--red);
}
.cart-button span { color: var(--red); }
.menu-button {
  display: grid;
  gap: 4px;
  width: 30px;
  padding: 0;
}
.menu-button i {
  display: block;
  height: 2px;
  background: var(--text);
  transform-origin: center;
  transition: transform 0.25s ease, background 0.25s ease;
}
.menu-button:hover i { background: var(--red); }

.hero {
  min-height: clamp(570px, 68vh, 720px);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 72%, rgba(0, 0, 0, 0.1), transparent 28%),
    radial-gradient(ellipse at 50% 38%, rgba(0, 0, 0, 0.05), transparent 46%),
    linear-gradient(180deg, #ffffff 0%, #f4f3ef 48%, #deddd8 100%);
  opacity: 1;
  z-index: -4;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 49.92%, rgba(0,0,0,0.16) 50%, transparent 50.08%),
    linear-gradient(180deg, transparent 0 62%, rgba(0,0,0,0.18) 62.1%, transparent 62.35%),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.035) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(180deg, rgba(0,0,0,0.025) 0 1px, transparent 1px 76px);
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 76%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 76%, transparent 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: min(740px, 84vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.4) 18%, rgba(0,0,0,0.12) 50%, rgba(0,0,0,0.4) 82%, transparent);
  box-shadow: 0 0 34px rgba(0,0,0,0.12);
  opacity: 0.7;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.07), transparent 25rem),
    linear-gradient(180deg, transparent 0 58%, rgba(0,0,0,0.03) 76%, rgba(0,0,0,0.2) 100%);
  z-index: -3;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 48%, transparent 0 18%, rgba(0,0,0,0.08) 70%, rgba(0,0,0,0.18) 100%);
  z-index: -2;
  pointer-events: none;
}

.hero-scene {
  position: relative;
  width: min(720px, 74vw);
  height: min(500px, 60vh);
  display: grid;
  place-items: center;
  perspective: 1200px;
  transform: perspective(1200px) scale(var(--scene-scale, 1)) rotateY(var(--scene-y, 0deg)) rotateX(var(--scene-x, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
}

.red-orbit {
  position: absolute;
  width: min(430px, 48vw);
  aspect-ratio: 1;
  border: 1px solid rgba(126,16,20,0.2);
  border-radius: 50%;
  background: radial-gradient(circle at 43% 38%, rgba(190,34,38,0.88), rgba(145,16,21,0.9) 66%, rgba(103,10,14,0.92));
  box-shadow: 0 0 55px rgba(139,18,22,0.14), inset 0 0 42px rgba(70,0,0,0.13);
  opacity: 0.18;
  transform: translateZ(-180px) rotateX(9deg);
  animation: orbitPulse 3.6s ease-in-out infinite alternate;
}
.sun-dot {
  position: absolute;
  top: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 22px var(--red);
}
.blade-light {
  position: absolute;
  top: 82px;
  bottom: 70px;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.9), transparent);
  box-shadow: 0 0 42px 12px rgba(0, 0, 0, 0.38);
  animation: bladeFlicker 3s linear infinite;
}

.mountains {
  position: absolute;
  bottom: 58px;
  width: 210px;
  height: 118px;
  opacity: 0.14;
  filter: blur(0.8px);
}
.mountains--left {
  left: -104px;
  background: linear-gradient(135deg, transparent 0 43%, rgba(255,255,255,0.12) 43% 45%, rgba(0,0,0,0.92) 45% 100%);
  clip-path: polygon(0 100%, 14% 48%, 22% 78%, 35% 28%, 48% 75%, 61% 43%, 72% 82%, 100% 100%);
}
.mountains--right {
  right: -104px;
  background: linear-gradient(225deg, transparent 0 45%, rgba(255,255,255,0.14) 45% 47%, rgba(0,0,0,0.92) 47% 100%);
  clip-path: polygon(0 100%, 20% 54%, 36% 84%, 50% 20%, 62% 76%, 74% 42%, 88% 79%, 100% 100%);
}

.samurai {
  position: absolute;
  bottom: 44px;
  z-index: 1;
  width: 124px;
  height: 250px;
  opacity: 0.52;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,0.72));
  transform: translateZ(-30px);
}
.samurai--left { left: -94px; }
.samurai--right { right: -94px; transform: scaleX(-1) translateZ(-30px); }
.samurai__head,
.samurai__torso,
.samurai__legs,
.samurai__sword { position: absolute; display: block; }
.samurai__head {
  top: 20px;
  left: 43px;
  width: 38px;
  height: 45px;
  border: 1px solid rgba(214,220,220,0.22);
  border-radius: 48% 48% 42% 42%;
  background: radial-gradient(circle at 38% 24%, rgba(255,255,255,0.16), transparent 18%), linear-gradient(115deg, #1c2325, #050708 66%);
  box-shadow: 0 0 20px rgba(0,0,0,0.12);
}
.samurai__head::before {
  content: "";
  position: absolute;
  top: -11px;
  left: -13px;
  width: 62px;
  height: 18px;
  border-top: 2px solid rgba(214,220,220,0.28);
  border-radius: 50%;
  transform: rotate(-3deg);
}
.samurai__head::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -3px;
  height: 17px;
  border: 1px solid rgba(0,0,0,0.26);
  border-top: 0;
  background: rgba(2,3,4,0.72);
}
.samurai__torso {
  top: 65px;
  left: 25px;
  width: 74px;
  height: 116px;
  border: 1px solid rgba(214,220,220,0.2);
  background:
    linear-gradient(90deg, transparent 0 19%, rgba(214,220,220,0.16) 20% 22%, transparent 23% 48%, rgba(214,220,220,0.12) 49% 51%, transparent 52% 78%, rgba(214,220,220,0.12) 79% 81%, transparent 82%),
    linear-gradient(145deg, #202829, #060809 62%);
  clip-path: polygon(18% 0, 82% 0, 100% 18%, 86% 100%, 14% 100%, 0 18%);
  box-shadow: inset 0 -20px 24px rgba(0,0,0,0.1);
}
.samurai__torso::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -11px;
  width: 94px;
  height: 27px;
  border: 1px solid rgba(214,220,220,0.18);
  border-radius: 50%;
  transform: rotate(-4deg);
}
.samurai__torso::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 23px;
  height: 1px;
  background: rgba(0,0,0,0.34);
  box-shadow: 0 12px 0 rgba(255,255,255,0.1), 0 24px 0 rgba(255,255,255,0.08);
}
.samurai__legs {
  left: 37px;
  bottom: 0;
  width: 50px;
  height: 78px;
  background: linear-gradient(90deg, transparent 0 31%, #101516 32% 47%, transparent 48% 52%, #101516 53% 68%, transparent 69%);
  border-bottom: 1px solid rgba(214,220,220,0.14);
}
.samurai__sword {
  left: 54px;
  bottom: 50px;
  width: 178px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0,0,0,0.12), rgba(220,226,226,0.7) 22%, rgba(255,255,255,0.1));
  transform: rotate(-24deg);
  transform-origin: left center;
  box-shadow: 0 0 12px rgba(214,220,220,0.16);
}
.samurai__sword::after {
  content: "";
  position: absolute;
  left: -8px;
  top: -5px;
  width: 16px;
  height: 10px;
  border: 1px solid rgba(0,0,0,0.42);
  border-radius: 50%;
}

.monolith {
  --banner-height: clamp(245px, 31vw, 342px);
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  grid-template-columns: repeat(4, minmax(70px, 1fr));
  align-items: center;
  justify-items: center;
  gap: clamp(7px, 1vw, 13px);
  width: min(650px, 78vw);
  justify-content: center;
  z-index: 3;
  transform: translate(-50%, -50%) rotateX(3deg) translateZ(74px);
  filter: drop-shadow(0 24px 19px rgba(0,0,0,0.32));
  animation: floatMonolith 5s ease-in-out infinite;
}
.monolith::before,
.monolith::after {
  content: "";
  position: absolute;
  right: -7%;
  left: -7%;
  z-index: -1;
  pointer-events: none;
}
.monolith::before {
  top: -19px;
  height: 9px;
  background: #111;
  clip-path: polygon(0 45%, 3% 0, 97% 0, 100% 45%, 98% 100%, 2% 100%);
}
.monolith::after {
  top: -7px;
  height: 3px;
  background: #a0171b;
}

.digit {
  position: relative;
  z-index: 1;
  height: var(--banner-height);
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.2);
  background:
    radial-gradient(circle at 28% 20%, rgba(0,0,0,0.035) 0 1px, transparent 1.5px),
    repeating-linear-gradient(180deg, transparent 0 35px, rgba(0,0,0,0.025) 36px 37px),
    linear-gradient(145deg, #fbfaf4, #e4e0d4 72%);
  background-size: 27px 31px, auto, auto;
  box-shadow: inset 0 0 32px rgba(70,54,35,0.055), 0 16px 28px rgba(0,0,0,0.16);
  color: #111;
  clip-path: polygon(2% 0, 98% 0, 100% 90%, 76% 100%, 50% 94%, 24% 100%, 0 90%);
  transform: translateY(-4px);
}
.digit:nth-child(2),
.digit:nth-child(4) {
  border-color: rgba(0,0,0,0.24);
  background:
    radial-gradient(circle at 68% 32%, rgba(0,0,0,0.04) 0 1px, transparent 1.5px),
    repeating-linear-gradient(180deg, transparent 0 35px, rgba(0,0,0,0.03) 36px 37px),
    linear-gradient(145deg, #f0ede2, #d4cfc0 75%);
  background-size: 29px 33px, auto, auto;
  color: #111;
  transform: translateY(5px);
}
.digit__kanji {
  position: relative;
  z-index: 2;
  display: block;
  font-family: "Gaijin Shodo", var(--font-numeral);
  font-size: clamp(8.8rem, 16vw, 13rem);
  font-weight: 400;
  line-height: 0.86;
  color: #111;
  filter: contrast(1.18) drop-shadow(3px 3px 0 rgba(160,23,27,0.2));
  transform: translateY(-5px) rotate(-0.4deg);
}
.digit:nth-child(2) .digit__kanji { transform: translateY(-2px) rotate(0.8deg); }
.digit:nth-child(3) .digit__kanji { transform: translateY(-7px) rotate(-0.7deg); }
.digit:nth-child(4) .digit__kanji { transform: translateY(0) rotate(0.45deg); }
.digit::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 12px;
  border-bottom: 1px solid currentColor;
  background: linear-gradient(180deg, rgba(160,23,27,0.8), rgba(160,23,27,0.3));
  opacity: 0.75;
}
.digit::after {
  content: "一";
  position: absolute;
  right: 12px;
  bottom: 22px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 2px solid #a0171b;
  background: rgba(160,23,27,0.04);
  color: #a0171b;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.82;
  pointer-events: none;
}
.project-word {
  position: absolute;
  right: calc(100% + 9px);
  top: 50%;
  width: clamp(44px, 4vw, 54px);
  height: calc(var(--banner-height) - 10px);
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(145deg, #202020, #050505 72%);
  border: 3px solid #111;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28), 0 10px 18px rgba(0,0,0,0.2);
  font-family: "Gaijin Shodo", var(--font-display);
  text-transform: uppercase;
  font-size: clamp(0.78rem, 1vw, 0.96rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 50% 100%, 0 94%);
  -webkit-text-stroke: 0.35px rgba(255,255,255,0.7);
  text-shadow: 0 1px 0 #000, 0 0 5px rgba(255,255,255,0.28);
}
.project-word::before {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  left: 7px;
  height: 3px;
  background: #a0171b;
}
.project-word__letters {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--banner-height) - 3.4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
}
.project-word__letters > span {
  display: block;
  flex: 0 0 auto;
  line-height: 1;
}
.monolith-seal {
  position: absolute;
  right: -31px;
  bottom: -19px;
  z-index: 4;
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid #751015;
  background: #a0171b;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2), inset 0 0 0 3px rgba(255,255,255,0.15);
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  line-height: 1;
  transform: rotate(-3deg);
}
.monolith-seal img {
  display: block;
  width: auto;
  height: 80%;
  max-width: 76%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

body.has-opening .top-bar {
  opacity: 0;
  transform: translateY(-18px);
}
body.intro-complete .top-bar {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
body.has-opening .hero-scene {
  opacity: 0;
  filter: blur(15px) contrast(1.28);
}
body.intro-started .hero-scene {
  opacity: 1;
  filter: none;
  animation: heroSceneArrival 1.55s cubic-bezier(0.16, 1, 0.3, 1) 0.52s both;
}
body.has-opening .monolith { opacity: 0; }
body.intro-started .monolith {
  opacity: 1;
  animation: heroMonolithReveal 1.25s cubic-bezier(0.16, 1, 0.3, 1) 0.78s both, floatMonolith 5s ease-in-out 2.15s infinite;
}
body.has-opening .samurai { opacity: 0; }
body.intro-started .samurai {
  opacity: 0.52;
  animation: heroGuardianReveal 1.15s ease 1.08s both;
}
body.has-opening .hero .enter-button,
body.has-opening .scroll-cue { opacity: 0; }
body.intro-complete .hero .enter-button,
body.intro-complete .scroll-cue {
  opacity: 1;
  transition: opacity 0.7s ease 0.22s, color 0.25s ease, background 0.25s ease;
}

.enter-button {
  position: absolute;
  bottom: 2px;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 216px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid rgba(0, 0, 0, 0.76);
  background: rgba(255,255,255,0.62);
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.64rem;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.enter-button:hover {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 0 34px rgba(0, 0, 0, 0.3);
}

.scroll-cue {
  position: absolute;
  right: 4.5%;
  top: 54%;
  display: grid;
  justify-items: center;
  gap: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.66rem;
  text-align: center;
}
.scroll-cue i {
  width: 1px;
  height: 78px;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), var(--red));
  position: relative;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 5px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
  animation: cueDot 1.6s ease-in-out infinite;
}

.fog {
  position: absolute;
  bottom: 16px;
  width: 32vw;
  height: 140px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.07), transparent 70%);
  filter: blur(26px);
  opacity: 0.7;
  z-index: -1;
  animation: fogMove 9s ease-in-out infinite alternate;
}
.fog--left { left: 0; }
.fog--right { right: 0; animation-delay: -4s; }

.intro {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.55fr);
  gap: clamp(28px, 4vw, 64px);
  padding: 72px clamp(28px, 5vw, 72px) 84px;
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f4f3ef);
}

.intro::before {
  content: "";
  position: absolute;
  top: 30px;
  left: clamp(28px, 5vw, 72px);
  right: clamp(28px, 5vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, var(--red), rgba(0,0,0,0.12) 30%, transparent);
  opacity: 0.7;
}

.intro-copy { min-width: 0; padding-top: 20px; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.7rem;
  font-weight: 700;
}
.intro h1,
.panel-copy h2,
.store-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.96;
  letter-spacing: -0.04em;
}
.intro h1 {
  max-width: 100%;
  font-size: clamp(2.4rem, 3vw, 3.3rem);
  white-space: nowrap;
}
.redline {
  margin: 28px 0 23px;
  color: var(--red);
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  font-weight: 700;
}
.intro-copy > p:not(.eyebrow):not(.redline),
.store-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.92rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  border-bottom: 1px solid rgba(0,0,0,0.16);
  padding-bottom: 9px;
  transition: color 0.25s ease;
}
.text-link span { color: var(--red); }
.text-link:hover { color: var(--text); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-self: end;
}
.feature-card {
  position: relative;
  min-height: 268px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,0.025);
  transform-style: preserve-3d;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.feature-card:hover {
  border-color: rgba(0,0,0,0.6);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 38px rgba(0,0,0,0.11);
}
.card-art {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: none;
  filter: saturate(0.98) brightness(1) contrast(1.08);
}
.feature-card:hover .card-art,
.feature-card:focus-visible .card-art { transform: none; filter: saturate(0.98) brightness(1) contrast(1.08); }
.card-art--samurai {
  background-image:
    linear-gradient(180deg, transparent 48%, rgba(0,0,0,0.26)),
    url("assets/campaign/gate-17.jpeg");
  background-position: center 48%;
  background-size: cover;
}
.card-art--compression {
  background-image:
    linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.3)),
    url("assets/campaign/compression-back.jpeg");
  background-position: center 43%;
  background-size: cover;
}
.card-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-top: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.69rem;
  transform: translateZ(40px);
}
.card-label span { color: var(--red); }

.motif-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(0,0,0,0.18);
}
.motif {
  position: relative;
  min-height: 250px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f5f4f0;
}
.motif--enso span {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 16deg, #111 0 79%, transparent 79% 88%, #111 88% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 13px), #000 calc(100% - 12px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 13px), #000 calc(100% - 12px));
  transform: rotate(-8deg);
}
.motif--enso::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  right: 22%;
  top: 31%;
  border-radius: 50%;
  background: #111;
}
.motif--kumiko {
  background-color: #111;
  background-image:
    repeating-linear-gradient(60deg, transparent 0 26px, rgba(255,255,255,0.52) 27px 28px, transparent 29px 54px),
    repeating-linear-gradient(-60deg, transparent 0 26px, rgba(255,255,255,0.52) 27px 28px, transparent 29px 54px);
}
.motif--kumiko span {
  width: 84px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.9);
  transform: rotate(45deg);
  background: #111;
  box-shadow: 0 0 0 18px #111, 0 0 0 19px rgba(255,255,255,0.65);
}
.motif--torii span {
  position: relative;
  width: 82px;
  height: 108px;
  border-left: 10px solid #111;
  border-right: 10px solid #111;
}
.motif--torii span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  width: 146px;
  height: 11px;
  transform: translateX(-50%) skewX(-10deg);
  background: #111;
  box-shadow: 0 19px 0 -2px #111;
}
.motif--torii span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 112px;
  height: 8px;
  transform: translateX(-50%);
  background: #111;
}
.motif--seal {
  grid-template-columns: auto auto;
  align-content: center;
  gap: 14px;
  color: #fff;
  background: #111;
}
.motif--seal span {
  font-family: var(--font-display);
  font-size: 4.6rem;
  line-height: 1;
  writing-mode: vertical-rl;
}
.motif--seal small {
  padding: 8px 5px;
  border: 1px solid rgba(255,255,255,0.76);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.store-panel {
  padding: clamp(88px, 10vw, 140px) clamp(28px, 5vw, 72px);
  border-top: 1px solid rgba(0,0,0,0.1);
  background:
    radial-gradient(circle at 80% 30%, rgba(0,0,0,0.11), transparent 26rem),
    #f4f3ef;
}
.store-card h2 { font-size: clamp(2.6rem, 6vw, 6rem); max-width: 900px; }

.store-panel { display: grid; place-items: center; }
.store-card {
  position: relative;
  width: min(1080px, 100%);
  min-height: 480px;
  display: grid;
  align-content: end;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0 34%, rgba(255,255,255,0.72) 48%, rgba(255,255,255,0.08) 78%),
    url("assets/campaign/gate-18.jpeg") center 48% / cover no-repeat;
  box-shadow: 0 28px 70px rgba(0,0,0,0.12);
  overflow: hidden;
}
.store-card::before {
  display: none;
}
.store-card h2 { max-width: 470px; }
.store-card .eyebrow { color: #111; }
.store-card .enter-button {
  position: relative;
  left: 0;
  bottom: 0;
  transform: none;
  margin-top: 24px;
}

.page-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-content: end;
  padding: clamp(76px, 10vw, 138px) clamp(28px, 5vw, 72px) 58px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  background:
    radial-gradient(circle at 76% 58%, rgba(0,0,0,0.16), transparent 22rem),
    linear-gradient(135deg, #ffffff, #e9e8e3 70%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 49.92%, rgba(0,0,0,0.12) 50%, transparent 50.08%),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.03) 0 1px, transparent 1px 82px),
    repeating-linear-gradient(180deg, rgba(0,0,0,0.025) 0 1px, transparent 1px 82px);
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 36%, #000 80%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 36%, #000 80%, transparent);
  z-index: -1;
}
.page-hero::after {
  content: "1111";
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: -0.18em;
  color: rgba(0,0,0,0.05);
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 20rem);
  letter-spacing: -0.12em;
  line-height: 0.8;
  pointer-events: none;
  z-index: -1;
}
.page-hero--store {
  background:
    radial-gradient(circle at 74% 44%, rgba(0,0,0,0.2), transparent 24rem),
    linear-gradient(135deg, #ffffff, #e3e2dd 70%);
}
.page-hero__line {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.64rem;
}
.page-hero__line span:last-child { color: var(--red); }
.page-hero h1 {
  position: relative;
  z-index: 1;
  margin: 24px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 10rem);
  max-width: 100%;
  overflow-wrap: anywhere;
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}
.page-hero p {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.94rem;
}

.gallery-page,
.store-page {
  padding: clamp(54px, 7vw, 96px) clamp(28px, 5vw, 72px);
  background: linear-gradient(180deg, #ffffff, #f1f0ec);
}
.gallery-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(0,0,0,0.07), transparent 34rem),
    linear-gradient(180deg, #f8f7f3, #e8e6df);
}
.gallery-collection + .gallery-collection {
  margin-top: clamp(76px, 10vw, 140px);
}
.product-collection + .product-collection {
  margin-top: clamp(76px, 10vw, 140px);
  padding-top: clamp(54px, 7vw, 90px);
  border-top: 1px solid var(--line-strong);
}
.gallery-collection {
  position: relative;
  padding: clamp(58px, 7vw, 92px) clamp(24px, 4vw, 58px) clamp(98px, 10vw, 132px);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, transparent calc(100% - 76px), rgba(0,0,0,0.04) calc(100% - 75px), rgba(0,0,0,0.1) 100%),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(0,0,0,0.045) 120px 121px),
    repeating-linear-gradient(180deg, transparent 0 119px, rgba(0,0,0,0.035) 120px 121px),
    radial-gradient(circle at 50% 12%, #ffffff, #efede6 74%);
  box-shadow: inset 0 30px 70px rgba(0,0,0,0.04), 0 34px 80px rgba(0,0,0,0.11);
  overflow: hidden;
  isolation: isolate;
}
.gallery-collection::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 12px;
  background: #111;
  box-shadow: 0 9px 0 rgba(0,0,0,0.08);
}
.gallery-collection::after {
  content: "十一";
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #111;
  color: #111;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}
.collection-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.gallery-collection .collection-header {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(42px, 6vw, 76px);
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0,0,0,0.22);
}
.collection-header .eyebrow { margin-bottom: 10px; }
.collection-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}
.collection-header > span {
  padding-bottom: 5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.64rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 76px) clamp(20px, 3vw, 42px);
  align-items: center;
}
.gallery-tile {
  position: relative;
  grid-column: span 4;
  min-height: 330px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  transform-style: preserve-3d;
  transition: filter 0.35s ease, transform 0.35s ease;
}
.gallery-tile--wide { grid-column: span 7; min-height: 430px; }
.gallery-tile--tall { grid-column: span 5; min-height: 430px; }
.gallery-tile:hover {
  filter: drop-shadow(0 22px 24px rgba(0,0,0,0.18));
}
.gallery-tile:focus-visible,
.product-card:focus-visible {
  outline: 1px solid #111;
  outline-offset: 4px;
}
.gallery-art {
  position: absolute;
  inset: 18px 18px 70px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.55);
  background: #d8d6cf;
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
  filter: saturate(0.98) brightness(1) contrast(1.08);
  transition: box-shadow 0.4s ease;
}
.gallery-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.gallery-tile:hover .gallery-art {
  transform: none;
  filter: saturate(0.98) brightness(1) contrast(1.08);
  box-shadow: 0 22px 46px rgba(0,0,0,0.24);
}
.gallery-tile:focus-visible .gallery-art {
  transform: none;
  filter: saturate(0.98) brightness(1) contrast(1.08);
}
.gallery-tile__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 4px;
  border-top: 1px solid rgba(0,0,0,0.32);
  background: transparent;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.66rem;
}
.gallery-tile__caption span:first-child { color: var(--red); }

/* Framing system: architectural references rendered as flat gallery objects. */
.gallery-frame--shoji {
  border: 8px solid #111;
  background: #f8f7f2;
  box-shadow: 0 22px 46px rgba(0,0,0,0.18);
}
.gallery-frame--shoji::before {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: 2;
  border: 1px solid rgba(0,0,0,0.45);
  pointer-events: none;
}
.gallery-frame--shoji .gallery-art { inset: 24px 24px 78px; }
.gallery-frame--shoji .gallery-tile__caption { right: 18px; bottom: 8px; left: 18px; }

.gallery-frame--scroll {
  min-height: 520px;
  background: linear-gradient(90deg, #dedbd2, #faf9f5 12% 88%, #dedbd2);
  box-shadow: 0 22px 46px rgba(0,0,0,0.15);
}
.gallery-frame--scroll::before,
.gallery-frame--scroll::after {
  content: "";
  position: absolute;
  right: -12px;
  left: -12px;
  z-index: 3;
  height: 10px;
  background: #111;
  box-shadow: 0 4px 0 rgba(255,255,255,0.46);
}
.gallery-frame--scroll::before { top: 8px; }
.gallery-frame--scroll::after { bottom: 64px; }
.gallery-frame--scroll .gallery-art { inset: 30px 28px 88px; }
.gallery-frame--scroll .gallery-tile__caption { right: 18px; left: 18px; }

.gallery-frame--enso::before {
  content: "";
  position: absolute;
  inset: 5px 25px 58px;
  border-radius: 50%;
  background: conic-gradient(from 18deg, #111 0 80%, transparent 80% 88%, #111 88% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
}
.gallery-frame--enso .gallery-art {
  inset: 20px 40px 76px;
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(0,0,0,0.2);
}
.gallery-frame--enso .gallery-tile__caption { right: 28px; left: 28px; }

.gallery-frame--torii::before {
  content: "";
  position: absolute;
  top: 6px;
  right: -5px;
  left: -5px;
  z-index: 3;
  height: 13px;
  background: #111;
  transform: skewX(-7deg);
  box-shadow: 0 21px 0 -3px #111;
}
.gallery-frame--torii::after {
  content: "";
  position: absolute;
  top: 27px;
  right: 20px;
  bottom: 57px;
  left: 20px;
  z-index: 2;
  border-right: 9px solid #111;
  border-left: 9px solid #111;
  pointer-events: none;
}
.gallery-frame--torii .gallery-art { inset: 52px 38px 76px; }
.gallery-frame--torii .gallery-tile__caption { right: 30px; left: 30px; }

.gallery-frame--noren {
  background: linear-gradient(90deg, #e3e0d8, #faf9f5 10% 90%, #e3e0d8);
  box-shadow: 0 22px 46px rgba(0,0,0,0.16);
}
.gallery-frame--noren::before {
  content: "";
  position: absolute;
  top: 10px;
  right: -8px;
  left: -8px;
  z-index: 4;
  height: 10px;
  background: #111;
  box-shadow: 0 4px 0 rgba(255,255,255,0.5);
}
.gallery-frame--noren::after {
  content: "";
  position: absolute;
  top: 32px;
  right: 28px;
  bottom: 78px;
  left: 28px;
  z-index: 3;
  border: 1px solid rgba(0,0,0,0.62);
  background: linear-gradient(90deg,
    transparent 0 32.8%,
    rgba(255,255,255,0.58) 33% 33.35%,
    transparent 33.55% 66.45%,
    rgba(255,255,255,0.58) 66.65% 67%,
    transparent 67.2% 100%);
  pointer-events: none;
}
.gallery-frame--noren .gallery-art {
  inset: 32px 28px 78px;
  border: 0;
  box-shadow: 0 16px 38px rgba(0,0,0,0.19);
}
.gallery-frame--noren .gallery-tile__caption { right: 22px; left: 22px; }

.gallery-frame--seal {
  border: 12px solid #111;
  background: #111;
  box-shadow: 0 22px 46px rgba(0,0,0,0.22);
}
.gallery-frame--seal::before {
  content: "十一";
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.76);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.68rem;
}
.gallery-frame--seal .gallery-art { inset: 18px 18px 76px; border-color: rgba(255,255,255,0.35); }
.gallery-frame--seal .gallery-tile__caption {
  right: 14px;
  bottom: 4px;
  left: 14px;
  border-top-color: rgba(255,255,255,0.45);
  color: #fff;
}
.gallery-frame--seal .gallery-tile__caption span:first-child { color: #fff; }
.store-intro h2,
.store-access h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 6.4rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}
.store-access > p:not(.eyebrow) {
  max-width: 540px;
  margin: 26px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.store-intro {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 0.8fr);
  gap: clamp(30px, 7vw, 120px);
  align-items: end;
  padding-bottom: clamp(56px, 8vw, 100px);
}
.home-purchase {
  padding: clamp(108px, 9vw, 148px) clamp(28px, 5vw, 72px) clamp(76px, 8vw, 116px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(239,237,230,0.82)),
    repeating-linear-gradient(90deg, transparent 0 95px, rgba(0,0,0,0.028) 96px 97px);
}
.home-purchase .purchase-panel { margin-bottom: 0; }
.store-intro > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.purchase-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  height: clamp(620px, calc(100svh - 128px), 780px);
  min-height: 0;
  margin-bottom: clamp(76px, 10vw, 140px);
  border: 1px solid var(--line-strong);
  background: #f5f3ed;
  box-shadow: 0 30px 74px rgba(0,0,0,0.13);
  overflow: visible;
}
.purchase-shrine {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
}
.purchase-shrine i { position: absolute; display: block; }
.purchase-shrine__ridge {
  top: -51px;
  left: 50%;
  width: 86px;
  height: 13px;
  background: #111;
  clip-path: polygon(8% 34%, 34% 34%, 42% 0, 58% 0, 66% 34%, 92% 34%, 100% 100%, 0 100%);
  transform: translateX(-50%);
}
.purchase-shrine__roof {
  top: -43px;
  right: -38px;
  left: -38px;
  height: 39px;
  background:
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(255,255,255,0.055) 29px 30px),
    linear-gradient(180deg, #242424, #090909);
  clip-path: polygon(0 58%, 3% 40%, 22% 43%, 39% 34%, 46% 7%, 54% 7%, 61% 34%, 78% 43%, 97% 40%, 100% 58%, 97% 85%, 62% 72%, 56% 100%, 44% 100%, 38% 72%, 3% 85%);
  filter: drop-shadow(0 9px 8px rgba(0,0,0,0.2));
}
.purchase-shrine__eave {
  top: -8px;
  right: -27px;
  left: -27px;
  height: 10px;
  border-top: 3px solid #111;
  border-bottom: 3px solid #111;
  background: #a0171b;
  clip-path: polygon(0 35%, 3% 0, 97% 0, 100% 35%, 98% 100%, 2% 100%);
}
.purchase-shrine__beam {
  top: 8px;
  right: -12px;
  left: -12px;
  height: 13px;
  border-top: 3px solid #111;
  border-bottom: 3px solid #111;
  background: #a0171b;
  box-shadow: 0 5px 0 rgba(0,0,0,0.08);
}
.purchase-shrine__bracket {
  top: 18px;
  width: 64px;
  height: 18px;
  border: 4px solid #111;
  border-top: 0;
  background: #a0171b;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
}
.purchase-shrine__bracket--left { left: 2px; }
.purchase-shrine__bracket--right { right: 2px; }
.purchase-shrine__post {
  top: 17px;
  bottom: 13px;
  width: 15px;
  border-right: 3px solid #111;
  border-left: 3px solid #111;
  background: linear-gradient(90deg, #7e1014, #b11b20 48%, #8d1115);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset;
}
.purchase-shrine__post--left { left: 21px; }
.purchase-shrine__post--right { right: 21px; }
.purchase-shrine__base {
  right: -18px;
  bottom: -16px;
  left: -18px;
  height: 15px;
  border-top: 4px solid #111;
  background: linear-gradient(180deg, #73716b, #343434);
  clip-path: polygon(3% 0, 97% 0, 100% 100%, 0 100%);
}
.purchase-shrine__plaque {
  position: absolute;
  top: -2px;
  left: 50%;
  min-width: 74px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 3px solid #111;
  background: #f0ede4;
  box-shadow: 0 0 0 2px #a0171b inset, 0 7px 16px rgba(0,0,0,0.16);
  color: #111;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
}
.purchase-panel__media {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--line-strong);
  background: #111;
}
.purchase-panel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.36));
  pointer-events: none;
  z-index: 1;
}
.purchase-panel__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #111;
  filter: saturate(1) contrast(1.04);
  transition: opacity 0.35s ease;
}
.purchase-slide-preload { display: none !important; }
.purchase-panel__checkout {
  position: absolute;
  right: 48px;
  bottom: 20px;
  z-index: 5;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.6rem;
}
.purchase-slideshow__hud {
  position: absolute;
  left: 48px;
  bottom: 16px;
  z-index: 5;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(10,10,10,0.72);
  color: #fff;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.58rem;
}
.purchase-slideshow__hud button {
  padding: 0 0 0 12px;
  border: 0;
  border-left: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: inherit;
}
.purchase-shoji {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
  visibility: hidden;
}
.purchase-shoji i {
  border-right: 1px solid rgba(17,17,17,0.35);
  background:
    linear-gradient(90deg, transparent 48%, rgba(17,17,17,0.14) 49% 51%, transparent 52%),
    repeating-linear-gradient(180deg, transparent 0 23%, rgba(17,17,17,0.12) 23.2% 23.8%),
    rgba(242,240,233,0.98);
  transform: scaleY(0);
  transform-origin: top;
}
.purchase-panel__media.is-transitioning .purchase-shoji { visibility: visible; }
.purchase-panel__media.is-transitioning .purchase-shoji i { animation: purchaseShoji 1.12s cubic-bezier(0.76, 0, 0.24, 1) both; }
.purchase-panel__media.is-transitioning .purchase-shoji i:nth-child(2) { animation-delay: 0.04s; }
.purchase-panel__media.is-transitioning .purchase-shoji i:nth-child(3) { animation-delay: 0.08s; }
.purchase-panel__media.is-transitioning .purchase-shoji i:nth-child(4) { animation-delay: 0.12s; }
.purchase-panel__details {
  min-width: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(68px, 6vw, 92px) clamp(48px, 5vw, 72px) clamp(42px, 5vw, 72px);
}
.purchase-panel__details h2 {
  max-width: 100%;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 4vw, 4.4rem);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: keep-all;
}
.purchase-panel__details h2 span { display: block; white-space: nowrap; }
.purchase-panel__price {
  margin: 28px 0 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-family: var(--font-display);
}
.purchase-price__before {
  color: var(--muted);
  font-size: 1.35rem;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.purchase-price__current {
  color: #b31319;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
}
.purchase-price__saving {
  padding: 6px 9px;
  background: #111;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.purchase-panel__description {
  max-width: 480px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.shopify-size-fieldset {
  min-width: 0;
  margin: 36px 0 0;
  padding: 0;
  border: 0;
}
.shopify-size-fieldset legend {
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.66rem;
  font-weight: 700;
}
.shopify-size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.shopify-fit-fieldset { margin-top: 30px; }
.shopify-product-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.shopify-product-options button {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.shopify-product-options button span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.shopify-product-options button:hover,
.shopify-product-options button.is-selected {
  border-color: #111;
  background: #111;
  color: #fff;
}
.shopify-product-options button:hover span,
.shopify-product-options button.is-selected span { color: rgba(255,255,255,0.65); }
.shopify-size-options button {
  min-width: 54px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.shopify-size-options button:hover,
.shopify-size-options button.is-selected {
  border-color: #111;
  background: #111;
  color: #fff;
}
.shopify-size-options button:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  text-decoration: line-through;
}
.shopify-purchase-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 10px;
  margin-top: 26px;
}
.shopify-quantity {
  height: 50px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  border: 1px solid var(--line-strong);
}
.shopify-quantity button,
.shopify-quantity input {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: center;
}
.shopify-quantity button { cursor: pointer; font-size: 1.1rem; }
.shopify-quantity input {
  appearance: textfield;
  font: inherit;
}
.shopify-quantity input::-webkit-inner-spin-button,
.shopify-quantity input::-webkit-outer-spin-button { appearance: none; }
.shopify-add-button,
.shopify-checkout-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.66rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}
.shopify-add-button:hover,
.shopify-checkout-button:hover { background: #fff; color: #111; }
.shopify-add-button:disabled,
.shopify-checkout-button:disabled { opacity: 0.36; cursor: not-allowed; }
.shopify-purchase-status {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}
.purchase-panel.is-unavailable .shopify-size-fieldset,
.purchase-panel.is-unavailable .shopify-quantity { opacity: 0.36; pointer-events: none; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
[data-fit-collection][data-active-fit="men"] .product-card[data-fit="women"],
[data-fit-collection][data-active-fit="women"] .product-card[data-fit="men"] { display: none; }
.product-card {
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(0,0,0,0.035), rgba(0,0,0,0.012));
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.product-card:hover { border-color: rgba(0,0,0,0.54); transform: translateY(-5px); }
.product-visual {
  position: relative;
  min-height: 320px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e7e6e1;
}
.product-visual::before {
  content: "";
  position: absolute;
  width: 76%;
  height: 76%;
  border: 1px solid rgba(0,0,0,0.34);
  border-radius: 50%;
  box-shadow: 0 0 48px rgba(0,0,0,0.13), inset 0 0 42px rgba(0,0,0,0.08);
}
.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.42), transparent 35%, rgba(0,0,0,0.1));
}
.product-visual--photo::before { display: none; }
.product-visual--photo::after {
  z-index: 1;
  background: linear-gradient(180deg, transparent 62%, rgba(0,0,0,0.12));
  pointer-events: none;
}
.product-visual--photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  object-fit: cover;
  filter: saturate(1) contrast(1.06);
  transition: none;
}
.product-card:hover .product-visual--photo img {
  transform: none;
  filter: saturate(1) contrast(1.06);
}
.product-card:focus-visible .product-visual--photo img {
  transform: none;
  filter: saturate(1) contrast(1.06);
}
.product-visual--front img { object-position: center 43%; }
.product-visual--back img { object-position: center 42%; }
.product-visual--duo img { object-position: center 44%; }
.product-visual span {
  position: relative;
  z-index: 1;
  color: #111111;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.8;
  letter-spacing: -0.12em;
  text-align: center;
  text-shadow: 7px 8px 0 rgba(0,0,0,0.18), 0 0 24px rgba(0,0,0,0.12);
}
.product-meta {
  display: grid;
  gap: 10px;
  padding: 20px;
}
.product-meta span,
.product-meta em {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.62rem;
  font-style: normal;
}
.product-meta strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.product-meta em { color: var(--red); }
.collection-link { margin-top: 28px; }
.store-access {
  margin-top: clamp(56px, 8vw, 100px);
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(0,0,0,0.06), transparent 38%), rgba(255,255,255,0.74);
}
.store-access .enter-button {
  position: relative;
  left: 0;
  bottom: 0;
  transform: none;
  margin-top: 26px;
}
.drop-form {
  max-width: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 26px;
}
.drop-form input[type="email"] {
  min-width: 0;
  height: 52px;
  padding: 0 17px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: rgba(255,255,255,0.78);
  color: var(--text);
  font: inherit;
  letter-spacing: 0.08em;
}
.drop-form input[type="email"]::placeholder {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.65rem;
}
.drop-form .enter-button {
  min-width: 176px;
  margin-top: 0;
}
.drop-form .enter-button:disabled { opacity: 0.55; cursor: wait; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(28px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
}
.footer a:hover { color: var(--red); }

.drawer {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  width: min(440px, 92vw);
  height: 100vh;
  padding: 38px clamp(24px, 5vw, 48px);
  background:
    linear-gradient(135deg, rgba(0,0,0,0.08), transparent 35%),
    rgba(255,255,255,0.96);
  border-left: 1px solid var(--line-strong);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 26px;
  transform: translateX(104%);
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
}
.drawer.is-open { transform: translateX(0); }
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0,0,0,0.64);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(3px);
}
.drawer-scrim.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.drawer button {
  align-self: flex-end;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
}
.drawer a {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  color: var(--muted);
}
.drawer a:hover { color: var(--red); }

body.shopify-cart-open { overflow: hidden; }
.shopify-cart-scrim {
  position: fixed;
  inset: 0;
  z-index: 88;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.shopify-cart-scrim.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.shopify-cart {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 89;
  width: min(520px, 94vw);
  height: 100dvh;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  border-left: 1px solid #111;
  background:
    repeating-linear-gradient(180deg, transparent 0 79px, rgba(0,0,0,0.035) 80px),
    #f3f1ea;
  box-shadow: -34px 0 80px rgba(0,0,0,0.24);
  transform: translateX(104%);
  transition: transform 0.42s cubic-bezier(.18,.8,.2,1);
}
.shopify-cart.is-open { transform: translateX(0); }
.shopify-cart__header {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line-strong);
}
.shopify-cart__header .eyebrow { margin-bottom: 6px; }
.shopify-cart__header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 0.8;
  text-transform: uppercase;
}
.shopify-cart__close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid #111;
  background: transparent;
  cursor: pointer;
  font-size: 1.5rem;
}
.shopify-cart__close:hover { background: #111; color: #fff; }
.shopify-cart__status {
  min-height: 0;
  padding: 0 28px;
  color: var(--muted);
  font-size: 0.72rem;
}
.shopify-cart__status:not(:empty) { padding-top: 14px; }
.shopify-cart__lines {
  min-height: 0;
  overflow-y: auto;
  padding: 20px 28px;
}
.shopify-cart__empty {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
}
.shopify-cart__empty span {
  color: #111;
  font-family: var(--font-display);
  font-size: 4rem;
}
.shopify-cart-line {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-strong);
}
.shopify-cart-line img {
  width: 112px;
  height: 136px;
  display: block;
  object-fit: cover;
  background: #ddd;
}
.shopify-cart-line__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.shopify-cart-line__copy strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}
.shopify-cart-line__copy > span {
  margin-top: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.62rem;
}
.shopify-cart-line__copy em {
  margin-top: 12px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.78rem;
}
.shopify-cart-line__actions {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}
.shopify-line-quantity {
  display: grid;
  grid-template-columns: 30px 30px 30px;
  height: 32px;
  border: 1px solid var(--line-strong);
}
.shopify-line-quantity button,
.shopify-line-quantity span {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  font-size: 0.72rem;
}
.shopify-line-quantity button { cursor: pointer; }
.shopify-remove-line {
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 0 0 3px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.58rem;
}
.shopify-cart__footer {
  padding: 22px 28px 28px;
  border-top: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.7);
}
.shopify-cart__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
}
.shopify-cart__subtotal strong { font-size: 1rem; }
.shopify-cart__footer p {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 0.68rem;
}
.shopify-checkout-button { width: 100%; }
.shopify-busy .shopify-cart,
.shopify-busy .purchase-panel { cursor: progress; }

body.lightbox-open { overflow: hidden; }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,0.08), transparent 30rem),
    rgba(10,10,10,0.84);
  backdrop-filter: blur(13px) grayscale(0.75);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}
.gallery-lightbox.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.gallery-lightbox__panel {
  position: relative;
  width: min(920px, calc(100vw - 56px));
  max-height: min(82vh, 780px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 14px;
  border: 9px solid #111;
  background: #efede6;
  box-shadow: 0 34px 90px rgba(0,0,0,0.58), 0 0 0 1px rgba(255,255,255,0.5);
  overflow: hidden;
  transform: scale(0.94) translateY(18px);
  transition: transform 0.42s cubic-bezier(.18,.8,.2,1);
}
.gallery-lightbox.is-active .gallery-lightbox__panel {
  transform: scale(1) translateY(0);
  animation: japaneseFrameIn 0.58s cubic-bezier(.18,.82,.2,1) both;
}
.gallery-lightbox__panel::before {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: 5;
  border: 1px solid rgba(0,0,0,0.34);
  pointer-events: none;
}
.gallery-lightbox__panel::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 14px;
  z-index: 6;
  width: calc(100% - 28px);
  height: 3px;
  background: linear-gradient(90deg, #111 0 78%, rgba(17,17,17,0.18) 94%, transparent);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}
.gallery-lightbox.is-active .gallery-lightbox__panel::after {
  animation: brushSweep 0.76s cubic-bezier(.2,.72,.18,1) 0.12s both;
}
.gallery-lightbox__stage {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.62);
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255,255,255,0.07) 50%, transparent 50.1%),
    #090a0a;
}
.gallery-lightbox__stage::before,
.gallery-lightbox__stage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 50.5%;
  background:
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(0,0,0,0.28) 74px 75px),
    repeating-linear-gradient(180deg, transparent 0 74px, rgba(0,0,0,0.22) 74px 75px),
    linear-gradient(135deg, #f5f3ec, #d9d5ca);
  border-color: #111;
  border-style: solid;
  pointer-events: none;
}
.gallery-lightbox__stage::before {
  left: 0;
  border-width: 8px 4px 8px 8px;
}
.gallery-lightbox__stage::after {
  right: 0;
  border-width: 8px 8px 8px 4px;
}
.gallery-lightbox.is-active .gallery-lightbox__stage::before {
  animation: shojiLeft 0.82s cubic-bezier(.42,0,.2,1) 0.08s both;
}
.gallery-lightbox.is-active .gallery-lightbox__stage::after {
  animation: shojiRight 0.82s cubic-bezier(.42,0,.2,1) 0.08s both;
}
.gallery-lightbox__stage img {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(min(82vh, 780px) - 102px);
  object-fit: contain;
  display: block;
}
.gallery-lightbox.is-active .gallery-lightbox__stage img {
  animation: inkDevelop 0.9s ease-out 0.1s both;
}
.gallery-lightbox__close {
  position: absolute;
  top: 3px;
  right: 3px;
  z-index: 8;
  width: 46px;
  height: 46px;
  border: 1px solid #111;
  background: #efede6;
  color: #111;
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus-visible {
  background: #111;
  color: #fff;
  transform: rotate(4deg);
}
.gallery-lightbox__meta {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 58px;
  padding: 0 54px 0 10px;
  border-top: 1px solid rgba(0,0,0,0.22);
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.66rem;
}
.gallery-lightbox__meta span { color: #666; }
.gallery-lightbox__meta strong { font-weight: 500; }

.account-button {
  position: relative;
  padding-left: 11px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.account-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.account-button:hover,
.account-button.is-active { color: #a0171b; }

.account-page {
  min-height: calc(100vh - 72px);
  padding: clamp(52px, 7vw, 96px) clamp(28px, 6vw, 88px) 96px;
  background:
    linear-gradient(90deg, transparent 0 49.94%, rgba(0,0,0,0.045) 50%, transparent 50.06%),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(0,0,0,0.026) 80px 81px),
    radial-gradient(circle at 50% 12%, #fff, #efede6 78%);
}
.account-page [hidden] { display: none !important; }
.account-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 52px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-strong);
}
.account-heading h1 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 8.5rem);
  font-weight: 400;
  line-height: 0.78;
}
.account-heading > p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}
.account-auth {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  border: 1px solid #111;
  background: #fff;
  box-shadow: 0 28px 68px rgba(0,0,0,0.13);
}
.account-auth__visual {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 480px;
  background:
    radial-gradient(circle at 50% 42%, rgba(170,22,25,0.34), transparent 28%),
    repeating-linear-gradient(90deg, transparent 0 69px, rgba(255,255,255,0.045) 70px 71px),
    repeating-linear-gradient(0deg, transparent 0 69px, rgba(255,255,255,0.035) 70px 71px),
    #0b0b0b;
}
.account-auth__visual::before,
.account-auth__visual::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: 0;
  left: -12%;
  height: 38%;
  background: #050505;
  clip-path: polygon(0 100%, 0 72%, 15% 34%, 28% 76%, 42% 22%, 52% 78%, 69% 31%, 82% 72%, 100% 42%, 100% 100%);
}
.account-auth__visual::after {
  bottom: 12%;
  height: 28%;
  background: #24191a;
  opacity: 0.75;
  transform: scale(0.78);
}
.account-auth__gate {
  position: relative;
  z-index: 2;
  width: min(310px, 65%);
  height: 330px;
  filter: drop-shadow(0 0 24px rgba(177,18,23,0.46));
}
.account-auth__gate::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 14%;
  width: 42%;
  height: 72%;
  background: linear-gradient(180deg, #bd191e, #4c0508);
  box-shadow: 0 0 42px rgba(190,20,26,0.52), inset 0 0 22px rgba(255,255,255,0.13);
  transform: translateX(-50%);
}
.account-auth__gate i { position: absolute; display: block; z-index: 2; background: #030303; }
.account-auth__gate i:nth-child(1) { top: 5%; left: 0; width: 100%; height: 10%; clip-path: polygon(0 20%, 8% 38%, 92% 38%, 100% 20%, 97% 78%, 3% 78%); }
.account-auth__gate i:nth-child(2) { top: 17%; left: 11%; width: 78%; height: 6%; }
.account-auth__gate i:nth-child(3),
.account-auth__gate i:nth-child(4) { top: 19%; bottom: 0; width: 8%; clip-path: polygon(0 0, 100% 0, 78% 100%, 20% 100%); }
.account-auth__gate i:nth-child(3) { left: 22%; }
.account-auth__gate i:nth-child(4) { right: 22%; }
.account-auth__seal {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 4;
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #6d0d10;
  background: #a0171b;
  transform: rotate(-3deg);
}
.account-auth__seal img { width: auto; height: 76%; max-width: 72%; filter: brightness(0) invert(1); }
.account-auth__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 6vw, 82px);
}
.account-auth__copy h2,
.account-profile-card h2,
.account-orders h2,
.account-address-card h2,
.account-support-card h2 {
  margin: 8px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 400;
  line-height: 0.86;
}
.account-auth__copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.account-auth__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 38px;
}
.account-primary-button,
.account-secondary-button {
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid #111;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s ease, background 0.25s ease;
}
.account-primary-button { display: flex; align-items: center; justify-content: space-between; background: #111; color: #fff; }
.account-secondary-button { background: transparent; color: #111; }
.account-primary-button:hover { background: #a0171b; }
.account-secondary-button:hover { background: #111; color: #fff; }
.account-auth__copy > small { margin-top: 18px; color: var(--muted); font-size: 0.69rem; line-height: 1.6; }
.account-loading {
  min-height: 420px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.7);
}
.account-loading span {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0,0,0,0.18);
  border-top-color: #a0171b;
  border-radius: 50%;
  animation: accountSpin 0.9s linear infinite;
}
.account-loading p { margin: 0; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; }
.account-dashboard { display: grid; gap: 22px; }
.account-profile-card {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px 46px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
}
.account-profile-card h2 { margin-bottom: 8px; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.account-profile-card p:last-child { margin: 0; color: rgba(255,255,255,0.62); }
.account-profile-card__actions { display: flex; gap: 10px; }
.account-profile-card__actions a,
.account-profile-card__actions button {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.42);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.account-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.65fr); gap: 22px; }
.account-orders,
.account-address-card,
.account-support-card { border: 1px solid var(--line-strong); background: rgba(255,255,255,0.82); }
.account-orders { padding: 34px; }
.account-orders > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.account-orders h2 { margin-bottom: 0; font-size: 3.4rem; }
.account-orders > header > span { color: var(--muted); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; }
#accountOrdersList { display: grid; gap: 14px; }
.account-order-card { border: 1px solid var(--line); background: #f8f7f3; }
.account-order-card > header { display: flex; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.account-order-card > header div { display: grid; gap: 4px; }
.account-order-card > header span { font-weight: 700; letter-spacing: 0.08em; }
.account-order-card > header small { color: var(--muted); }
.account-order-card__status { display: flex; gap: 8px; padding: 14px 22px 0; }
.account-order-card__status span { padding: 5px 8px; border: 1px solid var(--line); color: var(--muted); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; }
.account-order-card ul { display: grid; gap: 10px; margin: 0; padding: 18px 22px; list-style: none; }
.account-order-card li { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 14px; }
.account-order-item__image { width: 58px; height: 68px; display: grid; place-items: center; overflow: hidden; background: #111; color: #fff; }
.account-order-item__image img { width: 100%; height: 100%; object-fit: cover; }
.account-order-card li div:last-child { display: grid; gap: 4px; }
.account-order-card li small { color: var(--muted); }
.account-order-card > a { min-height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-top: 1px solid var(--line); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.account-sidebar { display: grid; align-content: start; gap: 22px; }
.account-address-card,
.account-support-card { padding: 30px; }
.account-address-card h2,
.account-support-card h2 { font-size: 2.7rem; }
.account-address-card address { min-height: 120px; color: var(--muted); font-style: normal; line-height: 1.7; }
.account-address-card > a,
.account-support-card > a,
.account-empty a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.account-support-card { display: grid; }
.account-support-card > a { padding: 0 2px; }
.account-empty { padding: 54px 20px; text-align: center; }
.account-empty strong { font-family: var(--font-display); font-size: 2rem; font-weight: 400; }
.account-empty p { color: var(--muted); }
.account-empty a { max-width: 240px; margin: 28px auto 0; }
.account-status { min-height: 24px; margin: 18px 0 0; color: var(--muted); text-align: center; }
.account-status.is-error { color: #a0171b; }

@keyframes accountSpin { to { transform: rotate(360deg); } }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card.reveal {
  transform: perspective(900px) rotateY(var(--tilt-y, 0deg)) rotateX(var(--tilt-x, 0deg)) translateY(24px);
}
.feature-card.reveal.is-visible {
  transform: perspective(900px) rotateY(var(--tilt-y, 0deg)) rotateX(var(--tilt-x, 0deg)) translateY(0);
}
.gallery-tile.reveal {
  transform: perspective(1100px) rotateY(var(--tilt-y, 0deg)) rotateX(var(--tilt-x, 0deg)) translateY(24px);
}
.gallery-tile.reveal.is-visible {
  transform: perspective(1100px) rotateY(var(--tilt-y, 0deg)) rotateX(var(--tilt-x, 0deg)) translateY(0);
}

@keyframes pulseMark {
  to { filter: brightness(1.45); text-shadow: 0 0 44px var(--glow); }
}
@keyframes loadingLine {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(260%); }
}
@keyframes signalPulse {
  0%, 42% { opacity: 0.28; }
  43%, 100% { opacity: 1; }
}
@keyframes soundMeter {
  from { transform: scaleY(0.35); }
  to { transform: scaleY(1); }
}
@keyframes openingShockwave {
  0% { opacity: 0; transform: scale(0.5); }
  9% { opacity: 0.92; }
  22% { opacity: 0.14; }
  34% { opacity: 0.48; }
  100% { opacity: 0; transform: scale(1.18); }
}
@keyframes gateIgnition {
  0% { opacity: 0; transform: scaleX(0.08); }
  12% { opacity: 1; }
  28% { opacity: 0.34; transform: scaleX(0.42); }
  48% { opacity: 0.88; }
  100% { opacity: 0.18; transform: scaleX(1); }
}
@keyframes shadowSurge {
  0% { opacity: 0; transform: translateY(18%) scale(1.06); }
  32% { opacity: 0.82; }
  100% { opacity: 0.42; transform: translateY(-3%) scale(1); }
}
@keyframes cloudsPart {
  0% { opacity: 0.08; transform: scale(1.12) translateX(0); }
  45% { opacity: 0.58; }
  100% { opacity: 0.28; transform: scale(1.02) translateX(3%); }
}
@keyframes portalAwaken {
  0% { opacity: 0; transform: translateX(-50%) scaleY(0.04); filter: brightness(2.2); }
  18% { opacity: 1; }
  52% { filter: brightness(1.45); }
  100% { opacity: 1; transform: translateX(-50%) scaleY(1); filter: brightness(1); }
}
@keyframes mountainRise {
  from { opacity: 0; transform: translateY(24%); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toriiDescend {
  0% { opacity: 0; transform: translate(-50%, -15%) scale(1.08); }
  58% { opacity: 1; }
  100% { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
@keyframes pagodaReveal {
  from { opacity: 0; transform: translateY(22px) scale(var(--pagoda-scale)); }
  to { opacity: 0.82; transform: translateY(0) scale(var(--pagoda-scale)); }
}
@keyframes shrineWindows {
  0% { opacity: 0; filter: brightness(0.4); }
  28% { opacity: 1; filter: brightness(1.8); }
  52% { opacity: 0.42; }
  100% { opacity: 0.88; filter: brightness(1); }
}
@keyframes pineReveal {
  from { opacity: 0; transform: var(--pine-base) translateY(14px); filter: blur(5px) drop-shadow(0 14px 20px rgba(0,0,0,0.62)); }
  to { opacity: 0.9; transform: var(--pine-base) translateY(0); filter: blur(0) drop-shadow(0 14px 20px rgba(0,0,0,0.62)); }
}
@keyframes lanternRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lanternPulse {
  from { filter: brightness(0.72); box-shadow: 0 0 8px rgba(218,20,25,0.52), 0 0 18px rgba(167,8,14,0.3); }
  to { filter: brightness(1.22); box-shadow: 0 0 16px rgba(235,30,34,0.9), 0 0 38px rgba(185,8,14,0.58); }
}
@keyframes warriorRise {
  0% { opacity: 0; transform: var(--warrior-base) translateY(24%); filter: blur(6px) drop-shadow(0 18px 18px rgba(0,0,0,0.82)); }
  100% { opacity: 1; transform: var(--warrior-base) translateY(0); filter: blur(0) drop-shadow(0 18px 18px rgba(0,0,0,0.82)); }
}
@keyframes eyeFlare {
  0% { opacity: 0; transform: scaleX(0); }
  24% { opacity: 1; }
  58% { opacity: 0.34; }
  100% { opacity: 0.9; transform: scaleX(1); }
}
@keyframes fracturePulse {
  from { opacity: 0.35; filter: brightness(0.8); }
  to { opacity: 1; filter: brightness(1.8); }
}
@keyframes shideSway {
  from { transform: rotate(calc(var(--shide-angle) - 3deg)); }
  to { transform: rotate(calc(var(--shide-angle) + 4deg)); }
}
@keyframes emberRise {
  0% { opacity: 0; transform: translate(0, 16px) scale(0.4); }
  16% { opacity: 0.9; }
  72% { opacity: 0.42; }
  100% { opacity: 0; transform: translate(18px, -92px) scale(1.1); }
}
@keyframes heroSceneArrival {
  0% { opacity: 0; filter: blur(15px) contrast(1.28); }
  44% { opacity: 0.78; filter: blur(3px) contrast(1.12); }
  100% { opacity: 1; filter: none; }
}
@keyframes heroMonolithReveal {
  0% { opacity: 0; filter: blur(12px) drop-shadow(0 45px 30px rgba(0,0,0,0.4)); }
  46% { opacity: 1; }
  100% { opacity: 1; filter: drop-shadow(0 24px 19px rgba(0,0,0,0.32)); }
}
@keyframes heroGuardianReveal {
  0% { opacity: 0; filter: blur(10px) drop-shadow(0 18px 18px rgba(0,0,0,0.72)); }
  100% { opacity: 0.52; filter: drop-shadow(0 18px 18px rgba(0,0,0,0.72)); }
}
@keyframes orbitPulse {
  to { transform: translateZ(-180px) rotateX(9deg) scale(1.025); border-color: rgba(126,16,20,0.32); opacity: 0.23; }
}
@keyframes bladeFlicker {
  0%, 100% { opacity: 0.65; }
  11%, 13%, 66% { opacity: 1; }
  14%, 68% { opacity: 0.42; }
}
@keyframes floatMonolith {
  0%, 100% { transform: translate(-50%, -50%) rotateX(3deg) translateZ(74px) translateY(0); }
  50% { transform: translate(-50%, -50%) rotateX(3deg) translateZ(74px) translateY(-10px); }
}
@keyframes heroSceneArrivalMobile {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes heroMonolithRevealMobile {
  from { opacity: 0; transform: translate(-50%, -50%) translateY(22px); }
  to { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
}
@keyframes floatMonolithMobile {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-7px); }
}
@keyframes cueDot {
  0%, 100% { transform: translate(-50%, -58px); opacity: 0.2; }
  70% { transform: translate(-50%, 0); opacity: 1; }
}
@keyframes fogMove {
  from { transform: translateX(-8%); }
  to { transform: translateX(8%); }
}
@keyframes japaneseFrameIn {
  0% { opacity: 0; transform: scale(0.92) translateY(22px); }
  55% { opacity: 1; transform: scale(1.012) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes inkDevelop {
  0% { opacity: 0; transform: scale(1.018); filter: contrast(1.7) brightness(1.55) blur(3px); }
  46% { opacity: 0.64; filter: contrast(1.35) brightness(1.18) blur(1px); }
  100% { opacity: 1; transform: scale(1); filter: none; }
}
@keyframes shojiLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-102%); }
}
@keyframes shojiRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(102%); }
}
@keyframes brushSweep {
  0% { opacity: 0; transform: scaleX(0); }
  18% { opacity: 1; }
  100% { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 1280px) {
  .intro { grid-template-columns: 1fr; }
  .intro h1 {
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    white-space: normal;
  }
}

@media (max-width: 1100px) {
  .site-shell {
    grid-template-columns: 1fr;
    width: min(calc(100vw - 28px), 980px);
  }
  .side-rail { display: none; }
  .top-brand { display: block; grid-column: 1; justify-self: start; }
  .intro { grid-template-columns: 1fr; padding: 36px 30px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .motif-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-panel { padding: 80px 30px; }
  .footer { padding: 28px 30px; }
  .gallery-tile { grid-column: span 6; }
  .gallery-tile--wide { grid-column: span 12; }
  .gallery-tile--tall { grid-column: span 6; }
  .purchase-panel { height: auto; grid-template-columns: 1fr; }
  .purchase-panel__media {
    height: min(68svh, 620px);
    min-height: 520px;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-auth { grid-template-columns: 1fr; }
  .account-auth__visual { min-height: 430px; }
  .account-grid { grid-template-columns: 1fr; }
  .account-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .preloader {
    align-items: center;
    justify-items: center;
  }
  .preloader__content {
    width: min(420px, 100%);
    min-height: min(410px, calc(var(--viewport-height, 100dvh) - 32px));
    max-height: calc(var(--viewport-height, 100dvh) - 28px);
    margin: auto;
    padding: clamp(25px, 5.5svh, 34px) 26px;
  }
  .preloader__sigil { width: 76px; margin-bottom: 25px; }
  .preloader__content h1 { margin-bottom: 30px; }
  .vista-warrior--left { left: 14%; }
  .vista-warrior--right { right: 14%; }
  .vista-pagoda--left { left: 4%; }
  .vista-pagoda--right { right: 4%; }
  .vista-pine--left { --pine-base: scale(0.78); left: -12%; }
  .vista-pine--right { --pine-base: scaleX(-1) scale(0.78); right: -12%; }
  .vista-lantern--left { left: 3%; }
  .vista-lantern--right { right: 3%; }
  .preloader__vista-meta { align-items: flex-start; flex-direction: column; gap: 6px; }
  .sound-toggle { right: 16px; bottom: 16px; }
  .account-button { font-size: 0.58rem; }
  .account-page { padding: 48px 18px 72px; }
  .account-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 34px; }
  .account-heading h1 { font-size: clamp(3.8rem, 20vw, 6.5rem); }
  .account-auth { min-height: 0; grid-template-columns: 1fr; }
  .account-auth__visual { min-height: 360px; }
  .account-auth__copy { padding: 42px 28px; }
  .account-auth__actions { grid-template-columns: 1fr; }
  .account-profile-card { align-items: flex-start; flex-direction: column; padding: 32px 26px; }
  .account-profile-card__actions { width: 100%; flex-wrap: wrap; }
  .account-profile-card__actions a,
  .account-profile-card__actions button { flex: 1; justify-content: center; }
  .account-grid { grid-template-columns: 1fr; }
  .account-sidebar { grid-template-columns: 1fr; }
  .account-orders { padding: 24px 18px; }
  .account-order-card > header { align-items: flex-start; flex-direction: column; }
  .site-shell { margin: 14px auto; min-height: calc(100vh - 28px); border-radius: 14px; }
  .top-bar { grid-template-columns: auto 1fr auto; padding: 0 18px; }
  .top-bar p { grid-column: 2; justify-self: center; letter-spacing: 0.18em; font-size: 0.6rem; }
  .top-actions { grid-column: 3; gap: 14px; }
  .cart-button { display: block; font-size: 0.62rem; }
  .hero {
    min-height: clamp(590px, calc(100svh - 72px), 700px);
  }
  .hero-scene {
    width: 100%;
    height: 100%;
    min-height: inherit;
    --scene-scale: 1;
    --scene-x: 0deg;
    --scene-y: 0deg;
    perspective: none;
    transform: none;
    transform-style: flat;
    transition: none;
  }
  body.has-opening .hero-scene { filter: none; }
  body.intro-started .hero-scene {
    filter: none;
    animation: heroSceneArrivalMobile 0.9s ease 0.28s both;
  }
  .red-orbit { width: min(69vw, 290px); transform: none; }
  .sun-dot { top: 13%; }
  .blade-light { top: 17%; bottom: 18%; }
  .mountains { bottom: 12%; width: 46vw; }
  .mountains--left { left: -3vw; }
  .mountains--right { right: -3vw; }
  .samurai {
    bottom: 11%;
    opacity: 0.28;
    transform: scale(0.68);
    transform-origin: 50% 100%;
  }
  .samurai--left { left: -20px; }
  .samurai--right { right: -20px; transform: scaleX(-1) scale(0.68); }
  .monolith {
    --banner-height: clamp(205px, 56vw, 250px);
    top: 48%;
    width: min(76vw, 340px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(4px, 1.2vw, 6px);
    transform: translate(-50%, -50%);
    animation: floatMonolithMobile 5s ease-in-out infinite;
    filter: drop-shadow(0 18px 14px rgba(0,0,0,0.26));
  }
  body.intro-started .monolith {
    animation:
      heroMonolithRevealMobile 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both,
      floatMonolithMobile 5s ease-in-out 1.5s infinite;
  }
  .digit__kanji { font-size: clamp(6.2rem, 25vw, 8.7rem); }
  .project-word { right: calc(100% + 5px); width: 38px; font-size: 0.68rem; }
  .monolith-seal { right: -20px; bottom: -15px; width: 48px; }
  .hero .enter-button { bottom: clamp(22px, 5svh, 42px); }
  .scroll-cue { display: none; }
  .page-hero { min-height: 380px; padding-top: 70px; }
  .page-hero h1 { font-size: clamp(2.5rem, 11vw, 4.2rem); }
  .page-hero__line { flex-direction: column; gap: 8px; }
  .gallery-page { padding: 34px 18px; }
  .gallery-collection {
    padding: 58px 18px 88px;
    background:
      linear-gradient(180deg, transparent calc(100% - 64px), rgba(0,0,0,0.08) 100%),
      repeating-linear-gradient(90deg, transparent 0 79px, rgba(0,0,0,0.045) 80px 81px),
      repeating-linear-gradient(180deg, transparent 0 79px, rgba(0,0,0,0.035) 80px 81px),
      radial-gradient(circle at 50% 12%, #ffffff, #efede6 74%);
  }
  .gallery-collection .collection-header { margin-bottom: 46px; }
  .collection-header { align-items: flex-start; }
  .gallery-grid { grid-template-columns: 1fr; gap: 48px; }
  .gallery-tile,
  .gallery-tile--wide,
  .gallery-tile--tall { grid-column: auto; min-height: 360px; }
  .gallery-frame--scroll { min-height: 460px; }
  .gallery-frame--enso { min-height: 340px; }
  .gallery-frame--noren { min-height: 390px; }
  .gallery-lightbox { padding: 16px; }
  .gallery-lightbox__panel {
    width: calc(100vw - 32px);
    max-height: 86vh;
    padding: 10px;
  }
  .gallery-lightbox__stage { min-height: 220px; }
  .gallery-lightbox__stage img { max-height: calc(86vh - 88px); }
  .gallery-lightbox__close { top: 2px; right: 2px; width: 42px; height: 42px; }
  .gallery-lightbox__meta {
    grid-template-columns: 1fr;
    gap: 3px;
    min-height: 64px;
    padding: 10px 46px 8px 8px;
  }
  .store-intro { grid-template-columns: 1fr; gap: 26px; }
  .purchase-panel { min-height: 0; }
  .purchase-panel__media { min-height: 420px; }
  .purchase-panel__details { padding: 68px 42px 46px; }
  .purchase-panel__details { overflow: visible; }
  .purchase-panel__details h2 {
    font-size: clamp(2rem, 8.2vw, 3.35rem);
    line-height: 0.94;
  }
  .shopify-product-options { grid-template-columns: 1fr; }
  .shopify-purchase-row { grid-template-columns: 1fr; }
  .drop-form { grid-template-columns: 1fr; }
  .drop-form .enter-button { width: 100%; }
  .shopify-quantity { width: 132px; }
  .shopify-cart__header,
  .shopify-cart__lines,
  .shopify-cart__footer { padding-right: 20px; padding-left: 20px; }
  .shopify-cart-line { grid-template-columns: 86px minmax(0, 1fr); gap: 14px; }
  .shopify-cart-line img { width: 86px; height: 112px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-visual { min-height: 280px; }
  .intro { padding-top: 60px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .motif { min-height: 180px; }
  .motif--enso span { width: 104px; }
  .store-card {
    min-height: 430px;
    padding: 34px 24px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.08) 22%, rgba(255,255,255,0.96) 74%),
      url("assets/campaign/gate-18.jpeg") center 44% / cover no-repeat;
  }
  .footer { flex-direction: column; }
}

@keyframes purchaseShoji {
  0% { transform: scaleY(0); }
  38%, 62% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

@media (max-width: 480px) {
  .preloader__content {
    width: 100%;
    min-height: min(390px, calc(var(--viewport-height, 100dvh) - 28px));
  }
  .preloader__panel { background-size: auto, auto, auto, auto; }
  .sound-toggle { min-width: 46px; padding: 0 14px; }
  .sound-toggle__label { display: none; }
  .account-button { display: none; }
  .account-auth__visual { min-height: 310px; }
  .account-auth__gate { height: 270px; }
  .account-auth__seal { right: 18px; bottom: 18px; width: 48px; }
  .top-bar p { display: none; }
  .shopify-cart { width: 100vw; }
  .monolith {
    --banner-height: clamp(190px, 55vw, 220px);
    width: min(75vw, 316px);
    gap: 4px;
  }
  .digit__kanji { font-size: clamp(5.6rem, 24vw, 7.4rem); }
  .project-word { right: calc(100% + 3px); width: 34px; font-size: 0.62rem; }
  .intro h1 { font-size: 2.8rem; }
  .redline { line-height: 1.6; }
  .store-card h2 { font-size: 3rem; }
  .purchase-panel__details { padding: 62px 28px 40px; }
  .purchase-panel__details h2 { font-size: clamp(1.85rem, 8.5vw, 2.7rem); }
  .purchase-slideshow__hud { left: 42px; }
  .purchase-panel__checkout { right: 42px; }
}

@media (hover: none) {
  .gallery-art { filter: grayscale(0) saturate(0.95) brightness(1) contrast(1.08); }
  .product-visual--photo img { filter: grayscale(0) saturate(1) contrast(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .preloader,
  .preloader__panel { transition-delay: 0s !important; }
}
