@charset "UTF-8";

/* ===================================================================
   SAKURA SANCTUARY & JAPAN CHERRY BLOSSOM GUIDE
   Award-Winning Editorial Art Direction
   =================================================================== */

:root {
  --font-display: "Italiana", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-kanji: "Noto Serif JP", serif;
  
  /* Day Palette (Washi Paper & Sakura Rose) */
  --ink: #182232;
  --sub: #435368;
  --muted: #6b7a90;
  --bg-page: #fbf9f6;
  --bg-alt: #f3eee9;
  --card-bg: rgba(255, 255, 255, 0.92);
  --card-border: rgba(24, 34, 50, 0.08);
  --card-shadow: 0 16px 40px rgba(24, 34, 50, 0.06);
  --accent-pink: #e27d97;
  --accent-rose: #d65576;
  --accent-vermilion: #c8414b;
  --accent-gold: #c98836;
  --accent-pine: #3f6858;
  
  /* Layout */
  --edge: clamp(24px, 4.5vw, 76px);
  --header-h: 72px;
  --px: 0;
  --py: 0;
}

/* Night Palette (Midnight Sapphire, Yozakura & Lantern Glow) */
body.is-night {
  --ink: #f5f4f8;
  --sub: #cbd5e1;
  --muted: #94a3b8;
  --bg-page: #080f1d;
  --bg-alt: #0c1628;
  --card-bg: rgba(14, 25, 46, 0.88);
  --card-border: rgba(255, 255, 255, 0.09);
  --card-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
  --accent-pink: #f4a6bc;
  --accent-rose: #fa7b9d;
  --accent-vermilion: #e0535d;
  --accent-gold: #f5b041;
  --accent-pine: #64b592;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  padding: 0;
  min-width: 320px;
  background-color: var(--bg-page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.8s ease, color 0.8s ease;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
dialog:focus-visible {
  outline: 2px solid var(--accent-rose);
  outline-offset: 4px;
}

::selection {
  background: #f6c8d8;
  color: #192436;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: -100px;
  left: 24px;
  background: #fff;
  color: #192436;
  padding: 10px 18px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 20px;
}

/* ===================================================================
   GLOBAL FIXED HEADER
   =================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(251, 249, 246, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(24, 34, 50, 0.07);
  transition: background-color 0.6s ease, border-color 0.6s ease, transform 0.4s ease;
}

body.is-night .site-header {
  background: rgba(8, 15, 29, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.kanji-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-vermilion);
  color: #fff;
  font-family: var(--font-kanji);
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(200, 65, 75, 0.35);
  transition: transform 0.3s ease;
}

.brand-mark:hover .kanji-badge {
  transform: rotate(-6deg) scale(1.08);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 6px;
  border-left: 1px solid rgba(0,0,0,0.12);
}

body.is-night .brand-sub {
  border-left-color: rgba(255,255,255,0.16);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
}

.site-nav-link {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sub);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.site-nav-link:hover,
.site-nav-link.is-active {
  color: var(--accent-rose);
}

.site-nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-rose);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav-link:hover::after,
.site-nav-link.is-active::after {
  width: 100%;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Quick Audio Button */
.audio-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(24, 34, 50, 0.06);
  border: 1px solid rgba(24, 34, 50, 0.08);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
}

body.is-night .audio-quick-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

.audio-quick-btn:hover {
  background: rgba(226, 125, 151, 0.16);
  border-color: var(--accent-pink);
  color: var(--accent-rose);
}

.audio-quick-btn[aria-pressed="true"] {
  background: var(--accent-rose);
  border-color: var(--accent-rose);
  color: #fff;
  box-shadow: 0 4px 14px rgba(214, 85, 118, 0.35);
}

.audio-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.audio-quick-btn[aria-pressed="true"] .audio-wave {
  animation: wave-pulse 1.2s infinite ease-in-out alternate;
}

@keyframes wave-pulse {
  from { opacity: 0.4; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1.1); }
}

