/* ==========================================================================
   新北捷運十年《腳踏十地 永續前行》一頁式官方網站
   【資深設計師重構版：典雅人文、文學質感與滿版大器風格】
   ========================================================================== */

:root {
  /* Typography System */
  --font-serif: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Color Palette (Paper & Ink, Metro Blue, Warm Gold) */
  --bg-paper: #FFFFFF;
  --bg-paper-subtle: #F3EFEA;
  --bg-white: #FFFFFF;
  --bg-dark-ink: #0F1E36;
  
  --ink-primary: #142238;
  --ink-secondary: #4A5568;
  --ink-muted: #718096;
  
  --metro-blue: #0084D6;
  --metro-cyan: #00A3E0;
  --metro-teal: #00C9B6;
  --warm-gold: #9E7E47;
  --warm-gold-hover: #B8975A;

  --border-paper: #E6E1D7;
  --border-gold: rgba(158, 126, 71, 0.25);
  
  --shadow-paper: 0 12px 32px rgba(20, 34, 56, 0.06);
  --shadow-hover: 0 20px 45px rgba(20, 34, 56, 0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.25s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-paper);
  color: var(--ink-primary);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.font-serif {
  font-family: var(--font-serif);
}

/* Section Common Layout */
.section {
  padding: 110px 24px;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Literary Section Header */
.literary-section-head {
  margin-bottom: 64px;
}

.chapter-number {
  font-family: 'Playfair Display', var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 4px;
  color: var(--warm-gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.section-serif-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: 1px;
}

.section-serif-subtitle {
  font-size: 1.05rem;
  color: var(--ink-muted);
  margin-top: 10px;
  font-weight: 400;
}

.serif-line {
  width: 50px;
  height: 3px;
  background: var(--warm-gold);
  margin: 20px auto 0;
  border-radius: 2px;
}

.text-center {
  text-align: center;
}

/* Literary Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.btn-literary-gold {
  background: linear-gradient(135deg, var(--warm-gold) 0%, var(--warm-gold-hover) 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(158, 126, 71, 0.28);
}

.btn-literary-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(158, 126, 71, 0.42);
}

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

.btn-outline-dark:hover {
  background: var(--ink-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.btn-text {
  background: transparent;
  border: none;
  color: var(--warm-gold);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast);
}

.btn-text:hover {
  color: var(--metro-blue);
}

/* ==========================================================================
   Site Header & Top Right Hamburger Navigation
   ========================================================================== */
.site-header {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-normal);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding: 20px 0;
  pointer-events: none; /* Let clicks pass through when scrolled up */
}

.header-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 35px;
}

.logo-img {
  height: 29px;
  width: auto;
  object-fit: contain;
  transition: filter var(--transition-fast);
  filter: brightness(0) invert(1);
}

.site-header.scrolled .logo-img {
  /* Logo scrolls up with absolute header, so no need to invert color */
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-item {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  position: relative;
  transition: color var(--transition-fast);
}

.site-header.scrolled .nav-item {
  color: var(--ink-primary);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--warm-gold);
  transition: width var(--transition-normal);
}

.nav-item:hover,
.nav-item.active {
  color: var(--warm-gold);
}

.site-header.scrolled .nav-item:hover,
.site-header.scrolled .nav-item.active {
  color: var(--warm-gold);
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

.btn-ebook-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--bg-dark-ink);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.btn-ebook-nav:hover {
  background: var(--warm-gold);
  transform: translateY(-2px);
}

/* Top Right Hamburger Button (Metro Creative Style) */
.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 53px;
  height: 53px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  z-index: 1300;
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 18px;
  right: 40px;
  pointer-events: auto; /* Ensure clickable even if parent is pointer-events: none */
}

@media (max-width: 992px) {
  .header-inner {
    padding: 0 20px;
  }
  .hamburger-btn {
    right: 20px;
    top: 14.5px; /* Mathematically perfectly aligned with 22px logo */
  }
  .logo-img {
    height: 22px;
  }
  .brand-logos {
    gap: 16px;
  }
}

