/* ==========================================================================
   向岸 (TOWARD THE SHORE) — Master Stylesheet
   Modern Editorial Slow Living & Study Countdown Web App
   ========================================================================== */

:root {
  /* Color Palette — Serene Pine, Warm Amber Sand, Calming Linen */
  --bg-canvas: #e3ede0;
  --bg-card: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(245, 252, 248, 0.38) 100%);
  --bg-card-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(250, 255, 252, 0.55) 100%);
  --bg-subtle: rgba(255, 255, 255, 0.40);
  --bg-glass: rgba(240, 248, 242, 0.65);

  --text-main: #142820;
  --text-soft: #385748;
  --text-muted: #678073;
  --text-light: #90a59a;

  --border-light: rgba(255, 255, 255, 0.45);
  --border-focus: #1b4d3e;

  /* Accent Colors */
  --accent-pine: #1b4d3e;
  --accent-pine-hover: #12372c;
  --accent-pine-soft: rgba(27, 77, 62, 0.08);

  --accent-gold: #c38c41;
  --accent-gold-hover: #aa7530;
  --accent-gold-soft: rgba(195, 140, 65, 0.12);

  --accent-sage: #5b806f;
  --accent-sage-soft: rgba(91, 128, 111, 0.12);

  --accent-ocean: #3a6051;

  /* 3D Glass & Lighting Specs */
  --glass-blur: blur(28px) saturate(210%) contrast(104%);
  --shadow-3d-glass: 
    0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 16px 36px -4px rgba(0, 0, 0, 0.08),
    0 30px 60px -10px rgba(0, 0, 0, 0.06),
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1.5px 1.5px 0 rgba(0, 0, 0, 0.03);
  --shadow-3d-hover: 
    0 8px 12px -2px rgba(0, 0, 0, 0.05),
    0 24px 52px -6px rgba(0, 0, 0, 0.14),
    0 45px 90px -12px rgba(0, 0, 0, 0.10),
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 1);
  --shadow-3d-hero:
    0 10px 20px -3px rgba(0, 0, 0, 0.06),
    0 30px 70px -12px rgba(0, 0, 0, 0.16),
    0 55px 110px -20px rgba(0, 0, 0, 0.10),
    inset 0 2px 2px 0 rgba(255, 255, 255, 0.98),
    inset 0 -2px 2px 0 rgba(0, 0, 0, 0.05);

  --glass-border-top: rgba(255, 255, 255, 0.95);
  --glass-border-left: rgba(255, 255, 255, 0.70);
  --glass-border-bottom: rgba(0, 0, 0, 0.08);
  --glass-border-right: rgba(0, 0, 0, 0.06);

  /* Dynamic Luminous Floating Orbs */
  --orb-color-1: #2e745c;
  --orb-opacity-1: 0.45;
  --orb-color-2: #e0a248;
  --orb-opacity-2: 0.40;
  --orb-color-3: #60937a;
  --orb-opacity-3: 0.38;
  --orb-color-4: #3a7560;
  --orb-opacity-4: 0.35;

  /* Typography */
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Plus Jakarta Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;
  --mono: "DM Mono", "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  /* Shadows & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 9999px;

  --shadow-sm: 0 4px 12px rgba(25, 37, 32, 0.05);
  --shadow-md: 0 16px 36px rgba(25, 37, 32, 0.08);
  --shadow-lg: 0 24px 56px rgba(25, 37, 32, 0.12);
  --shadow-float: 0 32px 72px rgba(25, 37, 32, 0.16);

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  --theme-swatch-primary: #1b4d3e;
  color-scheme: light;
  --bg-mesh-1: rgba(46, 116, 92, 0.22);
  --bg-mesh-2: rgba(224, 162, 72, 0.20);
  --bg-mesh-3: rgba(96, 147, 122, 0.18);
  --bg-mesh-4: rgba(58, 117, 96, 0.16);
}

/* ==========================================================================
   Editorial Color Themes (High-Impact Distinct Atmospheric Palettes)
   ========================================================================== */

/* 1. Pine Theme */
:root[data-theme="pine"] {
  --bg-canvas: #e2ede0;
  --bg-card: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(242, 250, 244, 0.38) 100%);
  --bg-card-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 253, 250, 0.55) 100%);
  --bg-subtle: rgba(255, 255, 255, 0.42);
  --bg-glass: rgba(238, 246, 240, 0.65);

  --text-main: #142820;
  --text-soft: #385748;
  --text-muted: #678073;
  --text-light: #90a59a;

  --border-light: rgba(255, 255, 255, 0.45);
  --border-focus: #1b4d3e;

  --accent-pine: #1b4d3e;
  --accent-pine-hover: #12372c;
  --accent-pine-soft: rgba(27, 77, 62, 0.10);

  --accent-gold: #c38c41;
  --accent-gold-hover: #aa7530;
  --accent-gold-soft: rgba(195, 140, 65, 0.14);

  --accent-sage: #5b806f;
  --accent-sage-soft: rgba(91, 128, 111, 0.14);

  --accent-ocean: #3a6051;
  --theme-swatch-primary: #1b4d3e;

  --glass-blur: blur(28px) saturate(210%) contrast(104%);
  --glass-border-top: rgba(255, 255, 255, 0.95);
  --glass-border-left: rgba(255, 255, 255, 0.70);
  --glass-border-bottom: rgba(0, 0, 0, 0.08);
  --glass-border-right: rgba(0, 0, 0, 0.06);

  --orb-color-1: #2e745c;
  --orb-opacity-1: 0.45;
  --orb-color-2: #e0a248;
  --orb-opacity-2: 0.40;
  --orb-color-3: #60937a;
  --orb-opacity-3: 0.38;
  --orb-color-4: #3a7560;
  --orb-opacity-4: 0.35;

  color-scheme: light;
  --bg-mesh-1: rgba(46, 116, 92, 0.22);
  --bg-mesh-2: rgba(224, 162, 72, 0.20);
  --bg-mesh-3: rgba(96, 147, 122, 0.18);
  --bg-mesh-4: rgba(58, 117, 96, 0.16);
}

/* 2. Parchment Theme */
:root[data-theme="parchment"] {
  --bg-canvas: #dfcdb0;
  --bg-card: linear-gradient(135deg, rgba(254, 250, 240, 0.72) 0%, rgba(245, 235, 218, 0.42) 100%);
  --bg-card-hover: linear-gradient(135deg, rgba(255, 253, 247, 0.88) 0%, rgba(250, 242, 228, 0.60) 100%);
  --bg-subtle: rgba(255, 250, 240, 0.45);
  --bg-glass: rgba(242, 232, 215, 0.68);

  --text-main: #2b170c;
  --text-soft: #633f25;
  --text-muted: #8c6446;
  --text-light: #b08d72;

  --border-light: rgba(255, 255, 255, 0.45);
  --border-focus: #b45309;

  --accent-pine: #b45309;
  --accent-pine-hover: #92400e;
  --accent-pine-soft: rgba(180, 83, 9, 0.14);

  --accent-gold: #c2410c;
  --accent-gold-hover: #9a3412;
  --accent-gold-soft: rgba(194, 65, 12, 0.16);

  --accent-sage: #8c5d38;
  --accent-sage-soft: rgba(140, 93, 56, 0.14);

  --accent-ocean: #78350f;

  --glass-blur: blur(28px) saturate(210%) contrast(104%);
  --glass-border-top: rgba(255, 255, 255, 0.95);
  --glass-border-left: rgba(255, 255, 255, 0.70);
  --glass-border-bottom: rgba(43, 23, 12, 0.12);
  --glass-border-right: rgba(43, 23, 12, 0.08);

  --orb-color-1: #c26118;
  --orb-opacity-1: 0.46;
  --orb-color-2: #ea8e24;
  --orb-opacity-2: 0.42;
  --orb-color-3: #a75a28;
  --orb-opacity-3: 0.38;
  --orb-color-4: #d97706;
  --orb-opacity-4: 0.35;

  --theme-swatch-primary: #b45309;
  color-scheme: light;
  --bg-mesh-1: rgba(194, 97, 24, 0.24);
  --bg-mesh-2: rgba(234, 142, 36, 0.22);
  --bg-mesh-3: rgba(167, 90, 40, 0.18);
  --bg-mesh-4: rgba(217, 119, 6, 0.16);
}

