/* 星待舎 Hoshimachi-sha — deep-night immersion, rebuilt.
   Visual system v2: the whole page floats over a fixed, interactive
   Three.js starfield (starfield3d.js). Content lives on rounded,
   translucent night-sky panels — soft radii, hairline borders, gentle
   blur, deep soft shadows. Space Grotesk for display + IBM Plex Mono
   for ledger numerals. The SVG moon disc still rotates by the visitor's
   real date. A booking chip is always in reach (desktop corner pill /
   mobile sticky bar). Degradation: no WebGL or reduced motion falls
   back to a static CSS star map (.starfield-static). */

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/spacegrotesk-500.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibmplexmono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibmplexmono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibmplexmono-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --night:        #0B1026;   /* 主場 深夜蓝黑 */
  --night-deep:   #060919;   /* 更深的底色 */
  --night-soft:   #131A38;   /* 卡片段底 */
  --dawn:         #3A3F66;   /* 黎明紫 — 次级文字 / 边界 */
  --star:         #F2F5FF;   /* 星白 — 主文字 */
  --star-dim:     #B6BEDB;   /* 灰白 — 次文字 */
  --observe:      #E04A3D;   /* 观测红 — 行动色 (brightened from #C33A2E so red-on-night text clears WCAG AA;
                                #C33A2E on #0B1026 measured 3.55:1 — just under 4.5:1; #E04A3D measures ~4.70:1) */
  --observe-soft: #8E2A21;   /* 暗红，用于悬停过渡 */
  --moon:         #A8B0C8;   /* 月银 — 月相盘主色 */
  --line:         rgba(242, 245, 255, 0.12);   /* 1px 边线 — 仅作次级分隔 */
  --line-strong:  rgba(242, 245, 255, 0.28);
  --line-red:     rgba(224, 74, 61, 0.55);

  /* 圆角令牌 */
  --r-sm:   10px;    /* chip / 小控件 / 日历格 / meta 块 */
  --r-md:   16px;    /* 卡片 / 图片 / 表卡 */
  --r-lg:   24px;    /* 大面板：hero 月相面板 / 预订表单 / 场次列 */
  --r-pill: 999px;   /* 所有 CTA / 按钮 / sticky chip */

  /* 夜空半透明面板体系 */
  --panel:        rgba(13, 18, 43, 0.62);
  --panel-soft:   rgba(13, 18, 43, 0.46);
  --panel-brd:    rgba(242, 245, 255, 0.14);
  --panel-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
  --panel-blur:   blur(14px) saturate(1.2);

  --cjk-ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --cjk-zh: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --cjk: var(--cjk-ja);
  --display: "Space Grotesk", var(--cjk), system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, var(--cjk), monospace;

  --max: 1240px;
  --gut: clamp(1.25rem, 3.2vw, 2.4rem);
  --book-h: 64px;
}

/* Select the regional fallback once. Descendants inherit their component's
   font, so nested labels cannot override display or numeric typography. */
html:lang(zh-CN) { --cjk: var(--cjk-zh); }
html:lang(ja) { --cjk: var(--cjk-ja); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
button, input, select, textarea { font: inherit; }

body {
  margin: 0;
  background:
    radial-gradient(1400px 900px at 78% -12%, rgba(58, 63, 102, 0.38), transparent 62%),
    radial-gradient(1100px 760px at 8% 112%, rgba(30, 36, 72, 0.42), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-deep) 100%);
  background-attachment: fixed;
  color: var(--star);
  font-family: var(--display);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }

p { margin: 0 0 1rem; max-width: 56ch; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.005em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.018em;
}
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  letter-spacing: -0.01em;
}
h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.005em;
}

.tabular, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0.005em; }
.serif-italic { font-style: italic; font-family: var(--display); }

.muted { color: var(--star-dim); }
.faint { color: rgba(242, 245, 255, 0.55); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--observe);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ============================================================
   SKY LAYERS — fixed, under everything (z-index 0)
   - .starfield-static: pure-CSS star map, always rendered as the
     fallback; hidden only once WebGL is confirmed live (body.webgl-on)
   - .starfield3d: the Three.js canvas, injected by starfield3d.js
   ============================================================ */