.hamburger-btn.scrolled {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hamburger-box {
  width: 24px;
  height: 19px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  display: block;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.hamburger-btn.scrolled .hamburger-line {
  background: var(--ink-primary);
}

.line-top {
  width: 100%;
  transform-origin: center;
}

.line-mid {
  width: 75%;
  display: flex;
  align-items: center;
}

.metro-node-dot {
  position: absolute;
  right: -5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm-gold);
  border: 1px solid #ffffff;
  transition: all 0.35s ease;
}

.hamburger-btn.scrolled .metro-node-dot {
  border-color: var(--bg-paper);
}

.line-bot {
  width: 100%;
  transform-origin: center;
}

/* Micro-Animations on Hover */
.hamburger-btn:hover {
  border-color: var(--warm-gold);
  transform: scale(1.08) rotate(90deg);
  background: var(--bg-white);
}

.hamburger-btn:hover .hamburger-line {
  background: var(--ink-primary);
}

.hamburger-btn:hover .line-mid {
  width: 100%;
}

.hamburger-btn:hover .metro-node-dot {
  background: var(--warm-gold);
  transform: scale(1.3);
}

/* Active State (When drawer is opened) */
.hamburger-btn.active {
  background: var(--warm-gold);
  border-color: var(--warm-gold);
  box-shadow: 0 4px 15px rgba(158, 126, 71, 0.3);
  transform: rotate(180deg);
}

.hamburger-btn.active .hamburger-line {
  background: #ffffff;
}

.hamburger-btn.active .line-top {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger-btn.active .line-mid {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.active .line-bot {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Drawer Menu */
.drawer-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.drawer-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 30, 54, 0.7);
  backdrop-filter: blur(8px);
}

.drawer-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0083a4; /* Fallback */
  background-image: linear-gradient(rgba(0, 131, 164, 0.92), rgba(0, 131, 164, 0.92)), url('../images/hero_visual.jpg');
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
}

.drawer-link {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 4px;
  position: relative;
  
  /* Initial state for animation */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease, text-shadow 0.4s ease;
}

.drawer-menu.active .drawer-link {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* Staggered delays */
.drawer-menu.active .drawer-link:nth-child(1) { transition-delay: 0.15s; }
.drawer-menu.active .drawer-link:nth-child(2) { transition-delay: 0.25s; }
.drawer-menu.active .drawer-link:nth-child(3) { transition-delay: 0.35s; }

/* Sibling Fade Effect (Keep text white to ensure contrast) */
.drawer-menu.active .drawer-nav:hover .drawer-link {
  opacity: 0.3;
}

.drawer-menu.active .drawer-nav .drawer-link:hover {
  opacity: 1;
  color: #ffffff;
  transform: translateY(0) translateX(0); /* Text stays perfectly still */
  transition-delay: 0s !important;
}

@media (max-width: 992px) {
  .drawer-content {
    background-image: linear-gradient(rgba(0, 131, 164, 0.9), rgba(0, 131, 164, 0.9)), url('../images/mobile_visual.jpg');
  }
}

@media (max-width: 768px) {
  .drawer-link {
    font-size: 1.8rem;
    gap: 30px;
  }
  .drawer-nav {
    gap: 30px;
  }
}

.break-480 {
  display: none;
}

.w-100 {
  width: 100%;
}

/* ==========================================================================
   01. Hero Section (NO OVERLAY, Clean Literary Typography)
   ========================================================================== */
.hero-section {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}

.hero-bg-item.active {
  opacity: 1;
  transform: scale(1);
}

/* 【Hero 無 overlay】: 純淨背景展示，零遮罩覆蓋 */

.hero-literary-container {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
}

.hero-layout-right {
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start; /* Start from top of container */
  padding-right: 18%;
  margin-top: -60px; /* Reduced safe distance to bring it closer to the top */
  position: relative;
}

.hero-titles-vertical {
  writing-mode: vertical-rl;
  text-orientation: upright;
  margin: 0;
  padding: 0;
}

body.is-loading .title-line,
body.is-loading .hero-sub-title {
  animation: none !important;
  opacity: 0;
}

.title-line {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  letter-spacing: 0.15em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.15);
  margin: 0;
  white-space: nowrap;
  opacity: 0;
  animation: fadeUpIn 1s cubic-bezier(0.2, 0, 0.2, 1) forwards;
}

.title-line:first-child {
  margin-left: 20px;
}

.title-line:nth-child(2) {
  margin-left: 50px;
  animation-delay: 0.2s;
}

.hero-sub-title {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.435em; /* Tweaked for pixel-perfect visual alignment */
  margin: 0;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  opacity: 0;
  animation: fadeUpIn 1s cubic-bezier(0.2, 0, 0.2, 1) forwards;
  animation-delay: 0.4s;
  line-height: 1;
  margin-top: 4px;
}

@keyframes fadeUpIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.js-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  #heroBg1 {
    background-image: url('../images/mobile_visual.jpg') !important;
  }
  .hero-layout-right {
    padding-right: 18%;
    margin-top: 20px;
  }
  .title-line {
    font-size: 2.1rem;
  }
  .title-line:first-child {
    margin-left: 16px;
  }
  .title-line:nth-child(2) {
    margin-left: 40px;
  }
  .hero-sub-title {
    font-size: 0.7rem;
    letter-spacing: 0.332em;
    margin-top: 3px;
  }
}

/* Visual Switcher Pill */
.hero-switcher {
  margin-top: 36px;
  display: inline-flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-paper);
  border: 1px solid var(--border-paper);
}

.switcher-tab {
  background: transparent;
  border: none;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.switcher-tab:hover {
  color: var(--ink-primary);
}

.switcher-tab.active {
  background: var(--bg-dark-ink);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 30, 54, 0.25);
}

.hero-scroll-right {
  position: relative;
  margin-top: 70px;
  margin-right: 12px; /* Slight offset to center under the rightmost column */
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 0.75rem;
  letter-spacing: 3px;
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  animation: fadeUpIn 1s cubic-bezier(0.2, 0, 0.2, 1) forwards;
  animation-delay: 0.6s;
  transition: opacity 0.3s;
}

.hero-scroll-right:hover {
  opacity: 1;
}

.hero-scroll-right .scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}

.hero-scroll-right .scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: #ffffff;
  animation: scrollDown 2s infinite ease-in-out;
}