/* 3. Midnight Theme */
:root[data-theme="midnight"],
:root[data-theme="dark"] {
  --bg-canvas: #05090f;
  --bg-card: linear-gradient(135deg, rgba(24, 36, 52, 0.62) 0%, rgba(11, 19, 30, 0.40) 100%);
  --bg-card-hover: linear-gradient(135deg, rgba(32, 48, 70, 0.78) 0%, rgba(16, 26, 40, 0.55) 100%);
  --bg-subtle: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(8, 14, 22, 0.68);

  --text-main: #f0f6fc;
  --text-soft: #94a3b8;
  --text-muted: #64748b;
  --text-light: #475569;

  --border-light: rgba(255, 255, 255, 0.14);
  --border-focus: #2dd4bf;

  --accent-pine: #2dd4bf;
  --accent-pine-hover: #14b8a6;
  --accent-pine-soft: rgba(45, 212, 191, 0.20);

  --accent-gold: #fbbf24;
  --accent-gold-hover: #f59e0b;
  --accent-gold-soft: rgba(251, 191, 36, 0.20);

  --accent-sage: #38bdf8;
  --accent-sage-soft: rgba(56, 189, 248, 0.20);

  --accent-ocean: #0284c7;

  --glass-blur: blur(30px) saturate(220%) contrast(108%);
  --glass-border-top: rgba(255, 255, 255, 0.32);
  --glass-border-left: rgba(255, 255, 255, 0.20);
  --glass-border-bottom: rgba(0, 0, 0, 0.65);
  --glass-border-right: rgba(0, 0, 0, 0.45);

  --shadow-3d-glass: 
    0 4px 8px rgba(0, 0, 0, 0.40),
    0 18px 40px -4px rgba(0, 0, 0, 0.65),
    0 32px 64px -12px rgba(0, 0, 0, 0.50),
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1.5px 1.5px 0 rgba(0, 0, 0, 0.40);

  --shadow-3d-hover: 
    0 8px 16px rgba(0, 0, 0, 0.45),
    0 26px 56px -6px rgba(0, 0, 0, 0.75),
    0 48px 96px -12px rgba(0, 0, 0, 0.60),
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.32);

  --shadow-3d-hero:
    0 12px 24px rgba(0, 0, 0, 0.50),
    0 36px 80px -12px rgba(0, 0, 0, 0.85),
    0 60px 120px -20px rgba(0, 0, 0, 0.70),
    inset 0 2px 2px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 2px 0 rgba(0, 0, 0, 0.50);

  --orb-color-1: #0ea5e9;
  --orb-opacity-1: 0.38;
  --orb-color-2: #f59e0b;
  --orb-opacity-2: 0.32;
  --orb-color-3: #14b8a6;
  --orb-opacity-3: 0.35;
  --orb-color-4: #6366f1;
  --orb-opacity-4: 0.30;

  --theme-swatch-primary: #2dd4bf;
  color-scheme: dark;
  --bg-mesh-1: rgba(14, 165, 233, 0.30);
  --bg-mesh-2: rgba(245, 158, 11, 0.22);
  --bg-mesh-3: rgba(20, 184, 166, 0.25);
  --bg-mesh-4: rgba(99, 102, 241, 0.22);
}

/* 4. Mist Theme */
:root[data-theme="mist"] {
  --bg-canvas: #d7c8e6;
  --bg-card: linear-gradient(135deg, rgba(255, 250, 255, 0.70) 0%, rgba(240, 228, 250, 0.40) 100%);
  --bg-card-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 238, 255, 0.58) 100%);
  --bg-subtle: rgba(255, 255, 255, 0.42);
  --bg-glass: rgba(235, 224, 245, 0.68);

  --text-main: #25123a;
  --text-soft: #5b3d7a;
  --text-muted: #85619e;
  --text-light: #ae91c6;

  --border-light: rgba(255, 255, 255, 0.45);
  --border-focus: #7e22ce;

  --accent-pine: #6d28d9;
  --accent-pine-hover: #5b21b6;
  --accent-pine-soft: rgba(109, 40, 217, 0.14);

  --accent-gold: #db2777;
  --accent-gold-hover: #be185d;
  --accent-gold-soft: rgba(219, 39, 119, 0.16);

  --accent-sage: #9333ea;
  --accent-sage-soft: rgba(147, 51, 234, 0.16);

  --accent-ocean: #4c1d95;

  --glass-blur: blur(28px) saturate(210%) contrast(104%);
  --glass-border-top: rgba(255, 255, 255, 0.95);
  --glass-border-left: rgba(255, 255, 255, 0.70);
  --glass-border-bottom: rgba(37, 18, 58, 0.12);
  --glass-border-right: rgba(37, 18, 58, 0.08);

  --orb-color-1: #7c3aed;
  --orb-opacity-1: 0.45;
  --orb-color-2: #db2777;
  --orb-opacity-2: 0.40;
  --orb-color-3: #9333ea;
  --orb-opacity-3: 0.38;
  --orb-color-4: #f43f5e;
  --orb-opacity-4: 0.30;

  --theme-swatch-primary: #6d28d9;
  color-scheme: light;
  --bg-mesh-1: rgba(124, 58, 237, 0.24);
  --bg-mesh-2: rgba(219, 39, 119, 0.22);
  --bg-mesh-3: rgba(147, 51, 234, 0.20);
  --bg-mesh-4: rgba(244, 63, 94, 0.16);
}

/* Theme Dissolve Transition */
html,
body,
.site-header,
.countdown-card,
.home-collection-card,
.art-card,
.place-card,
.book-card,
.season-card,
.notebook-paper,
.reading-manifesto,
.site-footer,
.theme-dropdown {
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              color 0.3s ease,
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg-canvas);
  color: var(--text-main);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-slow), color var(--transition-slow);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ==========================================================================
   Master Glassmorphism & 3D Tactile Elevation (全站立体毛玻璃拟态系统)
   ========================================================================== */

/* 1. High-Performance Ambient Luminous Stage (Zero-Filter Hardware Accelerated) */
.glass-ambient-stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-color: var(--bg-canvas);
  background-image: 
    radial-gradient(circle at 15% 15%, var(--bg-mesh-1) 0%, transparent 55%),
    radial-gradient(circle at 85% 18%, var(--bg-mesh-2) 0%, transparent 50%),
    radial-gradient(circle at 75% 82%, var(--bg-mesh-3) 0%, transparent 55%),
    radial-gradient(circle at 20% 85%, var(--bg-mesh-4) 0%, transparent 48%);
  transform: translateZ(0);
}

.glass-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

.orb-primary {
  width: min(65vw, 640px);
  height: min(65vw, 640px);
  top: -100px;
  left: -80px;
  background: radial-gradient(circle closest-side, var(--orb-color-1) 0%, rgba(0,0,0,0) 75%);
  opacity: var(--orb-opacity-1);
  animation: orbDrift1 36s ease-in-out infinite alternate;
}

.orb-secondary {
  width: min(60vw, 560px);
  height: min(60vw, 560px);
  top: 20%;
  right: -100px;
  background: radial-gradient(circle closest-side, var(--orb-color-2) 0%, rgba(0,0,0,0) 75%);
  opacity: var(--orb-opacity-2);
  animation: orbDrift2 42s ease-in-out infinite alternate;
}

.orb-tertiary {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  bottom: 10%;
  left: -50px;
  background: radial-gradient(circle closest-side, var(--orb-color-3) 0%, rgba(0,0,0,0) 75%);
  opacity: var(--orb-opacity-3);
  animation: orbDrift3 45s ease-in-out infinite alternate;
}

