/* === LeeYang Hub — 極簡白主題 ===
   靈感：Aesop / 無印良品調性
   強調色：煙褐色 #8B7355
*/

/* === DESIGN TOKENS === */
:root {
  --bg: #ffffff;
  --fg: #1A1A1A;
  --fg-muted: #444444;
  --fg-light: #666666;
  --accent: #8B7355;
  --accent-light: #A8927A;
  --accent-bg: #FAFAFA;
  --border: #EBEBEB;
  --border-dark: #D0D0D0;

  /* Grey tones for non-CTA accent usage */
  --accent-subtle: #717171;

  --font-serif: 'Noto Serif TC', 'Songti SC', Georgia, serif;
  --font-sans: 'Noto Sans TC', 'PingFang TC', 'Heiti TC', -apple-system, sans-serif;

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --space-2xl: 14rem;

  --max-w: 1160px;
  --nav-h: 64px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.95;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   NAVIGATION — 64px fixed top
   ======================================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--fg);
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo em {
  font-style: normal;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

.nav-link {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  letter-spacing: 0.03em;
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--fg);
  transition: width 0.3s var(--ease);
}

.nav-link:hover { color: var(--fg); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  display: inline-block;
  padding: 0.45em 1.2em;
  background: var(--accent);
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: opacity 0.3s var(--ease);
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { opacity: 0.8; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  transition: all 0.3s var(--ease);
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-sm) var(--space-md) var(--space-md);
    border-bottom: 1px solid var(--border);
    gap: var(--space-sm);
  }
  .site-nav.open .nav-links { display: flex; }
  .site-nav.open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 4px); }
  .site-nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-nav.open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -4px); }
}

/* ========================================
   HERO — Full viewport, dark overlay
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #FAFAFA;
}

/* No overlay needed on light background */
.hero-overlay {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-content {
  padding: var(--space-lg) 0;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-light);
  margin-bottom: var(--space-md);
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.35;
  color: #1A1A1A;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.hero-title span {
  display: block;
}

.hero-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-top: var(--space-xs);
  margin-bottom: var(--space-md);
}

.hero-ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.btn-hero-primary {
  display: inline-block;
  padding: 0.85em 2em;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 2px;
  transition: opacity 0.3s var(--ease);
}
.btn-hero-primary:hover { opacity: 0.8; }

.btn-hero-secondary {
  display: inline-block;
  padding: 0.85em 2em;
  background: #fff;
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid var(--border-dark);
  border-radius: 2px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-hero-secondary:hover {
  border-color: var(--fg-muted);
}

/* Portrait — real photo */
.hero-portrait {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-portrait-img {
  width: 380px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 2px;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.scroll-hint-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--border-dark), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}

.scroll-hint-text {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-light);
}

@keyframes scrollHint {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-portrait { display: none; }
  .hero-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
}

/* ========================================
   CHENCLEAN BRAND SECTION
   ======================================== */
.chenclean {
  padding: var(--space-2xl) var(--space-md);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.chenclean-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-subtle);
  margin-bottom: var(--space-md);
}

.chenclean-h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: var(--space-xl);
}

.chenclean-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
  margin-bottom: var(--space-md);
}

.chenclean-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--accent-bg);
  border-radius: 2px;
  overflow: hidden;
}

/* Store photos container */
.chenclean-photos {}

.chenclean-store-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.chenclean-img-secondary {
  margin-top: var(--space-sm);
}

.chenclean-text {}

.chenclean-intro {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 2;
  margin-bottom: var(--space-sm);
}

.chenclean-intro strong {
  color: var(--fg);
  font-weight: 500;
}

.chenclean-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  padding: var(--space-md);
  background: var(--accent-bg);
  border-left: 3px solid var(--border-dark);
  margin: var(--space-md) 0;
  border-radius: 0 2px 2px 0;
}

/* Store info card */
.chenclean-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.store-card {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.store-card-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-subtle);
  margin-bottom: var(--space-xs);
}

.store-card p {
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.6;
}