.starfield-static {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
  background:
    radial-gradient(1px 1px at 8% 14%, rgba(242,245,255,0.85), transparent 60%),
    radial-gradient(1px 1px at 23% 67%, rgba(242,245,255,0.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 47% 22%, rgba(242,245,255,0.95), transparent 60%),
    radial-gradient(1px 1px at 62% 78%, rgba(242,245,255,0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 73% 33%, rgba(242,245,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 88% 12%, rgba(242,245,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 16% 88%, rgba(242,245,255,0.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 34% 47%, rgba(242,245,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 55% 59%, rgba(242,245,255,0.85), transparent 60%),
    radial-gradient(1.5px 1.5px at 80% 65%, rgba(242,245,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 91% 41%, rgba(242,245,255,0.55), transparent 60%),
    radial-gradient(2px 2px at 12% 35%, rgba(195,58,46,0.35), transparent 60%),
    radial-gradient(2px 2px at 67% 50%, rgba(195,58,46,0.25), transparent 60%);
}
.webgl-on .starfield-static { display: none; }

.starfield3d {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* Prose that sits directly on the sky gets a soft halo so the star field
   can never nibble at legibility. */
.hero-text,
.section-head,
.cabin-text,
.transit-text,
.winter-text,
.booking-text,
.mooncal-legend {
  text-shadow: 0 1px 22px rgba(6, 9, 25, 0.85), 0 0 3px rgba(6, 9, 25, 0.65);
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 80;
  background: var(--observe); color: var(--night);
  padding: 0.7rem 1.2rem; font-weight: 700;
  font-family: var(--display);
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--star);
  border-radius: var(--r-sm);
  transition: top 160ms ease-out;
}
.skip:focus-visible { top: 1rem; }

/* ============================================================
   MASTHEAD — floating glass band, pill nav
   ============================================================ */
.masthead {
  position: relative; z-index: 5;
  background: rgba(6, 9, 25, 0.55);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid var(--line);
  color: var(--star);
}
.masthead-inner {
  /* Wider than --max (1240px): the header is full-bleed chrome, and the FR
     tonight-line pill needs ~1295px of natural width (wordmark 215 + pill 387
     + nav 622 + gaps) — at 1240 the grid clamped the pill and its nowrap text
     overflowed into the first nav link. */
  max-width: 1360px;
  margin: 0 auto;
  padding: 0.85rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem 1rem;
}
.wordmark {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--star);
  line-height: 1;
  display: flex; align-items: center; gap: 0.4rem;
  white-space: nowrap;
}
.wordmark .glyph {
  width: 16px; height: 16px;
  background:
    radial-gradient(circle at 50% 50%, var(--star) 1px, transparent 1.6px) 0 0 / 6px 6px;
  border: 1px solid var(--star);
  border-radius: 5px;
  flex-shrink: 0;
}
.wordmark .jp {
  font-family: var(--cjk);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--star-dim);
  font-size: 0.85rem;
  margin-left: 0.2rem;
}

.masthead .tonight-line {
  margin: 0;
  /* override the global p { max-width: 56ch } prose measure — the pill is
     chrome, not prose; the 56ch cap (≈344px) clipped the FR ticker text
     (387px) into the first nav link */
  max-width: none;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--star-dim);
  justify-self: center;
  white-space: nowrap;
  padding: 0.38rem 0.85rem;
  background: rgba(13, 18, 43, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.masthead .tonight-line .pulse {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--observe);
  border-radius: 50%;
  margin: 0 0.55em 0.05em 0;
  vertical-align: middle;
  animation: pulse 2.4s ease-in-out infinite;
}
.masthead .tonight-line .t-num { color: var(--star); }

.masthead nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  justify-self: end;
  flex-wrap: nowrap;
}
.masthead nav a {
  color: var(--star-dim);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.42rem 0.4rem;
  border-radius: var(--r-pill);
  transition: color 160ms ease-out, background 160ms ease-out;
}
.masthead nav a:hover { color: var(--star); background: rgba(242, 245, 255, 0.08); }
.masthead nav .book-chip-inline {
  margin-left: 0.25rem;
  padding: 0.5rem 0.9rem;
  background: var(--observe);
  /* On observe (#E04A3D) bg. Was star (#F2F5FF) ~3.63:1 — fail (small text).
     night (#0B1026) on observe is ~4.79:1, darkens the chip from
     white-on-red to ink-on-red while staying in the night palette. */
  color: var(--night);
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid var(--observe);
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  transition: background 140ms ease-out, color 140ms ease-out, transform 140ms ease-out;
}
.masthead nav .book-chip-inline:hover {
  background: var(--star);
  color: var(--observe);
  transform: translateY(-1px);
}

.lang-switch {
  display: flex; gap: 0.1rem;
  padding: 0.18rem;
  margin-left: 0.3rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
}
.lang-switch a {
  color: var(--star-dim);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  padding: 0.24rem 0.45rem;
  border-radius: var(--r-pill);
  transition: color 160ms ease-out, background 160ms ease-out;
}
.lang-switch a[aria-current="page"] {
  color: var(--night);
  background: var(--star);
  font-weight: 600;
}
.lang-switch a:hover { color: var(--star); }
.lang-switch a[aria-current="page"]:hover { color: var(--night); }

/* ============================================================
   HERO — open sky, floating moon panel, big rounded image card
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 6.5rem) var(--gut) clamp(2.2rem, 4vw, 3.2rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: end;
}
.hero-text { position: relative; }

.hero-eyebrow {
  margin: 0 0 1.4rem;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--star-dim);
  display: flex; align-items: center; gap: 0.7rem;
}
.hero-eyebrow::before {
  content: ""; width: 1.8rem; height: 1px;
  background: var(--observe); display: inline-block;
}

.hero h1 {
  margin: 0 0 1.4rem;
  color: var(--star);
}
.hero h1 .line2 {
  display: block;
  color: var(--star-dim);
  font-weight: 500;
  font-size: 0.55em;
  margin-top: 0.45em;
  letter-spacing: -0.005em;
  line-height: 1.18;
}
.hero h1 .accent {
  color: var(--observe);
  font-style: italic;
  font-family: var(--display);
  font-weight: 700;
}

.hero-status {
  position: relative;
  margin: 0 0 1.6rem;
  padding: 0.95rem 1.1rem 0.95rem 1.35rem;
  background: var(--panel);
  border: 1px solid var(--panel-brd);
  border-radius: var(--r-md);
  box-shadow: var(--panel-shadow);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.7rem 1rem;
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--star);
}
/* soft rounded accent bar instead of the old hard 3px edge */
.hero-status::before {
  content: "";
  position: absolute; left: 0.62rem; top: 0.85rem; bottom: 0.85rem;
  width: 4px; border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--observe), rgba(224, 74, 61, 0.35));
}
.hero-status .label {
  grid-column: 1;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--star-dim);
  padding-left: 0.55rem;
}
.hero-status .row {
  /* 0.90rem / 1.0rem gaps keep one full session per line in every locale —
     the tightest is EN line 2 ("22:00 · Late-night session · 5 / 8 seats",
     ~395px) against the ~415px row column (panel 646 − label ~165 − gaps). */
  display: flex; flex-wrap: wrap; gap: 0.45rem 1rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  padding-left: 0.55rem;
}
.hero-status .row b {
  font-weight: 600;
  color: var(--star);
}
.hero-status .row .sep {
  color: var(--dawn);
  margin: 0 0.1rem;
}
/* Force the two sessions onto their own lines at desktop widths: the
   mid-list "·" separator (always the 6th child — the markup is identical
   in all four locales) becomes an invisible full-width flex item, so the
   wrap always lands between "…3 / 8 seats" and "22:00" instead of
   orphaning a fragment (JA/ZH) or scattering sessions over 3 lines (EN). */
@media (min-width: 861px) {
  .hero-status .row > .sep:nth-child(6) {
    flex-basis: 100%;
    width: 100%;
    height: 0;
    margin: 0;
    visibility: hidden;
  }
}

.hero-cta-row {
  display: flex; gap: 0.7rem; flex-wrap: wrap;
  margin-top: 0.4rem;
}
.hero-cta {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  background: var(--observe);
  /* On observe (#E04A3D) bg. Was star (#F2F5FF) ~3.63:1 — fail.
     night (#0B1026) on observe is ~4.79:1, keeps the red CTA
     punchy while passing WCAG AA for the 1rem uppercase body. */
  color: var(--night);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--observe);
  border-radius: var(--r-pill);
  box-shadow: 0 14px 34px -10px rgba(224, 74, 61, 0.5);
  transition: background 140ms ease-out, color 140ms ease-out, transform 140ms ease-out, box-shadow 140ms ease-out;
}
.hero-cta::after { content: "→"; font-size: 1.1em; line-height: 0; }
.hero-cta:hover {
  background: var(--star);
  color: var(--observe);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(242, 245, 255, 0.35);
}
/* Invert-flip on hover keeps the original visual switch: red bg + dark
   text ↔ white bg + red text. The dark text reads as ink-on-red at rest. */