.orb-accent {
  width: min(58vw, 540px);
  height: min(58vw, 540px);
  bottom: -80px;
  right: 5%;
  background: radial-gradient(circle closest-side, var(--orb-color-4) 0%, rgba(0,0,0,0) 75%);
  opacity: var(--orb-opacity-4);
  animation: orbDrift4 38s ease-in-out infinite alternate;
}

@keyframes orbDrift1 {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(45px, 35px, 0); }
  100% { transform: translate3d(-25px, 50px, 0); }
}

@keyframes orbDrift2 {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-35px, 40px, 0); }
  100% { transform: translate3d(-60px, -20px, 0); }
}

@keyframes orbDrift3 {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(50px, -30px, 0); }
  100% { transform: translate3d(20px, -45px, 0); }
}

@keyframes orbDrift4 {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-45px, -35px, 0); }
  100% { transform: translate3d(30px, -20px, 0); }
}

/* Ensure Site Content is on top layer */
.site-shell {
  position: relative;
  z-index: 1;
}

/* 2. Stereoscopic 3D Frosted Glass Cards */
.site-header,
.countdown-card,
.home-collection-card,
.curation-feature-card,
.creed-card,
.letter-card,
.essentials-section,
.essential-item,
.home-quote,
.home-closing,
.curio-card,
.spark-card,
.destination-feature,
.sanctuary-card,
.trail-card,
.note-composer,
.handwritten-quote,
.little-reminder,
.saved-note,
.template-card,
.manuscript-card,
.book-card,
.reading-ritual,
.marginalia-card,
.solar-section,
.solar-card,
.sensory-section,
.sensory-card,
.phenology-card,
.header-time-pill,
.theme-menu-btn,
.theme-dropdown,
.back-to-top,
.notes-flower,
.seasons-intro-note,
.focus-stamp,
.photo-dialog,
.season-toolbar,
.button-ghost {
  background: var(--bg-card);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  border-top: 1.5px solid var(--glass-border-top);
  border-left: 1.5px solid var(--glass-border-left);
  border-bottom: 1.5px solid var(--glass-border-bottom);
  border-right: 1.5px solid var(--glass-border-right);
  box-shadow: var(--shadow-3d-glass);
}

/* 3. Hero Countdown 3D Crystal Elevation */
.countdown-card {
  box-shadow: var(--shadow-3d-hero);
  border-top-width: 2px;
}

/* 4. Interactive 3D Lift on Hover */
.home-collection-card,
.creed-card,
.letter-card,
.essential-item,
.curio-card,
.spark-card,
.sanctuary-card,
.trail-card,
.template-card,
.manuscript-card,
.book-card,
.marginalia-card,
.solar-card,
.sensory-card,
.phenology-card {
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.35s ease,
              border-color 0.35s ease;
  transform: translateZ(0);
}

.home-collection-card:hover,
.creed-card:hover,
.letter-card:hover,
.essential-item:hover,
.curio-card:hover,
.spark-card:hover,
.sanctuary-card:hover,
.trail-card:hover,
.template-card:hover,
.manuscript-card:hover,
.book-card:hover,
.marginalia-card:hover,
.solar-card:hover,
.sensory-card:hover,
.phenology-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-3d-hover);
  border-top-color: #ffffff;
}

:root[data-theme="midnight"] .home-collection-card:hover,
:root[data-theme="midnight"] .creed-card:hover,
:root[data-theme="midnight"] .letter-card:hover,
:root[data-theme="midnight"] .essential-item:hover,
:root[data-theme="midnight"] .curio-card:hover,
:root[data-theme="midnight"] .spark-card:hover,
:root[data-theme="midnight"] .sanctuary-card:hover,
:root[data-theme="midnight"] .trail-card:hover,
:root[data-theme="midnight"] .template-card:hover,
:root[data-theme="midnight"] .manuscript-card:hover,
:root[data-theme="midnight"] .book-card:hover,
:root[data-theme="midnight"] .marginalia-card:hover,
:root[data-theme="midnight"] .solar-card:hover,
:root[data-theme="midnight"] .sensory-card:hover,
:root[data-theme="midnight"] .phenology-card:hover {
  border-top-color: rgba(255, 255, 255, 0.50);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
  color: inherit;
}

::selection {
  background-color: var(--accent-pine-soft);
  color: var(--accent-pine);
}

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

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-pine), var(--accent-gold), var(--accent-sage));
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
  z-index: 1200;
  pointer-events: none;
  box-shadow: 0 0 12px var(--accent-gold-soft);
  transition: transform 0.08s linear;
}

/* Page Container & Fluid Page Transitions */
.site-shell {
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 0 48px;
}

main {
  animation: pageContentEntrance 0.52s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pageContentEntrance {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.995);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

body.is-leaving main {
  opacity: 0;
  transform: translateY(-12px) scale(0.995);
  filter: blur(3px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.22s ease;
}

/* Modern View Transitions API (Chrome / Edge / Safari 18+) */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: viewTransitionOut 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

::view-transition-new(root) {
  animation: viewTransitionIn 0.38s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes viewTransitionOut {
  from {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
    filter: blur(3px);
  }
}

@keyframes viewTransitionIn {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ==========================================================================
   Site Header
   ========================================================================== */

.site-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-slow), border-color var(--transition-slow);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-main);
  transition: opacity var(--transition-fast);
}

.brand:hover {
  opacity: 0.88;
}



.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1.1;
}

.brand-dot {
  color: var(--accent-gold);
  font-weight: 800;
}

.brand-tagline {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-glass);
}

.main-nav a {
  position: relative;
  padding: 7px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: var(--radius-pill);
  transition: color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.main-nav a:hover {
  color: var(--text-main);
}

.main-nav a.active {
  color: var(--text-main);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Header Date Pill */
.header-time-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--text-soft);
  white-space: nowrap;
  user-select: none;
  transition: border-color var(--transition-fast);
}

.header-time-pill:hover {
  border-color: var(--accent-sage);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  flex-shrink: 0;
  animation: liveDotPulse 2.8s ease-in-out infinite;
}

@keyframes liveDotPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.1);
  }
}

.header-live-date {
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Theme Switcher Dropdown (Top Right)
   ========================================================================== */

.theme-menu-wrapper {
  position: relative;
  display: inline-block;
  user-select: none;
}

.theme-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px 0 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  color: var(--text-main);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.theme-menu-btn:hover,
.theme-menu-btn[aria-expanded="true"] {
  background: var(--bg-card);
  border-color: var(--accent-pine);
  box-shadow: var(--shadow-sm);
  color: var(--accent-pine);
}

.theme-current-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--theme-swatch-primary, var(--accent-pine));
  box-shadow: 0 0 0 2px var(--bg-card);
  flex-shrink: 0;
  transition: background-color var(--transition-fast);
}

.theme-current-name {
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.theme-arrow-icon {
  width: 12px;
  height: 12px;
  color: var(--text-muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-menu-btn[aria-expanded="true"] .theme-arrow-icon {
  transform: rotate(180deg);
}

/* Theme Dropdown Panel */
.theme-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 230px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 200;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s;
  visibility: hidden;
}

.theme-dropdown.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.theme-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 3px;
}

.theme-dropdown-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-light);
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-option:hover {
  background: var(--bg-subtle);
  border-color: var(--border-light);
  transform: translateX(2px);
}

.theme-option.active {
  background: var(--accent-pine-soft);
  border-color: var(--accent-pine);
  color: var(--accent-pine);
}