/* Google Maps */
.chenclean-map {
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.chenclean-map iframe {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
}

@media (max-width: 860px) {
  .chenclean-body { grid-template-columns: 1fr; }
  .chenclean-info { grid-template-columns: 1fr; }
}

/* ========================================
   SHARED SECTION STYLES (origin, proof, etc.)
   ======================================== */
.section-pad {
  padding: var(--space-2xl) var(--space-md);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Section divider */
.section-divider {
  width: 40px;
  height: 1px;
  background: var(--border-dark);
  margin: var(--space-md) 0;
}

/* ========================================
   ORIGIN SECTION
   ======================================== */
.origin {
  padding: var(--space-2xl) var(--space-md);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.origin-inner { max-width: var(--max-w); margin: 0 auto; }

.origin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.origin-text h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.4;
  margin-bottom: var(--space-lg);
}

.origin-text p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 2;
  margin-bottom: var(--space-sm);
  max-width: 520px;
}

.origin-visual {}

.timeline {
  padding-left: var(--space-md);
  border-left: 1px solid var(--border-dark);
}

.timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg-muted);
  margin-left: -20px;
  margin-bottom: var(--space-xs);
  box-shadow: 0 0 0 4px var(--bg);
}

.timeline-segment { height: 20px; }

.timeline-item { margin-bottom: var(--space-sm); }

.timeline-year {
  display: block;
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 0.2em;
}

.timeline-event { font-size: 0.9rem; color: var(--fg-muted); }

/* Book cover in 2024 timeline node */
.timeline-book-cover {
  display: block;
  margin-top: var(--space-xs);
  width: 100px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Timeline event photos (lectures, group shots) */
.timeline-photo-wrap {
  margin-top: var(--space-xs);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-width: 320px;
}

.timeline-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

/* Shared grayscale-to-color hover effect */
.hover-color {
  filter: grayscale(100%);
  opacity: 0.9;
  transition: filter 0.5s var(--ease), opacity 0.5s var(--ease);
}
.hover-color:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 860px) {
  .origin-grid { grid-template-columns: 1fr; }
}

/* ========================================
   PROOF / STATS SECTION
   ======================================== */
.proof {
  padding: var(--space-2xl) var(--space-md);
  background: var(--accent-bg);
  border-bottom: 1px solid var(--border);
}

.proof-inner { max-width: var(--max-w); margin: 0 auto; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

/* 5-column variant for expanded stats */
.proof-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.proof-card {
  text-align: center;
  padding: var(--space-md);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  position: relative;
}

.proof-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 1px;
  background: var(--border-dark);
}

.proof-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  margin-bottom: var(--space-2xs);
}

.proof-unit {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-left: 0.15em;
}

.proof-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--fg-light);
  margin-top: var(--space-2xs);
  letter-spacing: 0.02em;
}

/* Proof section feature image (lecture photo) */
.proof-feature-img {
  margin-bottom: var(--space-lg);
}

.proof-img-wrap {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-width: 720px;
  margin: 0 auto;
}

.proof-lecture-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.proof-press {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.press-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-light);
  margin-bottom: var(--space-md);
  text-align: center;
}

/* Media cards grid — 2 cards side by side */
.press-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.press-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s var(--ease);
}

.press-card-link:hover {
  border-color: var(--border-dark);
}

.press-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--accent-bg);
}

.press-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s var(--ease);
}

.press-card:hover .press-card-img img {
  filter: grayscale(0%);
}

.press-card-body {
  padding: var(--space-md);
}

.press-card-source {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: var(--space-2xs);
}

.press-card-date {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--fg-light);
  margin-left: var(--space-xs);
}

.press-card-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-top: var(--space-xs);
}

/* Secondary image (A Day interview page) */
.press-card-secondary {
  padding: 0 var(--space-md) var(--space-md);
}

.press-card-secondary img {
  width: 100%;
  border-radius: 2px;
  filter: grayscale(100%);
  transition: filter 0.5s var(--ease);
}

.press-card:hover .press-card-secondary img {
  filter: grayscale(0%);
}

@media (max-width: 768px) {
  .press-cards { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .proof-grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid-5 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .proof-grid { grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
  .proof-grid-5 { grid-template-columns: 1fr; }
}

/* ========================================
   PHILOSOPHY PILLARS
   ======================================== */
.philosophy {
  padding: var(--space-2xl) var(--space-md);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.philosophy-inner { max-width: var(--max-w); margin: 0 auto; }

.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.pillar {
  padding: var(--space-lg) var(--space-md);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.pillar-icon {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--fg-muted);
  margin-bottom: var(--space-md);
  font-weight: 400;
}

.pillar h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  color: var(--fg);
}

.pillar p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.9;
}

@media (max-width: 860px) {
  .philosophy-pillars { grid-template-columns: 1fr; }
}

/* ========================================
   CHAPTERS (BOOK)
   ======================================== */
.chapters {
  padding: var(--space-2xl) var(--space-md);
  background: var(--accent-bg);
  border-bottom: 1px solid var(--border);
}

.chapters-inner { max-width: var(--max-w); margin: 0 auto; }

.book-showcase {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.book-visual { display: flex; justify-content: center; }

.book-cover-img {
  width: 260px;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: -6px 6px 20px rgba(0,0,0,0.25);
}

/* Book signing photo below cover */
.book-signing-wrap {
  margin-top: var(--space-md);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-width: 280px;
}

.book-signing-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.book-text h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

.book-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--fg-muted);
  margin-bottom: var(--space-lg);
  padding-left: var(--space-sm);
  border-left: 1px solid var(--border-dark);
  line-height: 1.8;
}