@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ==========================================================================
   Full-Bleed Literary Quote Banner (滿版大器設計)
   ========================================================================== */
.full-bleed-quote {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 120px 24px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
}

.quote-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center attachment;
  z-index: 1;
}

.quote-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 30, 54, 0.82) 0%, rgba(15, 30, 54, 0.65) 100%);
  z-index: 2;
}

.quote-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  text-align: center;
}

.vertical-text-tag {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 6px;
  color: var(--warm-gold);
  margin: 0 auto 20px;
  display: inline-block;
  font-weight: 700;
  height: 90px;
}

.literary-quote {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.6;
  font-weight: 700;
  margin-bottom: 24px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.quote-author {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 2px;
}

/* ==========================================================================
   02. 書籍介紹 Section (典雅文學排版)
   ========================================================================== */
.book-section {
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 30 L 60 30 M 30 0 L 30 60' stroke='rgba(0,0,0,0.035)' stroke-width='1.5' fill='none' /%3E%3Cpath d='M 0 60 L 60 0' stroke='rgba(0,0,0,0.02)' stroke-width='1' fill='none' /%3E%3Ccircle cx='30' cy='30' r='4' fill='%23FFFFFF' stroke='rgba(0,0,0,0.08)' stroke-width='1.5'/%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(0,0,0,0.08)'/%3E%3Ccircle cx='0' cy='0' r='3.5' fill='%23FFFFFF' stroke='rgba(0,0,0,0.06)' stroke-width='1'/%3E%3Ccircle cx='60' cy='0' r='3.5' fill='%23FFFFFF' stroke='rgba(0,0,0,0.06)' stroke-width='1'/%3E%3Ccircle cx='0' cy='60' r='3.5' fill='%23FFFFFF' stroke='rgba(0,0,0,0.06)' stroke-width='1'/%3E%3Ccircle cx='60' cy='60' r='3.5' fill='%23FFFFFF' stroke='rgba(0,0,0,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  background-repeat: repeat;
  background-position: center top;
  position: relative;
  z-index: 2;
}

/* Concept: Eslite Bookstore Literary Style */
.eslite-book-spread {
  display: flex;
  position: relative;
  max-width: 1100px;
  margin: 60px auto;
  align-items: center;
  gap: 60px;
}

.eslite-col-visual {
  flex: 1.1;
  position: relative;
  text-align: center;
  padding: 60px 20px;
}

.eslite-col-visual.align-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.book-flat-img {
  max-width: 100%;
  width: 420px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

.layout-new {
  gap: 80px;
  max-width: 1150px;
  margin: 0 auto;
  align-items: center;
}

.layout-new-text {
  text-align: left;
}

.book-cyan-line {
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #21bbe2 50%, #0084a5 50%);
  margin-bottom: 24px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.book-cyan-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: line-shine 4s infinite;
}

@keyframes line-shine {
  0% { left: -100%; }
  15% { left: 200%; }
  100% { left: 200%; }
}

.eslite-main-para {
  font-size: 18px;
  line-height: 2;
  margin-bottom: 20px;
  text-align: justify;
}

.eslite-bold-para {
  font-size: 18px;
  line-height: 2;
  text-align: justify;
}

.section-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.section-title-wrapper .section-serif-title {
  margin: 0;
  transform: translateY(-3px);
}

.section-icon {
  height: 28px;
  width: auto;
}

.eslite-green-backdrop {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -20vw;
  right: 15%;
  background-color: #1a3528; /* Eslite Green */
  z-index: 0;
}

.eslite-pills, .eslite-stage, .eslite-hint {
  position: relative;
  z-index: 2;
}

.eslite-hint {
  color: rgba(255, 255, 255, 0.6) !important;
}

.eslite-col-text {
  flex: 1.15;
  padding: 40px 40px 40px 0;
  position: relative;
  z-index: 2;
}

.eslite-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--warm-gold);
  border-bottom: 1px solid var(--warm-gold);
  padding-bottom: 6px;
  margin-bottom: 30px;
}

.eslite-book-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.eslite-dot {
  color: var(--warm-gold);
  margin: 0 4px;
}

.eslite-text-body {
  display: block;
}

.eslite-vertical-quote {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink-primary);
  line-height: 2;
  letter-spacing: 0.15em;
  padding-left: 30px;
  border-left: 1px solid var(--border-paper);
  height: 280px;
}

.eslite-paragraphs {
  flex: 1;
}

.eslite-para {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--ink-secondary);
  margin-bottom: 24px;
  text-align: justify;
}

.eslite-action {
  margin-top: 40px;
}