.theme-preview-dots {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.dot-swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.theme-option-info {
  flex: 1;
  min-width: 0;
}

.theme-option-title {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.25;
}

.theme-option-sub {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.3;
}

.theme-check-icon {
  width: 13px;
  height: 13px;
  color: var(--accent-pine);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.theme-option.active .theme-check-icon {
  opacity: 1;
  transform: scale(1);
}

/* Fallback Theme Toggle */
.theme-toggle {
  display: none;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-size: 18px;
  color: var(--text-main);
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}

.button span {
  font-size: 15px;
  transition: transform var(--transition-normal);
}

.button:hover span {
  transform: translate(2px, -2px);
}

/* Primary Theme Button */
.button-primary,
.button-clay {
  background: var(--accent-pine);
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(31, 66, 55, 0.2);
}

.button-primary:hover,
.button-clay:hover {
  background: var(--accent-pine-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 66, 55, 0.3);
}

.button-dark {
  background: var(--accent-pine);
  color: #ffffff;
}

.button-dark:hover {
  background: var(--accent-pine-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button-gold {
  background: var(--accent-gold);
  color: #ffffff;
}

.button-gold:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(195, 140, 65, 0.28);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  position: relative;
  transition: color var(--transition-fast);
}

.text-link span {
  transition: transform var(--transition-normal);
}

.text-link:hover {
  color: var(--accent-pine);
}

.text-link:hover span {
  transform: translateX(4px);
}

/* Kickers & Badges */
.eyebrow,
.section-kicker,
.mini-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-sage);
}

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

.eyebrow-line {
  width: 28px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

/* ==========================================================================
   Home Page: Editorial Hero Section
   ========================================================================== */

.editorial-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0 64px;
  position: relative;
}

.home-intro {
  position: relative;
  z-index: 2;
}

.home-intro h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 20px 0 20px;
  color: var(--text-main);
}

.home-intro h1 em {
  font-style: normal;
  color: var(--accent-gold);
  position: relative;
  display: inline-block;
}

.home-intro > p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-soft);
  max-width: 32em;
  margin: 0;
}

.home-intro .hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.home-signature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.home-signature svg {
  color: var(--accent-sage);
  flex-shrink: 0;
}

/* ==========================================================================
   Countdown Dashboard Card (Enhanced & De-Claudified)
   ========================================================================== */

.countdown-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 34px 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.countdown-card:hover {
  box-shadow: var(--shadow-float);
  border-color: var(--border-focus);
}

/* Subtle Ambient Gradient Backlight */
.countdown-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-gold-soft) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.countdown-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.countdown-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.badge-text {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  text-transform: uppercase;
}

.countdown-sub-tag {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--accent-sage);
  letter-spacing: 0.04em;
}

/* Countdown Days Hero Layout (Pure Days Focus) */
.countdown-days-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 36px 0 28px;
  position: relative;
  z-index: 1;
}

/* Circular Progress Ring */
.day-ring {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}

.day-ring svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 16px rgba(195, 140, 65, 0.16));
}

.day-ring-track {
  fill: none;
  stroke: var(--bg-subtle);
  stroke-width: 9;
}

.day-ring-progress {
  fill: none;
  stroke: var(--accent-gold);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 641;
  stroke-dashoffset: 641;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: ringBreathing 5s ease-in-out infinite alternate;
}

@keyframes ringBreathing {
  0% {
    filter: drop-shadow(0 0 2px var(--accent-gold-soft));
  }
  50% {
    filter: drop-shadow(0 0 10px var(--accent-gold));
  }
  100% {
    filter: drop-shadow(0 0 2px var(--accent-gold-soft));
  }
}

.day-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.day-ring-prefix {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.day-ring-center strong {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 700;
  line-height: 0.9;
  color: var(--text-main);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.day-ring-unit {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-top: 4px;
}

.day-ring-center small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Daily Reflection Box */
.countdown-daily-reflection {
  position: relative;
  z-index: 1;
  background: var(--bg-subtle);
  border-left: 3px solid var(--accent-pine);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin-top: 6px;
  transition: background-color var(--transition-normal);
}

.reflection-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-pine);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.reflection-quote {
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0;
}

/* Card Footer */
.countdown-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-top: 20px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Home Page: Principle & Core Message
   ========================================================================== */

.home-principle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--border-light);
  position: relative;
}

.principle-lead h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 12px 0 0;
  color: var(--text-main);
}

.principle-lead h2 em {
  font-style: normal;
  color: var(--accent-gold);
}

.home-principle > p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--text-soft);
  margin: 0;
}

/* ==========================================================================
   Home Page: Collections Section
   ========================================================================== */

.home-collections {
  padding: 30px 0 84px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 600;
  margin: 10px 0 0;
  color: var(--text-main);
}

.home-section-note,
.history-hint {
  font-size: 13px;
  color: var(--text-muted);
}

.home-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-collection-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.home-collection-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-sage);
}

.home-collection-art {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--bg-subtle);
}

.home-collection-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-collection-card:hover .home-collection-art img {
  transform: scale(1.06);
}

.home-collection-art small {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #ffffff;
  background: rgba(18, 24, 22, 0.65);
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
}

.home-collection-meta {
  padding: 20px 22px 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.home-collection-meta > div > span {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-sage);
  display: block;
  margin-bottom: 6px;
}

.home-collection-meta h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text-main);
}

.home-collection-meta p {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

.collection-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--text-soft);
  flex-shrink: 0;
  transition: transform var(--transition-normal), background-color var(--transition-fast), color var(--transition-fast);
}

.home-collection-card:hover .collection-arrow {
  transform: translate(3px, -3px);
  background: var(--accent-pine);
  color: #ffffff;
  border-color: var(--accent-pine);
}

/* ==========================================================================
   Home Page: Editorial Quote Banner
   ========================================================================== */

.home-quote {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  margin: 20px 0 84px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.home-quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.home-quote-mark {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: var(--accent-gold);
  opacity: 0.4;
  display: block;
  margin-bottom: -18px;
}

.home-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 500;
  line-height: 1.65;
  color: var(--text-main);
  margin: 0 auto;
  max-width: 26em;
}

.home-quote-byline {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ==========================================================================
   Home Page: Closing Card
   ========================================================================== */

.home-closing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  margin-bottom: 84px;
  position: relative;
  box-shadow: var(--shadow-md);
}

.home-closing h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1.4;
  margin: 10px 0 0;
  color: var(--text-main);
}

.home-closing h2 em {
  font-style: normal;
  color: var(--accent-gold);
}

/* ==========================================================================
   Inner Page Common: Header & Intros
   ========================================================================== */

.inner-page {
  padding-bottom: 96px;
}

.page-intro {
  padding: 64px 0 52px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 56px;
}

.page-intro h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 600;
  line-height: 1.25;
  margin: 16px 0 16px;
  color: var(--text-main);
}

.page-intro h1 em {
  font-style: normal;
  color: var(--accent-gold);
}

.page-intro p {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--text-soft);
  max-width: 32em;
  margin: 0;
}

/* ==========================================================================
   Page 1: 灵感图鉴 (plan.html)
   ========================================================================== */

.gallery-masthead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.gallery-issue-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill span {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.7;
}

.filter-pill:hover {
  border-color: var(--accent-pine);
  color: var(--text-main);
  transform: translateY(-2px);
}

.filter-pill.active {
  background: var(--accent-pine);
  color: #ffffff;
  border-color: var(--accent-pine);
  box-shadow: 0 4px 12px var(--accent-pine-soft);
}

.filter-pill.active span {
  opacity: 1;
}

/* Inspiration Plates Grid */
.curio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.curio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

.curio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold-soft);
}

.curio-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
}

.curio-media {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: var(--bg-subtle);
}

.curio-card.featured .curio-media {
  height: 420px;
}

.curio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.curio-card:hover .curio-media img {
  transform: scale(1.045);
}

.curio-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: rgba(18, 24, 22, 0.72);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
}

.curio-time {
  position: absolute;
  bottom: 18px;
  left: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(18, 24, 22, 0.6);
  padding: 3px 9px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
}

.curio-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.curio-body-top {
  margin-bottom: 20px;
}

.curio-category {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-sage);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.curio-body h2,
.curio-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
  margin: 0 0 10px;
}

.curio-card.featured .curio-body h2 {
  font-size: 28px;
}

.curio-body p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-soft);
  margin: 0;
}

.curio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.curio-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.curio-like-btn:hover,
.curio-like-btn.liked {
  color: #e11d48;
  border-color: rgba(225, 29, 72, 0.3);
  background: rgba(225, 29, 72, 0.08);
}