/* Theme Toggle Capsule */
.theme-toggle {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.toggle-track {
  position: relative;
  width: 64px;
  height: 32px;
  border-radius: 999px;
  background: rgba(24, 34, 50, 0.09);
  border: 1px solid rgba(24, 34, 50, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 6px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

body.is-night .toggle-track {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.22);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
}

body.is-night .toggle-thumb {
  transform: translateX(32px);
  background: #121f38;
}

.icon-wrap svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink);
  opacity: 0.72;
}

/* Hamburger Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===================================================================
   HERO SANCTUARY VIEWPORT (2K PARALLAX SCENE)
   =================================================================== */

.world {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink);
  background: #87b2dc;
  margin-top: 0;
  transition: color 1.1s ease, background-color 1.2s ease;
}

body.is-night .world,
.world.is-night {
  --ink: #f4f1f8;
  --sub: #d7d4e6;
  background: #0d1b33;
}

.layer,
.wordmark-stage,
.petal-canvas,
.fireflies {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Synchronized Scene Entrance Choreography (Eliminate Flash / Pop-in) */
html.scene-loading .layer-sky,
html.scene-loading .layer-shrine,
html.scene-loading .petal-canvas,
html.scene-loading .fireflies,
html.scene-loading .topbar,
html.scene-loading .bottom-bar,
html.scene-loading .breeze-pill {
  opacity: 0 !important;
  pointer-events: none !important;
}

html.scene-loading .wordmark-char {
  opacity: 0 !important;
  transform: translate3d(0, 36px, 0) !important;
  animation: none !important;
}

.layer-sky,
.layer-shrine,
.topbar,
.bottom-bar,
.breeze-pill {
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

html.scene-ready .layer-sky,
html.scene-ready .layer-shrine,
html.scene-ready .petal-canvas,
html.scene-ready .fireflies,
html.scene-ready .topbar,
html.scene-ready .bottom-bar,
html.scene-ready .breeze-pill {
  opacity: 1;
}

/* Layer 1: Sky & Mountains */
.layer-sky {
  z-index: 1;
  inset: -3.5%;
  transform: translate3d(calc(var(--px) * -10px), calc(var(--py) * -6px), 0) scale(1.03);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.sky-backdrop {
  position: absolute;
  inset: 0;
  background-position: center 38%;
  background-size: cover;
  background-repeat: no-repeat;
}

.sky-day {
  background-image: url("assets/sky-day.webp");
}

.sky-night {
  background-image: url("assets/sky-night.webp");
  opacity: 0;
  transition: opacity 1.4s ease;
}

body.is-night .sky-night,
.world.is-night .sky-night {
  opacity: 1;
}

.sky-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 28%, rgba(255, 230, 240, 0.38) 0%, rgba(255, 240, 246, 0.14) 52%, transparent 78%),
    linear-gradient(180deg, rgba(230, 241, 252, 0.42) 0%, transparent 38%);
  transition: opacity 1.2s ease, background 1.2s ease;
}

body.is-night .sky-atmosphere,
.world.is-night .sky-atmosphere {
  background:
    radial-gradient(ellipse 65% 50% at 18% 18%, rgba(8, 17, 36, 0.68) 0%, rgba(8, 17, 36, 0.28) 54%, transparent 82%),
    linear-gradient(180deg, rgba(7, 15, 32, 0.48) 0%, transparent 40%);
}

/* Layer 2: "sakura" Wordmark */
.wordmark-stage {
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: clamp(100px, 15vh, 175px);
  transform: translate3d(calc(var(--px) * -3.5px), calc(var(--py) * -2.5px), 0);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.wordmark {
  font-family: "Italiana", var(--font-display);
  font-size: clamp(86px, 18.2vw, 280px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: clamp(0.04em, 1.1vw, 0.08em);
  text-transform: lowercase;
  user-select: none;
  display: flex;
  justify-content: center;
  color: #ffffff;
  filter: drop-shadow(0 4px 16px rgba(18, 28, 48, 0.38));
  text-shadow:
    0 1px 3px rgba(15, 23, 42, 0.45),
    0 4px 24px rgba(255, 255, 255, 0.75),
    0 0 36px rgba(255, 235, 245, 0.5);
  transition: filter 1.2s ease, text-shadow 1.2s ease;
}

body.is-night .wordmark,
.world.is-night .wordmark {
  color: #ffffff;
  filter: drop-shadow(0 8px 32px rgba(8, 14, 30, 0.95));
  text-shadow:
    0 0 16px rgba(255, 255, 255, 0.95),
    0 0 36px rgba(220, 240, 255, 0.75),
    0 0 60px rgba(180, 215, 255, 0.45);
}

/* Mid Petals */
.petal-canvas-back {
  z-index: 3;
}

/* Layer 3: 2K Shrine Pavilion & Trees */
.layer-shrine {
  z-index: 4;
  inset: -2.5%;
  transform: translate3d(calc(var(--px) * 6px), calc(var(--py) * 3px), 0);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  overflow: hidden;
}

.shrine-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 68%;
  pointer-events: none;
  image-rendering: -webkit-optimize-contrast;
}

.shrine-night {
  opacity: 0;
  transition: opacity 1.3s ease;
}

body.is-night .shrine-night,
.world.is-night .shrine-night {
  opacity: 1;
}

.water-reflection-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(60px, 10vh, 120px);
  background: linear-gradient(180deg, transparent 0%, rgba(135, 178, 220, 0.22) 55%, rgba(110, 155, 202, 0.45) 100%);
  pointer-events: none;
  mix-blend-mode: multiply;
  transition: background 1.2s ease;
}

body.is-night .water-reflection-edge,
.world.is-night .water-reflection-edge {
  background: linear-gradient(180deg, transparent 0%, rgba(13, 27, 51, 0.35) 45%, rgba(9, 18, 36, 0.65) 100%);
  mix-blend-mode: hard-light;
}

/* Lantern Glows */
.lantern-glows {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}

body.is-night .lantern-glows,
.world.is-night .lantern-glows {
  opacity: 1;
}

.lantern-halo {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: lantern-pulse 4.5s ease-in-out infinite alternate;
}

.halo-bridge-left {
  left: 10%;
  bottom: 23%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 214, 130, 0.48) 0%, rgba(255, 180, 80, 0.18) 42%, transparent 70%);
}