.hero-cta-ghost {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.95rem 1.4rem;
  color: var(--star);
  background: rgba(13, 18, 43, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  transition: border-color 140ms ease-out, background 140ms ease-out, transform 140ms ease-out;
}
.hero-cta-ghost:hover {
  border-color: var(--star);
  background: rgba(242, 245, 255, 0.08);
  transform: translateY(-2px);
}

/* Hero side panel — tonight numbers + moon phase disc */
.hero-panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-brd);
  border-radius: var(--r-lg);
  box-shadow: var(--panel-shadow);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  padding: 1.4rem 1.3rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem 1.3rem;
  align-items: center;
}
.hero-panel .panel-eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 0.3rem;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--star-dim);
  display: flex; align-items: center; justify-content: space-between;
}
.hero-panel .panel-eyebrow .live {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--observe);
}
.hero-panel .panel-eyebrow .live .dot {
  width: 6px; height: 6px; background: var(--observe); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.moon-disc-wrap {
  width: 112px; height: 112px;
  position: relative;
  flex-shrink: 0;
}
.moon-disc {
  width: 100%; height: 100%;
  display: block;
}
.moon-disc .lit-circle {
  fill: var(--moon);
  stroke: var(--star);
  stroke-width: 0.5;
  filter: drop-shadow(0 0 8px rgba(168, 176, 200, 0.45));
}
.moon-disc .terminator {
  fill: var(--night-deep);
}
.moon-disc .crater {
  fill: rgba(11, 16, 38, 0.22);
}
.moon-disc .shadow-circle {
  fill: none;
  stroke: var(--moon);
  stroke-width: 1;
  opacity: 0.7;
}
.moon-disc .phase-pct {
  fill: var(--star);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
  text-anchor: middle;
}
.moon-disc .phase-lbl {
  fill: var(--star-dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.18em;
  text-anchor: middle;
  text-transform: uppercase;
}

.hero-panel .moon-text {
  display: grid; gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  min-width: 0;
}
.hero-panel .moon-text .row {
  display: grid; grid-template-columns: 6.5rem 1fr;
  gap: 0.6rem;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.35rem;
  align-items: baseline;
}
.hero-panel .moon-text .row:last-child { border-bottom: 0; }
.hero-panel .moon-text .k {
  color: var(--star-dim);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-panel .moon-text .v {
  color: var(--star);
  font-weight: 500;
}
.hero-panel .moon-text .v .good { color: var(--observe); }
.hero-panel .moon-text .v .dim { color: var(--moon); }

/* The Milky-Way showpiece — big rounded image card under the hero grid. */
.hero-figure {
  position: relative; z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut) clamp(1.6rem, 3vw, 2.4rem);
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: cover;
  object-position: center 28%;
  border-radius: var(--r-md);
  border: 1px solid var(--panel-brd);
  box-shadow: var(--panel-shadow);
}

.hero-footnote {
  position: relative; z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut) clamp(1.4rem, 3vw, 2.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--star-dim);
  padding-top: 0.9rem;
}
.hero-footnote::before {
  content: "";
  position: absolute; top: 0; left: var(--gut); right: var(--gut);
  border-top: 1px dashed var(--line);
}
.hero-footnote .asterism { letter-spacing: 0.4em; color: var(--observe); }
.hero-footnote .now { font-variant-numeric: tabular-nums; color: var(--star-dim); }

/* ============================================================
   SECTIONS — transparent, floating over the starfield
   ============================================================ */
main { position: relative; z-index: 1; }

.sessions,
.mooncal,
.see,
.showers,
.cabin,
.rules,
.transit,
.winter,
.booking {
  position: relative; z-index: 3;
  padding: clamp(3rem, 6vw, 5rem) var(--gut);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(242, 245, 255, 0.18);
}
.section-head h2 { color: var(--star); max-width: 16ch; }
.section-head p { margin: 0; color: var(--star-dim); font-style: italic; font-size: 0.96rem; }

.kicker {
  display: inline-flex; align-items: baseline; gap: 0.6rem;
  margin: 0 0 1rem;
  color: var(--star-dim);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.kicker::before {
  content: ""; width: 1.8rem;
  border-top: 1px solid var(--observe);
  display: inline-block;
  transform: translateY(-3px);
}

/* ============================================================
   SESSIONS — two rounded ledger panels
   ============================================================ */
.sessions-inner { max-width: var(--max); margin: 0 auto; }

.sessions-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.1rem;
}
.sessions-col {
  padding: 1.4rem 1.4rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--panel-brd);
  border-radius: var(--r-lg);
  box-shadow: var(--panel-shadow);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  position: relative;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.sessions-col:hover {
  transform: translateY(-2px);
  box-shadow: 0 32px 72px -26px rgba(0, 0, 0, 0.72);
}
.sessions-col-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 1rem;
}
.sessions-col-head .name {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--star);
}
.sessions-col-head .sub {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--star-dim);
}
.sessions-col-head .jp {
  font-family: var(--cjk);
  font-weight: 500;
  color: var(--star-dim);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  margin-left: 0.5rem;
}