.curio-like-btn svg {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.curio-like-btn:hover svg,
.curio-like-btn.liked svg {
  transform: scale(1.18);
  fill: #e11d48;
}

/* Daily Inspiration Spark Card */
.spark-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-subtle) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-bottom: 64px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.spark-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-pine), var(--accent-gold));
}

.spark-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-main);
  margin: 6px 0 10px;
}

.spark-text {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-soft);
  margin: 0;
  font-style: italic;
  font-family: var(--serif);
}

.spark-shuffle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.spark-shuffle-btn:hover {
  background: var(--accent-pine);
  color: #ffffff;
  border-color: var(--accent-pine);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Color Mood Cards */
.palette-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 64px;
  box-shadow: var(--shadow-sm);
}

.palette-header {
  margin-bottom: 36px;
  max-width: 38em;
}

.palette-header h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  margin: 8px 0 10px;
  color: var(--text-main);
}

.palette-header p {
  font-size: 15px;
  color: var(--text-soft);
  margin: 0;
}

.mood-color-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mood-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--bg-subtle);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-normal);
}

.mood-card:hover {
  background: var(--bg-card);
  border-color: var(--accent-pine);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mood-swatch-box {
  height: 72px;
  border-radius: var(--radius-sm);
  background-color: var(--swatch-color);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 8px;
}

.mood-copy-hint {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 7px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.mood-card:hover .mood-copy-hint {
  opacity: 1;
}

.mood-card-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.mood-card-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  display: block;
}

.mood-card-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.mood-card-hex {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-gold);
}

/* ==========================================================================
   Page 2: 漫游地图 (focus.html)
   ========================================================================== */

/* Sanctuary Feature */
.destination-feature {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 64px;
}

.destination-art {
  height: 480px;
  position: relative;
  overflow: hidden;
}

.destination-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.destination-feature:hover .destination-art img {
  transform: scale(1.04);
}

.destination-label {
  position: absolute;
  left: 24px;
  top: 24px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(18, 24, 22, 0.75);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
}

.coast-coordinate {
  position: absolute;
  right: 24px;
  top: 24px;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(18, 24, 22, 0.55);
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
}

.coast-title {
  position: absolute;
  left: 28px;
  bottom: 24px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.destination-copy {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.destination-copy h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1.35;
  margin: 12px 0 16px;
  color: var(--text-main);
}

.destination-copy p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-soft);
  margin: 0 0 24px;
}

.destination-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 28px;
}

.destination-detail span {
  font-size: 12px;
  color: var(--text-muted);
}

.destination-detail strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
  margin-top: 4px;
}

/* Sanctuaries Grid */
.sanctuary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.sanctuary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.sanctuary-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-sage-soft);
}

.sanctuary-media {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.sanctuary-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.sanctuary-card:hover .sanctuary-media img {
  transform: scale(1.05);
}

.sanctuary-time-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: rgba(18, 24, 22, 0.7);
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
}

.sanctuary-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.sanctuary-category {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--accent-sage);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 4px;
}

.sanctuary-body h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text-main);
}

.sanctuary-body p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-soft);
  margin: 0 0 16px;
}

.sanctuary-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
}

.sanctuary-mark-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sanctuary-mark-btn:hover,
.sanctuary-mark-btn.marked {
  background: var(--accent-pine);
  color: #ffffff;
  border-color: var(--accent-pine);
}

/* 4-7-8 Breathing Guide Card */
.breathing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
  box-shadow: var(--shadow-sm);
}

.breathing-copy h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  margin: 8px 0 12px;
  color: var(--text-main);
}

.breathing-copy p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-soft);
  margin: 0 0 20px;
  max-width: 32em;
}

.breathing-steps-pills {
  display: flex;
  gap: 12px;
}

.breath-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-size: 12.5px;
  color: var(--text-soft);
}

.breath-pill strong {
  color: var(--accent-gold);
  margin-right: 4px;
}

.breathing-visual-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.breathing-circle-btn {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-pine-soft) 0%, var(--bg-subtle) 100%);
  border: 2px dashed var(--accent-pine);
  color: var(--accent-pine);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.breathing-circle-btn:hover {
  transform: scale(1.05);
  border-style: solid;
}

.breathing-circle-btn.animating {
  animation: breathingPulse 19s ease-in-out infinite;
  border-style: solid;
}

@keyframes breathingPulse {
  0% { transform: scale(1); background: rgba(31, 66, 55, 0.08); }
  21% { transform: scale(1.22); background: rgba(31, 66, 55, 0.2); }
  58% { transform: scale(1.22); background: rgba(195, 140, 65, 0.2); }
  100% { transform: scale(1); background: rgba(31, 66, 55, 0.08); }
}

/* ==========================================================================
   Page 3: 手写收藏 (journal.html)
   ========================================================================== */

.notes-flower {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--bg-card);
}

.notes-flower img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notes-flower small {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: #ffffff;
  background: rgba(18, 24, 22, 0.4);
  text-align: center;
  line-height: 1.1;
}

.notes-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  margin-bottom: 72px;
}

.note-composer {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.paperclip {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 20px;
  color: var(--accent-gold);
}

.note-composer h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  margin: 10px 0 6px;
  color: var(--text-main);
}

.note-composer > p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0 0 20px;
}

#note-form textarea {
  width: 100%;
  height: 180px;
  padding: 16px 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.8;
  resize: vertical;
  outline: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

#note-form textarea:focus {
  border-color: var(--border-focus);
  background: var(--bg-card);
}

.note-composer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.note-composer-bottom span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}

.note-save-status {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--accent-pine);
  min-height: 20px;
}

.notes-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.handwritten-quote {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.handwritten-quote blockquote {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-main);
  margin: 12px 0 16px;
}

.quote-author {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.little-reminder {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.little-reminder span {
  font-size: 20px;
  color: var(--accent-gold);
  line-height: 1;
}

.little-reminder p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0;
}

.saved-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.saved-note {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.saved-note:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.saved-note p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-main);
  margin: 0 0 16px;
  word-break: break-word;
}

.saved-note-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-top: 8px;
}

.saved-note time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
}

.saved-note button {
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 4px;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.saved-note button:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

.empty-notes {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  background: var(--bg-card);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ==========================================================================
   Page 4: 慢读书房 (reading.html)
   ========================================================================== */

.reading-intro {
  align-items: center;
}

.reading-hero-photo {
  width: 320px;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  margin: 0;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.reading-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reading-hero-photo figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: rgba(18, 24, 22, 0.7);
  padding: 2px 7px;
  border-radius: 3px;
  backdrop-filter: blur(8px);
}

.reading-manifesto {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin-bottom: 72px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.reading-manifesto-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  display: grid;
  place-items: center;
}

.reading-manifesto p {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.65;
  color: var(--text-main);
  margin: 0;
}

.reading-manifesto span:last-child {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 24px;
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.book-cover {
  height: 148px;
  border-radius: 6px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.book-cover::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: rgba(0, 0, 0, 0.2);
}

.book-cover-one {
  background: linear-gradient(135deg, #7b5847, #5c3c2d);
}

.book-cover-two {
  background: linear-gradient(135deg, #37534b, #20352f);
}

.book-cover-three {
  background: linear-gradient(135deg, #875c4f, #664136);
}

.book-cover-four {
  background: linear-gradient(135deg, #304a5e, #1a2c3a);
}

.book-cover-five {
  background: linear-gradient(135deg, #5b3e66, #3b2444);
}

.book-cover-six {
  background: linear-gradient(135deg, #6c4b35, #4a2e1d);
}

.book-editorial-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
  margin-top: 6px;
}

.book-reading-time {
  color: var(--accent-pine);
  font-weight: 600;
}

.book-rating-badge {
  color: var(--accent-gold);
  font-weight: 600;
}

.sanctuary-tip {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-pine);
  background: var(--accent-pine-soft);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.curio-badge {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  font-weight: 600;
}

.book-cover span {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.book-cover small {
  font-size: 10px;
  opacity: 0.85;
}

.book-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.book-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent-sage);
  letter-spacing: 0.08em;
}

.book-card-copy h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin: 4px 0 8px;
  color: var(--text-main);
}

.book-card-copy p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 14px;
}

.reading-save {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-pine);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  text-align: center;
  transition: all var(--transition-fast);
}

.reading-save:hover {
  background: var(--accent-pine-soft);
  border-color: var(--accent-pine);
}

.reading-save[aria-pressed="true"] {
  background: var(--accent-pine);
  color: #ffffff;
  border-color: var(--accent-pine);
}

.reading-list-status {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 72px;
}

.reading-ritual {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: center;
}

.reading-ritual h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  margin: 10px 0 0;
  color: var(--text-main);
}

.reading-ritual h2 em {
  font-style: normal;
  color: var(--accent-gold);
}

.ritual-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ritual-steps article {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.ritual-steps article > span {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-gold);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-gold-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ritual-steps h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text-main);
}

.ritual-steps p {
  font-size: 13.5px;
  color: var(--text-soft);
  margin: 0;
}

/* ==========================================================================
   Page 5: 季节片段 (seasons.html)
   ========================================================================== */

.seasons-intro-note {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: right;
  box-shadow: var(--shadow-sm);
}

.seasons-intro-note span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-gold);
  display: block;
}