.halo-shrine-center {
  left: 54%;
  bottom: 28%;
  width: 220px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 220, 140, 0.52) 0%, rgba(255, 170, 70, 0.16) 45%, transparent 72%);
  animation-delay: -1.6s;
}

.halo-shrine-right {
  left: 74%;
  bottom: 25%;
  width: 260px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 202, 112, 0.32) 0%, rgba(255, 168, 82, 0.11) 45%, transparent 72%);
  animation-delay: -3.1s;
}

.halo-blossom-canopy {
  right: 6%;
  top: 26%;
  width: 320px;
  height: 260px;
  background: radial-gradient(circle, rgba(248, 198, 224, 0.24) 0%, rgba(240, 176, 212, 0.08) 50%, transparent 75%);
  animation-delay: -2.4s;
}

@keyframes lantern-pulse {
  from { transform: scale(0.94); opacity: 0.82; }
  to { transform: scale(1.06); opacity: 1; }
}

/* Fireflies */
.fireflies {
  z-index: 6;
  opacity: 0;
  transition: opacity 1.1s ease;
  overflow: hidden;
}

body.is-night .fireflies,
.world.is-night .fireflies {
  opacity: 1;
}

.fireflies i {
  position: absolute;
  left: var(--left);
  bottom: var(--bottom);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #fff6ba;
  box-shadow: 0 0 5px 1.5px rgba(255, 235, 148, 0.82), 0 0 16px 4px rgba(246, 206, 95, 0.32);
  animation: firefly-wander var(--duration) ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

@keyframes firefly-wander {
  0% { opacity: 0.14; transform: translate3d(-12px, 6px, 0) scale(0.85); }
  50% { opacity: 0.88; transform: translate3d(5px, -9px, 0) scale(1); }
  100% { opacity: 0.2; transform: translate3d(16px, -22px, 0) scale(0.9); }
}

/* Foreground Petals Canvas */
.petal-canvas-front {
  z-index: 7;
}

/* Hero Content Overlay */
.hero-content {
  position: absolute;
  z-index: 10;
  top: clamp(86px, 12vh, 124px);
  left: var(--edge);
  max-width: min(520px, calc(100% - 130px));
  pointer-events: auto;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.intro-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--sub);
  text-transform: uppercase;
}