.btn-book-download {
  background-color: #a48959;
  color: #ffffff;
  padding: 12px 40px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.1em;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-book-download::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-book-download:hover {
  background-color: #b39867;
  transform: scale(1.02);
}

.btn-book-download:hover::after {
  left: 200%;
}

@media (max-width: 1200px) {
  .eslite-book-spread {
    padding: 0 40px;
    gap: 80px;
  }
  .eslite-col-visual {
    flex: 1;
  }
  .eslite-col-text {
    flex: 1.4;
  }
  .book-flat-img {
    width: 100%;
    max-width: 360px;
  }
  .eslite-book-title {
    font-size: 40px;
  }
}

@media (max-width: 992px) {
  .section-serif-title {
    font-weight: 900;
  }
  .eslite-book-spread {
    flex-direction: column;
    padding: 0;
    gap: 40px;
  }
  .eslite-col-text {
    padding-right: 0;
  }
  .btn-book-download {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .eslite-green-backdrop {
    left: -20px;
    right: -20px;
  }
  .eslite-text-body {
    flex-direction: column;
    gap: 24px;
  }
  .eslite-vertical-quote {
    writing-mode: horizontal-tb;
    height: auto;
    padding-left: 0;
    padding-top: 24px;
    border-left: none;
    border-top: 1px solid var(--border-paper);
    width: 100%;
  }
}

.cover-toggle-pills {
  display: inline-flex;
  background: var(--bg-paper-subtle);
  padding: 6px;
  border-radius: var(--radius-full);
  margin-bottom: 32px;
  border: 1px solid var(--border-paper);
}

.cover-pill {
  background: transparent;
  border: none;
  padding: 10px 26px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cover-pill.active {
  background: var(--warm-gold);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(158, 126, 71, 0.3);
}

.book-showcase-stage {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.book-item-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9) rotateY(12deg);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-slow);
  width: 100%;
  max-width: 370px;
}

.book-item-3d.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1) rotateY(0deg);
}

.book-cover-img {
  width: 100%;
  border-radius: 6px;
  filter: drop-shadow(0 20px 35px rgba(20, 34, 56, 0.18));
  cursor: pointer;
  transition: transform var(--transition-normal);
}

.book-item-3d.active:hover .book-cover-img {
  transform: translateY(-8px) scale(1.02);
}

.book-reflection {
  height: 20px;
  width: 75%;
  margin: 15px auto 0;
  background: radial-gradient(ellipse at center, rgba(158, 126, 71, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
}

.stage-hint {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 18px;
}

.editorial-paper-card {
  background: transparent;
  padding: 48px 0;
  border: none;
  box-shadow: none;
}

.book-badge {
  display: inline-block;
  background: rgba(158, 126, 71, 0.12);
  color: var(--warm-gold);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.book-serif-name {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--ink-primary);
  margin-bottom: 6px;
}

.book-meta-sub {
  font-size: 1.02rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.editorial-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--warm-gold), transparent);
  margin: 24px 0;
}

.editorial-paragraph {
  font-size: 1.05rem;
  color: var(--ink-primary);
  margin-bottom: 18px;
  text-align: justify;
  line-height: 1.85;
}

.drop-cap {
  float: left;
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 900;
  color: var(--warm-gold);
  margin-right: 8px;
  margin-top: -4px;
}

/* Unbound Vision Statement (Typographic Art) */
.vision-unbound-statement {
  margin: 40px 0;
  padding: 30px 40px;
  position: relative;
}

.vision-unbound-statement::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: var(--warm-gold);
  border-radius: 2px;
}