.seasons-intro-note strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
  display: block;
  margin: 6px 0;
}

.seasons-intro-note small {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-muted);
}

.seasons-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.seasons-toolbar h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  margin: 6px 0 0;
  color: var(--text-main);
}

.season-filters {
  display: flex;
  gap: 8px;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
}

.season-filter {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  transition: all var(--transition-fast);
}

.season-filter span {
  font-family: var(--mono);
  font-size: 10px;
  margin-left: 2px;
  opacity: 0.7;
}

.season-filter:hover {
  color: var(--text-main);
}

.season-filter.active {
  background: var(--accent-pine);
  color: #ffffff;
}

.season-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.season-photo {
  height: 280px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 0;
  text-align: left;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.season-photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.season-photo-large {
  grid-column: span 2;
}

.season-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.season-photo:hover img {
  transform: scale(1.06);
}

.season-photo-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 20px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 24, 22, 0.85) 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.season-photo-caption small {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.season-photo-caption strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  margin-top: 4px;
}

.season-photo-open {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(18, 24, 22, 0.65);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 14px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.85);
  transition: all var(--transition-fast);
}

.season-photo:hover .season-photo-open {
  opacity: 1;
  transform: scale(1);
}

.season-photo.is-hidden {
  display: none;
}

.season-empty {
  text-align: center;
  padding: 64px 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.season-closing {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.season-closing-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-pine-soft);
  color: var(--accent-pine);
  display: grid;
  place-items: center;
}

.season-closing p {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0;
}

/* Photo Modal Dialog */
.photo-dialog {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 0;
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: var(--shadow-float);
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
}

.photo-dialog::backdrop {
  background: rgba(12, 17, 15, 0.8);
  backdrop-filter: blur(8px);
}

.photo-dialog img {
  max-width: 85vw;
  max-height: 72vh;
  object-fit: contain;
}

.photo-dialog p {
  padding: 18px 24px;
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--text-soft);
}

.photo-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(18, 24, 22, 0.7);
  color: #ffffff;
  font-size: 22px;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  transition: transform var(--transition-fast);
}

.photo-dialog-close:hover {
  transform: rotate(90deg);
}

/* Solar Terms Almanac (seasons.html) */
.solar-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 64px;
  box-shadow: var(--shadow-sm);
}

.solar-masthead {
  margin-bottom: 36px;
}

.solar-masthead h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin: 6px 0 8px;
  color: var(--text-main);
}

.solar-masthead p {
  font-size: 14.5px;
  color: var(--text-soft);
  margin: 0;
}

.solar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.solar-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-normal);
}

.solar-card:hover {
  background: var(--bg-card);
  transform: translateY(-4px);
  border-color: var(--accent-pine);
  box-shadow: var(--shadow-md);
}

.solar-season-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent-gold);
  letter-spacing: 0.12em;
  font-weight: 600;
}

.solar-term-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-main);
}

.solar-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0;
}

/* ==========================================================================
   Page 6: 404 Page (404.html)
   ========================================================================== */

.not-found-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 24px;
}

.compass-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  animation: compassFloat 4s ease-in-out infinite;
}

@keyframes compassFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(15deg); }
}

.not-found-page strong {
  font-family: var(--mono);
  font-size: 88px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-gold);
  letter-spacing: -0.05em;
  margin: 12px 0 16px;
}

.not-found-page h1 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text-main);
}

.not-found-page p {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 26em;
  margin: 0 0 32px;
  line-height: 1.8;
}

.detour-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-light);
  padding: 36px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
}

.footer-brand span {
  color: var(--accent-gold);
}

/* ==========================================================================
   Page Transition Loader Bar
   ========================================================================== */

.page-loader-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-pine), var(--accent-gold));
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  box-shadow: 0 0 12px rgba(195, 140, 65, 0.45);
}

.page-loader-bar.is-loading {
  opacity: 1;
  width: 78%;
}

.page-loader-bar.is-complete {
  opacity: 1;
  width: 100%;
  transition: width 0.15s ease, opacity 0.25s 0.15s ease;
}

/* Dynamic Scrolled Header (Performance Optimized: No Height Recalculations) */
.site-header {
  transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

/* ==========================================================================
   Scroll Reveal & Pop-up ("介入 / 弹出") Animations (Performance Optimized)
   ========================================================================== */

.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Card Pop-up and Hover Physics */
.home-collection-card,
.home-principle-card,
.art-card,
.place-card,
.book-card,
.season-card,
.countdown-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  will-change: transform, box-shadow;
}

.home-collection-card:hover,
.home-principle-card:hover,
.art-card:hover,
.place-card:hover,
.book-card:hover,
.season-card:hover {
  transform: translateY(-6px) scale(1.008);
  box-shadow: 0 20px 42px -10px rgba(0, 0, 0, 0.1), 0 6px 14px rgba(0, 0, 0, 0.04);
  border-color: var(--accent-sage-soft);
}

.countdown-card:hover {
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* Micro-interaction on Arrows & Links */
.button span,
.text-link span,
.home-collection-card .collection-arrow {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover span,
.text-link:hover span,
.home-collection-card:hover .collection-arrow {
  transform: translateX(4px);
}

/* Inner Media Gentle Zoom on Hover */
.art-card .art-preview img,
.place-card .place-media img,
.book-card .book-cover img,
.season-card .season-photo img {
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-card:hover .art-preview img,
.place-card:hover .place-media img,
.book-card:hover .book-cover img,
.season-card:hover .season-photo img {
  transform: scale(1.045);
}

/* Back to Top Floating Button */
.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.85);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color var(--transition-fast),
              border-color var(--transition-fast),
              color var(--transition-fast),
              box-shadow var(--transition-normal);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: var(--accent-pine);
  color: #ffffff;
  border-color: var(--accent-pine);
  transform: translateY(-4px) scale(1.06);
  box-shadow: var(--shadow-lg);
}

.back-to-top svg {
  display: block;
  transition: transform var(--transition-fast);
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text-main);
  color: var(--bg-canvas);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
}

.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Extended Sections for Deeper & Longer Pages
   ========================================================================== */

/* 1. Coastal Walking Trails (focus.html) */
.trail-section {
  margin-bottom: 64px;
}

.trail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.trail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.trail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-sage-soft);
}

.trail-media {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.trail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.trail-meta-pill {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: rgba(18, 24, 22, 0.7);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.trail-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.trail-body h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  margin: 4px 0 8px;
  color: var(--text-main);
}

.trail-body p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-soft);
  margin: 0 0 16px;
}

.trail-stats {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-muted);
}

.trail-stats strong {
  color: var(--accent-pine);
  margin-left: 4px;
}