.intro h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 500;
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.intro p {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.6;
  margin: 0;
  color: var(--sub);
  max-width: 440px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--bg-page);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 24px rgba(24, 34, 50, 0.22);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-night .btn-explore {
  background: var(--accent-rose);
  color: #fff;
  box-shadow: 0 8px 24px rgba(214, 85, 118, 0.38);
}

.btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(24, 34, 50, 0.3);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-explore:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-ritual-pill {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(24, 34, 50, 0.12);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

body.is-night .btn-ritual-pill {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--ink);
}

.btn-ritual-pill:hover {
  background: #ffffff;
  border-color: var(--accent-pink);
  color: var(--accent-rose);
}

/* Page Indicator */
.page-indicator {
  position: absolute;
  z-index: 10;
  right: clamp(18px, 3vw, 42px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.indicator-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.45;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.indicator-num.is-active {
  opacity: 1;
  color: var(--accent-rose);
}

.indicator-line {
  width: 1px;
  height: 28px;
  background: currentColor;
  opacity: 0.25;
}

/* Center-Bottom Scroll Cue */
.scroll-cue {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: clamp(64px, 8.5vh, 88px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.scroll-cue:hover {
  transform: translateX(-50%) translateY(4px);
  color: var(--accent-rose);
}

.mouse-icon {
  width: 20px;
  height: 32px;
  border-radius: 12px;
  border: 1.5px solid currentColor;
  position: relative;
  opacity: 0.75;
}

.mouse-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  background: currentColor;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: mouse-scroll 1.8s ease-in-out infinite;
}

@keyframes mouse-scroll {
  0% { opacity: 0; transform: translate(-50%, 0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 11px); }
}

.scroll-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Bottom Bar */
.bottom-bar {
  position: absolute;
  z-index: 10;
  left: var(--edge);
  right: var(--edge);
  bottom: clamp(18px, 2.8vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--sub);
  pointer-events: auto;
}

.breeze-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(24, 34, 50, 0.12);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
}

body.is-night .breeze-pill {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--ink);
}

.breeze-pill:hover {
  background: #ffffff;
  color: var(--accent-rose);
}

/* ===================================================================
   SHARED SECTION STYLES & ARCHITECTURE
   =================================================================== */

.section {
  padding: clamp(80px, 11vh, 140px) 0;
  position: relative;
  background-color: var(--bg-page);
  border-bottom: 1px solid var(--card-border);
  transition: background-color 0.8s ease;
}

.section:nth-of-type(even) {
  background-color: var(--bg-alt);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--edge);
}

.section-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.kanji-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--accent-vermilion);
  color: #ffffff;
  font-family: var(--font-kanji);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(200, 65, 75, 0.28);
}

.section-kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-rose);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(40px, 6vh, 64px);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
  color: var(--ink);
}

.section-subtitle {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--sub);
  margin: 0;
}

/* ===================================================================
   SECTION 1: PHILOSOPHY & MONO NO AWARE
   =================================================================== */

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.editorial-lead {
  position: sticky;
  top: calc(var(--header-h) + 30px);
}

