/* ==========================================================================
   Peachy Tiny Studio — Dual-Theme Motion Landing Page
   Inspired by MotionSites.ai (Beauty Studio, Serene, Outfit Carousel, Mindloop)
   ========================================================================== */

:root {
  /* Daylight Cottage Theme (Default) */
  --bg: #FAF5EE;
  --bg-elevated: #F2E8DC;
  --surface: rgba(255, 250, 244, 0.78);
  --surface-solid: #FFFBF6;
  --ink: #2B1E19;
  --ink-muted: #6A574D;
  --accent: #D9825B;
  --accent-strong: #C56840;
  --accent-secondary: #5B7355;
  --gold: #C89336;
  --border: rgba(43, 30, 25, 0.11);
  --glass-bg: rgba(255, 250, 244, 0.62);
  --glass-border-top: rgba(255, 255, 255, 0.85);
  --glass-border-bottom: rgba(43, 30, 25, 0.14);
  --shadow-soft: 0 20px 50px -20px rgba(43, 30, 25, 0.18);
  --glow-shadow: 0 0 0 rgba(244, 185, 90, 0);

  /* Typography */
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;
  --font-script: 'Great Vibes', cursive;

  /* Layout */
  --radius-xl: 2.25rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Full Vietnamese Typography Support (prevents diacritic fallback glitches) */
html[lang="vi"] {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html[lang="vi"] .mono {
  font-weight: 600;
  letter-spacing: 0.06em;
}

[data-theme="night"] {
  /* Moonlit Sanctuary Theme */
  --bg: #0B0F1A;
  --bg-elevated: #121829;
  --surface: rgba(20, 27, 45, 0.74);
  --surface-solid: #141B2D;
  --ink: #F6EFE6;
  --ink-muted: #AAB3C9;
  --accent: #F4B95A;
  --accent-strong: #FFCB74;
  --accent-secondary: #4D79B8;
  --gold: #F6C86E;
  --border: rgba(246, 239, 230, 0.12);
  --glass-bg: rgba(16, 22, 38, 0.56);
  --glass-border-top: rgba(255, 233, 188, 0.28);
  --glass-border-bottom: rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 24px 60px -20px rgba(0, 0, 0, 0.65);
  --glow-shadow: 0 0 36px rgba(244, 185, 90, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

section[id] {
  scroll-margin-top: 5.5rem;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.7s var(--ease-smooth), color 0.7s var(--ease-smooth);
  -webkit-font-smoothing: antialiased;
}

img, video {
  display: block;
  max-width: 100%;
}

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

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

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.serif-it {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.container {
  width: min(1240px, 92vw);
  margin-inline: auto;
}

body.is-intro-active {
  overflow: hidden;
}

/* ==========================================================================
   Intro Preloader: Peachy Logo Radial Bloom ("Sáng dần / Loang ra 100%")
   ========================================================================== */
.intro-preloader {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: radial-gradient(circle at 50% 45%, #161E34 0%, #070A13 72%);
  color: #FFFBF6;
  overflow: hidden;
  cursor: pointer;
  --intro-spread: 0%;
  transition:
    transform 0.85s cubic-bezier(0.76, 0, 0.24, 1),
    opacity 0.65s ease,
    visibility 0.85s ease;
  will-change: transform, opacity;
}

[data-theme="day"] .intro-preloader {
  background: radial-gradient(circle at 50% 45%, #2B1F1A 0%, #140E0B 72%);
}

.intro-preloader.is-leaving {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-preloader.is-done {
  display: none;
}

.intro-aura {
  position: absolute;
  width: min(600px, 98vw);
  height: min(600px, 98vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 135, 110, 0.26) 0%, rgba(244, 185, 90, 0.14) 40%, transparent 72%);
  opacity: 0.14;
  transform: scale(0.68);
  transition: opacity 0.9s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.intro-preloader.is-lit .intro-aura {
  opacity: 1;
  transform: scale(1.15);
}

.intro-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.intro-logo-block {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 1.55rem;
}

.intro-logo-stage {
  position: relative;
  width: min(310px, 74vw);
  aspect-ratio: 850 / 561;
  display: grid;
  place-items: center;
}

.intro-logo-bloom {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 68%;
  height: 76%;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.45);
  background: radial-gradient(
    circle,
    rgba(255, 228, 196, 0.34) 0%,
    rgba(228, 135, 110, 0.24) 44%,
    transparent 74%
  );
  opacity: 0;
  filter: blur(18px);
  transition: opacity 0.85s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.intro-preloader.is-lit .intro-logo-bloom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.22);
}

.intro-logo-ghost,
.intro-logo-fill {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.intro-logo-ghost {
  opacity: 0.14;
  filter: grayscale(0.85) brightness(0.75);
}

.intro-logo-fill {
  position: absolute;
  inset: 0;
  opacity: 1;
  -webkit-mask-image: radial-gradient(
    circle at 50% 42%,
    #000 calc(var(--intro-spread, 0%) - 26%),
    rgba(0, 0, 0, 0.55) calc(var(--intro-spread, 0%) - 10%),
    transparent var(--intro-spread, 0%)
  );
  mask-image: radial-gradient(
    circle at 50% 42%,
    #000 calc(var(--intro-spread, 0%) - 26%),
    rgba(0, 0, 0, 0.55) calc(var(--intro-spread, 0%) - 10%),
    transparent var(--intro-spread, 0%)
  );
  filter: brightness(0.98);
  transition: filter 0.8s ease;
}

.intro-preloader.is-lit .intro-logo-fill {
  filter: brightness(1.08) saturate(1.08);
}

.intro-byline {
  align-self: flex-end;
  text-align: right;
  margin-top: 0.25rem;
  padding-right: 0.35rem;
  font-family: var(--font-sans);
  font-size: clamp(0.88rem, 2.2vw, 1.05rem);
  letter-spacing: 0.06em;
  color: rgba(255, 243, 232, 0.36);
  transform: translateY(4px);
  transition: color 0.7s ease, text-shadow 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-byline .serif-it {
  font-size: 1.28em;
  color: rgba(244, 185, 90, 0.52);
  transition: color 0.7s ease;
}

.intro-preloader.is-lit .intro-byline {
  color: rgba(255, 248, 240, 0.92);
  text-shadow: 0 0 22px rgba(228, 135, 110, 0.35);
  transform: translateY(0);
}

.intro-preloader.is-lit .intro-byline .serif-it {
  color: #F4B95A;
}

.intro-progress-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(260px, 76vw);
}

.intro-progress-track {
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.intro-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #E4876E 0%, #F4B95A 65%, #FFF2C2 100%);
  box-shadow: 0 0 10px rgba(228, 135, 110, 0.65);
  transition: width 0.08s linear;
}

.intro-pct {
  color: #F4B95A;
  font-size: 0.7rem;
  min-width: 2.6rem;
  text-align: right;
}

@media (max-width: 640px) {
  .intro-logo-stage {
    width: min(250px, 72vw);
  }
  .intro-byline {
    font-size: 0.85rem;
  }
}

/* Ambient Particles Canvas (Sunlit Dust & Peach Petals in Daylight · Fireflies in Night Glow) */
#fireflies-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  opacity: 0.85;
  transition: opacity 0.9s ease;
}

[data-theme="night"] #fireflies-canvas {
  opacity: 0.92;
}

/* Signature .liquid-glass surface (inspired by MotionSites.ai) */
.liquid-glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--glass-border-top), 0 8px 28px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.78rem 1.45rem;
  transition: transform 0.25s var(--ease-smooth), background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

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

.btn-sm {
  padding: 0.58rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 0.98rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: #1A120E;
  box-shadow: var(--glow-shadow);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.36) 50%, transparent 100%);
  transform: skewX(-18deg);
  transition: left 0.65s var(--ease-smooth);
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 145%;
}

.btn:active {
  transform: translateY(0) scale(0.975);
}

[data-theme="day"] .btn-primary {
  color: #FFFBF6;
}

.btn-primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 12px 28px -10px var(--accent);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFBF6;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.26);
}

.btn-outline {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-arrow {
  transition: transform 0.25s var(--ease-smooth);
}

.btn:hover .btn-arrow {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   Section 1: Floating Pill Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 1.1rem;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, 94vw);
  margin-inline: auto;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.98rem;
}

.brand-logo-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  transform: translateY(-1px);
  filter: drop-shadow(0 0 8px rgba(228, 135, 110, 0.25));
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0.34em;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-word-peachy {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.26em;
  letter-spacing: -0.01em;
}

.brand-word-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  opacity: 0.9;
}

@media (max-width: 640px) {
  .brand-logo-icon {
    width: 19px;
    height: 19px;
  }
  .brand-word-sub {
    font-size: 0.94rem;
  }
}

.pill-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.55rem 0.38rem 1rem;
  border-radius: var(--radius-pill);
}

.nav-link {
  padding: 0.42rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(217, 130, 91, 0.16);
  color: var(--accent);
}

[data-theme="night"] .nav-link.is-active {
  background: rgba(244, 185, 90, 0.16);
  box-shadow: inset 0 0 0 1px rgba(244, 185, 90, 0.25);
}

.nav-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
  margin-inline: 0.35rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.38rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: border-color 0.25s ease, transform 0.2s ease;
}