.unbound-text {
  font-size: 1.25rem;
  line-height: 2;
  color: var(--ink-primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.unbound-line {
  color: var(--ink-secondary);
}

.unbound-highlight {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--ink-primary);
  margin: 12px 0;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.unbound-highlight::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: -5px;
  right: -5px;
  height: 8px;
  background: rgba(158, 126, 71, 0.2);
  z-index: -1;
}

@media (max-width: 768px) {
  .vision-unbound-statement {
    padding: 20px 24px;
  }
  .unbound-text {
    font-size: 1.1rem;
  }
  .unbound-highlight {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   03. 主題特展 Section (誠品藝廊入口風)
   ========================================================================== */
.new-exhibition-section {
  background-color: #0083a4;
  color: #ffffff;
  padding: 120px 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.exhibition-grid {
  display: flex;
  max-width: 1150px;
  margin: 0 auto;
  gap: 120px;
  align-items: center;
}

.exhibition-visual-col {
  flex: 1.15;
}

.e-visual-img {
  width: calc(100% + (50vw - 575px));
  max-width: none;
  margin-left: calc(575px - 50vw);
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}


.exhibition-text-col {
  flex: 1.15;
  position: relative;
  padding-top: 40px;
  padding-bottom: 90px;
  padding-right: 40px;
  transform: translateX(-30px);
}

.deco-cloud {
  position: absolute;
  top: -50px;
  right: 20px;
  width: 100px;
  animation: float-cloud 6s ease-in-out infinite;
}

@keyframes float-cloud {
  0% { transform: translateX(0); }
  50% { transform: translateX(-15px); }
  100% { transform: translateX(0); }
}

.deco-cloud-small {
  position: absolute;
  top: -10px;
  right: 200px;
  width: 60px;
  opacity: 0.8;
  animation: float-cloud-small 7s ease-in-out infinite;
}

@keyframes float-cloud-small {
  0% { transform: translateX(0); }
  50% { transform: translateX(12px); }
  100% { transform: translateX(0); }
}

.e-text-group {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  max-width: 100%;
}

.e-org {
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  margin-bottom: 24px;
}

.e-main-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

.e-sub-title {
  font-size: 1.25rem;
  letter-spacing: 0.6em;
  margin-bottom: 30px;
}

.e-date-area {
  position: relative;
  margin-bottom: 0;
}

.e-year-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
}

.e-year {
  font-size: 1.4rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

.e-line {
  flex: 1;
  height: 1px;
  background-color: rgba(255,255,255,0.4);
}

.e-date {
  font-size: 4.5rem;
  font-weight: 100;
  letter-spacing: 0.165em;
  line-height: 1;
  margin-bottom: 14px;
  font-family: 'Roboto', sans-serif;
  text-align: justify;
}

.e-line-full {
  width: 100%;
  height: 1px;
  background-color: rgba(255,255,255,0.4);
  margin-bottom: 15px;
}

.e-location {
  letter-spacing: 0.05em;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

.e-loc-title {
  font-size: 1.15rem;
  font-weight: 500;
}

.e-loc-address {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif, var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
}

@media (min-width: 992px) {
  .e-loc-address {
    margin-left: 12px;
  }
  .e-loc-address::before {
    content: "(";
  }
  .e-loc-address::after {
    content: ")";
  }
}

.deco-people {
  position: absolute;
  right: -50px;
  top: 105px;
  width: 85px;
  z-index: 5;
}

.deco-trees {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  pointer-events: none;
}

.tree {
  position: absolute;
  bottom: 0;
}

.tree1 {
  left: 0;
  width: 30px;
}

.tree2 {
  left: 30%;
  width: 90px;
}

.tree3 {
  left: 70%;
  width: 40px;
}

@media (max-width: 1200px) {
  .new-exhibition-section {
    padding: 80px 0;
  }
  .exhibition-grid {
    gap: 50px;
    padding: 0 40px;
  }
  .e-visual-img {
    margin-left: calc(-50vw + 50%);
    width: calc(100% + 50vw - 50%);
    min-height: 400px;
  }
  .exhibition-text-col {
    padding-top: 20px;
    padding-bottom: 50px;
    transform: none;
  }
  .deco-cloud { width: 70px; right: 10px; }
  .deco-cloud-small { width: 45px; right: 120px; }
  .deco-people { 
    width: 75px; 
    right: -20px;
    top: 130px;
  }
  .e-date { font-size: 3.5rem; }
  .e-loc-title { font-size: 1.05rem; }
  .tree1 { width: 25px; }
  .tree2 { width: 75px; }
  .tree3 { width: 35px; }
}

@media (max-width: 992px) {
  .exhibition-grid {
    flex-direction: column;
    padding: 0 40px;
    gap: 40px;
  }
  
  .e-visual-img {
    width: 100%;
    margin-left: 0;
    min-height: unset;
    height: auto;
    aspect-ratio: 16 / 10;
  }
  
  .exhibition-visual-col,
  .exhibition-text-col {
    width: 100%;
  }

  .exhibition-text-col {
    padding-right: 0;
    transform: none;
  }
  
  .e-main-title {
    font-size: 2.2rem;
  }
  
  .e-date {
    font-size: 2.8rem;
    white-space: nowrap;
  }
  
  .deco-people {
    width: 70px;
    top: auto;
    bottom: -50px;
    right: 0;
  }
  
  .deco-trees {
    bottom: -70px;
  }
  
  .tree1 {
    width: 20px;
    left: 0;
  }
  
  .tree2 {
    width: 60px;
    left: 8%;
  }
  
  .tree3 {
    width: 30px;
    left: 30%;
  }
  
  .e-date-area {
    padding-right: 0;
  }
  
  .e-text-group {
    width: 100%;
  }

  .e-location {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .e-loc-title {
    font-size: 1.35rem;
  }
}




/* ==========================================================================
   04. 專書記者會內容及議程 Section
   ========================================================================== */
.press-section {
  background: var(--bg-paper);
}

/* ==========================================================================
   04. 專書記者會 Section (Open & Unboxed Editorial Layout)
   ========================================================================== */
.press-section {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50'%3E%3Cpath d='M 25 0 L 25 50 M 0 25 L 50 25' stroke='rgba(0,0,0,0.03)' stroke-width='1' fill='none'/%3E%3Ccircle cx='25' cy='25' r='3.5' fill='%23ffffff' stroke='rgba(0,0,0,0.08)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 50px 50px;
  background-repeat: repeat;
  background-position: center top;
}

.jp-press-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0 50px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(158, 126, 71, 0.2);
}

.jp-press-title-area {
  margin-bottom: 40px;
}

.jp-press-org {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.4em;
  color: var(--ink-secondary);
  margin-bottom: 16px;
}

.jp-press-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink-primary);
  letter-spacing: 0.05em;
}

.jp-press-meta-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(158, 126, 71, 0.3);
  padding: 30px 40px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}

.jp-meta-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  font-size: 1.1rem;
  color: var(--ink-primary);
  text-align: left;
}

.jp-meta-label {
  font-weight: 700;
  color: var(--warm-gold);
  letter-spacing: 0.2em;
  position: relative;
  white-space: nowrap;
}

.jp-meta-label::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(158, 126, 71, 0.4);
}

.jp-meta-value {
  font-weight: 500;
  letter-spacing: 0.05em;
}

.jp-meta-sub {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  margin-left: 8px;
}