.editorial-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 24px 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.editorial-quote {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 24px);
  font-style: italic;
  line-height: 1.5;
  color: var(--accent-rose);
  margin: 0 0 12px 0;
  padding-left: 20px;
  border-left: 2px solid var(--accent-pink);
}

.quote-author {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding-left: 20px;
  display: block;
}

.editorial-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lead-paragraph {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.7;
  color: var(--ink);
  font-weight: 400;
}

.editorial-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--sub);
  margin: 0;
}

.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-pink);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 600;
  line-height: 1;
  color: var(--accent-rose);
}

.stat-label {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted);
}

/* ===================================================================
   SECTION 2: 2026 SAKURA ZENSEN (FORECAST TRACKER)
   =================================================================== */

.forecast-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 36px;
  scrollbar-width: none;
}

.forecast-filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--sub);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.filter-tab:hover {
  border-color: var(--accent-pink);
  color: var(--ink);
}

.filter-tab.is-active {
  background: var(--ink);
  color: var(--bg-page);
  border-color: var(--ink);
  box-shadow: 0 4px 14px rgba(24, 34, 50, 0.18);
}

body.is-night .filter-tab.is-active {
  background: var(--accent-rose);
  border-color: var(--accent-rose);
  color: #fff;
  box-shadow: 0 4px 14px rgba(214, 85, 118, 0.4);
}

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.forecast-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.forecast-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-pink);
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}

.forecast-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.region-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.forecast-status {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
}

.status-peak {
  background: rgba(226, 125, 151, 0.16);
  color: var(--accent-rose);
}

.status-upcoming {
  background: rgba(201, 136, 54, 0.16);
  color: var(--accent-gold);
}

.status-special {
  background: rgba(63, 104, 88, 0.16);
  color: var(--accent-pine);
}

.status-later {
  background: rgba(100, 116, 139, 0.14);
  color: var(--muted);
}

.forecast-city {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.forecast-kanji {
  font-family: var(--font-kanji);
  font-size: 14px;
  color: var(--muted);
  margin: -10px 0 0 0;
}

.forecast-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(24, 34, 50, 0.03);
}

body.is-night .forecast-dates {
  background: rgba(255, 255, 255, 0.04);
}

.date-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.date-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.date-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.date-val.highlight {
  color: var(--accent-rose);
}

.progress-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(24, 34, 50, 0.08);
  overflow: hidden;
}

body.is-night .progress-track {
  background: rgba(255, 255, 255, 0.1);
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-pink) 0%, var(--accent-rose) 100%);
  transition: width 1s ease;
}

.progress-label {
  font-size: 11.5px;
  color: var(--sub);
  font-weight: 500;
}

.forecast-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sub);
  margin: 0;
}

/* ===================================================================
   SECTION 3: ICONIC SAKURA DESTINATIONS
   =================================================================== */

.destinations-showcase {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.dest-feature-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: clamp(24px, 3.5vw, 44px);
  box-shadow: var(--card-shadow);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.dest-feature-card:hover {
  border-color: var(--accent-pink);
}

.dest-reverse {
  grid-template-columns: 1fr 1.15fr;
}

.dest-reverse .dest-media-wrap {
  order: 2;
}

.dest-reverse .dest-content {
  order: 1;
}

.dest-media-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

.dest-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.dest-feature-card:hover .dest-img {
  transform: scale(1.03);
}

.dest-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(24, 34, 50, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.dest-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.dest-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dest-region {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-rose);
  text-transform: uppercase;
}

.dest-kanji {
  font-family: var(--font-kanji);
  font-size: 15px;
  color: var(--muted);
}

.dest-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

.dest-summary {
  font-size: 15px;
  line-height: 1.7;
  color: var(--sub);
  margin: 0;
}

.dest-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--sub);
}

.dest-highlights li {
  position: relative;
  padding-left: 18px;
}

.dest-highlights li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-rose);
  font-size: 18px;
  line-height: 1;
}

.btn-detail-drawer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  color: var(--accent-rose);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease;
}