.sessions-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.65rem;
}
.sessions-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
}
.sessions-list li:last-child { border-bottom: 0; }
.sessions-list .time {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--star);
  font-variant-numeric: tabular-nums;
}
.sessions-list .season {
  font-family: var(--display);
  font-size: 0.92rem;
  color: var(--star-dim);
  letter-spacing: 0.005em;
}
.sessions-list .season em {
  font-style: italic;
  color: var(--moon);
  font-size: 0.86em;
  margin-left: 0.3rem;
}
.sessions-list .seats {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--star-dim);
  font-variant-numeric: tabular-nums;
}
.sessions-list .seats .bar {
  display: inline-block;
  width: 38px; height: 4px;
  background: var(--line-strong);
  border-radius: var(--r-pill);
  margin-left: 0.5rem;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
}
.sessions-list .seats .bar i {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--observe);
  border-radius: var(--r-pill);
  animation: seat-pulse 2.6s ease-in-out infinite;
}
@keyframes seat-pulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

.sessions-foot {
  position: relative;
  margin-top: 1.6rem;
  padding: 1.1rem 1.2rem 1.1rem 1.5rem;
  background: var(--panel-soft);
  border: 1px solid var(--panel-brd);
  border-radius: var(--r-md);
  box-shadow: var(--panel-shadow);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}
.sessions-foot::before {
  content: "";
  position: absolute; left: 0.62rem; top: 0.8rem; bottom: 0.8rem;
  width: 4px; border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--observe), rgba(224, 74, 61, 0.35));
}
.sessions-foot .label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--observe);
  padding-left: 0.55rem;
}
.sessions-foot .body {
  margin: 0;
  font-size: 0.95rem;
  color: var(--star);
}
.sessions-foot .body em { color: var(--star-dim); font-style: italic; }
.sessions-foot .price {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--star);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.sessions-foot .price strong { color: var(--observe); font-weight: 600; font-size: 1.05em; }

/* ============================================================
   WHAT WE SEE — separated floating cards over open sky
   ============================================================ */
.see-inner { max-width: var(--max); margin: 0 auto; position: relative; }

.see-figure {
  margin: 0 0 clamp(1.6rem, 3vw, 2.4rem);
}
.see-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 62%;
  border-radius: var(--r-md);
  border: 1px solid var(--panel-brd);
  box-shadow: var(--panel-shadow);
}

.see-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.see-card {
  padding: 1.6rem 1.4rem 1.7rem;
  background: var(--panel);
  border: 1px solid var(--panel-brd);
  border-radius: var(--r-md);
  box-shadow: var(--panel-shadow);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  display: grid;
  gap: 0.7rem;
  position: relative;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out, border-color 200ms ease-out;
}
.see-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 32px 72px -26px rgba(0, 0, 0, 0.72);
  border-color: rgba(242, 245, 255, 0.22);
}
.see-card .see-num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--observe);
  margin: 0;
}
.see-card h3 {
  color: var(--star);
  font-size: 1.25rem;
  letter-spacing: 0.005em;
}
.see-card h3 .jp { font-family: var(--cjk); font-weight: 500; color: var(--star-dim); font-size: 0.86em; margin-left: 0.4rem; letter-spacing: 0.04em; }
.see-card .desc {
  margin: 0;
  font-size: 0.94rem;
  color: var(--star-dim);
  line-height: 1.65;
}
.see-card .meta {
  display: flex; gap: 0.8rem; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moon);
  margin-top: 0.3rem;
}
.see-card .meta b { color: var(--star); font-weight: 500; }

/* ============================================================
   MOON CALENDAR — floating rounded tiles
   ============================================================ */
.mooncal-inner { max-width: var(--max); margin: 0 auto; }
.mooncal-grid {
  list-style: none; margin: 0 0 0.55rem; padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}
.mooncal-grid .cal-head {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}
.mooncal-grid .cal-head span {
  padding: 0.4rem 0 0.6rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--star-dim);
  text-align: center;
}
.mooncal-grid li:not(.cal-head) {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.35rem;
  padding: 0.6rem 0.3rem 0.7rem;
  background: var(--panel-soft);
  border: 1px solid var(--panel-brd);
  border-radius: var(--r-sm);
  text-align: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--star);
  position: relative;
  transition: background 200ms, border-color 200ms, transform 200ms;
}
.mooncal-grid li:not(.cal-head):hover {
  background: rgba(224, 74, 61, 0.1);
  border-color: rgba(224, 74, 61, 0.4);
  transform: translateY(-2px);
}
.mooncal-grid li.cal-blank {
  background: rgba(13, 18, 43, 0.22);
  border-color: rgba(242, 245, 255, 0.06);
  min-height: 4.6rem;
}
.mooncal-grid li.is-today {
  background: rgba(224, 74, 61, 0.16);
  border-color: var(--observe);
  outline: 1px solid var(--observe);
  outline-offset: -1px;
  box-shadow: 0 0 24px -4px rgba(224, 74, 61, 0.45);
}
.mooncal-grid .cal-d {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--star-dim);
  letter-spacing: 0.05em;
}
.mooncal-grid li.is-today .cal-d {
  /* On .is-today bg ≈ #281727 (night + 16% red overlay). Was observe (#E04A3D)
     ~4.23:1 — just under 4.5:1.
     star (#F2F5FF) on #281727 is ~15.38:1, the highest existing variable
     so the "today" date still reads as the brightest cell. */
  color: var(--star);
}
.mooncal-grid .cal-glyph {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--moon);
  text-shadow: 0 0 8px rgba(168, 176, 200, 0.35);
}
.mooncal-grid .cal-pct {
  font-size: 0.7rem;
  color: var(--star-dim);
  letter-spacing: 0.04em;
}

.mooncal-legend {
  margin: 1rem 0 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--star-dim);
  display: flex; flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  padding-top: 0.6rem;
}
.mooncal-legend .g { color: var(--moon); margin-right: 0.3rem; font-size: 1.1em; line-height: 0; }