@media (max-width: 768px) {
  .jp-press-title { font-size: 1.6rem; }
  .jp-meta-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .jp-meta-label::after { display: none; }
  .jp-press-meta-area { padding: 20px; }
  .jp-meta-sub { display: block; margin-left: 0; margin-top: 4px; }
}

/* Eslite Style Table of Contents Agenda */
.eslite-agenda-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0 60px;
}

.eslite-agenda-row {
  display: flex;
  align-items: baseline;
  padding: 30px 0;
  position: relative;
}

.eslite-time {
  width: 140px;
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink-secondary);
  letter-spacing: 0.1em;
}

.time-sep {
  margin: 0 6px;
  opacity: 0.5;
}

.eslite-leader-line {
  flex-grow: 1;
  border-bottom: 1px dotted rgba(158, 126, 71, 0.4);
  margin: 0 30px;
  position: relative;
  top: -6px;
}

.eslite-event {
  width: 480px;
  flex-shrink: 0;
}

.eslite-event-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.eslite-event-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-secondary);
}

.eslite-row-featured .eslite-event-title {
  color: var(--warm-gold);
  font-weight: 700;
}

.eslite-num-list {
  padding-left: 20px;
  margin: 0;
}

.eslite-num-list li {
  margin-bottom: 8px;
}

.eslite-agenda-note {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 8px;
  display: inline-block;
}

@media (max-width: 768px) {
  .eslite-agenda-row {
    flex-direction: column;
    padding: 24px 0;
    border-bottom: 1px solid rgba(158, 126, 71, 0.15);
  }
  .eslite-agenda-row:last-child {
    border-bottom: none;
  }
  .eslite-leader-line {
    display: none;
  }
  .eslite-time {
    width: 100%;
    margin-bottom: 12px;
  }
  .eslite-event {
    width: 100%;
  }
}

.row-terminal {
  background: var(--bg-paper-subtle);
}

@media (max-width: 768px) {
  .agenda-track-axis {
    left: 20px;
  }
  
  .row-node {
    left: 20px;
    top: 24px;
  }
  
  .agenda-row {
    flex-direction: column;
    padding: 20px 20px 20px 48px;
  }
  
  .row-station {
    width: 100%;
    text-align: left;
    padding-right: 0;
    margin-bottom: 12px;
  }
  
  .row-content {
    padding-left: 0;
  }
}

.person-highlight {
  color: var(--warm-gold);
  font-weight: 800;
}

.agenda-num-list {
  padding-left: 20px;
  margin: 0;
}

.agenda-num-list li {
  margin-bottom: 8px;
}

.agenda-note {
  color: var(--ink-muted);
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .metro-line {
    left: 24px;
  }
  
  .station-node {
    left: 24px;
  }
  
  .metro-station-item {
    flex-direction: column;
  }
  
  .station-time {
    width: 100%;
    text-align: left;
    padding-left: 54px;
    padding-right: 0;
    margin-bottom: 16px;
  }

  .time-stamp {
    border-right: none;
    border-left: 3px solid var(--warm-gold);
  }
  
  .station-info {
    padding-left: 54px;
  }
}

/* ==========================================================================
   05. 新北捷運十年故事牆 (滿版大器 Slider)
   ========================================================================== */
.story-fullbleed-section {
  background: var(--bg-paper-subtle);
  overflow: hidden;
  padding-bottom: 120px;
}

.story-slider-fullbleed {
  position: relative;
  width: 100%;
}

.slider-viewport {
  overflow: hidden;
  padding: 24px 0;
}

.slider-track-container {
  display: flex;
  gap: 32px;
  padding: 0;
  transition: transform var(--transition-slow);
  will-change: transform;
}

/* ==========================================================================
   05. 新北捷運十年故事牆 (誠品攝影集跨頁展演)
   ========================================================================== */
.eslite-story-section {
  background-color: var(--bg-paper);
  padding: 80px 0;
  overflow: hidden;
}

.eslite-slider-spread {
  position: relative;
  max-width: 1200px;
  margin: 40px auto;
  display: flex;
  align-items: center;
}

.eslite-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.eslite-slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.eslite-story-card {
  min-width: 100%;
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 0 60px;
}

/* Text Side */
.e-card-text {
  padding-right: 20px;
}

.e-chapter {
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  color: var(--warm-gold);
  margin-bottom: 24px;
}

.e-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.e-excerpt {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-secondary);
  margin-bottom: 32px;
}

/* Visual Side */
.e-card-visual {
  position: relative;
}

.e-photo-frame {
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  position: relative;
}

.e-photo-frame::after {
  content: "";
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--warm-gold);
  z-index: -1;
}

.e-photo-frame img {
  width: 100%;
  display: block;
}

/* Navigation */
.eslite-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--warm-gold);
  color: var(--warm-gold);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.eslite-arrow-btn:hover {
  background: var(--warm-gold);
  color: #ffffff;
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

.eslite-dots-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 50px;
}

.dot-item {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(158, 126, 71, 0.3);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot-item.active {
  width: 24px;
  border-radius: 4px;
  background: var(--warm-gold);
}

@media (max-width: 992px) {
  .eslite-story-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 40px;
  }
  .eslite-arrow-btn {
    display: none;
  }
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 30, 54, 0.88);
  backdrop-filter: blur(10px);
}