/* 2. Roaming Essentials Checklist (focus.html) */
.essentials-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px;
  margin-bottom: 64px;
  box-shadow: var(--shadow-sm);
}

.essentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.essential-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: all var(--transition-normal);
}

.essential-item:hover {
  background: var(--bg-card);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--accent-gold);
}

.essential-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.essential-item h4 {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: var(--text-main);
}

.essential-item p {
  font-size: 12px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.6;
}

/* 3. Curation Feature Card (plan.html) */
.curation-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  margin-bottom: 64px;
  box-shadow: var(--shadow-sm);
}

.curation-feature-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.curation-feature-content h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.4;
  margin: 10px 0 16px;
  color: var(--text-main);
}

.curation-feature-content p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-soft);
  margin: 0 0 24px;
}

.curation-feature-art {
  height: 100%;
  min-height: 360px;
  position: relative;
}

.curation-feature-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 4. Manuscript Templates (journal.html) */
.templates-section {
  margin-bottom: 64px;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.template-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.template-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-pine);
}

.template-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.template-card h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: var(--text-main);
}

.template-card p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0;
}

/* 5. Marginalia Notes (reading.html) */
.marginalia-section {
  margin-bottom: 64px;
}

.marginalia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.marginalia-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-normal);
}

.marginalia-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-sage-soft);
}

.marginalia-quote {
  font-family: var(--serif);
  font-size: 15.5px;
  font-style: italic;
  line-height: 1.75;
  color: var(--text-main);
  margin: 0 0 16px;
}

.marginalia-note {
  background: var(--bg-subtle);
  border-left: 3px solid var(--accent-gold);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0 0 14px;
}

.marginalia-source {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
}

/* 6. Seasonal Sensory Palette (seasons.html) */
.sensory-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 64px;
  box-shadow: var(--shadow-sm);
}

.sensory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.sensory-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-normal);
}

.sensory-card:hover {
  background: var(--bg-card);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--accent-pine);
}

.sensory-season-badge {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--accent-pine);
  letter-spacing: 0.1em;
}

.sensory-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.sensory-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft);
}

.sensory-list li::before {
  content: "· ";
  color: var(--accent-gold);
  font-weight: 700;
}

/* Editorial Tag (replacing interactive utility buttons) */
.quote-editorial-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-pine);
  background: var(--accent-pine-soft);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Home Page: Creed of Slow Living */
.creed-section {
  margin-bottom: 72px;
}

.creed-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.creed-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.creed-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-pine);
  box-shadow: var(--shadow-sm);
}

.creed-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.creed-card h3 {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--text-main);
  margin: 0 0 10px;
}

.creed-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0;
}

/* Home Page: Letters & Postcards from the Coast */
.letters-section {
  margin-bottom: 72px;
}

.letters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.letter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.letter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.letter-photo {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.letter-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.letter-place {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.letter-body blockquote {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-main);
  margin: 0 0 16px;
  flex-grow: 1;
  font-style: italic;
}

.letter-author {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-light);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
}

/* Journal Page: Manuscript Masters Gallery */
.manuscript-section {
  margin-bottom: 72px;
}

.manuscript-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.manuscript-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.manuscript-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.manuscript-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.manuscript-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.manuscript-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.manuscript-info h3 {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--text-main);
  margin: 0 0 8px;
}

.manuscript-info p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0;
}

/* Seasons Page: Seasonal Phenology & Tea Notes */
.phenology-section {
  margin-bottom: 72px;
}

.phenology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.phenology-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.phenology-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.phenology-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.phenology-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.phenology-season-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.phenology-content h3 {
  font-family: var(--serif);
  font-size: 17.5px;
  color: var(--text-main);
  margin: 0 0 8px;
}

.phenology-content p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0 0 14px;
}

.phenology-ritual {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
  font-size: 12px;
  color: var(--accent-pine);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1080px) {
  .site-shell {
    padding: 0 32px;
  }

  .editorial-hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 0;
  }

  .home-intro h1 {
    font-size: 46px;
  }

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

  .destination-feature {
    grid-template-columns: 1fr;
  }

  .destination-art {
    height: 340px;
  }

  .notes-layout {
    grid-template-columns: 1fr;
  }

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

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

  .curation-feature-card {
    grid-template-columns: 1fr;
  }

  .curation-feature-art {
    height: 320px;
    min-height: auto;
  }

  .creed-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .letters-grid,
  .manuscript-grid,
  .phenology-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trail-grid,
  .essentials-grid,
  .templates-grid,
  .marginalia-grid,
  .sensory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reading-ritual,
  .palette-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .site-shell {
    padding: 0 20px;
  }

  .site-header {
    height: 68px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 16px;
    gap: 8px;
    box-shadow: var(--shadow-lg), var(--shadow-glass);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-live-date {
    display: none;
  }

  .theme-current-name {
    display: none;
  }

  .theme-menu-btn {
    padding: 0 8px;
    gap: 6px;
  }

  .countdown-days-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-principle {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 0;
  }

  .home-collection-grid,
  .place-grid,
  .saved-notes-grid,
  .book-grid,
  .season-gallery,
  .solar-grid,
  .curio-grid,
  .sanctuary-grid,
  .mood-color-grid,
  .trail-grid,
  .essentials-grid,
  .templates-grid,
  .marginalia-grid,
  .sensory-grid,
  .creed-grid,
  .letters-grid,
  .manuscript-grid,
  .phenology-grid {
    grid-template-columns: 1fr;
  }

  .season-photo-large {
    grid-column: auto;
  }

  .page-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 40px 0 32px;
  }

  .home-closing {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 36px 28px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}




/* ==========================================================================
   MASTER 3D STEREOSCOPIC FROSTED GLASS & PHYSICAL DEPTH SYSTEM
   - Mathematically Symmetrical 3-Wing Header (flex: 1 | auto | flex: 1)
   - Identical 36px Action Pills on the Right
   - High-Performance 3D Tactile Acrylic Glass (0ms lag, 120 FPS)
   ========================================================================== */

/* 1. Header Capsule - Perfect Horizontal Row & Mathematical Center Symmetry */
.site-header {
  height: 68px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: sticky !important;
  top: 14px !important;
  margin: 14px auto 28px !important;
  max-width: 1220px !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  border-radius: var(--radius-pill) !important;
  z-index: 1000 !important;
  background: var(--bg-card) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  border-top: 1.5px solid var(--glass-border-top) !important;
  border-left: 1.2px solid var(--glass-border-left) !important;
  border-right: 1px solid var(--glass-border-right) !important;
  border-bottom: 2px solid var(--glass-border-bottom) !important;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.04),
    0 12px 32px -4px rgba(18, 38, 28, 0.08),
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.04) !important;
}

:root[data-theme="midnight"] .site-header {
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.50),
    0 20px 45px -4px rgba(0, 0, 0, 0.75),
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.40) !important;
}

/* Left Wing: Brand Logo (flex: 1 aligns left) */
.brand {
  flex: 1 1 0% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-decoration: none !important;
  color: var(--text-main) !important;
  transition: opacity var(--transition-fast) !important;
}

.brand:hover {
  opacity: 0.85 !important;
}

.brand-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.brand-title {
  font-family: var(--serif) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.05em !important;
  color: var(--text-main) !important;
}

.brand-dot {
  color: var(--accent-gold) !important;
}

.brand-tagline {
  font-family: var(--mono) !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  letter-spacing: 0.16em !important;
  color: var(--text-muted) !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  margin-top: 3px !important;
}

/* Center Wing: Main Nav (flex: 0 0 auto sits strictly in the dead center) */
.main-nav {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  height: 42px !important;
  box-sizing: border-box !important;
  background: var(--bg-subtle) !important;
  padding: 4px !important;
  border-radius: var(--radius-pill) !important;
  border: 1px solid var(--border-light) !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.02) !important;
}

.main-nav a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 34px !important;
  padding: 0 16px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: var(--text-soft) !important;
  border-radius: var(--radius-pill) !important;
  transition: all var(--transition-fast) !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.main-nav a:hover {
  color: var(--text-main) !important;
}