/* ============================================================
   ANNUAL METEOR SHOWER CALENDAR — rounded table card
   ============================================================ */
.showers-inner { max-width: var(--max); margin: 0 auto; }

.table-card {
  margin-top: 1.6rem;
  background: var(--panel);
  border: 1px solid var(--panel-brd);
  border-radius: var(--r-md);
  box-shadow: var(--panel-shadow);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  overflow: hidden;
}

.shower-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--star);
  table-layout: fixed;
}
.shower-table thead th:nth-child(1),
.shower-table tbody th:nth-child(1) { width: 22%; }
.shower-table thead th:nth-child(2),
.shower-table tbody td:nth-child(2) { width: 9%; }
.shower-table thead th:nth-child(3),
.shower-table tbody td:nth-child(3) { width: 14%; }
.shower-table thead th:nth-child(4),
.shower-table tbody td:nth-child(4) { width: 8%; }
.shower-table thead th:nth-child(5),
.shower-table tbody td:nth-child(5) { width: 47%; }
.shower-table thead th {
  text-align: left;
  padding: 0.85rem 0.9rem;
  background: rgba(6, 9, 25, 0.55);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--star-dim);
}
.shower-table tbody th,
.shower-table tbody td {
  text-align: left;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px dashed var(--line);
  vertical-align: top;
}
.shower-table tbody tr:last-child th,
.shower-table tbody tr:last-child td { border-bottom: 0; }
.shower-table tbody th {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  color: var(--star);
}
.shower-table tbody th .jp {
  display: block;
  font-family: var(--cjk);
  font-weight: 500;
  font-size: 0.84rem;
  color: var(--star-dim);
  margin-top: 0.15rem;
  letter-spacing: 0.04em;
}
.shower-table tbody td { color: var(--star-dim); }
.shower-table tbody td.t {
  color: var(--star);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.shower-table tr.is-prime {
  background: rgba(224, 74, 61, 0.07);
}
.shower-table tr.is-prime th::before {
  content: "\2605";
  color: var(--observe);
  margin-right: 0.4rem;
  font-size: 0.85em;
}
.shower-table tbody tr { transition: background 160ms ease-out; }
.shower-table tbody tr:hover { background: rgba(224, 74, 61, 0.06); }
.shower-table tbody tr.is-prime:hover { background: rgba(224, 74, 61, 0.11); }

/* ============================================================
   CABIN & GEAR — rounded photo cards + cinematic scope band
   ============================================================ */
.cabin-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.cabin .cabin-photo {
  margin: 0;
  position: relative;
  border: 1px solid var(--panel-brd);
  border-radius: var(--r-md);
  box-shadow: var(--panel-shadow);
  overflow: hidden;
}
.cabin .cabin-photo img {
  width: 100%; height: auto;
  filter: contrast(1.05) saturate(0.85);
  display: block;
}
.cabin .cabin-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  margin: 0;
  padding: 0.6rem 0.9rem;
  background: rgba(6, 9, 25, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--star-dim);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-top: 1px solid rgba(242, 245, 255, 0.16);
  text-align: center;
}
.cabin .cabin-scope {
  grid-column: 1 / -1;
  margin: 0;
}
.cabin .cabin-scope img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: 68% 42%;
  border-radius: var(--r-md);
  border: 1px solid var(--panel-brd);
  box-shadow: var(--panel-shadow);
}

.cabin-text h2 { margin-bottom: 1.2rem; color: var(--star); }
.cabin-text p { color: var(--star-dim); max-width: 48ch; }
.cabin-text .signoff {
  margin-top: 1.4rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--star-dim);
}

.gear-list {
  list-style: none; margin: 1.4rem 0 0; padding: 1.2rem 0 0;
  display: grid; gap: 0.5rem;
  border-top: 1px solid var(--line);
}
.gear-list li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
  align-items: baseline;
}
.gear-list li:last-child { border-bottom: 0; }
.gear-list .k {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--observe);
}
.gear-list .v { color: var(--star); }
.gear-list .v em { font-style: italic; color: var(--moon); font-size: 0.92em; }

/* ============================================================
   HOUSE RULES — two floating panels, pill stamps
   ============================================================ */
.rules-inner { max-width: var(--max); margin: 0 auto; }

.rules-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.1rem;
}
.rules-col {
  padding: 1.6rem 1.4rem 1.8rem;
  background: var(--panel);
  border: 1px solid var(--panel-brd);
  border-radius: var(--r-md);
  box-shadow: var(--panel-shadow);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  min-width: 0;
  overflow-wrap: break-word;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.rules-col:hover {
  transform: translateY(-2px);
  box-shadow: 0 32px 72px -26px rgba(0, 0, 0, 0.72);
}
.rules-col h3 {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--observe);
}
.rules-col p { color: var(--star-dim); font-size: 0.96rem; max-width: 52ch; }
.rules-col ul {
  list-style: none; margin: 0.6rem 0 0; padding: 0;
  display: grid; gap: 0.55rem;
}
.rules-col ul li {
  display: block;
  position: relative;
  padding-left: 1rem;
  font-size: 0.94rem; color: var(--star); line-height: 1.55;
  margin-bottom: 0;
}
.rules-col ul li::before {
  content: "•"; color: var(--observe); font-size: 1.2em; line-height: 1;
  position: absolute; left: 0; top: 0.2em;
}
.rules-col ul li strong { font-weight: 600; color: var(--star); white-space: nowrap; }
.rules-col .stamp {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--observe);
  border-radius: var(--r-pill);
  color: var(--observe);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.rules-col .stamp::before {
  content: "✓";
  display: inline-block; width: 18px; height: 18px;
  background: var(--observe); color: var(--night);
  border-radius: 50%; text-align: center; line-height: 18px;
  font-size: 0.8em; font-weight: 700;
}

/* ============================================================
   TRANSIT & ARRIVAL — prose + rounded village photo
   ============================================================ */