.lightbox-inner {
  position: relative;
  z-index: 2001;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.lightbox-btn-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.lightbox-btn-close:hover {
  transform: scale(1.1);
  color: var(--warm-gold);
}

.lightbox-caption-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-top: 14px;
}

/* ==========================================================================
   06. Site Footer 頁尾
   ========================================================================== */
.site-footer {
  background: var(--bg-white);
  padding: 55px 24px;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.footer-ad-tag {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--ink-primary);
  color: var(--ink-primary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 0;
  letter-spacing: 1px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #111111;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Responsive Breakpoints RWD
   ========================================================================== */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }

  .book-editorial-grid,
  .exhibition-editorial-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .exhibition-editorial-card {
    padding: 36px;
  }

  .site-footer {
    padding: 29px 24px 24px;
  }

  .prev-btn { left: 16px; }
  .next-btn { right: 16px; }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 16px;
  }

  .giveaway-section {
    padding-left: 0;
    padding-right: 0;
  }

  .new-exhibition-section {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-main-title {
    font-size: 2.2rem;
  }

  .hero-text-block {
    padding: 32px 20px;
  }

  .editorial-paper-card {
    padding: 28px;
  }

  .story-editorial-card {
    min-width: 300px;
  }

  .slider-arrow-btn {
    display: none;
  }

  .book-cyan-line {
    width: 80px;
    height: 3px;
    margin-bottom: 16px;
  }

  .eslite-book-title {
    font-size: 2.0rem;
    margin-bottom: 16px;
  }

  .eslite-main-para,
  .eslite-bold-para {
    font-size: 16px;
  }

  .section-serif-title {
    font-size: 1.8rem;
    font-weight: 700;
  }

  .section-icon {
    height: 24px;
  }

  .book-flat-img {
    width: 310px;
    margin: 0 auto;
  }

  .layout-new-text {
    padding: 0 24px;
  }
}

@media (max-width: 430px) {
  /* Removed .e-location rules since they are now in the 992px block */
}

/* ==========================================================================
   08. Reveal Animations (Scroll)
   ========================================================================== */
.js-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.2, 0, 0.2, 1), transform 1s cubic-bezier(0.2, 0, 0.2, 1);
}

.js-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Loading Screen (Japanese High-End Style)
   ========================================================================== */
.global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: #FAFAFA;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.8, 0, 0.2, 1), visibility 0.8s cubic-bezier(0.8, 0, 0.2, 1);
}

.global-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-line-wrapper {
  position: relative;
  width: 1px;
  height: 80px;
  margin-bottom: 24px;
}

.loader-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #0083a4;
  animation: drawLine 1.2s cubic-bezier(0.8, 0, 0.2, 1) forwards;
}

.loader-dot {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background-color: #0083a4;
  border-radius: 50%;
  opacity: 0;
  animation: pulseDot 1.5s infinite ease-in-out;
  animation-delay: 1.0s;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.2; transform: translate(-50%, 0) scale(0.8); }
  50% { opacity: 1; transform: translate(-50%, 0) scale(1.3); }
}

.loader-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  color: #0083a4;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeText 1.2s cubic-bezier(0.8, 0, 0.2, 1) 0.3s forwards;
}

@keyframes drawLine {
  0% {
    height: 0;
  }
  100% {
    height: 80px;
  }
}

@keyframes fadeText {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

/* ==========================================================================
   04. FB留言抽好禮 Section (Giveaway)
   ========================================================================== */
.giveaway-section {
  position: relative;
  padding: 100px 0;
  background-color: #FFFFFF;
  background-image: radial-gradient(rgba(1, 121, 151, 0.2) 2px, transparent 2px);
  background-size: 30px 30px;
  background-position: center top;
  overflow: hidden;
  z-index: 1;
}

.g-deco-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.g-deco-img {
  position: absolute;
}
.g-deco-left-1 { 
  top: 30%; 
  left: 50%; 
  margin-left: -750px;
  width: 80px;
  max-width: none;
}
.g-deco-left-2 { 
  top: 15%; 
  left: 50%; 
  margin-left: -650px;
  width: 60px;
  max-width: none;
}

.g-deco-left-3 { 
  top: 25%; 
  left: 50%; 
  margin-left: -500px;
  width: 162px;
  max-width: none;
}

.g-deco-right-1 { top: 15%; right: 25%; max-width: 80px; }
.g-deco-right-2 { 
  top: 20%; 
  left: 50%; 
  right: auto;
  margin-left: 300px; 
  width: 700px;
  max-width: none; 
}

.g-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.g-section-icon {
  display: inline-block;
  height: 28px;
  width: 28px;
  background-color: #a48959;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}
.g-section-icon-left {
  -webkit-mask-image: url('../images/section_icon_left.svg');
  mask-image: url('../images/section_icon_left.svg');
}
.g-section-icon-right {
  -webkit-mask-image: url('../images/section_icon_right.svg');
  mask-image: url('../images/section_icon_right.svg');
}

.g-badge-top {
  color: #002859;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.g-main-title-wrap {
  position: relative;
  display: block;
  width: max-content;
  margin: 60px auto 12px;
}

.g-title-light-bg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 171%;
  max-width: 570px;
  z-index: -1;
}

.g-deco-bird {
  position: absolute;
  top: -60px;
  right: -130px;
  max-width: 95px;
  z-index: 5;
}

.g-main-title {
  color: #017997;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  letter-spacing: 0.05em;
}

.g-badge-cyan {
  position: relative;
  display: inline-block;
  margin-top: 10px;
  background-color: #3bdaee;
  color: #0e3864;
  font-weight: 700;
  padding: 6px 48px;
  border-radius: 4px;
  font-size: 1.2rem;
  margin-bottom: 22px;
  letter-spacing: 0.1em;
}

.g-badge-cyan::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #3bdaee transparent transparent transparent;
}