.btn-detail-drawer:hover {
  transform: translateX(4px);
}

.dest-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.dest-mini-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.dest-mini-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-pink);
}

.dest-mini-media {
  position: relative;
  overflow: hidden;
}

.dest-mini-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.dest-mini-card:hover .dest-mini-media img {
  transform: scale(1.04);
}

.dest-mini-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.dest-mini-content h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.dest-mini-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sub);
  margin: 0;
}

.btn-text-link {
  color: var(--accent-rose);
  font-weight: 600;
  font-size: 13px;
  margin-top: 6px;
}

/* ===================================================================
   SECTION 4: BOTANICAL VARIETIES
   =================================================================== */

.varieties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.variety-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.variety-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-pink);
}

.variety-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(226, 125, 151, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.variety-cultivar {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.variety-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.variety-kanji {
  font-family: var(--font-kanji);
  font-size: 14px;
  color: var(--muted);
  margin: -8px 0 0 0;
}

.variety-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  font-size: 12.5px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.spec-label {
  color: var(--muted);
}

.spec-val {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.variety-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--sub);
  margin: 0;
}

/* ===================================================================
   SECTION 5: HANAMI RITUALS & CUSTOMS
   =================================================================== */

.rituals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.ritual-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.ritual-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-pink);
}

.ritual-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--accent-rose);
  opacity: 0.8;
}

.ritual-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.ritual-copy {
  font-size: 14px;
  line-height: 1.65;
  color: var(--sub);
  margin: 0;
}

.ritual-highlight {
  border-color: rgba(226, 125, 151, 0.4);
}

.etiquette-list {
  padding-left: 18px;
  margin: 8px 0 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--sub);
}

/* ===================================================================
   SECTION 6: ACOUSTIC SANCTUARY (WEB AUDIO)
   =================================================================== */

.soundscape-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: clamp(28px, 4.5vw, 54px);
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.soundscape-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.soundscape-copy {
  font-size: 15px;
  line-height: 1.65;
  color: var(--sub);
  margin: 0;
}

.sound-presets-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sound-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(24, 34, 50, 0.04);
  border: 1px solid var(--card-border);
  text-align: left;
  transition: all 0.25s ease;
}

body.is-night .sound-chip {
  background: rgba(255, 255, 255, 0.05);
}

.sound-chip:hover {
  border-color: var(--accent-pink);
  background: rgba(226, 125, 151, 0.08);
}

.sound-chip.is-active {
  background: rgba(226, 125, 151, 0.16);
  border-color: var(--accent-rose);
}

.chip-icon {
  font-size: 18px;
}

.chip-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.chip-sub {
  font-size: 11.5px;
  color: var(--muted);
}

.sound-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 10px;
}

.btn-audio-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg-page);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(24, 34, 50, 0.2);
  transition: all 0.3s ease;
}

body.is-night .btn-audio-main {
  background: var(--accent-rose);
  color: #fff;
  box-shadow: 0 8px 22px rgba(214, 85, 118, 0.4);
}

.btn-audio-main:hover {
  transform: translateY(-2px);
}

.play-state-icon {
  font-size: 15px;
}

.volume-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.volume-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#audio-volume {
  accent-color: var(--accent-rose);
  cursor: pointer;
}

.soundscape-visualizer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.audio-canvas {
  width: 100%;
  max-width: 420px;
  height: 220px;
  border-radius: 18px;
  background: rgba(24, 34, 50, 0.04);
  border: 1px solid var(--card-border);
}

body.is-night .audio-canvas {
  background: rgba(0, 0, 0, 0.35);
}

.visualizer-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  transition: background-color 0.3s ease;
}

.status-dot.is-playing {
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.6);
}

/* ===================================================================
   SECTION 7: SAKURA EXPEDITION PLANNER
   =================================================================== */

.planner-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.planner-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-rose);
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--bg-page);
  border: 1px solid var(--card-border);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.form-select:hover,
.form-select:focus {
  border-color: var(--accent-pink);
}

