/* ==========================================================================
   BÁT TRÀNG — CẨM NANG DU KHẢO VĂN HÓA DI SẢN GỐM
   Design System: Contemporary Vietnamese Heritage / Editorial Travel Magazine
   ========================================================================== */

:root {
  /* Bảng màu chủ đạo theo yêu cầu thiết kế */
  --c-terracotta: #B84A39;        /* Đỏ gạch nung */
  --c-terracotta-dark: #8E3324;   /* Đỏ gạch sẫm */
  --c-terracotta-light: #CF5F4E;  /* Đỏ gạch sáng */
  --c-clay-earth: #6E473B;        /* Nâu đất */
  --c-clay-dark: #432E27;         /* Nâu đất thẫm */
  --c-clay-soft: #8B685B;         /* Nâu đất nhạt */
  --c-ivory: #FAF6F0;             /* Kem / trắng ngà (màu nền chính) */
  --c-ivory-sand: #F3ECE1;        /* Trắng ngà pha cát */
  --c-ivory-card: #FFFFFF;        /* Trắng giấy mỹ thuật */
  --c-indigo: #233D4D;            /* Xanh chàm nhấn */
  --c-indigo-light: #34586E;
  --c-moss: #3C4E3D;              /* Xanh rêu cổ */
  --c-charcoal: #1E1B18;          /* Đen than typography chính */
  --c-charcoal-muted: #57524C;    /* Đen than nhạt cho body text */
  --c-charcoal-light: #8A847C;    /* Đen than nhạt cho caption / meta */

  /* Đường viền & Đổ bóng nhẹ mộc mạc */
  --c-border: rgba(110, 71, 59, 0.15);
  --c-border-strong: rgba(110, 71, 59, 0.3);
  --shadow-subtle: 0 4px 20px rgba(30, 27, 24, 0.04);
  --shadow-editorial: 0 12px 36px rgba(30, 27, 24, 0.08);
  --shadow-hover: 0 20px 48px rgba(110, 71, 59, 0.12);

  /* Typography Fonts */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cinzel', 'Cormorant Garamond', serif;
  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout dimensions */
  --container-max: 1240px;
  --header-height: 80px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & NỀN TẢNG CHUNG
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.editorial-body {
  font-family: var(--font-sans);
  background-color: var(--c-ivory);
  color: var(--c-charcoal);
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(184, 74, 57, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(35, 61, 77, 0.02) 0%, transparent 40%);
}

/* Selection */
::selection {
  background-color: var(--c-terracotta);
  color: var(--c-ivory);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-smooth);
}

/* Container */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

/* Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-terracotta), var(--c-indigo));
  z-index: 1001;
  transition: width 0.1s ease-out;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  background-color: rgba(250, 246, 240, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(110, 71, 59, 0.08);
}

.site-header.scrolled {
  background-color: rgba(250, 246, 240, 0.98);
  box-shadow: 0 4px 24px rgba(30, 27, 24, 0.05);
  height: 72px;
}

.header-container {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand & Seal Stamp */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-seal {
  width: 40px;
  height: 40px;
  background-color: var(--c-terracotta);
  border: 1.5px solid var(--c-terracotta-dark);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(184, 74, 57, 0.25);
  transition: var(--transition-smooth);
}

.brand-seal .seal-char {
  color: var(--c-ivory);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
}

.brand-link:hover .brand-seal {
  transform: rotate(-4deg) scale(1.04);
}

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

.brand-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-charcoal);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--c-clay-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Desktop Navigation */
.desktop-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--c-charcoal-muted);
  letter-spacing: 0.04em;
  position: relative;
  padding: 0.35rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--c-terracotta);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--c-terracotta);
}

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

/* Header Utilities */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(110, 71, 59, 0.08);
  border: 1px solid rgba(110, 71, 59, 0.15);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--c-charcoal-muted);
}

.sound-toggle-btn:hover {
  background: rgba(184, 74, 57, 0.1);
  color: var(--c-terracotta);
  border-color: var(--c-terracotta);
}

.sound-toggle-btn.playing {
  background: var(--c-indigo);
  color: var(--c-ivory);
  border-color: var(--c-indigo);
}

.sound-icon-waves {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.sound-icon-waves span {
  width: 2px;
  height: 6px;
  background: currentColor;
  border-radius: 1px;
}

.sound-toggle-btn.playing .sound-icon-waves span:nth-child(1) {
  animation: wavePulse 1s ease-in-out infinite;
}
.sound-toggle-btn.playing .sound-icon-waves span:nth-child(2) {
  animation: wavePulse 1.2s ease-in-out infinite 0.2s;
}
.sound-toggle-btn.playing .sound-icon-waves span:nth-child(3) {
  animation: wavePulse 0.9s ease-in-out infinite 0.4s;
}

@keyframes wavePulse {
  0%, 100% { height: 4px; }
  50% { height: 12px; }
}

/* Hamburger button */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 6px;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--c-charcoal);
  transition: var(--transition-smooth);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition-smooth);
}

.mobile-drawer.open {
  visibility: visible;
  opacity: 1;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 27, 24, 0.5);
  backdrop-filter: blur(4px);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 360px;
  background: var(--c-ivory);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(30, 27, 24, 0.15);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-border);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.drawer-seal {
  background: var(--c-terracotta);
  color: var(--c-ivory);
  font-family: var(--font-display);
  font-weight: 700;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}

.drawer-brand strong {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  display: block;
}

.drawer-brand p {
  font-size: 0.72rem;
  color: var(--c-clay-soft);
}

.drawer-close-btn {
  font-size: 1.25rem;
  color: var(--c-charcoal);
  padding: 0.5rem;
}

.drawer-nav ul {
  list-style: none;
  padding: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--c-charcoal);
}

.drawer-link span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--c-terracotta);
  font-weight: 600;
}

.drawer-link:hover {
  color: var(--c-terracotta);
  transform: translateX(6px);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}

.drawer-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--c-clay-earth);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.non-commercial-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--c-moss);
  background: rgba(60, 78, 61, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* ==========================================================================
   BUTTONS & EDITORIAL COMPONENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.btn-terracotta {
  background-color: var(--c-terracotta);
  color: var(--c-ivory);
  border: 1px solid var(--c-terracotta-dark);
  box-shadow: 0 4px 16px rgba(184, 74, 57, 0.25);
}

.btn-terracotta:hover {
  background-color: var(--c-terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 74, 57, 0.35);
}

.btn-ghost {
  background-color: transparent;
  color: var(--c-ivory);
  border: 1px solid rgba(250, 246, 240, 0.4);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background-color: rgba(250, 246, 240, 0.15);
  border-color: var(--c-ivory);
  color: var(--c-ivory);
  transform: translateY(-2px);
}

.btn-outline-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--c-clay-soft);
  color: var(--c-clay-dark);
  border-radius: 4px;
}

.btn-outline-sm:hover {
  background: var(--c-clay-earth);
  color: var(--c-ivory);
}

.btn-terracotta-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--c-terracotta);
  color: var(--c-ivory);
  border-radius: 4px;
}

.btn-terracotta-sm:hover {
  background: var(--c-terracotta-dark);
}

/* ==========================================================================
   SECTION COMMON HEADINGS & EDITORIAL STYLES
   ========================================================================== */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-header-editorial {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-terracotta);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-charcoal);
  margin-bottom: 1rem;
}

.title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.25rem auto 1.5rem auto;
}

.ornament-line {
  width: 50px;
  height: 1px;
  background: var(--c-terracotta);
  opacity: 0.4;
}

.ornament-clay-pot {
  width: 8px;
  height: 8px;
  background: var(--c-terracotta);
  transform: rotate(45deg);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--c-charcoal-muted);
  line-height: 1.8;
  font-weight: 400;
}

.section-quote-hero {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--c-clay-dark);
  line-height: 1.6;
}

/* ==========================================================================
   SECTION: HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--header-height) + 2rem) 1.5rem 3rem 1.5rem;
  color: var(--c-ivory);
  overflow: hidden;
}

.hero-media-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.03);
  transition: transform 10s ease-out;
}

.hero-section:hover .hero-image {
  transform: scale(1);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 27, 24, 0.45) 0%,
    rgba(30, 27, 24, 0.72) 60%,
    rgba(30, 27, 24, 0.92) 100%
  );
}

.hero-paper-texture {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 20px 20px;
}

.hero-content-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(250, 246, 240, 0.12);
  border: 1px solid rgba(250, 246, 240, 0.25);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-ivory-sand);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-terracotta-light);
  box-shadow: 0 0 8px var(--c-terracotta);
}

.hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(250, 246, 240, 0.85);
  margin-bottom: 0.4rem;
}

.hero-title-main {
  font-family: var(--font-serif);
  font-size: clamp(3.8rem, 9vw, 6.5rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-subheadline {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  color: var(--c-ivory-sand);
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(250, 246, 240, 0.9);
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
  font-weight: 300;
}

.hero-actions-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3.5rem;
}

/* Hero Stats Strip */
.hero-facts-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.25rem 2.25rem;
  background: rgba(30, 27, 24, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(250, 246, 240, 0.15);
  border-radius: 8px;
  width: 100%;
  max-width: 820px;
}

.fact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fact-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-terracotta-light);
  line-height: 1.1;
}

.fact-label {
  font-size: 0.75rem;
  color: rgba(250, 246, 240, 0.8);
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

.fact-divider {
  width: 1px;
  height: 32px;
  background: rgba(250, 246, 240, 0.2);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(250, 246, 240, 0.7);
  transition: var(--transition-smooth);
}

.scroll-text {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(250, 246, 240, 0.5);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--c-ivory);
  border-radius: 2px;
  animation: mouseWheelMove 1.6s ease-in-out infinite;
}

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

/* ==========================================================================
   SECTION 4: CÂU CHUYỆN BÁT TRÀNG (STORYTELLING & TIMELINE)
   ========================================================================== */
.section-story {
  background-color: var(--c-ivory);
}

.story-editorial-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.story-subheading {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--c-clay-dark);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.story-text-column p {
  font-size: 1.05rem;
  color: var(--c-charcoal-muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.story-quote {
  border-left: 3px solid var(--c-terracotta);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-style: italic;
  color: var(--c-clay-dark);
  line-height: 1.65;
  background: rgba(184, 74, 57, 0.04);
  border-radius: 0 4px 4px 0;
}

.story-visual-column {
  position: relative;
}

.story-card-visual {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
}

.story-featured-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.story-card-visual:hover .story-featured-img {
  transform: scale(1.03);
}

.story-img-caption {
  padding: 1.25rem;
  background: var(--c-ivory-sand);
  border-top: 1px solid var(--c-border);
}

.caption-index {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--c-terracotta);
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}

.story-img-caption p {
  font-size: 0.86rem;
  color: var(--c-charcoal-muted);
  line-height: 1.5;
  margin: 0;
}

/* Timeline Layout */
.timeline-wrapper {
  background: var(--c-ivory-sand);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 3rem 2.5rem;
}

.timeline-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.timeline-heading {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--c-clay-dark);
}

.timeline-subtext {
  font-size: 0.92rem;
  color: var(--c-clay-soft);
  margin-top: 0.35rem;
}

.timeline-nav-tabs {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--c-border-strong);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.timeline-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: transparent;
  text-align: left;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  min-width: 160px;
}

.tab-year {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-clay-earth);
  line-height: 1.2;
}

.tab-name {
  font-size: 0.76rem;
  color: var(--c-charcoal-light);
  letter-spacing: 0.02em;
  margin-top: 0.2rem;
}

.timeline-tab:hover {
  background: rgba(184, 74, 57, 0.06);
}

.timeline-tab.active {
  background: var(--c-ivory-card);
  border-color: var(--c-border);
  box-shadow: var(--shadow-subtle);
}

.timeline-tab.active .tab-year {
  color: var(--c-terracotta);
}

.timeline-tab.active .tab-name {
  color: var(--c-charcoal);
  font-weight: 600;
}

/* Timeline Card Content */
.timeline-card-content {
  background: var(--c-ivory-card);
  border-radius: 8px;
  padding: 2.25rem;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-subtle);
}