.transit-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.transit-photo {
  margin: 0;
  position: relative;
  border: 1px solid var(--panel-brd);
  border-radius: var(--r-md);
  box-shadow: var(--panel-shadow);
  overflow: hidden;
  order: 2;
}
.transit-photo img {
  width: 100%; height: auto;
  filter: contrast(1.04) saturate(0.85) brightness(0.92);
  display: block;
}
.transit-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  margin: 0;
  padding: 0.6rem 0.9rem;
  background: rgba(6, 9, 25, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--star-dim);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-top: 1px solid rgba(242, 245, 255, 0.16);
  text-align: center;
}
.transit-text { order: 1; }
.transit-text h2 { margin-bottom: 1.1rem; }
.transit-text p { color: var(--star-dim); }

.transit-list {
  list-style: none; margin: 1.4rem 0 0; padding: 0;
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.transit-list li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--line);
  align-items: baseline;
  font-size: 0.96rem;
}
.transit-list li:last-child { border-bottom: 0; }
.transit-list .mode {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--observe);
}
.transit-list .detail { color: var(--star); }
.transit-list .detail em { font-style: italic; color: var(--moon); }

/* ============================================================
   WINTER — open prose, floating cards, snow-forest band
   ============================================================ */
.winter-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  position: relative;
}
.winter-text h2 { color: var(--star); margin-bottom: 1rem; }
.winter-text .lede {
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--star);
  letter-spacing: -0.005em;
  margin-bottom: 1rem;
}
.winter-text p { color: var(--star-dim); }
.winter-text .winter-gear {
  position: relative;
  margin-top: 1.4rem; padding: 1rem 1.2rem 1rem 1.5rem;
  background: var(--panel-soft);
  border: 1px solid var(--panel-brd);
  border-radius: var(--r-md);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  display: grid; gap: 0.5rem;
  font-size: 0.92rem;
}
.winter-text .winter-gear::before {
  content: "";
  position: absolute; left: 0.62rem; top: 0.75rem; bottom: 0.75rem;
  width: 4px; border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--moon), rgba(168, 176, 200, 0.3));
}
.winter-text .winter-gear .label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moon);
  padding-left: 0.55rem;
}
.winter-text .winter-gear ul {
  list-style: none; margin: 0; padding: 0 0 0 0.55rem;
  display: grid; gap: 0.3rem;
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--star);
}
.winter-text .winter-gear ul li::before {
  content: "+ "; color: var(--moon);
}

.winter-aside {
  display: grid; gap: 1rem;
}
.winter-card {
  background: var(--panel);
  border: 1px solid var(--panel-brd);
  border-radius: var(--r-md);
  box-shadow: var(--panel-shadow);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  padding: 1.3rem 1.3rem 1.4rem;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.winter-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 32px 72px -26px rgba(0, 0, 0, 0.72);
}
.winter-card h3 {
  margin: 0 0 0.5rem;
  color: var(--star);
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.005em;
}
.winter-card h3 .jp { font-family: var(--cjk); font-weight: 500; color: var(--star-dim); font-size: 0.84em; margin-left: 0.4rem; }
.winter-card p { margin: 0; font-size: 0.92rem; color: var(--star-dim); }

.winter-figure {
  grid-column: 1 / -1;
  margin: clamp(0.6rem, 2vw, 1.4rem) 0 0;
}
.winter-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 38%;
  border-radius: var(--r-md);
  border: 1px solid var(--panel-brd);
  box-shadow: var(--panel-shadow);
}

/* ============================================================
   BOOKING — meta tiles + rounded form panel (mailto 简洁版)
   ============================================================ */
.booking {
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gut) clamp(4rem, 8vw, 6rem);
}
.booking-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.booking-text h2 { color: var(--star); margin-bottom: 1rem; }
.booking-text .lede {
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--star);
  margin-bottom: 1.2rem;
}
.booking-text p { color: var(--star-dim); }
.booking-text .meta-grid {
  margin: 1.4rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.booking-text .meta-grid > div {
  padding: 0.95rem 1.05rem;
  background: var(--panel-soft);
  border: 1px solid var(--panel-brd);
  border-radius: var(--r-sm);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  transition: transform 200ms ease-out, border-color 200ms ease-out;
}
.booking-text .meta-grid > div:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 245, 255, 0.24);
}
.booking-text .meta-grid .k {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--star-dim);
  display: block;
  margin-bottom: 0.3rem;
}
.booking-text .meta-grid .v {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--star);
  font-variant-numeric: tabular-nums;
}
.booking-text .meta-grid .v a { color: var(--star); text-decoration: none; border-bottom: 1px solid var(--observe); }
.booking-text .meta-grid .v a:hover { color: var(--observe); }

.booking-form {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-brd);
  border-radius: var(--r-lg);
  box-shadow: var(--panel-shadow);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  padding: 1.6rem 1.5rem 1.7rem 1.8rem;
}
.booking-form::before {
  content: "";
  position: absolute; left: 0.8rem; top: 1.1rem; bottom: 1.1rem;
  width: 4px; border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--observe), rgba(224, 74, 61, 0.35));
}
.booking-form .form-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 0.9rem; margin-bottom: 1rem;
  border-bottom: 1px dashed var(--line);
}
.booking-form .form-head h3 {
  margin: 0; color: var(--star); font-size: 1.15rem; letter-spacing: 0.005em;
}
.booking-form .form-head .num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--observe);
}
.booking-form ul.tip-list {
  list-style: none; margin: 0 0 1.2rem; padding: 0;
  display: grid; gap: 0.4rem;
  font-size: 0.92rem; color: var(--star-dim);
}
.booking-form ul.tip-list li::before { content: "— "; color: var(--observe); }

.booking-form .book-cta {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  background: var(--observe);
  /* On observe (#E04A3D) bg. Was star (#F2F5FF) ~3.63:1 — fail.
     night (#0B1026) on observe is ~4.79:1. The only .book-cta in the
     file is <a class="book-cta" id="book-now" ...>, so this lifts the
     .book-now cta in one place. */
  color: var(--night);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--observe);
  border-radius: var(--r-pill);
  box-shadow: 0 14px 34px -10px rgba(224, 74, 61, 0.5);
  transition: background 140ms, color 140ms, transform 140ms ease-out, box-shadow 140ms ease-out;
}
.booking-form .book-cta:hover {
  background: var(--star);
  color: var(--observe);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(242, 245, 255, 0.35);
}
.booking-form .book-cta::after { content: "↗"; font-size: 1.1em; line-height: 0; }
.booking-form .book-note {
  margin-top: 0.9rem; font-size: 0.84rem; color: var(--star-dim);
  font-style: italic;
}