.g-desc-area {
  margin-bottom: 15px;
}

.g-date-text {
  color: #002859;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
  letter-spacing: 0.1em;
}

.g-highlight-text {
  position: relative;
  display: inline-block;
  color: #e6266d;
  font-weight: 700;
  font-size: 18px;
  padding-bottom: 4px;
  letter-spacing: 0.05em;
}

.g-highlight-text::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, #e6266d 0%, #e6266d 35%, #f7bed3 50%, #e6266d 65%, #e6266d 100%);
  background-size: 200% 100%;
  animation: gShimmerLine 4s ease-in-out infinite;
}

@keyframes gShimmerLine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.g-prizes-container {
  margin: 50px auto 60px;
  text-align: center;
  max-width: 1000px;
}

.g-prizes-header {
  margin-bottom: 40px;
}

.g-prizes-title {
  color: #074577;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.g-prizes-line {
  width: 40px;
  height: 1px;
  background-color: #074577;
  margin: 0 auto;
  transform: rotate(-15deg);
}

.g-prizes-list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.g-prize-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
}

.g-prize-img-wrap {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  border: 2px solid #9acedb;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  padding: 0;
  box-sizing: border-box;
}

.g-prize-img-wrap img {
  width: 105%;
  max-width: none;
  max-height: 105%;
  object-fit: contain;
}

.g-prize-text {
  color: #111111;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.g-final-cta {
  text-align: center;
  margin: 80px auto 10px;
  max-width: 800px;
}

.g-final-img {
  margin-bottom: 25px;
}

.g-final-img img {
  max-width: 33%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.g-final-title {
  color: #0090b4;
  font-size: 21px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.g-final-title::before,
.g-final-title::after {
  content: '';
  display: block;
  width: 37px;
  height: 37px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 5L12 9M4 12H11M6 19L12 15' stroke='%230090b4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.g-final-title::after {
  transform: scaleX(-1);
}

.g-final-desc {
  color: #111111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 35px;
}

.g-steps-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.g-step-card {
  flex: 1;
  border: 2px solid #0083a4;
  background: transparent;
  padding: 40px 24px 30px;
  position: relative;
  text-align: center;
}

.g-step-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #0083a4;
  color: #ffffff;
  padding: 6px 36px;
  font-weight: 700;
  border-radius: 4px;
  font-size: 1.1rem;
  white-space: nowrap;
}

.g-step-title {
  color: #0083a4;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.g-step-desc {
  color: #111111;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.g-action-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.g-btn-gold {
  background-color: #a48959;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.1em;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  min-width: 230px;
  margin-bottom: 16px;
}

.g-btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.g-btn-gold:hover {
  background-color: #b39867;
  transform: scale(1.02);
}

.g-btn-gold:hover::after {
  left: 200%;
}

.g-note-text {
  color: #111111;
  font-size: 0.95rem;
  margin-top: 10px;
}

@media (max-width: 991px) {
  .giveaway-section {
    padding: 60px 0;
  }
  
  .g-main-title {
    font-size: 2.2rem;
  }
  
  .g-steps-container {
    flex-direction: column;
    gap: 40px;
    padding: 0 40px;
  }
  
  .g-final-cta {
    padding: 0 24px;
  }
  
  .g-prizes-list {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .g-deco-left-3 {
    max-width: 100px;
    width: auto;
    margin-left: 0;
    left: -5px;
    top: 250px;
  }
  
  .g-deco-right-2 {
    max-width: 161px;
    width: auto;
    left: auto;
    margin-left: 0;
    right: -5px;
    top: 250px;
  }
  
  .g-deco-left-1, .g-deco-left-2, .g-deco-right-1 {
    display: none;
  }
}

@media (max-width: 480px) {
  .g-deco-left-3 {
    max-width: 77px;
    left: 0;
    top: 275px;
  }
  
  .g-deco-right-2 {
    max-width: 135px;
    right: -25px;
    top: 275px;
  }
  
  .g-date-text,
  .g-highlight-text,
  .g-step-desc {
    font-size: 16px;
  }
  
  .g-steps-container {
    padding: 0 40px;
  }
  
  .g-note-text {
    padding-left: 40px;
    padding-right: 40px;
  }

  .exhibition-grid {
    padding: 0 40px;
  }

  .g-final-img img {
    max-width: 73%;
  }

  .g-final-title {
    font-size: 20px;
  }

  .break-480 {
    display: block;
  }

  .g-main-title-wrap {
    margin-top: 45px;
  }

  .g-step-desc strong {
    display: block;
    margin-top: 5px;
  }

  .g-deco-bird {
    display: none;
  }
}