.book-text p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 2;
  margin-bottom: var(--space-sm);
  max-width: 520px;
}

.book-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-top: var(--space-md);
}

.tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.35em 0.9em;
  border: 1px solid var(--border-dark);
  color: var(--fg-muted);
  border-radius: 2px;
}

.book-publisher {
  font-size: 0.82rem;
  color: var(--fg-light);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.book-cta {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6em;
}

.book-link-secondary {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s var(--ease);
}
.book-link-secondary:hover { color: var(--fg); }

@media (max-width: 860px) {
  .book-showcase { grid-template-columns: 1fr; text-align: center; }
  .book-cover-img { width: 200px; }
  .book-quote { border-left: none; padding-left: 0; border-top: 2px solid var(--accent); padding-top: var(--space-sm); }
  .book-text p { max-width: none; }
  .book-cta { align-items: center; }
}

/* ========================================
   STORY TIMELINE
   ======================================== */
.story-timeline {
  padding: var(--space-2xl) var(--space-md);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.story-timeline-inner { max-width: var(--max-w); margin: 0 auto; }

.story-h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.4;
  margin-bottom: var(--space-xl);
  text-align: center;
}

.timeline-alt {
  position: relative;
  max-width: 780px;
  margin: 0 auto var(--space-lg);
}

.timeline-alt::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border-dark);
  transform: translateX(-50%);
}

.tl-alt-item {
  position: relative;
  width: 50%;
  padding-bottom: var(--space-md);
}

.tl-alt-item::after {
  content: '';
  position: absolute;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg-muted);
  box-shadow: 0 0 0 4px var(--bg);
}

.tl-alt-left { padding-right: var(--space-lg); text-align: right; }
.tl-alt-left::after { right: -6px; }
.tl-alt-right { margin-left: 50%; padding-left: var(--space-lg); }
.tl-alt-right::after { left: -6px; }

.tl-alt-year {
  display: block;
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 0.25em;
}

.tl-alt-text {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Timeline milestone image */
.tl-alt-img-wrap {
  margin-top: var(--space-sm);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.tl-alt-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.story-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--fg-muted);
  text-align: center;
  max-width: 580px;
  margin: 0 auto var(--space-xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  line-height: 1.9;
}

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

.story-credentials-title {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--fg);
  margin-bottom: var(--space-md);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  max-width: 660px;
  margin: 0 auto;
}

.credential-card {
  padding: var(--space-sm);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.credential-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-subtle);
  margin-bottom: 0.3em;
}

.credential-card p { font-size: 0.88rem; color: var(--fg-muted); }

@media (max-width: 600px) {
  .timeline-alt::before { left: 14px; }
  .tl-alt-item { width: 100%; padding-left: 36px; padding-right: 0; text-align: left; }
  .tl-alt-left { padding-right: 0; }
  .tl-alt-left::after { left: 8px; right: auto; }
  .tl-alt-right { margin-left: 0; padding-left: 36px; }
  .tl-alt-right::after { left: 8px; }
  .credentials-grid { grid-template-columns: 1fr; }
}

/* ========================================
   SELECTION GUIDE
   ======================================== */
.selection-guide {
  padding: var(--space-2xl) var(--space-md);
  background: var(--accent-bg);
  border-bottom: 1px solid var(--border);
}

.guide-inner { max-width: var(--max-w); margin: 0 auto; }

.guide-h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.4;
  margin-bottom: var(--space-md);
  text-align: center;
}

.guide-intro {
  font-size: 0.95rem;
  color: var(--fg-muted);
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-lg);
  line-height: 1.9;
}

.guide-dimensions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.dimension {
  padding: var(--space-md);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  text-align: center;
}

.dimension-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: var(--space-xs);
}

.dimension-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.star-legend {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.star-item {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.star-label { font-size: 0.82rem; color: var(--fg-muted); }

/* 辰字篆刻印章 */
.chen-stamps { display: flex; gap: 4px; }
.chen-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 14px;
  font-weight: 700;
  color: #8B7355;
  border: 1.5px solid #8B7355;
  border-radius: 2px;
  line-height: 1;
  font-family: var(--font-serif);
}

/* 嚴選店家卡片 */
.guide-store-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  max-width: 460px;
  margin: 0 auto var(--space-sm);
  padding: var(--space-md);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.guide-card-logo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--accent-bg);
}