.main-nav a.active {
  color: var(--text-main) !important;
  background: var(--bg-card) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  font-weight: 600 !important;
}

/* Right Wing: Header Actions (flex: 1 aligns right) */
.header-actions {
  flex: 1 1 0% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

/* Right Pills - Exactly 36px Height, Same Radius, Same Vertical Baseline */
.header-time-pill,
.theme-menu-btn {
  height: 36px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 14px !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--sans) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  border: 1px solid var(--border-light) !important;
  border-top: 1.2px solid var(--glass-border-top) !important;
  border-bottom: 1.5px solid var(--glass-border-bottom) !important;
  background: var(--bg-subtle) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  color: var(--text-soft) !important;
  cursor: pointer !important;
  transition: all var(--transition-fast) !important;
}

.header-time-pill:hover,
.theme-menu-btn:hover {
  border-color: var(--accent-sage) !important;
  color: var(--text-main) !important;
}

.live-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2) !important;
  flex-shrink: 0 !important;
}

.theme-menu-wrapper {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
}

.theme-current-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: var(--theme-swatch-primary, var(--accent-pine)) !important;
  box-shadow: 0 0 0 2px var(--bg-card) !important;
  flex-shrink: 0 !important;
}

.theme-arrow-icon {
  transition: transform var(--transition-fast) !important;
  flex-shrink: 0 !important;
}

.theme-menu-btn[aria-expanded="true"] .theme-arrow-icon {
  transform: rotate(180deg) !important;
}

/* Theme Dropdown Panel - MUST be position absolute */
.theme-dropdown {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  width: 230px !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  z-index: 2000 !important;
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-8px) scale(0.96) !important;
  transform-origin: top right !important;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s !important;
  visibility: hidden !important;
}

.theme-dropdown.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
  visibility: visible !important;
}

/* 2. High-Performance 3D Tactile Acrylic Glass for Cards */
.countdown-card,
.home-collection-card,
.curation-feature-card,
.creed-card,
.letter-card,
.essentials-section,
.essential-item,
.home-quote,
.home-closing,
.curio-card,
.spark-card,
.palette-card,
.ritual-card,
.destination-feature,
.sanctuary-card,
.trail-card,
.note-composer,
.handwritten-quote,
.little-reminder,
.saved-note,
.template-card,
.manuscript-card,
.notebook-paper,
.book-card,
.reading-ritual,
.marginalia-card,
.reading-manifesto,
.solar-section,
.solar-card,
.sensory-section,
.sensory-card,
.phenology-card,
.season-card,
.seasons-intro-note,
.back-to-top,
.notes-flower,
.focus-stamp,
.photo-dialog,
.season-toolbar,
.button-ghost,
.error-card {
  background: var(--bg-card) !important;
  border-top: 1.5px solid var(--glass-border-top) !important;
  border-left: 1.2px solid var(--glass-border-left) !important;
  border-right: 1px solid var(--glass-border-right) !important;
  border-bottom: 2px solid var(--glass-border-bottom) !important;
  box-shadow: var(--shadow-3d-glass) !important;
  border-radius: var(--radius-md);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              border-color 0.25s ease !important;
  transform: translateZ(0);
  will-change: transform, box-shadow;
}

/* Targeted Blur ONLY on Key Floating Hero & Modal Overlays */
.countdown-card,
.photo-dialog {
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
}

/* 3. Supreme 3D Crystal Elevation — Hero Countdown Dashboard */
.countdown-card {
  border-radius: var(--radius-lg) !important;
  border-top-width: 2.2px !important;
  border-top-color: var(--glass-border-top) !important;
  box-shadow: var(--shadow-3d-hero) !important;
}

.countdown-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow: var(--shadow-3d-hover) !important;
  border-top-color: #ffffff !important;
}

/* 4. Floating 3D Interactive Levitation on Hover */
.home-collection-card:hover,
.creed-card:hover,
.letter-card:hover,
.essential-item:hover,
.curio-card:hover,
.spark-card:hover,
.destination-feature:hover,
.sanctuary-card:hover,
.trail-card:hover,
.template-card:hover,
.manuscript-card:hover,
.book-card:hover,
.marginalia-card:hover,
.solar-card:hover,
.sensory-card:hover,
.phenology-card:hover,
.season-card:hover {
  background: var(--bg-card-hover) !important;
  transform: translateY(-8px) scale(1.015) !important;
  box-shadow: var(--shadow-3d-hover) !important;
  border-top-color: #ffffff !important;
}

:root[data-theme="midnight"] .countdown-card:hover,
:root[data-theme="midnight"] .home-collection-card:hover,
:root[data-theme="midnight"] .creed-card:hover,
:root[data-theme="midnight"] .letter-card:hover,
:root[data-theme="midnight"] .essential-item:hover,
:root[data-theme="midnight"] .curio-card:hover,
:root[data-theme="midnight"] .spark-card:hover,
:root[data-theme="midnight"] .destination-feature:hover,
:root[data-theme="midnight"] .sanctuary-card:hover,
:root[data-theme="midnight"] .trail-card:hover,
:root[data-theme="midnight"] .template-card:hover,
:root[data-theme="midnight"] .manuscript-card:hover,
:root[data-theme="midnight"] .book-card:hover,
:root[data-theme="midnight"] .marginalia-card:hover,
:root[data-theme="midnight"] .solar-card:hover,
:root[data-theme="midnight"] .sensory-card:hover,
:root[data-theme="midnight"] .phenology-card:hover,
:root[data-theme="midnight"] .season-card:hover {
  border-top-color: rgba(255, 255, 255, 0.65) !important;
}

/* 5. Internal Tactile Chips & Details */
.countdown-badge,
.reflection-tag {
  background: var(--bg-subtle) !important;
  border-top: 1px solid var(--glass-border-top) !important;
  border-bottom: 1px solid var(--glass-border-bottom) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

.day-ring {
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.12));
}

.day-ring-progress {
  filter: drop-shadow(0 0 12px var(--accent-gold-soft));
}

#countdown-days {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

:root[data-theme="midnight"] #countdown-days {
  text-shadow: 0 2px 8px rgba(45, 212, 191, 0.35);
}

/* 6. Deep Image Window Zoom on Hover */
.home-collection-card:hover .home-collection-art img,
.letter-card:hover .letter-photo,
.destination-feature:hover img,
.sanctuary-card:hover img,
.curio-card:hover img,
.season-card:hover img {
  transform: scale(1.05);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 7. Responsive Header for Tablets & Mobile */
@media (max-width: 960px) {
  .site-header {
    height: 60px !important;
    padding: 0 16px !important;
    margin: 10px 12px 20px !important;
  }

  .main-nav {
    display: none !important;
  }

  .menu-toggle {
    display: grid !important;
    place-items: center !important;
  }

  .main-nav.open {
    display: flex !important;
    position: fixed !important;
    top: 76px !important;
    left: 16px !important;
    right: 16px !important;
    height: auto !important;
    flex-direction: column !important;
    padding: 16px !important;
    gap: 8px !important;
    border-radius: var(--radius-lg) !important;
    background: var(--bg-card) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: var(--shadow-lg) !important;
    z-index: 1001 !important;
  }

  .header-live-date {
    display: none !important;
  }

  .header-time-pill,
  .theme-menu-btn {
    height: 34px !important;
    padding: 0 10px !important;
  }

/* 8. Medium Screens (1024px) Intermediate Breathing Room */
@media (max-width: 1180px) and (min-width: 961px) {
  .site-header {
    padding: 0 18px !important;
    gap: 8px !important;
  }
  .main-nav {
    padding: 3px !important;
    gap: 2px !important;
  }
  .main-nav a {
    padding: 0 12px !important;
    font-size: 13px !important;
  }
  .header-actions {
    gap: 8px !important;
  }
  .header-time-pill,
  .theme-menu-btn {
    padding: 0 10px !important;
    font-size: 12px !important;
  }
}

}