.lang-switch:hover {
  border-color: var(--accent);
  transform: scale(1.03);
}

.lang-opt.is-active {
  color: var(--accent);
  font-weight: 700;
}

.lang-sep {
  opacity: 0.4;
}

.mobile-lang-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  cursor: pointer;
}

.switch-track {
  position: relative;
  width: 58px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #F6D8B3 0%, #E7B27C 100%);
  border: 1px solid rgba(217, 130, 91, 0.38);
  box-shadow: inset 0 2px 6px rgba(120, 62, 24, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px;
  transition: background 0.45s var(--ease-smooth), border-color 0.45s ease, box-shadow 0.45s ease;
}

[data-theme="night"] .switch-track {
  background: linear-gradient(135deg, #1E2E5C 0%, #0E162B 100%);
  border-color: rgba(244, 185, 90, 0.5);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.55), 0 0 16px rgba(244, 185, 90, 0.28);
}

.switch-bg-icon {
  font-size: 0.68rem;
  line-height: 1;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.switch-bg-sun {
  color: #8C4A1B;
}

.switch-bg-moon {
  color: #FFE4A3;
}

.switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFBF6;
  box-shadow: 0 2px 8px rgba(43, 30, 25, 0.25);
  display: grid;
  place-items: center;
  transform: translateX(0);
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.35s ease, box-shadow 0.35s ease;
}

[data-theme="night"] .switch-thumb {
  transform: translateX(28px);
  background: linear-gradient(135deg, #FFD882 0%, #F4B95A 100%);
  box-shadow: 0 0 12px rgba(244, 185, 90, 0.72);
}

.switch-icon {
  font-size: 0.72rem;
  line-height: 1;
}

.theme-switch:hover .switch-track {
  border-color: var(--accent);
}

.scroll-pct {
  padding: 0 0.55rem;
  color: var(--ink-muted);
  min-width: 3rem;
  text-align: right;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-menu-btn span {
  width: 18px;
  height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.mobile-drawer {
  position: fixed;
  top: 4.8rem;
  left: 4vw;
  right: 4vw;
  z-index: 95;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-smooth);
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.drawer-link {
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.drawer-theme-btn {
  margin-top: 0.4rem;
  color: var(--ink);
  border-color: var(--border);
  background: var(--bg-elevated);
}

/* ==========================================================================
   Section 2: Interactive Day/Night Hero
   ========================================================================== */
.hero {
  min-height: 100svh;
  padding: 5.5rem 1.25rem 1.25rem;
  display: flex;
}

.hero-stage {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 6.75rem);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.hero-media-frame {
  position: absolute;
  inset: -16px;
  z-index: 0;
  will-change: transform;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.03);
  transition: opacity 0.95s var(--ease-smooth), transform 1.4s var(--ease-smooth);
}

.hero-img-day {
  opacity: 1;
}

.hero-img-night {
  opacity: 0;
}

[data-theme="night"] .hero-img-day {
  opacity: 0;
  transform: scale(1.07);
}

[data-theme="night"] .hero-img-night {
  opacity: 1;
  transform: scale(1.02);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 14, 10, 0.36) 0%,
    rgba(22, 14, 10, 0.56) 55%,
    rgba(15, 10, 8, 0.78) 100%
  );
  transition: background 0.9s ease;
}

[data-theme="night"] .hero-scrim {
  background: linear-gradient(
    180deg,
    rgba(8, 12, 24, 0.42) 0%,
    rgba(8, 12, 24, 0.52) 55%,
    rgba(8, 12, 24, 0.84) 100%
  );
}

.hero-sunbeams {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse at 72% 24%, rgba(255, 232, 178, 0.36) 0%, transparent 52%),
    linear-gradient(
      128deg,
      transparent 16%,
      rgba(255, 240, 198, 0.16) 28%,
      transparent 38%,
      rgba(255, 234, 182, 0.14) 50%,
      transparent 62%,
      rgba(255, 244, 210, 0.12) 74%,
      transparent 86%
    );
  opacity: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: sunbeamBreathe 9s ease-in-out infinite alternate;
  transition: opacity 1s ease;
}

[data-theme="night"] .hero-sunbeams {
  opacity: 0;
}

@keyframes sunbeamBreathe {
  0% { transform: translate3d(-1.5%, -1%, 0) scale(1); opacity: 0.78; }
  100% { transform: translate3d(1.5%, 1%, 0) scale(1.04); opacity: 1; }
}

.hero-lantern-aura {
  position: absolute;
  inset: 0;
  --hero-lx: 58%;
  --hero-ly: 48%;
  background: radial-gradient(circle at var(--hero-lx) var(--hero-ly), rgba(244, 185, 90, 0.34), transparent 46%);
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

[data-theme="night"] .hero-lantern-aura {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 2rem 1.5rem 4rem;
  color: #FFFBF6;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.6rem;
  color: #FFFBF6;
  background: rgba(18, 14, 12, 0.42);
  border-color: rgba(255, 255, 255, 0.24);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F4B95A;
  box-shadow: 0 0 10px #F4B95A;
  animation: pulseDot 2.2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.65; }
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.2vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.35);
}

.glow-word {
  color: #FFE4A3;
  text-shadow: 0 0 22px rgba(255, 218, 138, 0.55), 0 4px 18px rgba(180, 96, 40, 0.35);
  transition: text-shadow 0.8s ease, color 0.8s ease;
}

[data-theme="night"] .glow-word {
  color: #FFD58C;
  text-shadow: 0 0 28px rgba(244, 185, 90, 0.85), 0 0 60px rgba(244, 185, 90, 0.45);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  max-width: 590px;
  margin: 0 auto 2rem;
  color: rgba(255, 251, 246, 0.88);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.light-orb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #F4B95A;
  box-shadow: 0 0 12px #F4B95A;
}

.hero-bottom-bar {
  position: absolute;
  bottom: 1.4rem;
  left: 2rem;
  right: 2rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 251, 246, 0.78);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.scroll-line {
  width: 36px;
  height: 1px;
  background: rgba(255, 251, 246, 0.5);
}

/* ==========================================================================
   Section 3: Slow Art Manifesto + Marquee
   ========================================================================== */
.manifesto-section {
  padding: 6.5rem 0 4.5rem;
}

.section-kicker {
  color: var(--accent);
  margin-bottom: 0.9rem;
  display: block;
}

.manifesto-text {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.1vw, 3.55rem);
  line-height: 1.18;
  max-width: 980px;
  color: var(--ink);
  margin-bottom: 4rem;
}

.manifesto-word {
  display: inline-block;
  opacity: 0.28;
  transition: opacity 0.25s linear;
}

.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.15rem 0;
  overflow: hidden;
  background: var(--bg-elevated);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-group {
  display: flex;
  gap: 2.8rem;
  padding-right: 2.8rem;
  color: var(--ink-muted);
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Section 4: Shoppable Diorama Gallery with Hotspot Pins
   ========================================================================== */
.creations-section {
  padding: 5.5rem 0;
}

.section-header-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  line-height: 1.06;
}

.piece-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 100%;
  padding: 0.35rem;
  border-radius: 1.45rem;
  gap: 0.3rem;
}

.piece-tab {
  padding: 0.56rem 1.05rem;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  max-width: 100%;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.piece-tab .mono {
  flex-shrink: 0;
}

.piece-tab-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.piece-tab.is-active {
  background: var(--accent);
  color: #FFFBF6;
}

[data-theme="night"] .piece-tab.is-active {
  color: #16100A;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.gallery-info-col {
  display: flex;
  flex-direction: column;
}

.gallery-stage-wrap {
  position: relative;
}

.gallery-stage {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3.6;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.6s var(--ease-smooth);
}

.gallery-video-stage {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070B14;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-video-stage.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gallery-video-backdrop {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  object-fit: cover;
  filter: blur(26px) brightness(0.42) saturate(1.15);
  transform: scale(1.08);
  pointer-events: none;
}

.gallery-video {
  position: relative;
  z-index: 2;
  height: 100%;
  width: auto;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  display: block;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
}

.gallery-video-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.9rem;
  z-index: 4;
  font-size: 0.63rem;
  padding: 0.34rem 0.72rem;
  border-radius: var(--radius-pill);
  color: #FFFBF6;
  background: rgba(11, 15, 26, 0.74);
  border-color: rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

/* 2× Macro Magnifier Lens on Gallery Photos */
.gallery-loupe {
  position: absolute;
  z-index: 5;
  width: 144px;
  height: 144px;
  border-radius: 50%;
  pointer-events: none;
  border: 2px solid rgba(255, 224, 152, 0.88);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.55),
    inset 0 0 18px rgba(255, 224, 152, 0.28);
  background-repeat: no-repeat;
  background-color: #0B0F1A;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.gallery-loupe.is-hidden {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.76);
}

.gallery-loupe-tag {
  position: absolute;
  bottom: 0.45rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.12rem 0.42rem;
  border-radius: var(--radius-pill);
  font-size: 0.56rem;
  background: rgba(11, 15, 26, 0.82);
  color: #F4B95A;
  border: 1px solid rgba(244, 185, 90, 0.45);
}

.gallery-stage .gallery-loupe-toggle {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.34rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  color: #FFFBF6;
  background: rgba(11, 15, 26, 0.72);
  border-color: rgba(255, 255, 255, 0.22);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.gallery-stage .gallery-loupe-toggle:hover,
.gallery-stage .gallery-loupe-toggle.is-active {
  color: #F4B95A;
  border-color: rgba(244, 185, 90, 0.68);
  transform: translateY(-1px);
}

.gallery-stage .gallery-loupe-toggle.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.gallery-stage-wrap.is-loupe-mode .hotspots-layer,
.gallery-stage-wrap.is-loupe-mode .hotspot-card {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.gallery-stage-wrap.is-loupe-mode .gallery-stage {
  cursor: crosshair;
  touch-action: none;
}

.gallery-stage-wrap.is-loupe-mode .gallery-main-img {
  transform: scale(1) !important;
  transform-origin: center center !important;
}

@media (max-width: 640px) {
  .gallery-loupe {
    width: 112px;
    height: 112px;
  }
  .gallery-stage .gallery-loupe-toggle {
    bottom: 0.55rem;
    right: 0.55rem;
    padding: 0.26rem 0.52rem;
    font-size: 0.58rem;
  }
}

.hotspots-layer {
  position: absolute;
  inset: 0;
}

.hotspot-pin {
  position: absolute;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 251, 246, 0.92);
  color: #1D1510;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease-smooth), background-color 0.25s ease;
  z-index: 4;
}

.hotspot-pin::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 213, 140, 0.85);
  animation: pinRing 2.1s infinite ease-out;
}

@keyframes pinRing {
  0% { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.45); opacity: 0; }
}

.hotspot-pin:hover,
.hotspot-pin.is-active {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--accent);
  color: #FFFBF6;
}

[data-theme="night"] .hotspot-pin.is-active {
  color: #16100A;
}

.hotspot-card {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 276px;
  height: 162px;
  z-index: 6;
  overflow: visible;
  transition:
    left 0.42s var(--ease-smooth),
    top 0.42s var(--ease-smooth),
    opacity 0.32s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.hotspot-card-surface {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0.85rem 1.05rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.hotspot-card-surface::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(244, 185, 90, 0.16) 48%, transparent 72%);
  transform: translateX(-120%);
  pointer-events: none;
}

.hotspot-card.is-animating .hotspot-card-surface::after {
  animation: hotspotSheen 0.85s var(--ease-smooth) forwards;
}

.hotspot-card.is-animating .hotspot-card-surface {
  border-color: rgba(244, 185, 90, 0.48);
  box-shadow: inset 0 1px 0 var(--glass-border-top), 0 14px 36px -12px rgba(244, 185, 90, 0.28);
}

.hotspot-pointer {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(244, 185, 90, 0.45);
  transform: rotate(45deg);
  z-index: -1;
  transition: left 0.35s var(--ease-smooth), top 0.35s var(--ease-smooth);
}

.hotspot-card[data-side="bottom"] .hotspot-pointer {
  top: -6px;
  border-right: none;
  border-bottom: none;
}

.hotspot-card[data-side="top"] .hotspot-pointer {
  bottom: -6px;
  border-left: none;
  border-top: none;
}

.hotspot-card[data-side="right"] .hotspot-pointer {
  left: -6px;
  border-right: none;
  border-top: none;
}

.hotspot-card[data-side="left"] .hotspot-pointer {
  right: -6px;
  border-left: none;
  border-bottom: none;
}

@keyframes hotspotSheen {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(130%); }
}

.hotspot-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, #FFE09E 65%, transparent 100%);
  transform-origin: left center;
  transform: scaleX(0);
}

.hotspot-card.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
}

.hotspot-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.hotspot-tag {
  color: var(--accent);
}

.hotspot-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.hotspot-nav-btn,
.hotspot-close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--ink-muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hotspot-nav-btn:hover,
.hotspot-close:hover {
  background: rgba(244, 185, 90, 0.16);
  color: var(--accent);
}

.hotspot-title {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.25rem;
  will-change: transform, opacity, filter;
}

.hotspot-desc {
  font-size: 0.8rem;
  line-height: 1.42;
  color: var(--ink-muted);
  will-change: transform, opacity;
}

.thumb-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}

.thumb-btn {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 2px solid transparent;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-btn img.is-portrait-thumb {
  object-position: center 22%;
}

.thumb-play-badge {
  position: absolute;
  top: 0.38rem;
  right: 0.42rem;
  z-index: 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.56rem;
  padding-left: 1px;
  background: rgba(11, 15, 26, 0.78);
  border: 1px solid rgba(244, 185, 90, 0.72);
  color: #F4B95A;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.thumb-btn span {
  position: absolute;
  bottom: 0.4rem;
  left: 0.45rem;
  max-width: calc(100% - 0.9rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 15, 26, 0.72);
  color: #FFFBF6;
}

.thumb-btn.is-active {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.info-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.1rem;
  box-shadow: var(--shadow-soft);
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.15rem;
  color: var(--ink-muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
}

.piece-name {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.9rem;
}

.piece-story {
  color: var(--ink-muted);
  font-size: 0.96rem;
  margin-bottom: 1.5rem;
}

.piece-specs {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.piece-specs li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.piece-specs small {
  color: var(--ink-muted);
  font-size: 0.66rem;
}

.info-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  margin-bottom: 1.15rem;
}

.shipping-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Interactive 3D Woodland Cottage Viewer (Between 02 & 03)
   ========================================================================== */
.cottage-3d-section {
  padding: 3.5rem 0;
}

.cottage-3d-panel {
  background: linear-gradient(145deg, var(--surface-solid) 0%, var(--bg-elevated) 100%);
  border: 1px solid rgba(244, 185, 90, 0.24);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

[data-theme="night"] .cottage-3d-panel {
  background: linear-gradient(145deg, #121A2E 0%, #0C1222 100%);
}

.cottage-3d-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.cottage-3d-sub {
  color: var(--ink-muted);
  font-size: 0.94rem;
  margin-top: 0.45rem;
  max-width: 560px;
}

.cottage-3d-actions {
  display: inline-flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.cottage-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.52rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
}

.cottage-tool-btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.cottage-tool-btn.is-active {
  color: var(--accent);
  border-color: rgba(244, 185, 90, 0.5);
  background: rgba(244, 185, 90, 0.12);
}

.cottage-3d-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, rgba(244, 185, 90, 0.14) 0%, rgba(11, 15, 26, 0.92) 78%);
  border: 1px solid var(--border);
  height: 480px;
  cursor: grab;
}

[data-theme="day"] .cottage-3d-stage {
  background: radial-gradient(circle at 50% 38%, #FFF7EA 0%, #EAD8C3 82%);
}

.cottage-3d-stage:active {
  cursor: grabbing;
}

.cottage-3d-canvas-wrap {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.cottage-3d-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  touch-action: none;
}

.cottage-3d-loading {
  color: var(--ink-muted);
}

.cottage-3d-hint {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.34rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  white-space: nowrap;
  color: #FFFBF6;
  background: rgba(11, 15, 26, 0.68);
  border-color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.cottage-cam-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.cottage-cam-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.cottage-cam-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.cottage-cam-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFBF6;
}

[data-theme="night"] .cottage-cam-btn.is-active {
  color: #16100A;
}

@media (max-width: 640px) {
  .cottage-3d-section {
    padding: 2.25rem 0;
  }
  .cottage-3d-panel {
    padding: 1.2rem;
    border-radius: 1.35rem;
  }
  .cottage-3d-header {
    gap: 0.85rem;
    margin-bottom: 1rem;
  }
  .cottage-3d-sub {
    font-size: 0.84rem;
  }
  .cottage-3d-stage {
    height: 340px;
    border-radius: 1rem;
  }
  .cottage-3d-hint {
    font-size: 0.56rem;
    padding: 0.26rem 0.65rem;
  }
  .cottage-cam-bar {
    gap: 0.4rem;
    margin-top: 0.85rem;
  }
  .cottage-cam-btn {
    padding: 0.42rem 0.72rem;
    font-size: 0.74rem;
  }
}

/* ==========================================================================
   Section 5: 4-Step Craftsmanship Horizontal Carousel + Detail Popup
   ========================================================================== */
.craft-section {
  padding: 5rem 0;
}

.craft-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.craft-intro {
  max-width: 640px;
}

.section-lead {
  color: var(--ink-muted);
  margin-top: 0.75rem;
  font-size: 1rem;
}

.craft-nav-arrows {
  display: inline-flex;
  gap: 0.55rem;
  flex-shrink: 0;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 1.15rem;
  color: var(--ink);
  transition: transform 0.25s var(--ease-smooth), border-color 0.25s ease, color 0.25s ease;
}

.carousel-arrow:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}

.craft-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0.15rem 1rem;
  scrollbar-width: none;
}

.craft-carousel::-webkit-scrollbar {
  display: none;
}

.craft-slide {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-smooth), border-color 0.3s ease, box-shadow 0.3s ease;
}

.craft-slide:hover,
.craft-slide:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(244, 185, 90, 0.5);
  outline: none;
}

.craft-slide-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elevated);
}

.craft-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-smooth);
}

.craft-slide:hover .craft-slide-media img {
  transform: scale(1.04);
}

.slide-step-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  color: #FFFBF6;
  background: rgba(11, 15, 26, 0.72);
  border-color: rgba(255, 255, 255, 0.2);
}

.slide-zoom-pill {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.28rem 0.68rem;
  border-radius: var(--radius-pill);
  font-size: 0.64rem;
  color: #FFFBF6;
  background: rgba(11, 15, 26, 0.76);
  border-color: rgba(244, 185, 90, 0.42);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.craft-slide:hover .slide-zoom-pill {
  background: var(--accent);
  color: #16100A;
}

.craft-slide-body {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.craft-slide-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.15;
  margin-bottom: 0.45rem;
}

.craft-slide-teaser {
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.48;
  margin-bottom: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.craft-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.craft-chips span {
  padding: 0.3rem 0.68rem;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 0.66rem;
}

.craft-carousel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  gap: 1rem;
}

.craft-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.craft-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--border);
  transition: width 0.3s var(--ease-smooth), background-color 0.3s ease;
}

.craft-dot.is-active {
  width: 26px;
  background: var(--accent);
}

.craft-swipe-hint {
  color: var(--ink-muted);
  font-size: 0.68rem;
}

/* Craft Detail Popup Modal (Viewport-Fixed Overlay) */
.craft-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 10, 19, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.craft-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.craft-modal-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: min(600px, 93vw);
  max-height: 88svh;
  background: var(--surface-solid);
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transform: translateY(14px) scale(0.96);
  transition: transform 0.34s var(--ease-smooth);
}

.craft-modal-overlay.is-open .craft-modal-card {
  transform: translateY(0) scale(1);
}

.craft-modal-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 88svh;
  overflow-y: auto;
}

.craft-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 1.05rem;
  color: #FFFBF6;
  background: rgba(11, 15, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: transform 0.25s var(--ease-smooth), background-color 0.25s ease, color 0.25s ease;
}

.craft-modal-close:hover {
  transform: rotate(90deg) scale(1.06);
  background: var(--accent);
  color: #16100A;
  border-color: var(--accent);
}

.craft-modal-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-elevated);
  overflow: hidden;
  flex-shrink: 0;
}

.craft-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.craft-modal-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  padding: 0.34rem 0.78rem;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  color: #FFFBF6;
  background: rgba(11, 15, 26, 0.76);
  border-color: rgba(244, 185, 90, 0.35);
}

.craft-modal-body {
  padding: 1.5rem 1.65rem 1.6rem;
}

.craft-modal-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  line-height: 1.12;
  margin-bottom: 0.7rem;
}

.craft-modal-desc {
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.15rem;
}

.craft-modal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}

.craft-modal-counter {
  color: var(--ink-muted);
}

/* ==========================================================================
   Section 6: Personalization & Live Golden Plaque Studio
   ========================================================================== */
.custom-section {
  padding: 5.5rem 0;
}

.custom-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.96fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(145deg, var(--surface-solid) 0%, var(--bg-elevated) 100%);
  border: 1px solid rgba(217, 130, 91, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

[data-theme="night"] .custom-panel {
  background: linear-gradient(145deg, #131B2E 0%, #0E1424 60%, #171D31 100%);
  border-color: rgba(244, 185, 90, 0.24);
  box-shadow: 0 32px 70px -24px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 232, 184, 0.16);
}

.custom-ambient-glow {
  position: absolute;
  top: -120px;
  left: 18%;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 185, 90, 0.16) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="day"] .custom-ambient-glow {
  background: radial-gradient(circle, rgba(217, 130, 91, 0.14) 0%, transparent 68%);
}

.custom-visual-col,
.custom-form-col {
  position: relative;
  z-index: 1;
}

.plaque-compare {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 1.25rem;
  align-items: stretch;
}

.plaque-real {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.42);
}

.plaque-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.plaque-real:hover img {
  transform: scale(1.03);
}

.plaque-real-scrim {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 15, 26, 0.72) 100%);
  pointer-events: none;
}

.plaque-product-chip {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  width: fit-content;
  max-width: calc(100% - 1.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.24rem 0.65rem 0.24rem 0.26rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 15, 26, 0.76);
  border-color: rgba(244, 185, 90, 0.35);
  color: #FFFBF6;
  z-index: 3;
}

.plaque-product-chip img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.plaque-product-chip span {
  font-size: 0.58rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-product-picker {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.picker-label {
  font-size: 0.7rem;
  color: var(--ink-muted);
}

.picker-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.picker-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.34rem 0.55rem 0.34rem 0.32rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.picker-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.picker-pill img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.picker-pill:hover {
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-1px);
}

.picker-pill.is-active {
  border-color: var(--accent);
  background: rgba(244, 185, 90, 0.16);
  color: var(--accent);
  box-shadow: 0 4px 14px -6px rgba(244, 185, 90, 0.4);
}

.plaque-pill {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.34rem 0.78rem;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  white-space: nowrap;
  color: #FFFBF6;
  background: rgba(11, 15, 26, 0.74);
  border-color: rgba(244, 185, 90, 0.38);
}

.media-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  color: #FFFBF6;
  background: rgba(11, 15, 26, 0.68);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Velvet-Lit Live Arch Display Pedestal */
.plaque-live-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 1.1rem;
  background: radial-gradient(circle at 50% 42%, rgba(244, 185, 90, 0.14) 0%, rgba(255, 255, 255, 0.02) 72%);
  border: 1px solid rgba(244, 185, 90, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="day"] .plaque-live-wrap {
  background: radial-gradient(circle at 50% 42%, rgba(217, 130, 91, 0.12) 0%, rgba(255, 250, 244, 0.72) 75%);
  border-color: rgba(43, 30, 25, 0.12);
}

.live-stage-header {
  width: 100%;
  display: flex;
  justify-content: center;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.64rem;
  color: var(--ink-muted);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
}

/* Realistic Sculpted 3D Beveled Wooden Arch */
.plaque-arch-mock {
  position: relative;
  width: 100%;
  max-width: 218px;
  height: 256px;
  border-radius: 120px 120px 16px 16px;
  background: linear-gradient(155deg, #F8E8D6 0%, #EBD0B4 55%, #D7B492 100%);
  box-shadow:
    inset 0 2px 10px rgba(255, 255, 255, 0.75),
    inset 0 -8px 18px rgba(133, 86, 48, 0.2),
    0 22px 38px -14px rgba(0, 0, 0, 0.48);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 2.35rem;
  overflow: hidden;
  transition: background 0.5s var(--ease-smooth), box-shadow 0.5s ease;
}

.plaque-arch-mock::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    112deg,
    transparent 24%,
    rgba(255, 248, 214, 0.58) 47%,
    rgba(244, 185, 90, 0.32) 53%,
    transparent 76%
  );
  transform: translateX(-135%);
}

.plaque-arch-mock.is-sweeping::after {
  animation: plaqueSweep 0.85s var(--ease-smooth) forwards;
}

@keyframes plaqueSweep {
  0% { transform: translateX(-135%); }
  100% { transform: translateX(135%); }
}

.plaque-arch-mock[data-finish="midnight"] {
  background: linear-gradient(155deg, #24386B 0%, #152348 58%, #0C142B 100%);
  box-shadow:
    inset 0 2px 10px rgba(154, 189, 255, 0.26),
    inset 0 -10px 20px rgba(0, 0, 0, 0.55),
    0 22px 40px -14px rgba(0, 0, 0, 0.68);
}

.plaque-arch-mock[data-finish="oak"] {
  background: linear-gradient(155deg, #D99F6B 0%, #B87643 58%, #8F5429 100%);
  box-shadow:
    inset 0 2px 10px rgba(255, 224, 184, 0.45),
    inset 0 -10px 20px rgba(66, 33, 12, 0.35),
    0 22px 40px -14px rgba(0, 0, 0, 0.52);
}

.plaque-inner-frame {
  position: absolute;
  inset: 10px;
  border-radius: 112px 112px 10px 10px;
  border: 1px solid rgba(184, 134, 42, 0.42);
  pointer-events: none;
}

.plaque-arch-mock[data-finish="midnight"] .plaque-inner-frame,
.plaque-arch-mock[data-finish="oak"] .plaque-inner-frame {
  border-color: rgba(246, 204, 114, 0.45);
}

.plaque-star {
  font-size: 0.78rem;
  color: #C7922E;
  margin-bottom: 0.3rem;
  display: inline-block;
  transition: transform 0.35s var(--ease-smooth);
}

.plaque-star.is-sparkling {
  animation: plaqueStarPop 0.65s var(--ease-smooth);
}

@keyframes plaqueStarPop {
  0% { transform: scale(1) rotate(0deg); }
  45% { transform: scale(1.65) rotate(60deg); text-shadow: 0 0 16px rgba(244, 185, 90, 0.95); }
  100% { transform: scale(1) rotate(90deg); }
}

.plaque-arch-mock[data-finish="midnight"] .plaque-star,
.plaque-arch-mock[data-finish="oak"] .plaque-star {
  color: #FFE094;
}

.plaque-live-text {
  font-family: var(--font-script);
  font-size: 2.05rem;
  line-height: 1.18;
  padding-inline: 1.1rem;
  text-align: center;
  background: linear-gradient(110deg, #8A5A10 0%, #E8BC58 30%, #FFF0B8 50%, #B37918 70%, #F5CE75 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 1px rgba(84, 52, 6, 0.35));
  word-break: break-word;
  animation: goldShimmer 4.5s linear infinite;
}

.plaque-arch-mock[data-finish="midnight"] .plaque-live-text,
.plaque-arch-mock[data-finish="oak"] .plaque-live-text {
  background: linear-gradient(110deg, #D9A234 0%, #FFE59B 35%, #FFF9DF 50%, #E2AF45 72%, #FFE59B 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 2px 6px rgba(244, 185, 90, 0.35));
}

@keyframes goldShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 220% center; }
}

.plaque-arch-sub {
  margin-top: auto;
  margin-bottom: 1.05rem;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: rgba(84, 58, 38, 0.65);
}

.plaque-arch-mock[data-finish="midnight"] .plaque-arch-sub,
.plaque-arch-mock[data-finish="oak"] .plaque-arch-sub {
  color: rgba(255, 236, 198, 0.72);
}

.finish-swatches {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.swatch-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  padding: 2px;
  border: 1.5px solid transparent;
  display: inline-grid;
  place-items: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.swatch-btn.is-active,
.swatch-btn:hover {
  border-color: var(--accent);
  transform: scale(1.1);
}

.swatch-dot {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Right Column Studio Controls */
.custom-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.custom-eyebrow-row .section-kicker {
  margin-bottom: 0;
}

.custom-free-tag {
  font-size: 0.64rem;
  padding: 0.24rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(244, 185, 90, 0.14);
  color: var(--accent);
  border: 1px solid rgba(244, 185, 90, 0.32);
}

.glow-accent {
  color: var(--accent);
}

.custom-desc {
  color: var(--ink-muted);
  margin: 0.85rem 0 1.45rem;
  font-size: 0.96rem;
}

.live-input-box {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.45rem;
}

.input-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-muted);
  font-size: 0.7rem;
}

.char-count {
  opacity: 0.75;
}

.live-input-box input {
  width: 100%;
  padding: 0.88rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.live-input-box input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244, 185, 90, 0.18);
}

.preset-names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.15rem;
}