.guide-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.guide-card-body {
  flex: 1;
  min-width: 0;
}

.guide-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-xs);
  margin-bottom: 0.4em;
  flex-wrap: wrap;
}

.guide-card-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.4;
}

.guide-card-rating {
  display: flex;
  align-items: center;
  gap: 0.4em;
  flex-shrink: 0;
}

.rating-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  white-space: nowrap;
}

.guide-card-service {
  font-size: 0.82rem;
  color: var(--fg-light);
}

@media (max-width: 480px) {
  .guide-store-card { flex-direction: column; align-items: flex-start; }
}

/* 嚴選名單預告 */
.guide-coming-soon {
  text-align: center;
  font-size: 14px;
  color: #999;
  padding: 1rem 0;
}

.guide-disclaimer {
  text-align: center;
  font-size: 0.72rem;
  color: var(--fg-light);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

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

.guide-cta-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--fg);
  margin-bottom: var(--space-sm);
}

.guide-cta-btn {
  display: inline-block;
  max-width: 300px;
  width: 100%;
  padding: 0.85em 1.5em;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 2px;
  text-align: center;
  transition: opacity 0.3s var(--ease);
}

.guide-cta-btn:hover { opacity: 0.8; }

@media (max-width: 860px) {
  .guide-dimensions { grid-template-columns: 1fr; }
}

/* ========================================
   CLOSING — Brand consultant contact block
   ======================================== */
.closing {
  padding: var(--space-2xl) var(--space-md);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

/* 合作項目 */
.closing-cooperation {
  text-align: center;
}

.coop-label {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-subtle);
  margin-bottom: var(--space-xs);
}

.coop-types {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--fg);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* 聯絡方式 */
.closing-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

/* LINE 按鈕 — 煙褐色，最顯眼 */
.closing-line-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 2.2em;
  background: #8B7355;
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 2px;
  transition: opacity 0.3s var(--ease);
}

.closing-line-btn:hover { opacity: 0.8; }

.closing-line-btn svg { flex-shrink: 0; }

/* Email + 電話 */
.contact-details {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.contact-detail-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.88rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.contact-detail-item:hover { color: var(--fg); }

.contact-icon {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* 社群連結 */
.closing-social {
  display: flex;
  align-items: center;
  gap: 0.4em;
  flex-wrap: wrap;
  justify-content: center;
}

.social-link {
  font-size: 0.82rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.social-link:hover { color: var(--fg); }

.social-sep {
  font-size: 0.82rem;
  color: var(--fg-light);
}

/* 門市資訊（次要） */
.closing-store {
  text-align: center;
  font-size: 0.78rem;
  color: var(--fg-light);
  line-height: 1.9;
  border-top: 1px solid var(--border);
  padding-top: var(--space-sm);
  width: 100%;
  max-width: 380px;
}

/* Google 地圖（視覺降級） */
.closing-map {
  width: 100%;
  max-width: 500px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.closing-map iframe {
  width: 100%;
  height: 160px;
  border: none;
  display: block;
}

@media (max-width: 600px) {
  .contact-details { flex-direction: column; align-items: center; gap: var(--space-xs); }
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  padding: var(--space-lg) var(--space-md);
  background: var(--fg);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Footer contact section — info + map side by side */
.footer-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
}

.footer-tagline {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.2em;
}

.footer-store-details p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 2;
}

.footer-store-details strong {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.footer-store-details a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.footer-store-details a:hover { color: rgba(255,255,255,0.75); }

.footer-map {
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.footer-map iframe {
  width: 100%;
  height: 240px;
  border: none;
  display: block;
}

/* Footer bottom — links + copyright */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-links { display: flex; gap: var(--space-md); }

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: opacity 0.3s var(--ease);
}

.footer-links a:hover { opacity: 0.6; }

.footer-copy { font-size: 0.68rem; color: rgba(255,255,255,0.25); }

@media (max-width: 860px) {
  .footer-contact { grid-template-columns: 1fr; }
  .footer-map iframe { height: 200px; }
}

/* ========================================
   SHARED BUTTONS
   ======================================== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.75em 2em;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.3s var(--ease);
}
.btn-primary:hover { opacity: 0.8; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.75em 2em;
  text-decoration: none;
  border: 1px solid var(--border-dark);
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.3s var(--ease);
}
.btn-secondary:hover { opacity: 0.6; }

.cta-buttons { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }