/* ═══════════ YOIMACHI — neon hanamachi at night ═══════════ */
:root {
  --ink: #0b0d17;
  --ink2: #10131f;
  --ink3: #171b2c;
  --paper: #f3e9d6;
  --paper-dim: #c9beab;
  --amber: #f5b942;
  --camellia: #e8425e;
  --neon-teal: #3ddad7;
  --moon: #b9c4d8;
  --display: "Shippori Mincho B1", serif;
  --body: "Zen Kaku Gothic New", sans-serif;
  --hand: "Klee One", cursive;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
::selection { background: var(--camellia); color: #fff; }

/* grain */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  pointer-events: none; z-index: 9000; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-2%,2%); }
  40% { transform: translate(2%,-1%); } 60% { transform: translate(-1%,-2%); } 80% { transform: translate(1%,2%); }
}

/* ═══════════ NAV ═══════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .7rem 1.4rem;
  background: linear-gradient(to bottom, rgba(11,13,23,.96), rgba(11,13,23,.82));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245,185,66,.16);
}
.brand { display: flex; align-items: baseline; gap: .6rem; text-decoration: none; }
.brand-kanji { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--camellia); }
.brand-name { font-family: var(--display); letter-spacing: .35em; font-size: .85rem; color: var(--paper); }
.nav-links { margin-left: auto; display: flex; gap: 1.1rem; flex-wrap: wrap; }
.nav-links a {
  color: var(--paper-dim); text-decoration: none; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; transition: color .25s;
}
.nav-links a:hover { color: var(--amber); }
.age-chip {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  border: 1px solid var(--camellia); color: var(--camellia);
  padding: .1rem .5rem; border-radius: 2px;
}

/* ═══════════ HERO ═══════════ */
#gate {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to bottom, #070812 0%, var(--ink) 55%, #131020 100%);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 108%, rgba(232,66,94,.28), transparent 65%),
    radial-gradient(ellipse 45% 35% at 18% 82%, rgba(245,185,66,.14), transparent 70%),
    radial-gradient(ellipse 40% 30% at 84% 76%, rgba(61,218,215,.10), transparent 70%),
    linear-gradient(to bottom, rgba(7,8,18,.88) 0%, rgba(11,13,23,.72) 55%, rgba(19,16,32,.88) 100%);
}
.hero-lanterns, .hero-vertical { position: absolute; z-index: 1; }
.hero-lanterns { inset: 0; pointer-events: none; }
#gate::after { /* wet street sheen */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; z-index: 1;
  background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(245,185,66,.045) 46px 49px),
              linear-gradient(to top, rgba(232,66,94,.10), transparent);
  pointer-events: none;
}
.hero-vertical {
  position: absolute; top: 50%; right: 4vw; transform: translateY(-50%);
  writing-mode: vertical-rl; font-family: var(--display);
  font-size: clamp(.9rem, 1.6vw, 1.25rem); letter-spacing: .55em;
  color: rgba(243,233,214,.28); user-select: none;
}
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 7rem 1.5rem 5rem; max-width: 860px; }
.hero-eyebrow {
  font-size: .78rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--amber); animation: rise .9s .1s both;
}
.hero-title { display: flex; flex-direction: column; align-items: center; gap: .1em; margin: 1.2rem 0 .8rem; }
.hero-kanji {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(4.5rem, 14vw, 9.5rem); line-height: 1;
  color: var(--paper);
  text-shadow: 0 0 40px rgba(232,66,94,.55), 0 0 120px rgba(232,66,94,.30);
  animation: rise .9s .25s both, neonpulse 6s 1.2s ease-in-out infinite;
}
.hero-romaji {
  font-family: var(--display); font-size: clamp(1rem, 2.6vw, 1.5rem);
  letter-spacing: .85em; padding-left: .85em; color: var(--camellia);
  animation: rise .9s .4s both;
}
@keyframes neonpulse {
  0%,100% { text-shadow: 0 0 40px rgba(232,66,94,.55), 0 0 120px rgba(232,66,94,.3); }
  50% { text-shadow: 0 0 55px rgba(232,66,94,.75), 0 0 150px rgba(232,66,94,.42); }
}
.hero-tag {
  font-family: var(--display); font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  color: var(--paper); animation: rise .9s .55s both;
}
.hero-sub { max-width: 560px; margin: 1.1rem auto 0; color: var(--paper-dim); font-size: .95rem; animation: rise .9s .7s both; }
.hero-rule {
  font-family: var(--display); font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: var(--amber); margin-top: 1rem; animation: rise .9s .85s both;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; margin-top: 2.2rem; flex-wrap: wrap; animation: rise .9s 1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.btn {
  font-family: var(--body); font-weight: 500; text-decoration: none;
  font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .85rem 1.9rem; border-radius: 2px; transition: all .3s; cursor: pointer; border: none;
}
.btn-red { background: var(--camellia); color: #fff; box-shadow: 0 0 26px rgba(232,66,94,.45); }
.btn-red:hover { background: #f0566f; box-shadow: 0 0 42px rgba(232,66,94,.7); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(243,233,214,.35); color: var(--paper); background: transparent; }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }

/* lanterns */
.lantern {
  position: absolute; width: 34px; height: 46px; border-radius: 45% 45% 42% 42% / 38% 38% 55% 55%;
  background: radial-gradient(circle at 50% 42%, #ffd98a 0%, #f5a03a 55%, #b8622a 100%);
  box-shadow: 0 0 34px 8px rgba(245,169,66,.5); opacity: .85;
  animation: sway 5.5s ease-in-out infinite;
}
.lantern::before { content: ""; position: absolute; left: 50%; top: -14px; width: 2px; height: 14px; background: rgba(243,233,214,.3); }
.lantern::after { content: ""; position: absolute; left: 30%; right: 30%; top: -3px; height: 4px; background: #5a3020; border-radius: 2px; }
.l1 { top: 16%; left: 7%; animation-delay: 0s; }
.l2 { top: 24%; left: 15%; transform: scale(.7); animation-delay: 1.1s; }
.l3 { top: 13%; right: 12%; transform: scale(.85); animation-delay: .6s; }
.l4 { top: 30%; right: 20%; transform: scale(.6); animation-delay: 1.7s; }
.l5 { top: 55%; left: 4%; transform: scale(.75); animation-delay: 2.2s; }
.l6 { top: 62%; right: 6%; transform: scale(.9); animation-delay: .3s; }
@keyframes sway { 0%,100% { rotate: -3deg; } 50% { rotate: 3.5deg; } }

/* ticker */
.ticker {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  border-top: 1px solid rgba(245,185,66,.22);
  background: rgba(7,8,18,.85); overflow: hidden; padding: .45rem 0;
}
.ticker-track {
  display: inline-block; white-space: nowrap; font-size: .78rem;
  letter-spacing: .12em; color: var(--amber);
  animation: tick 55s linear infinite;
}
.ticker-track b { color: var(--camellia); font-weight: 500; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════ SECTIONS ═══════════ */
.section { max-width: 1080px; margin: 0 auto; padding: 6.5rem 1.5rem 2rem; }
.sec-head { position: relative; margin-bottom: 2.8rem; }
.sec-kanji {
  position: absolute; top: -3.2rem; left: -1rem; z-index: 0;
  font-family: var(--display); font-weight: 800; font-size: 7.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(245,185,66,.16); user-select: none;
}
.sec-head h2 {
  position: relative; z-index: 1; font-family: var(--display); font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.5rem); color: var(--paper);
}
.sec-head h2::after {
  content: ""; display: block; width: 64px; height: 2px; margin-top: .7rem;
  background: linear-gradient(90deg, var(--camellia), transparent);
}
.sec-sub { position: relative; z-index: 1; color: var(--paper-dim); margin-top: .6rem; font-size: .95rem; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.rv.in { opacity: 1; transform: none; }

/* ward */
.ward-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; }
.ward-copy p { margin-bottom: 1.2rem; color: #ded4c0; }
.ward-copy em { color: var(--amber); font-style: normal; font-weight: 500; }
.ward-copy strong { color: var(--paper); font-weight: 500; }
.ward-stats { display: flex; flex-direction: column; gap: .9rem; }
.stat {
  border-left: 2px solid var(--camellia); padding: .5rem 0 .5rem 1.1rem;
  background: linear-gradient(90deg, rgba(232,66,94,.08), transparent);
}
.stat-big { display: block; font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--amber); }
.stat-label { font-size: .8rem; color: var(--paper-dim); letter-spacing: .05em; }

/* ═══════════ MEDALLION SECTION ═══════════ */
.medallion-lede { max-width: 720px; color: #ded4c0; margin-bottom: 2.2rem; }
.medallion-lede strong { color: var(--amber); font-weight: 500; }
.faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.face-card {
  text-align: left; font-family: var(--body); color: var(--paper);
  background: var(--ink2); border: 1px solid rgba(243,233,214,.12);
  border-radius: 6px; padding: 1.6rem 1.4rem; cursor: pointer;
  transition: all .35s; display: flex; flex-direction: column; gap: .8rem;
}
.face-card:hover { transform: translateY(-4px); }
.face-card.active { border-color: currentColor; }
.face-card[data-face="moon"] { color: var(--moon); }
.face-card[data-face="lantern"] { color: var(--amber); }
.face-card[data-face="camellia"] { color: var(--camellia); }
.face-card.active[data-face="moon"] { box-shadow: 0 0 30px rgba(185,196,216,.22); }
.face-card.active[data-face="lantern"] { box-shadow: 0 0 30px rgba(245,185,66,.3); }
.face-card.active[data-face="camellia"] { box-shadow: 0 0 30px rgba(232,66,94,.35); }
.face-icon { width: 52px; height: 52px; border-radius: 50%; display: block; position: relative; }
.face-moon { background: radial-gradient(circle at 35% 35%, #dfe7f2, #8fa0bd); box-shadow: inset -10px -6px 0 rgba(11,13,23,.55); }
.face-lantern { background: radial-gradient(circle at 50% 40%, #ffd98a, #f5a03a 65%, #b8622a); box-shadow: 0 0 22px rgba(245,169,66,.6); }
.face-camellia {
  background: radial-gradient(circle at 50% 50%, #f5b942 0 18%, #e8425e 20% 100%);
  box-shadow: 0 0 22px rgba(232,66,94,.55);
}
.face-camellia::before {
  content: ""; position: absolute; inset: 4px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255,255,255,.14) 0 24deg, transparent 24deg 60deg);
}
.face-name { font-family: var(--display); font-weight: 600; letter-spacing: .2em; font-size: 1rem; }
.face-kanji { opacity: .7; margin-left: .3em; }
.face-desc { font-size: .85rem; color: var(--paper-dim); line-height: 1.65; }
.face-down {
  margin-top: 2rem; padding: 1.2rem 1.4rem; border: 1px dashed rgba(243,233,214,.28);
  border-radius: 6px; color: var(--paper-dim); font-size: .9rem; max-width: 760px;
}
.face-down strong { color: var(--paper); font-weight: 500; }

/* ═══════════ HOUSES ═══════════ */
.house-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; }
.house-card {
  position: relative; background: var(--ink2); border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(243,233,214,.1); padding: 1.7rem 1.5rem 1.5rem;
  transition: transform .35s, box-shadow .35s;
}
.house-card:hover { transform: translateY(-4px); box-shadow: 0 14px 44px rgba(0,0,0,.5); }
.house-banner {
  margin: -1.7rem -1.5rem 1.2rem; height: 155px;
  background-size: cover; background-position: center;
  border-radius: 6px 6px 0 0;
}
.house-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--hc); }
.house-kanji {
  position: absolute; right: .6rem; top: .4rem; font-family: var(--display); font-weight: 800;
  font-size: 3rem; color: var(--hc); opacity: .16; writing-mode: vertical-rl; line-height: 1;
}
.house-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--hc); }
.house-vibe { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-dim); margin: .3rem 0 .9rem; }
.house-desc { font-size: .88rem; color: #cfc5b2; }
.house-roster { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.roster-chip {
  font-size: .74rem; padding: .15rem .6rem; border-radius: 20px; cursor: pointer;
  border: 1px solid var(--hc); color: var(--hc); background: transparent; transition: all .25s;
  font-family: var(--body);
}
.roster-chip:hover { background: var(--hc); color: var(--ink); }

/* ═══════════ CAST ═══════════ */
.cast-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.cast-filters button {
  font-family: var(--body); font-size: .78rem; letter-spacing: .1em;
  background: transparent; border: 1px solid rgba(243,233,214,.25); color: var(--paper-dim);
  padding: .4rem 1rem; border-radius: 20px; cursor: pointer; transition: all .25s;
}
.cast-filters button:hover { border-color: var(--amber); color: var(--amber); }
.cast-filters button.active { background: var(--camellia); border-color: var(--camellia); color: #fff; }
.cast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.cast-card {
  background: var(--ink2); border: 1px solid rgba(243,233,214,.1); border-radius: 6px;
  padding: 1.1rem .9rem .9rem; text-align: center; cursor: pointer;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.cast-card:hover { transform: translateY(-5px); border-color: var(--hc); box-shadow: 0 0 26px color-mix(in srgb, var(--hc) 25%, transparent); }
.cast-card .portrait {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block;
  border-radius: 4px; background: radial-gradient(circle at 50% 30%, var(--ink3), var(--ink));
}
.cast-card svg.portrait { height: auto; padding: 8% 12%; box-sizing: border-box; }
.cast-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.02rem; margin-top: .5rem; color: var(--paper); }
.cast-card h3 small { color: var(--paper-dim); font-weight: 400; margin-left: .3em; }
.cast-epithet { font-size: .72rem; color: var(--hc); letter-spacing: .04em; }
.cast-house { font-size: .68rem; color: var(--paper-dim); margin-top: .25rem; letter-spacing: .1em; text-transform: uppercase; }

/* ═══════════ MODAL ═══════════ */
#modal-root:empty { display: none; }
.modal-scrim {
  position: fixed; inset: 0; z-index: 900; background: rgba(5,6,12,.8);
  backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
  padding: 1.2rem; animation: fadein .3s both;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--ink2); border: 1px solid color-mix(in srgb, var(--hc) 45%, transparent);
  border-radius: 8px; max-width: 640px; width: 100%; max-height: 88vh; overflow-y: auto;
  padding: 2rem; position: relative; animation: rise .4s both;
  box-shadow: 0 0 60px color-mix(in srgb, var(--hc) 20%, transparent);
}
.modal-close {
  position: absolute; top: .8rem; right: 1rem; background: none; border: none;
  color: var(--paper-dim); font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--camellia); }
.modal-head { display: flex; gap: 1.3rem; align-items: center; margin-bottom: 1.2rem; }
.modal-head .portrait {
  width: 130px; aspect-ratio: 3 / 4; object-fit: cover; flex-shrink: 0; border-radius: 6px;
  background: radial-gradient(circle at 50% 30%, var(--ink3), var(--ink));
  border: 1px solid color-mix(in srgb, var(--hc) 45%, transparent);
}
.modal-head svg.portrait { height: auto; }
.modal-head h3 { font-family: var(--display); font-size: 1.7rem; font-weight: 600; color: var(--paper); }
.modal-head h3 small { color: var(--paper-dim); font-weight: 400; font-size: 1.05rem; margin-left: .4em; }
.modal-epithet { color: var(--hc); font-size: .9rem; }
.modal-house { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-dim); margin-top: .3rem; }
.modal-bio { color: #d8cebb; font-size: .92rem; margin-bottom: 1.1rem; }
.modal-sig { font-size: .88rem; color: var(--amber); border-left: 2px solid var(--amber); padding-left: .9rem; margin-bottom: 1.3rem; }
.bounds { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.3rem; }
.bounds h4 { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .5rem; }
.bounds .will h4 { color: var(--neon-teal); } .bounds .wont h4 { color: var(--camellia); }
.bounds ul { list-style: none; }
.bounds li { font-size: .82rem; color: var(--paper-dim); padding: .22rem 0 .22rem 1.1rem; position: relative; }
.will li::before { content: "○"; position: absolute; left: 0; color: var(--neon-teal); }
.wont li::before { content: "×"; position: absolute; left: 0; color: var(--camellia); }
.modal-note {
  font-family: var(--hand); font-size: .95rem; color: var(--paper);
  background: linear-gradient(135deg, rgba(245,185,66,.1), rgba(232,66,94,.07));
  border: 1px solid rgba(245,185,66,.25); border-radius: 4px; padding: .9rem 1.1rem; margin-bottom: 1.4rem;
}
.hand-zone { text-align: center; padding-top: .4rem; border-top: 1px solid rgba(243,233,214,.1); }
.hand-hint { font-size: .8rem; color: var(--paper-dim); margin-bottom: .6rem; }
.btn-hand {
  font-family: var(--display); font-size: 1rem; letter-spacing: .1em;
  background: var(--camellia); color: #fff; border: none; border-radius: 3px;
  padding: .8rem 2.2rem; cursor: pointer; transition: all .3s;
  box-shadow: 0 0 24px rgba(232,66,94,.4); animation: handpulse 2.4s ease-in-out infinite;
}
.btn-hand:hover { background: #f0566f; box-shadow: 0 0 40px rgba(232,66,94,.65); }
@keyframes handpulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.035); } }

/* ═══════════ COMPACT ═══════════ */
.compact-list { list-style: none; counter-reset: rule; max-width: 780px; }
.compact-list li {
  counter-increment: rule; position: relative; padding: 1.15rem 0 1.15rem 4rem;
  border-bottom: 1px solid rgba(243,233,214,.1); color: #cfc5b2; font-size: .92rem;
}
.compact-list li::before {
  content: counter(rule, cjk-ideographic); position: absolute; left: .4rem; top: 1rem;
  font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--amber); opacity: .85;
}
.compact-list strong { color: var(--paper); font-weight: 500; display: block; font-family: var(--display); font-size: 1.02rem; }

/* ═══════════ NIGHTS ═══════════ */
.timeline { position: relative; max-width: 780px; padding-left: .4rem; }
.timeline::before { content: ""; position: absolute; left: 86px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(rgba(245,185,66,.5), rgba(232,66,94,.4)); }
.tl-item { display: flex; gap: 2rem; padding: 1.1rem 0; position: relative; }
.tl-time {
  width: 64px; flex-shrink: 0; text-align: right; font-family: var(--display);
  color: var(--amber); font-size: .95rem; padding-top: .1rem;
}
.tl-item::after {
  content: ""; position: absolute; left: 82px; top: 1.55rem; width: 9px; height: 9px;
  border-radius: 50%; background: var(--camellia); box-shadow: 0 0 12px rgba(232,66,94,.7);
}
.tl-item > div { padding-left: 1.4rem; }
.tl-item h3 { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--paper); }
.tl-item p { font-size: .87rem; color: var(--paper-dim); margin-top: .25rem; }
.tl-item em { color: var(--amber); font-style: normal; }