.preset-chip {
  padding: 0.3rem 0.72rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.preset-chip:hover,
.preset-chip.is-active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(244, 185, 90, 0.12);
}

/* Balanced Equal-Height CTA Row on PC */
.custom-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.72rem;
  margin-bottom: 0.45rem;
}

.custom-cta-row #open-custom-modal {
  grid-column: 1 / -1;
}

.custom-cta-row .btn {
  width: 100%;
  padding: 0.86rem 1.1rem;
  font-size: 0.9rem;
}

.copy-brief-feedback {
  font-size: 0.82rem;
  color: var(--accent);
  min-height: 1.25rem;
  margin: 0 0 0.75rem;
}

.piece-lead-time {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 0.85rem;
  padding: 0.45rem 0.72rem;
  border-radius: 10px;
  background: rgba(244, 185, 90, 0.08);
  border: 1px solid rgba(244, 185, 90, 0.22);
}

.custom-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 0.66rem;
}

/* ==========================================================================
   Section 7: Upcoming Drop Waitlist (White Dragon)
   ========================================================================== */
.waitlist-section {
  padding: 4.5rem 0 5.5rem;
}

.waitlist-card {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(135deg, #111829 0%, #1C2640 100%);
  color: #F6EFE6;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 28px 65px -24px rgba(8, 12, 24, 0.65);
  overflow: hidden;
}

.waitlist-media {
  position: relative;
  width: 100%;
  max-width: 325px;
  justify-self: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #070B14;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 48px -18px rgba(0, 0, 0, 0.65);
  cursor: pointer;
}

.waitlist-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.video-sound-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.98rem;
  color: #FFFBF6;
  background: rgba(11, 15, 26, 0.72);
  border-color: rgba(255, 255, 255, 0.24);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.video-sound-btn:hover {
  transform: scale(1.06);
  border-color: #F4B95A;
}

.video-sound-prompt {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  color: #FFFBF6;
  background: rgba(11, 15, 26, 0.8);
  border-color: rgba(244, 185, 90, 0.55);
  white-space: nowrap;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.video-sound-prompt.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
}

.video-replay-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: rgba(8, 12, 24, 0.48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-replay-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFBF6;
  background: rgba(11, 15, 26, 0.82);
  border-color: rgba(244, 185, 90, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease-smooth), background-color 0.25s ease, color 0.25s ease;
}

.video-replay-btn:hover {
  transform: scale(1.05);
  background: #F4B95A;
  color: #16100A;
}

.replay-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.waitlist-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 0.75rem;
}

.waitlist-eyebrow-row .section-kicker {
  margin-bottom: 0;
}

.media-badge-inline {
  font-size: 0.64rem;
  padding: 0.24rem 0.68rem;
  border-radius: var(--radius-pill);
  color: #F4B95A;
  background: rgba(244, 185, 90, 0.14);
  border: 1px solid rgba(244, 185, 90, 0.32);
  white-space: nowrap;
}

.waitlist-content .section-kicker {
  color: #F4B95A;
}

.waitlist-desc {
  color: rgba(246, 239, 230, 0.8);
  margin: 1rem 0 1.8rem;
  max-width: 520px;
}

.waitlist-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.4rem 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  max-width: 520px;
}

.waitlist-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: #FFFBF6;
  font: inherit;
  font-size: 1rem;
  min-width: 0;
}

.waitlist-form input::placeholder {
  color: rgba(246, 239, 230, 0.55);
}

.waitlist-form input:focus {
  outline: none;
}

.waitlist-form .btn-primary {
  background: #F4B95A;
  color: #16100A;
}

.form-feedback {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  min-height: 1.3em;
  color: #F4B95A;
}

/* ==========================================================================
   Section 8: Tiny Studio Corner ("Where Imagination Takes Shape")
   ========================================================================== */
.studio-section {
  padding: 4rem 0;
}

.studio-panel {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-soft);
}

.studio-split {
  display: grid;
  grid-template-columns: 1.12fr 0.92fr;
  gap: 2.4rem;
  align-items: center;
}

.studio-stage-wrap {
  margin-bottom: 0;
}

.studio-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px -22px rgba(0, 0, 0, 0.35);
}

.studio-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.38s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.studio-scrim {
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 15, 26, 0.72) 100%);
  pointer-events: none;
}

.studio-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 1.45rem;
  line-height: 1;
  color: #FFFBF6;
  background: rgba(11, 15, 26, 0.56);
  border-color: rgba(255, 255, 255, 0.25);
  z-index: 4;
  transition: transform 0.25s var(--ease-smooth), background-color 0.25s ease, color 0.25s ease;
}

.studio-arrow:hover {
  background: var(--accent);
  color: #16100A;
  transform: translateY(-50%) scale(1.06);
}

.studio-arrow-prev {
  left: 1rem;
}

.studio-arrow-next {
  right: 1rem;
}

.studio-caption-bar {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.58rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 15, 26, 0.66);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFBF6;
  z-index: 4;
  width: fit-content;
  max-width: calc(100% - 2rem);
}

.studio-counter {
  color: #F4B95A;
  flex-shrink: 0;
}