.timeline-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.timeline-badge-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-terracotta);
  background: rgba(184, 74, 57, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
}

.timeline-milestone-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--c-charcoal);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.timeline-milestone-body {
  font-size: 1rem;
  color: var(--c-charcoal-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.timeline-meta-box {
  background: var(--c-ivory-sand);
  padding: 0.95rem 1.25rem;
  border-radius: 4px;
  border-left: 3px solid var(--c-clay-earth);
  font-size: 0.86rem;
}

.meta-label {
  font-weight: 600;
  color: var(--c-clay-dark);
  margin-right: 0.5rem;
}

.meta-value {
  color: var(--c-charcoal-muted);
}

.timeline-media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.timeline-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.timeline-caption {
  display: block;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--c-clay-soft);
  text-align: center;
  margin-top: 0.6rem;
}

/* ==========================================================================
   SECTION 5: NHỮNG ĐIỂM THAM QUAN NỔI BẬT (DESTINATIONS)
   ========================================================================== */
.section-destinations {
  background-color: var(--c-ivory-sand);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

/* Editorial card spans for rhythmic visual variety */
.destination-card {
  grid-column: span 6;
  background: var(--c-ivory-card);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

/* Card 1 is featured and takes full width or larger span */
.destination-card:nth-child(1) {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.destination-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(184, 74, 57, 0.3);
}

.card-media-box {
  position: relative;
  overflow: hidden;
  background-color: var(--c-ivory-sand);
}

.destination-card:nth-child(1) .card-media-box {
  height: 100%;
}

.destination-card:not(:nth-child(1)) .card-media-box {
  aspect-ratio: 16 / 10;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.card-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(30, 27, 24, 0.75);
  backdrop-filter: blur(8px);
  color: var(--c-ivory);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
}

.card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--c-charcoal);
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.card-subtitle {
  font-size: 0.85rem;
  color: var(--c-terracotta);
  font-weight: 500;
  margin-bottom: 1rem;
}

.card-text {
  font-size: 0.95rem;
  color: var(--c-charcoal-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-footer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-border);
  gap: 1rem;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--c-clay-soft);
}

.btn-card-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-terracotta);
  padding: 0.4rem 0;
}

.btn-card-explore:hover {
  color: var(--c-terracotta-dark);
}

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

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

/* ==========================================================================
   SECTION 6: TRẢI NGHIỆM LÀM GỐM (POTTERY CRAFT & CANVAS WHEEL)
   ========================================================================== */
.section-pottery-craft {
  background-color: var(--c-ivory);
}

.craft-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-bottom: 5rem;
}

.craft-step-card {
  background: var(--c-ivory-card);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-subtle);
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-num-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 44px;
  height: 44px;
  background: var(--c-terracotta);
  color: var(--c-ivory);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(184, 74, 57, 0.3);
}

.step-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.step-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.craft-step-card:hover .step-img {
  transform: scale(1.05);
}

.step-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--c-charcoal);
  margin-bottom: 0.25rem;
}

.step-lead {
  font-size: 0.86rem;
  color: var(--c-clay-earth);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--c-charcoal-muted);
  line-height: 1.75;
}

/* Pottery Interactive Shaper Box */
.pottery-interactive-box {
  background: var(--c-ivory-sand);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-editorial);
}

.interactive-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.interactive-pill {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-indigo);
  background: rgba(35, 61, 77, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.interactive-title {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--c-charcoal);
  margin-bottom: 0.6rem;
}

.interactive-desc {
  font-size: 0.95rem;
  color: var(--c-charcoal-muted);
  line-height: 1.7;
}

.pottery-canvas-layout {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.canvas-viewport-wrapper {
  position: relative;
  background: radial-gradient(circle at center, #ffffff 0%, #ebe4d8 100%);
  border-radius: 8px;
  border: 1px solid var(--c-border);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.04);
}

#potteryWheelCanvas {
  display: block;
  cursor: ew-resize;
  border-radius: 6px;
  max-width: 100%;
}

.canvas-wheel-base {
  width: 220px;
  height: 18px;
  background: linear-gradient(180deg, #9b8c7b, #6b5c4d);
  border-radius: 999px;
  margin-top: -10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.canvas-hint-overlay {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--c-clay-earth);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 71, 59, 0.15);
}