/* ═══════════ PASSES / FAQ ═══════════ */
.pass-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-bottom: 3rem; }
.pass {
  background: var(--ink2); border: 1px solid rgba(243,233,214,.12); border-radius: 6px;
  padding: 1.8rem 1.5rem; position: relative; transition: transform .3s;
}
.pass:hover { transform: translateY(-4px); }
.pass h3 { font-family: var(--display); font-weight: 600; color: var(--paper); font-size: 1.15rem; }
.pass-price { display: block; font-family: var(--display); color: var(--amber); font-size: 1.5rem; margin: .5rem 0 1rem; }
.pass-price small { font-size: .8rem; color: var(--paper-dim); }
.pass ul { list-style: none; }
.pass li { font-size: .84rem; color: var(--paper-dim); padding: .3rem 0 .3rem 1.2rem; position: relative; }
.pass li::before { content: "灯"; position: absolute; left: 0; top: .35rem; font-size: .7rem; color: var(--amber); }
.pass-featured { border-color: var(--camellia); box-shadow: 0 0 34px rgba(232,66,94,.18); }
.pass-flag {
  position: absolute; top: -0.7rem; left: 1.3rem; background: var(--camellia); color: #fff;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; padding: .18rem .7rem; border-radius: 2px;
}
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; }
.faq-item h4 { font-family: var(--display); font-weight: 600; color: var(--amber); margin-bottom: .4rem; }
.faq-item p { font-size: .86rem; color: var(--paper-dim); }