/* ============================================================
   FOOTER — 演示站签名
   ============================================================ */
.site-footer {
  position: relative; z-index: 3;
  background: rgba(6, 9, 25, 0.55);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  padding: clamp(2rem, 4vw, 3rem) var(--gut) 2.4rem;
  color: var(--star-dim);
  font-size: 0.86rem;
  border-top: 1px solid var(--line);
}
.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.6rem;
  align-items: center;
}
.footer-mark {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px;
  border: 1px solid var(--star-dim);
  border-radius: 50%;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  color: var(--star);
  letter-spacing: 0.02em;
  line-height: 0.95;
  position: relative;
}
.footer-mark::before {
  content: "";
  position: absolute; inset: 4px;
  border: 1px solid var(--star-dim);
  border-radius: 50%;
  opacity: 0.5;
}
.footer-mark span { display: block; }
.footer-mark .top {
  font-family: var(--mono);
  font-size: 0.6rem; letter-spacing: 0.16em;
  color: var(--star-dim); margin-bottom: 0.1rem;
}
.footer-mark .big { font-size: 1rem; }
.footer-mark .bot {
  font-family: var(--mono);
  font-size: 0.58rem; letter-spacing: 0.16em;
  color: var(--star-dim); margin-top: 0.1rem;
}

.footer-text { margin: 0; line-height: 1.55; }
.footer-text .brand {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--star);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.footer-text .demo { font-style: italic; }
.footer-text .demo a {
  color: var(--observe); text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-meta {
  margin: 0;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--star-dim);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.footer-meta .stamp {
  display: inline-block;
  border: 1px solid var(--star-dim);
  border-radius: var(--r-sm);
  padding: 0.3rem 0.55rem;
  margin-top: 0.4rem;
  color: var(--star);
  font-size: 0.72rem;
}

/* ============================================================
   STICKY BOOKING — desktop pill + mobile rounded bar
   ============================================================ */
.sticky-book {
  position: fixed;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  background: var(--observe);
  /* Main span inside .sticky-book sits on observe (#E04A3D).
     Was star (#F2F5FF) ~3.63:1 — fail.
     night (#0B1026) on observe is ~4.79:1. */
  color: var(--night);
  border: 1px solid var(--star);
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 12px 34px -8px rgba(224, 74, 61, 0.55);
  transition: background 140ms, color 140ms, transform 140ms, box-shadow 140ms;
}
.sticky-book:hover {
  background: var(--star);
  color: var(--observe);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -10px rgba(242, 245, 255, 0.4);
}
.sticky-book .pulse {
  width: 8px; height: 8px;
  background: var(--star);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
.sticky-book:hover .pulse { background: var(--observe); }
.sticky-book .meta {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  /* On observe (#E04A3D) bg. Was rgba(242,245,255,0.8) (≈#EED3D8 composite)
     ~2.88:1 — fail.
     night (#0B1026) on observe is ~4.79:1, sits inside the same
     red chip as the main span. */
  color: var(--night);
  border-left: 1px solid rgba(242, 245, 255, 0.4);
  padding-left: 0.7rem;
}
.sticky-book:hover .meta { color: rgba(195, 58, 46, 0.8); border-left-color: rgba(195, 58, 46, 0.4); }

/* Desktop position */
@media (min-width: 861px) {
  .sticky-book {
    right: 1.6rem;
    bottom: 1.6rem;
    padding: 0.85rem 1.25rem;
  }
}
/* Mobile position */
@media (max-width: 860px) {
  .sticky-book {
    left: 1rem; right: 1rem; bottom: 0.8rem;
    padding: 0.95rem 1.2rem;
    border-radius: 18px;
    justify-content: center;
  }
  .sticky-book .meta { display: none; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.78); }
}

/* ============================================================
   DETAIL ANIMATIONS — beyond the signature starfield
   1) Section reveal: data-reveal fades + rises in on scroll.
   2) Moon-disc scan line: a thin red line draws across the disc
      once when the disc enters view.
   3) Session-list row meteor-trace on hover/focus.
   4) Seat bar heartbeat intensifies when row is in view (data-seat-row.is-hot).
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease-out, transform 700ms cubic-bezier(.18,.7,.2,1);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-panel { position: relative; overflow: hidden; }
.hero-panel::after {
  content: "";
  position: absolute;
  left: -10%;
  top: 0; bottom: 0;
  width: 30%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(224, 74, 61, 0) 40%,
    rgba(224, 74, 61, 0.5) 50%,
    rgba(224, 74, 61, 0) 60%,
    transparent 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(0);
}
.hero-panel.is-scanning::after {
  animation: moon-scan 1.8s ease-out 0.1s forwards;
}
@keyframes moon-scan {
  0%   { transform: translateX(-30%); opacity: 0; }
  10%  { opacity: 0.85; }
  90%  { opacity: 0.85; }
  100% { transform: translateX(360%); opacity: 0; }
}

.sessions-list li {
  position: relative;
  overflow: hidden;
}
.sessions-list li::before {
  content: "";
  position: absolute;
  left: -30%;
  top: 50%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(224, 74, 61, 0.0) 30%,
    rgba(242, 245, 255, 0.6) 50%,
    rgba(224, 74, 61, 0.4) 70%,
    transparent 100%);
  opacity: 0;
  pointer-events: none;
}
.sessions-list li:hover::before,
.sessions-list li:focus-within::before {
  animation: row-trace 1.2s cubic-bezier(.4,.2,.4,1) forwards;
}
@keyframes row-trace {
  0%   { left: -30%; opacity: 0; }
  10%  { opacity: 0.9; }
  100% { left: 110%; opacity: 0; }
}

.sessions-list .seats .bar i { animation-duration: 2.6s; }
.sessions-list li.is-hot .seats .bar i { animation-duration: 1.4s; }

/* ============================================================
   RESPONSIVE — DOM 顺序保持，单列与字号收紧
   ============================================================ */
/* Below a 1320px viewport the masthead trio (wordmark / tonight line /
   nav) can no longer coexist — the tonight line duplicates the hero
   status board, so it bows out first. It returns on ≥1320px viewports
   (masthead-inner is capped at 1360px, which fits the longest — FR —
   trio with ~25px of headroom) and on mobile (where it reflows to its
   own row). */
@media (max-width: 1320px) and (min-width: 861px) {
  .masthead .tonight-line { display: none; }
}

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-panel { max-width: 520px; }
  .cabin-inner { grid-template-columns: 1fr; }
  .transit-inner { grid-template-columns: 1fr; }
  .transit-photo { order: 0; }
  .transit-text { order: 1; }
  .winter-inner { grid-template-columns: 1fr; }
  .booking-inner { grid-template-columns: 1fr; }
  .sessions-grid { grid-template-columns: 1fr; }
  .see-grid { grid-template-columns: 1fr 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .mooncal-grid li:not(.cal-head) { padding: 0.45rem 0.15rem 0.5rem; }
  .mooncal-grid .cal-glyph { font-size: 1.1rem; }
}

/* Touch targets — ≥40×40px at ≤768 (WCAG AA / Apple HIG) */
@media (max-width: 768px) {
  .masthead nav a { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 0.5em; }
  .lang-switch a { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 0.5em; }
  /* Mailto "Ask about a site like this" button */
  .booking-form .book-cta { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 0.5em; }
}

@media (max-width: 860px) {
  .masthead-inner {
    grid-template-columns: 1fr auto;
    gap: 0.7rem 1rem;
    padding: 0.75rem var(--gut);
  }
  .masthead .tonight-line {
    grid-column: 1 / -1;
    justify-self: start;
    font-size: 0.72rem;
    white-space: normal;
  }
  .masthead nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--line);
    margin-top: 0.2rem;
  }
  .masthead nav .book-chip-inline { margin-left: auto; }
  .lang-switch { margin-left: auto; }

  .hero-inner { padding: clamp(2.4rem, 8vw, 3.6rem) var(--gut) clamp(1.6rem, 4vw, 2.4rem); }
  .hero-status { font-size: 0.82rem; grid-template-columns: 1fr; gap: 0.45rem; }
  .hero-status .label { padding-left: 0.55rem; }
  .hero-status .row { font-size: 0.86rem; gap: 0.3rem 1rem; }

  .hero-figure img { aspect-ratio: 16 / 10; }
  .see-figure img,
  .cabin .cabin-scope img,
  .winter-figure img { aspect-ratio: 16 / 10; }

  .hero-panel { padding: 1.1rem 1rem 1.2rem; }
  .moon-disc-wrap { width: 96px; height: 96px; }
  .moon-disc .phase-pct { font-size: 15px; }
  .hero-panel .moon-text .row { grid-template-columns: 5rem 1fr; }

  .hero-footnote {
    flex-direction: column; align-items: flex-start;
    gap: 0.4rem;
  }

  .section-head { grid-template-columns: 1fr; align-items: start; }
  .sessions-col { padding: 1.2rem 1.05rem 1.3rem; }
  .sessions-list li { grid-template-columns: 4rem 1fr; }
  .sessions-list .seats { grid-column: 1 / -1; padding-left: 4.7rem; }
  .sessions-foot { grid-template-columns: 1fr; gap: 0.5rem; text-align: left; }
  .sessions-foot .price { text-align: left; }
  .sessions-foot .label { padding-left: 0.55rem; }

  .see-grid { grid-template-columns: 1fr; }
  .see-card { padding: 1.3rem 1.1rem 1.4rem; }
  .mooncal-grid { gap: 0.35rem; }
  .mooncal-grid .cal-head { gap: 0.35rem; }
  .mooncal-grid .cal-head span { font-size: 0.62rem; letter-spacing: 0.1em; }
  .mooncal-grid .cal-pct { font-size: 0.62rem; }
  .mooncal-grid .cal-d { font-size: 0.75rem; }
  .mooncal-grid li:not(.cal-head) { border-radius: 8px; }

  .table-card { overflow: visible; }
  .shower-table thead { display: none; }
  .shower-table tbody tr { display: grid; gap: 0.2rem; padding: 0.95rem 1rem; border-bottom: 1px solid var(--line); }
  .shower-table tbody tr:last-child { border-bottom: 0; }
  .shower-table tbody th { padding: 0 0 0.2rem; border-bottom: 0; }
  .shower-table tbody td { padding: 0.15rem 0; border-bottom: 0; }
  .shower-table tbody td.t { display: inline-block; margin-right: 0.4rem; }
  .shower-table tbody td::before {
    content: attr(data-mobile-label) ": ";
    color: var(--star-dim);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-right: 0.4rem;
  }

  .cabin-text .gear-list li { grid-template-columns: 1fr; gap: 0.2rem; }
  .cabin-text .gear-list .k { font-size: 0.72rem; }

  .transit-list li { grid-template-columns: 1fr; gap: 0.2rem; }

  .winter-aside { margin-top: 0.5rem; }
  .booking-text .meta-grid { grid-template-columns: 1fr; }

  .site-footer-inner { grid-template-columns: 1fr; text-align: left; gap: 1rem; }
  .footer-mark { margin: 0; }
  .footer-meta { text-align: left; }

  .sessions-col-head .jp { display: block; margin: 0.15rem 0 0; }
  .sessions-col-head { flex-direction: column; align-items: flex-start; gap: 0.1rem; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .hero-cta, .hero-cta-ghost { padding: 0.85rem 1.1rem; font-size: 0.92rem; }
  .hero-status .row { font-size: 0.8rem; }
  .hero-panel .moon-text { font-size: 0.78rem; }
  .footer-mark { width: 56px; height: 56px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