.canvas-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.control-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-clay-dark);
}

.glaze-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.glaze-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  background: var(--c-ivory-card);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.glaze-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
}

.glaze-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-charcoal);
}

.glaze-btn:hover {
  border-color: var(--c-terracotta);
}

.glaze-btn.active {
  border-color: var(--c-terracotta);
  background: rgba(184, 74, 57, 0.05);
  box-shadow: 0 0 0 1px var(--c-terracotta);
}

.preset-shape-buttons {
  display: flex;
  gap: 0.6rem;
}

.preset-btn {
  flex: 1;
  padding: 0.6rem 0.5rem;
  background: var(--c-ivory-card);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-charcoal);
}

.preset-btn:hover {
  border-color: var(--c-terracotta);
}

.preset-btn.active {
  background: var(--c-clay-earth);
  color: var(--c-ivory);
  border-color: var(--c-clay-earth);
}

.editorial-slider {
  width: 100%;
  accent-color: var(--c-terracotta);
}

.control-actions {
  display: flex;
  gap: 0.85rem;
  padding-top: 0.5rem;
}

.pottery-wisdom-note {
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--c-clay-earth);
}

/* ==========================================================================
   SECTION 7: ẨM THỰC BÁT TRÀNG (FOOD JOURNAL)
   ========================================================================== */
.section-food-journal {
  background-color: var(--c-ivory-sand);
}

.food-journal-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.food-entry-card {
  grid-column: span 4;
  background: var(--c-ivory-card);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.food-entry-card.featured {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

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

.food-media-box {
  position: relative;
  overflow: hidden;
  background: var(--c-ivory-sand);
}

.food-entry-card.featured .food-media-box {
  height: 100%;
}

.food-entry-card:not(.featured) .food-media-box {
  aspect-ratio: 16 / 11;
}

.food-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.food-entry-card:hover .food-img {
  transform: scale(1.05);
}

.food-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--c-terracotta);
  color: var(--c-ivory);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-weight: 600;
}

.food-content {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.food-origin {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-terracotta);
  font-weight: 600;
  display: block;
  margin-bottom: 0.35rem;
}

.food-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--c-charcoal);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.food-story {
  font-size: 0.95rem;
  color: var(--c-charcoal-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.food-flavor-notes {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.flavor-item {
  font-size: 0.85rem;
  color: var(--c-charcoal-muted);
  line-height: 1.6;
}

.flavor-item strong {
  color: var(--c-clay-dark);
}

/* ==========================================================================
   SECTION 8: ĐẶC SẢN VÀ VĂN HÓA ĐỊA PHƯƠNG (HERITAGE PILLARS)
   ========================================================================== */
.section-craft-heritage {
  background-color: var(--c-ivory);
}

.heritage-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4.5rem;
}

.pillar-card {
  background: var(--c-ivory-sand);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  background: var(--c-ivory-card);
  transform: translateY(-4px);
  box-shadow: var(--shadow-editorial);
  border-color: rgba(184, 74, 57, 0.3);
}

.pillar-icon-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.pillar-symbol {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--c-terracotta);
  line-height: 1;
}

.pillar-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-clay-soft);
  letter-spacing: 0.1em;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--c-charcoal);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.pillar-text {
  font-size: 0.92rem;
  color: var(--c-charcoal-muted);
  line-height: 1.75;
}