.btn-build-itinerary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg-page);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(24, 34, 50, 0.16);
  transition: all 0.3s ease;
  margin-top: 8px;
}

body.is-night .btn-build-itinerary {
  background: var(--accent-rose);
  color: #fff;
  box-shadow: 0 6px 18px rgba(214, 85, 118, 0.4);
}

.btn-build-itinerary:hover {
  transform: translateY(-2px);
}

.itinerary-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.itinerary-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-rose);
  text-transform: uppercase;
}

.itinerary-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  margin: 4px 0 6px 0;
  color: var(--ink);
}

.itinerary-meta {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

.itinerary-days {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.day-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--card-border);
}

.day-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.day-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-rose);
}

.day-content h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: var(--ink);
}

.day-content p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--sub);
  margin: 0;
}

.btn-copy-itinerary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(24, 34, 50, 0.06);
  border: 1px solid var(--card-border);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-copy-itinerary:hover {
  background: rgba(226, 125, 151, 0.14);
  border-color: var(--accent-pink);
  color: var(--accent-rose);
}

/* ===================================================================
   SECTION 8: EDITORIAL FOOTER & DISPATCH
   =================================================================== */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--card-border);
  padding: clamp(60px, 8vh, 100px) 0 40px 0;
  transition: background-color 0.8s ease;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(32px, 4vw, 54px);
  margin-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.65;
  color: var(--sub);
  margin: 0;
}

.live-clocks {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.clock-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.clock-city {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.clock-time {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-rose);
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
  display: block;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  text-decoration: none;
  font-size: 13.5px;
  color: var(--sub);
  transition: color 0.25s ease;
}

.footer-links-list a:hover {
  color: var(--accent-rose);
}

.footer-newsletter-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.newsletter-subtext {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--sub);
  margin: 0;
}

.newsletter-input-wrap {
  display: flex;
  gap: 8px;
}

#newsletter-email {
  flex: 1;
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13.5px;
}

.newsletter-btn {
  padding: 11px 20px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg-page);
  font-weight: 600;
  font-size: 13.5px;
  transition: all 0.3s ease;
}

body.is-night .newsletter-btn {
  background: var(--accent-rose);
  color: #fff;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
}

.newsletter-status {
  font-size: 12px;
  margin: 0;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--card-border);
  font-size: 12.5px;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-bottom-quote {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kanji-quote {
  font-family: var(--font-kanji);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-rose);
}

/* ===================================================================
   ACCESSIBLE MODAL PANEL
   =================================================================== */

.panel {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(560px, calc(100% - 32px));
}

.panel::backdrop {
  background: rgba(10, 18, 32, 0.65);
  backdrop-filter: blur(10px);
}

.panel-inner {
  position: relative;
  background: var(--card-bg);
  color: var(--ink);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(24, 34, 50, 0.06);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.panel-mark {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--accent-rose);
  margin: 0;
}

.panel-inner h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  margin: 0;
  line-height: 1.15;
}

.panel-inner p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--sub);
  margin: 0;
}

.breath-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
}

.breath-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: breath-pulse 8s ease-in-out infinite;
}

@keyframes breath-pulse {
  0%, 100% { transform: scale(0.85); opacity: 0.6; }
  50% { transform: scale(1.25); opacity: 1; }
}

.breath-core {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-rose);
}

.breath-phase {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-rose);
}

.panel-done {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg-page);
  font-weight: 600;
  font-size: 13.5px;
  align-self: flex-start;
  transition: all 0.25s ease;
}

body.is-night .panel-done {
  background: var(--accent-rose);
  color: #fff;
}

/* ===================================================================
   RESPONSIVE MEDIA QUERIES
   =================================================================== */