/* ═══════════ FOOTER ═══════════ */
footer {
  margin-top: 6rem; padding: 3.5rem 1.5rem 7rem; text-align: center;
  border-top: 1px solid rgba(245,185,66,.15);
  background: linear-gradient(to bottom, transparent, rgba(232,66,94,.06));
}
.foot-kanji { font-family: var(--display); letter-spacing: .5em; color: rgba(243,233,214,.3); margin-bottom: 1rem; }
footer p { font-size: .85rem; color: var(--paper-dim); }
.foot-small { font-size: .72rem !important; margin-top: .5rem; opacity: .75; }

/* ═══════════ MEDALLION WIDGET ═══════════ */
#medallion-widget {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 950;
  display: flex; flex-direction: column; align-items: center; gap: .3rem; cursor: pointer;
  user-select: none;
}
.mw-disc {
  width: 58px; height: 58px; border-radius: 50%;
  border: 2px solid rgba(245,185,66,.6);
  background: var(--ink3);
  display: flex; align-items: center; justify-content: center;
  transition: transform .45s cubic-bezier(.4,1.6,.5,1), box-shadow .45s;
}
#medallion-widget:hover .mw-disc { transform: scale(1.08); }
#medallion-widget.flip .mw-disc { animation: flip .5s; }
@keyframes flip { 0% { transform: rotateY(0); } 50% { transform: rotateY(90deg) scale(.9); } 100% { transform: rotateY(0); } }
.mw-face { width: 36px; height: 36px; border-radius: 50%; display: block; position: relative; }
#medallion-widget[data-face="moon"] .mw-face { background: radial-gradient(circle at 35% 35%, #dfe7f2, #8fa0bd); box-shadow: inset -7px -4px 0 rgba(11,13,23,.55); }
#medallion-widget[data-face="moon"] .mw-disc { box-shadow: 0 0 18px rgba(185,196,216,.35); }
#medallion-widget[data-face="lantern"] .mw-face { background: radial-gradient(circle at 50% 40%, #ffd98a, #f5a03a 65%, #b8622a); }
#medallion-widget[data-face="lantern"] .mw-disc { box-shadow: 0 0 24px rgba(245,169,66,.55); border-color: var(--amber); }
#medallion-widget[data-face="camellia"] .mw-face { background: radial-gradient(circle at 50% 50%, #f5b942 0 18%, #e8425e 20% 100%); }
#medallion-widget[data-face="camellia"] .mw-disc { box-shadow: 0 0 28px rgba(232,66,94,.6); border-color: var(--camellia); }
.mw-label {
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--paper-dim); background: rgba(11,13,23,.85); padding: .12rem .5rem; border-radius: 8px;
}