/* Artisan Story Strip */
.artisan-story-strip {
  background: linear-gradient(135deg, #37231c 0%, #261713 100%);
  color: var(--c-ivory);
  border-radius: 8px;
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
}

.artisan-story-strip::before {
  content: '陶';
  position: absolute;
  right: 2rem;
  bottom: -2rem;
  font-size: 14rem;
  color: rgba(255, 255, 255, 0.03);
  font-family: var(--font-display);
  pointer-events: none;
}

.artisan-quote-box {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.artisan-stamp {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-terracotta-light);
  border: 1px solid var(--c-terracotta-light);
  padding: 0.25rem 0.85rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.artisan-heading {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  color: var(--c-ivory);
}

.artisan-quote-body {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.8;
  color: rgba(250, 246, 240, 0.9);
  margin-bottom: 1.5rem;
}

.artisan-author {
  font-size: 0.88rem;
  color: rgba(250, 246, 240, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   SECTION 9: BẢN ĐỒ TRẢI NGHIỆM (ILLUSTRATED MAP)
   ========================================================================== */
.section-illustrated-map {
  background-color: var(--c-ivory-sand);
}

.map-filter-group {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.map-filter-btn {
  padding: 0.6rem 1.25rem;
  background: var(--c-ivory-card);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--c-charcoal-muted);
}

.map-filter-btn:hover {
  border-color: var(--c-terracotta);
  color: var(--c-terracotta);
}

.map-filter-btn.active {
  background: var(--c-terracotta);
  color: var(--c-ivory);
  border-color: var(--c-terracotta);
  box-shadow: 0 4px 12px rgba(184, 74, 57, 0.25);
}

.artistic-map-card {
  background: var(--c-ivory-card);
  border-radius: 8px;
  border: 1px solid var(--c-border);
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
  display: grid;
  grid-template-columns: 1fr 320px;
}

.map-svg-viewport {
  position: relative;
  background: #f8f4ec;
  overflow: hidden;
}

.artistic-map-svg {
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
}

/* Map SVG Styling */
.map-river-text {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.25em;
  fill: #1d3c52;
  opacity: 0.8;
}

.map-river-subtext {
  font-size: 11px;
  font-style: italic;
  fill: #2d5573;
  opacity: 0.7;
}

.map-canal-text {
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;
  fill: #234863;
}

.map-road-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  fill: #5a382c;
}

.map-route-hint {
  font-size: 11px;
  font-style: italic;
  fill: #b84a39;
  letter-spacing: 0.05em;
}

.map-decor-label {
  font-size: 10px;
  fill: #3f543c;
  font-weight: 500;
}

.compass-north {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  fill: #b84a39;
}

/* Interactive Pins */
.map-pin-group {
  cursor: pointer;
  transition: transform 0.3s ease;
  outline: none;
}

.map-pin-group:hover,
.map-pin-group.active {
  transform: translate(var(--tx, 0), var(--ty, 0)) scale(1.15);
}

.pin-pulse {
  animation: pinPulseAnim 2s infinite;
}

@keyframes pinPulseAnim {
  0% { r: 12px; opacity: 0.5; }
  100% { r: 24px; opacity: 0; }
}

.pin-badge-text {
  font-size: 11px;
  fill: #faf6f0;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Map Spot Drawer */
.map-spot-drawer {
  background: var(--c-ivory-sand);
  border-left: 1px solid var(--c-border);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spot-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  margin-bottom: 0.5rem;
}

.spot-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--c-charcoal);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.spot-description {
  font-size: 0.92rem;
  color: var(--c-charcoal-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.spot-meta-tags {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.meta-tag {
  font-size: 0.8rem;
  color: var(--c-clay-dark);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--c-border);
}

/* ==========================================================================
   SECTION 10: GALLERY (MOMENTS)
   ========================================================================== */
.section-gallery {
  background-color: var(--c-ivory);
}

.gallery-filters-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.gallery-filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  background: var(--c-ivory-card);
  border: 1px solid var(--c-border);
  font-size: 0.84rem;
  color: var(--c-charcoal-muted);
}

.gallery-filter-btn:hover {
  border-color: var(--c-terracotta);
  color: var(--c-terracotta);
}

.gallery-filter-btn.active {
  background: var(--c-clay-earth);
  color: var(--c-ivory);
  border-color: var(--c-clay-earth);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.gallery-item.large {
  grid-column: span 2;
}

.gallery-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-ivory-sand);
}

.gallery-item.large .gallery-thumb-box {
  aspect-ratio: 16 / 9;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 20%,
    rgba(30, 27, 24, 0.7) 60%,
    rgba(30, 27, 24, 0.95) 100%
  );
  color: var(--c-ivory);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.overlay-tag {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-terracotta-light);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.overlay-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.overlay-caption {
  font-size: 0.82rem;
  color: rgba(250, 246, 240, 0.85);
  margin-bottom: 0.85rem;
}

.btn-lightbox-trigger {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-ivory);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
}

.btn-lightbox-trigger:hover {
  background: var(--c-terracotta);
}

/* ==========================================================================
   SECTION 11: THÔNG TIN DU LỊCH (BEFORE YOU GO & ITINERARY)
   ========================================================================== */
.section-travel-guide {
  background-color: var(--c-ivory-sand);
}

.travel-tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.tip-card {
  background: var(--c-ivory-card);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.tip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-editorial);
  border-color: rgba(184, 74, 57, 0.25);
}

.tip-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(184, 74, 57, 0.08);
  color: var(--c-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.tip-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--c-charcoal);
  margin-bottom: 1rem;
}