.studio-caption-text {
  font-size: 0.84rem;
  color: rgba(255, 251, 246, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studio-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 0.7rem;
}

.studio-thumb {
  position: relative;
  border-radius: 0.85rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 2px solid transparent;
  opacity: 0.72;
  transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.studio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-thumb span {
  position: absolute;
  bottom: 0.35rem;
  left: 0.4rem;
  padding: 0.14rem 0.44rem;
  border-radius: var(--radius-pill);
  font-size: 0.56rem;
  color: #FFFBF6;
  background: rgba(11, 15, 26, 0.74);
}

.studio-thumb:hover,
.studio-thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.studio-info-col .section-title {
  font-size: clamp(2rem, 3.3vw, 2.95rem);
  margin-bottom: 1rem;
}

.studio-story-lead {
  padding-bottom: 0.9rem;
  margin-bottom: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.studio-tagline {
  font-size: clamp(1.35rem, 1.9vw, 1.65rem);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.studio-origin {
  color: var(--accent);
  font-size: 0.65rem;
}

.studio-story-copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.62;
}

/* ==========================================================================
   Section 9: Meet Giang & Collector FAQ
   ========================================================================== */
.story-section {
  padding: 4.5rem 0;
}

.maker-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.2rem;
  align-items: center;
}

.faq-section {
  padding: 2rem 0 5.5rem;
}

.maker-portrait-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.arch-portrait {
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 3 / 4;
  border-radius: 200px 200px 24px 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  clip-path: inset(12% 9% 0% 9% round 200px 200px 24px 24px);
  transform: scale(0.96);
  transition:
    clip-path 1.15s var(--ease-smooth),
    transform 1.15s var(--ease-smooth),
    box-shadow 1.15s ease;
}

.arch-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 36px rgba(244, 185, 90, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.arch-portrait.is-revealed {
  clip-path: inset(0% 0% 0% 0% round 200px 200px 24px 24px);
  transform: scale(1);
  box-shadow: var(--shadow-soft), 0 0 38px -10px rgba(244, 185, 90, 0.38);
}

.arch-portrait.is-revealed::after {
  opacity: 1;
}

.arch-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transform: scale(1.18);
  transform-origin: center 46%;
}

.maker-tag {
  position: absolute;
  bottom: -0.75rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  color: var(--ink);
}

.maker-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  line-height: 1.4;
  margin: 1.25rem 0 1rem;
  color: var(--ink);
}

.maker-sign {
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 1.65rem;
}

.social-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-pill {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 600;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.social-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* FAQ */
.faq-block {
  max-width: 860px;
  margin-inline: auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.faq-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.5rem;
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 0.85rem;
  color: var(--ink-muted);
  font-size: 0.94rem;
}

/* ==========================================================================
   Section 11: Contact Studio
   ========================================================================== */
.contact-section {
  padding: 2rem 0 5rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2.75rem;
  align-items: start;
  background: linear-gradient(145deg, var(--surface-solid) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.6rem;
  box-shadow: var(--shadow-soft);
}

[data-theme="night"] .contact-panel {
  border-color: rgba(244, 185, 90, 0.2);
}

.contact-lead {
  color: var(--ink-muted);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0.9rem 0 1.5rem;
}

.contact-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.45rem;
  color: var(--ink-muted);
  font-size: 0.7rem;
}

.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.meta-dot {
  color: var(--accent);
}

.contact-direct-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.contact-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.46rem 0.92rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.contact-link-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.contact-form select {
  padding: 0.82rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.96rem;
  cursor: pointer;
}

.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form input,
.contact-form textarea {
  font-size: 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-right: 3.5rem;
}

.footer-note {
  color: var(--ink-muted);
}

/* Modal */
.custom-modal {
  margin: auto;
  border: none;
  border-radius: var(--radius-xl);
  padding: 0;
  width: min(520px, 92vw);
  background: var(--surface-solid);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.custom-modal::backdrop {
  background: rgba(8, 12, 24, 0.65);
  backdrop-filter: blur(6px);
}

.modal-inner {
  padding: 2rem;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
}

.modal-close {
  font-size: 1.7rem;
  line-height: 1;
  color: var(--ink-muted);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-group label {
  color: var(--ink-muted);
}

.field-group input,
.field-group textarea {
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 980px) {
  .pill-nav,
  .header-actions .lang-switch {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .mobile-lang-btn {
    display: inline-grid;
  }
  .gallery-grid,
  .craft-card,
  .custom-panel,
  .waitlist-card,
  .studio-split,
  .contact-panel,
  .maker-grid {
    grid-template-columns: 1fr;
  }
  .craft-card {
    position: static;
  }
  .hero-bottom-bar {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1240px, 92vw);
  }

  /* Header — Compact & Sleek */
  .site-header {
    top: 0.6rem;
    width: 93vw;
  }
  .brand-mark {
    padding: 0.38rem 0.78rem;
    font-size: 0.86rem;
    gap: 0.35rem;
  }
  .brand-name .serif-it {
    font-size: 1rem;
  }
  .header-actions {
    gap: 0.45rem;
  }
  .header-actions .theme-switch {
    display: none;
  }
  .header-actions .btn-sm {
    min-height: 40px;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
  }
  .mobile-menu-btn {
    width: 40px;
    height: 40px;
  }

  /* Hero — Compact, Zero Overlap on Any Screen Height */
  .hero {
    min-height: auto;
    padding: 4.15rem 0.65rem 0.65rem;
  }
  .hero-stage {
    min-height: min(640px, calc(100svh - 4.8rem));
    border-radius: 1.4rem;
    padding: 1.5rem 1rem 1.15rem;
    justify-content: space-between;
  }
  .hero-content {
    padding: 0.75rem 0.25rem 0.5rem;
  }
  .hero-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.04em;
    padding: 0.32rem 0.7rem;
    margin-bottom: 0.85rem;
    line-height: 1.3;
    max-width: 100%;
    white-space: nowrap;
  }
  .hero-title {
    font-size: clamp(2rem, 8.4vw, 2.65rem);
    line-height: 1.05;
    margin-bottom: 0.7rem;
  }
  .hero-subtitle {
    font-size: 0.86rem;
    line-height: 1.48;
    margin-bottom: 1.15rem;
  }
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    width: min(265px, 100%);
    margin-inline: auto;
    gap: 0.55rem;
  }
  .hero-cta-row .btn-lg {
    width: 100%;
    min-height: 44px;
    padding: 0.68rem 1.1rem;
    font-size: 0.88rem;
  }
  /* Static flow prevents CTA buttons from EVER overlapping bottom caption */
  .hero-bottom-bar {
    position: static;
    margin-top: 1.15rem;
    gap: 0.25rem;
    width: 100%;
  }
  .hero-mode-caption,
  .scroll-cue {
    font-size: 0.6rem;
    letter-spacing: 0.06em;
  }

  /* Tighter Section Spacing & Typography Rhythm */
  .manifesto-section {
    padding: 2.25rem 0 1.75rem;
  }
  .section-kicker {
    font-size: 0.68rem;
    margin-bottom: 0.55rem;
  }
  .manifesto-text {
    font-size: clamp(1.45rem, 5.8vw, 1.85rem);
    line-height: 1.24;
    margin-bottom: 1.65rem;
  }
  .marquee-wrap {
    padding: 0.8rem 0;
  }
  .creations-section,
  .craft-section,
  .custom-section {
    padding: 2.5rem 0;
  }
  .waitlist-section {
    padding: 2rem 0 2.5rem;
  }
  .story-section {
    padding: 2.25rem 0 3rem;
  }
  .section-header-split {
    gap: 0.85rem;
    margin-bottom: 1.15rem;
  }
  .section-title {
    font-size: clamp(1.8rem, 7.2vw, 2.3rem);
  }
  .section-lead {
    font-size: 0.9rem;
    margin-top: 0.55rem;
  }

  /* Shoppable Diorama Gallery — Sleek Tabs, Subtle Pins, Compact Info Card */
  .gallery-grid {
    gap: 1.15rem;
  }
  .piece-tabs {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    border-radius: 1.05rem;
    padding: 0.24rem;
    gap: 0.24rem;
  }
  .piece-tab {
    flex: 1 1 44%;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding: 0.48rem 0.55rem;
    font-size: 0.72rem;
    min-height: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    gap: 0.25rem;
  }
  .piece-tab .mono {
    font-size: 0.62rem;
  }

  .gallery-stage {
    aspect-ratio: 4 / 3.7;
    border-radius: 1.25rem;
  }
  .hotspot-pin {
    width: 26px;
    height: 26px;
    font-size: 0.62rem;
  }
  .hotspot-pin::before {
    content: '';
    position: absolute;
    inset: -9px;
  }
  .hotspot-card {
    position: static;
    width: 100% !important;
    max-width: none;
    height: 142px;
    left: auto !important;
    top: auto !important;
    margin-top: 0.6rem;
  }
  .hotspot-card-surface {
    padding: 0.78rem 0.95rem;
    border-radius: 1rem;
  }
  .hotspot-pointer {
    display: none;
  }
  .hotspot-card.is-hidden {
    display: none;
  }
  .hotspot-title {
    font-size: 1.12rem;
    margin-bottom: 0.15rem;
  }
  .hotspot-desc {
    font-size: 0.8rem;
    line-height: 1.45;
  }
  .thumb-strip {
    gap: 0.45rem;
    margin-top: 0.6rem;
  }
  .thumb-btn {
    border-radius: 0.75rem;
  }
  .thumb-btn span {
    font-size: 0.5rem;
    bottom: 0.24rem;
    left: 0.26rem;
    right: 0.26rem;
    padding: 0.1rem 0.28rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }
  .thumb-play-badge {
    width: 18px;
    height: 18px;
    font-size: 0.48rem;
    top: 0.24rem;
    right: 0.24rem;
  }
  .gallery-video-badge {
    font-size: 0.56rem;
    bottom: 0.55rem;
    left: 0.55rem;
    padding: 0.26rem 0.56rem;
  }

  .info-card {
    padding: 1.15rem;
    border-radius: 1.25rem;
  }
  .status-row {
    margin-bottom: 0.65rem;
    font-size: 0.66rem;
  }
  .piece-name {
    font-size: 1.65rem;
    margin-bottom: 0.55rem;
  }
  .piece-story {
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  .piece-specs {
    gap: 0.55rem 0.75rem;
    padding: 0.75rem 0;
    margin-bottom: 1rem;
    font-size: 0.68rem;
    line-height: 1.35;
  }
  .piece-specs small {
    font-size: 0.62rem;
  }
  .info-cta-stack {
    gap: 0.55rem;
    margin-bottom: 0.85rem;
  }
  .info-cta-stack .btn {
    min-height: 44px;
    padding: 0.68rem 1.1rem;
    font-size: 0.88rem;
  }
  .shipping-note {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  /* 4-Step Craft Carousel — Compact Mobile Swipe */
  .craft-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
  }
  .craft-nav-arrows {
    display: none;
  }
  .craft-carousel {
    gap: 0.85rem;
    padding-bottom: 0.5rem;
  }
  .craft-slide {
    flex: 0 0 82vw;
    max-width: 305px;
    border-radius: 1.2rem;
  }
  .craft-slide-body {
    padding: 0.95rem 1rem 1.05rem;
  }
  .craft-slide-title {
    font-size: 1.38rem;
  }
  .craft-slide-teaser {
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
  }
  .craft-chips span {
    font-size: 0.62rem;
    padding: 0.25rem 0.58rem;
  }
  .craft-swipe-hint {
    font-size: 0.6rem;
  }
  .craft-modal-card {
    border-radius: 1.35rem;
    width: 93vw;
  }
  .craft-modal-body {
    padding: 1.15rem 1.15rem 1.25rem;
  }
  .craft-modal-desc {
    font-size: 0.88rem;
  }

  /* Custom Plaque Studio — Compact Mobile */
  .custom-panel {
    padding: 1.2rem;
    gap: 1.35rem;
    border-radius: 1.35rem;
  }
  .plaque-compare {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
  .plaque-real {
    min-height: 215px;
    border-radius: 1rem;
  }
  .plaque-product-chip {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  width: fit-content;
  max-width: calc(100% - 1.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.24rem 0.65rem 0.24rem 0.26rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 15, 26, 0.76);
  border-color: rgba(244, 185, 90, 0.35);
  color: #FFFBF6;
  z-index: 3;
}

.plaque-product-chip img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.plaque-product-chip span {
  font-size: 0.58rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-product-picker {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.picker-label {
  font-size: 0.7rem;
  color: var(--ink-muted);
}

.picker-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.picker-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.34rem 0.55rem 0.34rem 0.32rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.picker-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.picker-pill img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.picker-pill:hover {
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-1px);
}

.picker-pill.is-active {
  border-color: var(--accent);
  background: rgba(244, 185, 90, 0.16);
  color: var(--accent);
  box-shadow: 0 4px 14px -6px rgba(244, 185, 90, 0.4);
}

.plaque-pill {
    font-size: 0.54rem;
    padding: 0.26rem 0.55rem;
    bottom: 0.55rem;
  }
  .plaque-live-wrap {
    padding: 0.6rem 0.5rem 0.65rem;
    gap: 0.45rem;
    border-radius: 1rem;
  }
  .live-indicator {
    font-size: 0.52rem;
    padding: 0.16rem 0.48rem;
  }
  .plaque-arch-mock {
    max-width: 138px;
    height: 158px;
    padding-top: 1.45rem;
  }
  .plaque-inner-frame {
    inset: 6px;
  }
  .plaque-star {
    font-size: 0.64rem;
    margin-bottom: 0.15rem;
  }
  .plaque-live-text {
    font-size: 1.35rem;
    padding-inline: 0.6rem;
  }
  .plaque-arch-sub {
    font-size: 0.46rem;
    margin-bottom: 0.6rem;
  }
  .swatch-btn {
    width: 22px;
    height: 22px;
  }
  .custom-eyebrow-row {
    margin-bottom: 0.55rem;
  }
  .custom-free-tag {
    font-size: 0.58rem;
    padding: 0.2rem 0.52rem;
  }
  .custom-desc {
    font-size: 0.85rem;
    margin: 0.6rem 0 1rem;
  }
  .live-input-box {
    margin-bottom: 1rem;
  }
  .live-input-box input {
    padding: 0.72rem 0.9rem;
    font-size: 1rem;
  }
  .preset-chip {
    font-size: 0.72rem;
    padding: 0.28rem 0.62rem;
  }
  .custom-cta-row {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-bottom: 0.95rem;
  }
  .custom-cta-row .btn {
    min-height: 44px;
    padding: 0.68rem 1.1rem;
    font-size: 0.86rem;
  }
  .custom-perks {
    font-size: 0.58rem;
    gap: 0.4rem 0.85rem;
    padding-top: 0.8rem;
  }

  /* Waitlist Section — Full 9:16 Vertical Video */
  .waitlist-card {
    padding: 1.15rem;
    gap: 1.15rem;
    border-radius: 1.25rem;
  }
  .waitlist-media {
    max-width: 270px;
    aspect-ratio: 9 / 16;
    border-radius: 1rem;
  }
  .media-badge-inline {
    font-size: 0.56rem;
    padding: 0.2rem 0.55rem;
  }
  .waitlist-desc {
    font-size: 0.86rem;
    margin: 0.65rem 0 1.15rem;
  }
  .waitlist-form {
    flex-direction: column;
    border-radius: 1rem;
    padding: 0.55rem;
    align-items: stretch;
  }
  .waitlist-form input {
    font-size: 1rem;
    padding: 0.55rem 0.5rem;
    min-height: 42px;
  }
  .waitlist-form .btn {
    min-height: 44px;
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
  }

  /* Tiny Studio Corner — Ultra-Compact Mobile */
  .studio-section {
    padding: 1.75rem 0;
  }
  .studio-panel {
    padding: 1rem;
    border-radius: 1.25rem;
  }
  .studio-split {
    gap: 1rem;
  }
  .studio-stage-wrap {
    margin-bottom: 0;
  }
  .studio-stage {
    aspect-ratio: 16 / 10;
    border-radius: 0.9rem;
  }
  .studio-arrow {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }
  .studio-arrow-prev {
    left: 0.45rem;
  }
  .studio-arrow-next {
    right: 0.45rem;
  }
  .studio-caption-bar {
    bottom: 0.45rem;
    left: 0.45rem;
    right: auto;
    padding: 0.22rem 0.55rem;
    gap: 0;
  }
  .studio-counter {
    font-size: 0.6rem;
  }
  .studio-caption-text {
    display: none;
  }
  .studio-thumbs {
    gap: 0.4rem;
    margin-top: 0.45rem;
  }
  .studio-thumb {
    border-radius: 0.6rem;
  }
  .studio-thumb span {
    display: none;
  }
  .studio-info-col .section-kicker {
    font-size: 0.6rem;
    margin-bottom: 0.35rem;
  }
  .studio-info-col .section-title {
    font-size: 1.65rem;
    margin-bottom: 0.5rem;
  }
  .studio-story-lead {
    padding-bottom: 0.55rem;
    margin-bottom: 0.6rem;
  }
  .studio-tagline {
    font-size: 1.18rem;
    margin-bottom: 0;
  }
  .studio-origin {
    display: none;
  }
  .studio-story-copy {
    font-size: 0.82rem;
    line-height: 1.5;
    gap: 0.5rem;
  }

  /* Meet Giang, 2×2 Social Pills, Compact FAQ & Centered Footer */
  .maker-grid {
    gap: 1.45rem;
  }
  .faq-section {
    padding: 1.5rem 0 2rem;
  }
  .contact-section {
    padding: 0.75rem 0 2.5rem;
  }
  .contact-panel {
    padding: 1.15rem;
    gap: 1.05rem;
    border-radius: 1.25rem;
  }
  .contact-lead {
    font-size: 0.83rem;
    line-height: 1.48;
    margin: 0.45rem 0 0.85rem;
  }
  .contact-meta-list {
    display: none;
  }
  .contact-form {
    gap: 0.65rem;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .contact-form .field-group {
    gap: 0.25rem;
  }
  .contact-form .field-group label {
    font-size: 0.62rem;
  }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 0.62rem 0.85rem;
    border-radius: 0.75rem;
    font-size: 1rem;
  }
  .contact-form textarea {
    height: 82px;
    min-height: 82px;
    resize: none;
  }
  .contact-form .btn-lg {
    min-height: 44px;
    padding: 0.68rem 1rem;
    font-size: 0.88rem;
  }
  .contact-direct-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }
  .contact-link-pill {
    justify-content: center;
    min-height: 36px;
    padding: 0.34rem 0.45rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .arch-portrait {
    width: min(215px, 64vw);
  }
  .maker-tag {
    font-size: 0.62rem;
    padding: 0.35rem 0.8rem;
  }
  .maker-quote {
    font-size: 1.18rem;
    margin: 0.85rem 0 0.65rem;
  }
  .maker-sign {
    font-size: 0.84rem;
    margin-bottom: 1.1rem;
  }
  .social-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
  }
  .social-pill {
    min-height: 42px;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .faq-section {
    padding: 1rem 0 1.65rem;
  }
  .faq-header {
    margin-bottom: 0.85rem;
  }
  .faq-heading {
    font-size: 1.55rem;
  }
  .faq-list {
    gap: 0;
    background: var(--surface-solid);
    border: 1px solid var(--border);
    border-radius: 1.15rem;
    overflow: hidden;
  }
  .faq-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 0.72rem 0.95rem;
  }
  .faq-item:last-child {
    border-bottom: none;
  }
  .faq-item summary {
    font-size: 0.82rem;
    line-height: 1.38;
    gap: 0.65rem;
  }
  .faq-plus {
    font-size: 1.15rem;
  }
  .faq-item p {
    font-size: 0.78rem;
    line-height: 1.5;
    margin-top: 0.45rem;
  }
  .site-footer {
    padding: 1.35rem 0;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 0.45rem;
    padding-inline: 3.25rem;
  }
  .footer-note {
    font-size: 0.64rem;
  }
}

@media (max-width: 400px) {
  .brand-mark {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
  }
  .header-actions .btn-sm {
    padding: 0.42rem 0.72rem;
    font-size: 0.75rem;
  }
  .hero-eyebrow {
    font-size: 0.54rem;
    padding: 0.3rem 0.55rem;
  }
  .piece-tab {
    font-size: 0.68rem;
    padding: 0.45rem 0.25rem;
  }
}

/* ==========================================================================
   Micro-Animations: Cursor Candlelight, Theme Ripple, Arch Float, Ken Burns
   ========================================================================== */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 185, 90, 0.11) 0%, rgba(244, 185, 90, 0.03) 42%, transparent 72%);
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transform: translate3d(-999px, -999px, 0);
  transition: opacity 0.6s ease;
  will-change: transform;
}

[data-theme="night"] .cursor-glow.is-visible {
  opacity: 1;
}

@media (hover: none), (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
}

.theme-ripple {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 90;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}

.theme-ripple.is-rippling {
  animation: themeRippleWave 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes themeRippleWave {
  0% {
    opacity: 0.45;
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(110);
  }
}

/* Gentle floating levitation for 3D Custom Plaque Arch */
.plaque-arch-mock {
  animation: archFloat 5.5s ease-in-out infinite;
}

@keyframes archFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.plaque-star.is-sparkling {
  animation: starSparkle 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes starSparkle {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.65) rotate(90deg); }
  100% { transform: scale(1) rotate(180deg); }
}

/* Slow Ken Burns breathing zoom on Tiny Studio photography */
.studio-slide-img {
  animation: studioKenBurns 11s ease-in-out infinite alternate;
}

@keyframes studioKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.045); }
}