@media (max-width: 1080px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-drawer {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-bottom: 1px solid var(--card-border);
    padding: 24px var(--edge);
    box-shadow: 0 16px 36px rgba(0,0,0,0.15);
  }

  .mobile-drawer:not([hidden]) {
    display: block;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .mobile-nav-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid var(--card-border);
  }

  .editorial-grid,
  .soundscape-box,
  .planner-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .editorial-lead {
    position: static;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .dest-feature-card,
  .dest-reverse {
    grid-template-columns: 1fr;
  }

  .dest-reverse .dest-media-wrap {
    order: 0;
  }

  .dest-subgrid {
    grid-template-columns: 1fr;
  }

  .forecast-grid {
    grid-template-columns: 1fr;
  }

  .stats-ribbon {
    grid-template-columns: 1fr;
  }

  .page-indicator {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
    --edge: 20px;
  }

  .brand-sub {
    display: none;
  }

  .audio-btn-label {
    display: none;
  }

  .hero-content {
    max-width: 100%;
    top: calc(var(--header-h) + 16px);
  }

  .sound-presets-group {
    grid-template-columns: 1fr;
  }

  .sound-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .bottom-hint {
    display: none;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .layer-sky,
  .wordmark-stage,
  .layer-shrine {
    transform: none !important;
  }

  .wordmark-char {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===================================================================
   TOP BAR - Day / Night button & Sanctuary Navigation
   =================================================================== */
.sky-day {
  background-image: url("assets/sky-day.webp?v=4k");
}

.sky-night {
  background-image: url("assets/sky-night.webp?v=4k");
}

/* Wordmark responsive sizing handled in main layout */

.topbar {
  position: absolute;
  z-index: 30;
  top: clamp(22px, 3.6vw, 44px);
  right: var(--edge);
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
}

.top-nav-link {
  position: relative;
  padding: 6px 0;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  opacity: 0.85;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.top-nav-link:hover,
.top-nav-link.is-active {
  opacity: 1;
}

.top-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar .menu-toggle {
  display: flex;
  width: 22px;
  height: 15px;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.topbar .menu-toggle:hover {
  opacity: 1;
  transform: scale(1.06);
}

.theme-toggle {
  gap: 10px;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
  background: rgba(24, 34, 50, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font: 600 11.5px/1 var(--font-sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.18);
  transition: background-color 0.35s ease, border-color 0.35s ease, transform 0.25s ease, box-shadow 0.35s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.26);
}

.theme-toggle .toggle-track {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

.theme-toggle .icon-wrap svg {
  stroke: #ffffff;
  opacity: 0.9;
}

body.is-night .theme-toggle {
  background: rgba(244, 166, 188, 0.22);
  border-color: rgba(244, 166, 188, 0.45);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(214, 85, 118, 0.28);
}

body.is-night .theme-toggle .toggle-thumb {
  background: #fa7b9d;
}

.theme-toggle:focus-visible {
  outline: 2px solid #e27d97;
  outline-offset: 3px;
}

.toggle-label {
  min-width: 36px;
  text-align: left;
}

/* Bottom pond area contrast: crisp white typography & dark glass breeze pill over water/rocks */
.scroll-cue {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(10, 18, 32, 0.75);
}

.scroll-cue:hover {
  color: #ffd6e3;
}

.mouse-icon {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(10, 18, 32, 0.35);
}

.bottom-bar {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 8px rgba(10, 18, 32, 0.8);
  font-weight: 500;
}

.breeze-pill {
  background: rgba(18, 28, 46, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.breeze-pill:hover {
  background: rgba(24, 36, 58, 0.88);
  border-color: rgba(255, 214, 227, 0.5);
  color: #ffd6e3;
}

/* Crisp readability on subtitle & Breathing Ritual pill over left cherry blossoms */
.intro p {
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.65);
}

body.is-night .intro p {
  text-shadow: 0 2px 12px rgba(8, 15, 29, 0.85);
}

@media (max-width: 768px) {
  .wordmark-stage {
    padding-top: clamp(120px, 16vh, 180px);
  }
  .wordmark {
    font-size: clamp(54px, 16.5vw, 110px);
    letter-spacing: 0.03em;
  }
}