.tip-body {
  font-size: 0.9rem;
  color: var(--c-charcoal-muted);
  line-height: 1.75;
}

.tip-body strong {
  color: var(--c-clay-dark);
}

/* Itinerary Planner Box */
.itinerary-planner-box {
  background: var(--c-ivory-card);
  border-radius: 8px;
  border: 1px solid var(--c-border);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-editorial);
}

.planner-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

.planner-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.planner-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 600;
  color: var(--c-charcoal);
  margin-bottom: 0.75rem;
}

.planner-desc {
  font-size: 0.98rem;
  color: var(--c-charcoal-muted);
}

.itinerary-selector-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.itin-tab {
  padding: 1rem 1.25rem;
  background: var(--c-ivory-sand);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.itin-tab span {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-charcoal);
}

.itin-tab small {
  font-size: 0.75rem;
  color: var(--c-clay-soft);
}

.itin-tab:hover {
  border-color: var(--c-terracotta);
}

.itin-tab.active {
  background: var(--c-terracotta);
  border-color: var(--c-terracotta);
  box-shadow: 0 4px 16px rgba(184, 74, 57, 0.25);
}

.itin-tab.active span,
.itin-tab.active small {
  color: var(--c-ivory);
}

/* Schedule Timeline Items */
.itinerary-schedule-display {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.itin-step-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  padding: 1.5rem;
  background: var(--c-ivory-sand);
  border-radius: 6px;
  border-left: 3px solid var(--c-terracotta);
}

.itin-time {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-terracotta);
}

.itin-time small {
  display: block;
  font-size: 0.72rem;
  color: var(--c-clay-soft);
  font-family: var(--font-sans);
}

.itin-desc h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--c-charcoal);
  margin-bottom: 0.35rem;
}

.itin-desc p {
  font-size: 0.92rem;
  color: var(--c-charcoal-muted);
  line-height: 1.7;
}

/* ==========================================================================
   FOOTER (EDITORIAL & PHILOSOPHICAL)
   ========================================================================== */
.site-footer {
  background-color: var(--c-charcoal);
  color: var(--c-ivory);
  padding: 6.5rem 0 3rem 0;
  position: relative;
  overflow: hidden;
}

.footer-paper-texture {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 24px 24px;
}

.footer-container {
  position: relative;
  z-index: 2;
}

.footer-lead-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 5rem auto;
}

.footer-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--c-terracotta);
  color: var(--c-ivory);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  border-radius: 4px;
  margin-bottom: 1.75rem;
}

.footer-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--c-ivory);
}

.footer-subheadline {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--c-ivory-sand);
  margin-bottom: 1.75rem;
}

.footer-philosophy {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(250, 246, 240, 0.7);
  font-weight: 300;
}

.footer-navigation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  padding: 4rem 0;
  border-top: 1px solid rgba(250, 246, 240, 0.1);
  border-bottom: 1px solid rgba(250, 246, 240, 0.1);
  margin-bottom: 3.5rem;
}

.col-heading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-terracotta-light);
  font-weight: 700;
  display: block;
  margin-bottom: 1.5rem;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-nav-col a {
  font-size: 0.92rem;
  color: rgba(250, 246, 240, 0.75);
}

.footer-nav-col a:hover {
  color: var(--c-ivory);
  transform: translateX(4px);
}

.footer-col-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(250, 246, 240, 0.65);
  margin-bottom: 1.25rem;
}