/* ═══════════ NOTE SLIPS ═══════════ */
#note-stack { position: fixed; right: 1.2rem; bottom: 7rem; z-index: 940; display: flex; flex-direction: column; gap: .7rem; max-width: 320px; }
.note-slip {
  font-family: var(--hand); font-size: .9rem; line-height: 1.55; color: var(--ink);
  background: linear-gradient(160deg, #f7eed9, #ecdfc2);
  border-radius: 3px; padding: .9rem 1.1rem .9rem 1.4rem; position: relative; cursor: pointer;
  box-shadow: 0 8px 30px rgba(0,0,0,.45);
  animation: slipin .55s cubic-bezier(.2,1.4,.4,1) both;
}
.note-slip::before { content: ""; position: absolute; left: .55rem; top: .7rem; bottom: .7rem; width: 3px; border-radius: 2px; background: var(--hc, var(--camellia)); }
.note-slip.out { animation: slipout .4s both; }
@keyframes slipin { from { opacity: 0; transform: translateX(60px) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes slipout { to { opacity: 0; transform: translateX(60px); } }

/* ═══════════ TOUR ═══════════ */
body.touring { overflow-x: hidden; }
.tour-veil { position: fixed; inset: 0; z-index: 880; background: radial-gradient(ellipse at 50% 60%, transparent 30%, rgba(5,6,12,.55) 100%); pointer-events: none; animation: fadein .6s both; }
.tour-bubble {
  position: fixed; left: 0; right: 0; margin: 0 auto; bottom: 1.4rem; z-index: 960;
  width: min(620px, calc(100vw - 2rem));
  background: var(--ink2); border: 1px solid color-mix(in srgb, var(--hc) 55%, transparent);
  border-radius: 10px; padding: 1.1rem 1.3rem 1rem; display: flex; gap: 1rem; align-items: flex-start;
  box-shadow: 0 10px 50px rgba(0,0,0,.6), 0 0 40px color-mix(in srgb, var(--hc) 18%, transparent);
  animation: rise .45s both;
}
.tour-bubble .portrait {
  width: 62px; height: 62px; object-fit: cover; object-position: top; flex-shrink: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, var(--ink3), var(--ink)); border: 1px solid var(--hc);
}
.tour-body { flex: 1; }
.tour-name { font-family: var(--display); font-weight: 600; color: var(--hc); font-size: .95rem; }
.tour-text { font-family: var(--hand); font-size: .95rem; color: var(--paper); margin: .3rem 0 .7rem; min-height: 3em; }
.tour-actions { display: flex; gap: .7rem; align-items: center; }
.tour-next {
  font-family: var(--body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--hc); color: var(--ink); border: none; border-radius: 3px;
  padding: .45rem 1.3rem; cursor: pointer; font-weight: 700; transition: filter .25s;
}
.tour-next:hover { filter: brightness(1.15); }
.tour-quit { background: none; border: none; color: var(--paper-dim); font-size: .74rem; cursor: pointer; letter-spacing: .08em; }
.tour-quit:hover { color: var(--camellia); }
.tour-step { margin-left: auto; font-size: .68rem; color: var(--paper-dim); letter-spacing: .1em; }
.tour-target { position: relative; z-index: 890; }

/* ═══════════ HOUSE PAGES ═══════════ */
.house-enter {
  display: inline-block; margin-top: 1.1rem; font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--hc); text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.house-enter:hover { border-color: var(--hc); }
.hp-banner {
  min-height: 62vh; display: flex; align-items: flex-end;
  position: relative; overflow: hidden; background: var(--ink2);
  padding: 8rem 1.5rem 3rem;
}
.hp-media { position: absolute; inset: 0; z-index: 0; }
.hp-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11,13,23,.55), rgba(11,13,23,.35) 45%, var(--ink) 96%);
}
.hp-banner-inner { max-width: 1080px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.hp-kanji {
  position: absolute; right: 0; bottom: 0; font-family: var(--display); font-weight: 800;
  font-size: clamp(3.5rem, 9vw, 6.5rem); line-height: 1; color: var(--hc); opacity: .18;
  writing-mode: vertical-rl; user-select: none;
}
.hp-banner h1 {
  font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.8rem);
  color: var(--paper); text-shadow: 0 2px 30px rgba(0,0,0,.8);
}
.hp-vibe { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--hc); margin-top: .4rem; }
.hp-tagline { font-family: var(--display); font-size: clamp(1rem, 2.4vw, 1.3rem); color: var(--paper); margin-top: .8rem; opacity: .9; }
.hp-section { padding-top: 3rem; }
.hp-intro { max-width: 720px; margin-bottom: 4rem; }
.hp-intro p { color: #ded4c0; margin-bottom: 1.1rem; }
.hp-activities { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.2rem; margin-bottom: 4.5rem; }
.hp-act {
  background: var(--ink2); border: 1px solid rgba(243,233,214,.1); border-left: 3px solid var(--hc);
  border-radius: 6px; padding: 1.4rem 1.4rem 1.2rem; transition: transform .3s;
}
.hp-act:hover { transform: translateY(-3px); }
.hp-act h3 { font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: var(--hc); margin-bottom: .5rem; }
.hp-act p { font-size: .87rem; color: #cfc5b2; }
.hp-ledger { list-style: none; max-width: 780px; margin-bottom: 4.5rem; }
.hp-ledger li {
  font-family: var(--hand); font-size: .95rem; color: #ded4c0; line-height: 1.65;
  padding: 1rem 0 1rem 1.6rem; border-bottom: 1px dashed rgba(243,233,214,.16); position: relative;
}
.hp-ledger li::before {
  content: "◆"; position: absolute; left: 0; top: 1.05rem; font-size: .7rem; color: var(--hc);
}
.hp-cast { margin-bottom: 4rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.hp-nav-houses {
  border-top: 1px solid rgba(243,233,214,.12); padding-top: 1.6rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: baseline;
}
.hp-nav-houses span { font-size: .78rem; color: var(--paper-dim); letter-spacing: .08em; width: 100%; }
.hp-nav-houses a {
  font-family: var(--display); font-size: .95rem; color: var(--hc); text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.hp-nav-houses a:hover { border-color: var(--hc); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .ward-grid { grid-template-columns: 1fr; }
  .faces { grid-template-columns: 1fr; }
  .bounds { grid-template-columns: 1fr; }
  .hero-vertical { display: none; }
  .timeline::before { left: 70px; }
  .tl-item::after { left: 66px; }
  .tl-time { width: 48px; font-size: .8rem; }
  #note-stack { max-width: 260px; }
}