/* Top 2px Golden Reading Progress Bar */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent) 0%, #FFE29B 70%, var(--accent-strong) 100%);
  box-shadow: 0 0 10px rgba(244, 185, 90, 0.55);
  z-index: 200;
  pointer-events: none;
}

/* Zoomable Images Cursor Cue */
.gallery-main-img,
.plaque-real img,
.studio-slide-img {
  cursor: zoom-in;
}

/* Full-Screen Lightbox Image Zoom Modal */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(6, 9, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 1.15rem;
  color: #FFFBF6;
  background: rgba(11, 15, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.25s var(--ease-smooth), background-color 0.25s ease, color 0.25s ease;
  z-index: 10001;
}

.lightbox-close:hover {
  transform: rotate(90deg) scale(1.06);
  background: var(--accent);
  color: #16100A;
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  max-width: min(1040px, 94vw);
  max-height: 88svh;
  transform: scale(0.95);
  transition: transform 0.35s var(--ease-smooth);
}

.lightbox-overlay.is-open .lightbox-figure {
  transform: scale(1);
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 78svh;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
  object-fit: contain;
}

.lightbox-caption {
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-pill);
  color: #FFFBF6;
  background: rgba(11, 15, 26, 0.72);
  border-color: rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
  text-align: center;
}