.footer-coordinates {
  font-size: 0.78rem;
  color: rgba(250, 246, 240, 0.45);
  letter-spacing: 0.05em;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.project-note {
  font-size: 0.86rem;
  color: rgba(250, 246, 240, 0.85);
  margin-bottom: 0.35rem;
}

.non-commercial-disclaimer {
  font-size: 0.75rem;
  color: rgba(250, 246, 240, 0.45);
}

.btn-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-ivory);
  background: rgba(250, 246, 240, 0.1);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 246, 240, 0.2);
}

.btn-back-to-top:hover {
  background: var(--c-terracotta);
  border-color: var(--c-terracotta);
}

/* ==========================================================================
   MODALS: STORY & LIGHTBOX
   ========================================================================== */
.editorial-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.editorial-modal.open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.75);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 840px;
  max-height: 85vh;
  background: var(--c-ivory);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.editorial-modal.open .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(30, 27, 24, 0.7);
  color: var(--c-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.modal-close-btn:hover {
  background: var(--c-terracotta);
}

.modal-scroll-area {
  overflow-y: auto;
  max-height: 85vh;
}

.modal-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.modal-content {
  padding: 2.5rem;
}

.modal-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--c-charcoal);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.modal-quote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--c-clay-dark);
  line-height: 1.6;
  border-left: 3px solid var(--c-terracotta);
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.modal-body-text {
  font-size: 1rem;
  color: var(--c-charcoal-muted);
  line-height: 1.85;
}

.modal-body-text p {
  margin-bottom: 1.25rem;
}

.modal-visitor-tips {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--c-ivory-sand);
  border-radius: 6px;
  border: 1px solid var(--c-border);
}

/* Lightbox */
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2100;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.photo-lightbox.open {
  visibility: visible;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 11, 0.92);
  backdrop-filter: blur(12px);
}

.lightbox-viewer {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: -3.5rem;
  right: 0;
  color: var(--c-ivory);
  font-size: 1.75rem;
  padding: 0.5rem;
}

.lightbox-close:hover {
  color: var(--c-terracotta-light);
}

.lightbox-media-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-height: 70vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}

.lightbox-caption-box {
  margin-top: 1.5rem;
  text-align: center;
  max-width: 600px;
}

.lightbox-tag {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-terracotta-light);
  display: block;
  margin-bottom: 0.25rem;
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--c-ivory);
  margin-bottom: 0.35rem;
}

.lightbox-desc {
  font-size: 0.88rem;
  color: rgba(250, 246, 240, 0.7);
}

.lightbox-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--c-ivory);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.lightbox-nav:hover {
  background: var(--c-terracotta);
}

.lightbox-nav.prev { left: -4rem; }
.lightbox-nav.next { right: -4rem; }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .story-editorial-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .destination-card:nth-child(1) {
    grid-template-columns: 1fr;
  }

  .destination-card {
    grid-column: span 12;
  }

  .pottery-canvas-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .canvas-viewport-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }

  .food-entry-card.featured {
    grid-template-columns: 1fr;
  }

  .food-entry-card {
    grid-column: span 6;
  }

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

  .artistic-map-card {
    grid-template-columns: 1fr;
  }

  .map-spot-drawer {
    border-left: none;
    border-top: 1px solid var(--c-border);
  }

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

  .footer-navigation {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .sound-label {
    display: none;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-title {
    font-size: 2.15rem;
  }

  .hero-facts-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.25rem;
  }

  .fact-divider {
    display: none;
  }

  .timeline-wrapper {
    padding: 1.75rem 1.25rem;
  }

  .timeline-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .craft-steps-grid {
    grid-template-columns: 1fr;
  }

  .food-entry-card {
    grid-column: span 12;
  }

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

  .gallery-item.large {
    grid-column: span 1;
  }

  .travel-tips-grid {
    grid-template-columns: 1fr;
  }

  .itinerary-selector-tabs {
    grid-template-columns: 1fr;
  }

  .itin-step-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .lightbox-nav.prev { left: 0.5rem; }
  .lightbox-nav.next { right: 0.5rem; }
}