/* Floating Utility Dock (Quick-Chat + Back-to-Top) */
.fab-dock {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.fab-chat-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.fab-chat-menu {
  position: absolute;
  bottom: calc(100% + 0.65rem);
  right: 0;
  min-width: 205px;
  border-radius: 1.15rem;
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity 0.25s ease, transform 0.3s var(--ease-smooth), visibility 0.25s ease;
}

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

.fab-menu-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.8rem;
  border-radius: 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.fab-menu-item:hover {
  background: rgba(244, 185, 90, 0.16);
  color: var(--accent);
}

.fab-ext {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.fab-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s var(--ease-smooth), border-color 0.25s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.fab-btn:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: var(--accent);
}

.fab-chat {
  font-size: 1.12rem;
}

.fab-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

.fab-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.fab-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.fab-ring-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 2.2;
}

.fab-ring-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 132;
  stroke-dashoffset: 132;
  transition: stroke-dashoffset 0.1s linear;
}

.fab-top-arrow {
  position: relative;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 640px) {
  .fab-dock {
    right: 0.65rem;
    bottom: 0.75rem;
    gap: 0.48rem;
  }
  .fab-btn {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   Scroll Intro Reveal Animations (GPU-Accelerated Blur + Lift + Fade)
   ========================================================================== */
.reveal-item {
  opacity: 0;
  transform: translateY(42px) scale(0.975);
  filter: blur(5px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ==========================================================================
   Studio Journal: Mini Photo & Video Micro-Blog
   ========================================================================== */
.journal-section {
  padding: 5.5rem 0;
}

.journal-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.journal-filters {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem;
  border-radius: var(--radius-pill);
}

.journal-filter-btn {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.journal-filter-btn:hover {
  color: var(--ink);
}

.journal-filter-btn.is-active {
  background: var(--accent);
  color: #16100C;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.journal-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s ease, box-shadow 0.3s ease;
}

.journal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 185, 90, 0.48);
}

.journal-card-media {
  position: relative;
  aspect-ratio: 4 / 4.4;
  background: #0B0F1A;
  overflow: hidden;
}

.journal-card-media img,
.journal-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-smooth);
}

.journal-card:hover .journal-card-media img,
.journal-card:hover .journal-card-media video {
  transform: scale(1.04);
}

.journal-play-pill {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-left: 2px;
  font-size: 0.78rem;
  color: #F4B95A;
  background: rgba(11, 15, 26, 0.78);
  border: 1px solid rgba(244, 185, 90, 0.65);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.42);
}

.journal-card-body {
  padding: 1.05rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.journal-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.64rem;
  color: var(--ink-muted);
}

.journal-tag-pill {
  color: var(--accent);
  font-weight: 600;
  max-width: 68%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-badge.is-adopted {
  color: #E2A3A3;
}

.status-badge.is-adopted .pulse-dot {
  background: #E2A3A3;
  box-shadow: none;
  animation: none;
}

.waitlist-section.is-hidden {
  display: none;
}

.journal-card-caption {
  font-size: 0.92rem;
  line-height: 1.52;
  min-height: calc(1.52em * 3);
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--ink-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}

.journal-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.65rem;
}

.journal-actions.is-hidden {
  display: none;
}

/* Studio Journal Reader Modal */
.journal-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(6, 9, 18, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.journal-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.journal-modal-card {
  position: relative;
  width: min(860px, 95vw);
  max-height: 88vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
}

.journal-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 0.9rem;
}

.journal-modal-media {
  background: #070B14;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 88vh;
  overflow: hidden;
}

.journal-modal-media img,
.journal-modal-media video {
  width: 100%;
  height: 100%;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}

.journal-modal-body {
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}

.journal-modal-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.68rem;
  color: var(--ink-muted);
}

.journal-modal-caption {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  white-space: pre-line;
}

@media (max-width: 820px) {
  .journal-modal-card {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
  .journal-modal-media {
    max-height: 52vh;
  }
  .journal-modal-media img,
  .journal-modal-media video {
    max-height: 52vh;
  }
  .journal-modal-body {
    padding: 1.15rem 1.2rem 1.35rem;
  }
}

@media (max-width: 960px) and (min-width: 641px) {
  .journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .journal-section {
    padding: 3.25rem 0;
  }
  .journal-header {
    margin-bottom: 1.15rem;
    gap: 0.75rem;
  }
  .journal-filter-btn {
    padding: 0.34rem 0.72rem;
    font-size: 0.72rem;
  }
  .journal-grid {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.85rem;
    padding-bottom: 0.45rem;
    scrollbar-width: none;
  }
  .journal-grid::-webkit-scrollbar {
    display: none;
  }
  .journal-card {
    flex: 0 0 76vw;
    max-width: 280px;
    height: auto;
    scroll-snap-align: start;
  }
  .journal-card-body {
    padding: 0.85rem 0.9rem 0.95rem;
  }
  .journal-card-caption {
    font-size: 0.84rem;
  }
}

/* Daylight Mode Contrast Polish (Loupe, Journal, Badges, Lead-Time) */
[data-theme="day"] .piece-lead-time {
  color: #9A5E14;
  background: rgba(212, 137, 42, 0.1);
  border-color: rgba(212, 137, 42, 0.28);
}

[data-theme="day"] .copy-brief-feedback {
  color: #9A5E14;
}

[data-theme="day"] .gallery-loupe-toggle {
  background: rgba(255, 251, 245, 0.92);
  color: #2B2118;
  border-color: rgba(154, 94, 20, 0.34);
  box-shadow: 0 8px 20px rgba(43, 33, 24, 0.16);
}

[data-theme="day"] .gallery-loupe-toggle.is-active {
  background: #C47A1E;
  color: #FFFDF9;
  border-color: #C47A1E;
}

[data-theme="day"] .gallery-loupe {
  border-color: rgba(196, 122, 30, 0.88);
  box-shadow: 0 18px 42px rgba(43, 33, 24, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

[data-theme="day"] .journal-card {
  background: #FFFFFF;
  border-color: rgba(43, 33, 24, 0.12);
  box-shadow: 0 14px 32px -18px rgba(43, 33, 24, 0.18);
}

[data-theme="day"] .journal-card:hover {
  border-color: rgba(196, 122, 30, 0.55);
  box-shadow: 0 20px 38px -18px rgba(43, 33, 24, 0.24);
}

[data-theme="day"] .journal-modal-card {
  background: #FFFDF9;
  color: #2B2118;
  border-color: rgba(43, 33, 24, 0.14);
}

[data-theme="day"] .journal-modal-close {
  background: rgba(255, 253, 249, 0.92);
  color: #2B2118;
  border-color: rgba(43, 33, 24, 0.2);
}

[data-theme="day"] .status-badge.is-adopted {
  color: #6B5D51;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .intro-preloader {
    display: none !important;
  }
  .arch-portrait {
    clip-path: none !important;
    transform: none !important;
  }
  .manifesto-word,
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
