/*
Theme Name: Heritage
Author: Sudais
Version: 1.0
Description: A vintage luxury WordPress theme inspired by 1924 travel journals, Wes Anderson aesthetics, and Grand Budapest Hotel. Features aged parchment textures, vintage maps, polaroid photos, wax seals, and handwritten cursive elements.
Text Domain: heritage
Tags: vintage, luxury, travel, editorial, custom-menu
*/

/* ==========================================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   Colors + fonts are overridable from Appearance > Customize
   ========================================================================== */
:root {
  /* Colors */
  --parchment: #F4EBD9;   /* Aged parchment background */
  --paper: #FAF3E0;       /* Cream paper sections */
  --kraft: #D4B896;       /* Kraft tape / borders */
  --beige: #E8DCC4;       /* Beige panels */
  --ink: #1C1817;         /* Ink black text */
  --faded-brown: #4A3F35; /* Faded brown body text */
  --sepia: #6B5D4F;       /* Sepia detail text */
  --burgundy: #7B2D26;    /* Deep burgundy accent */
  --gold: #C9A961;        /* Antique gold highlights */
  --emerald: #2D5233;     /* Forest emerald secondary */
  --rust: #8B4513;        /* Rust leather */
  --faded-red: #A63A2A;   /* Faded postal red */

  /* Typography */
  --font-serif: "Cormorant Garamond", Georgia, Cambria, "Times New Roman", Times, serif;
  --font-body: "Lora", Georgia, Cambria, serif;
  --font-cursive: "Homemade Apple", cursive;
  --font-mono: "Special Elite", "Courier New", Courier, monospace;

  /* Ticker speed (seconds for one loop) */
  --ticker-speed: 35s;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* Custom Fountain Pen Cursor */
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237B2D26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M12 8v8'/%3E%3Cpath d='M9 11h6'/%3E%3C/svg%3E"), pointer;
}

::selection { background: var(--burgundy); color: var(--paper); }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
input, textarea { font-family: inherit; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--parchment); border-left: 1px solid var(--kraft); }
::-webkit-scrollbar-thumb { background: var(--gold); border: 2px solid var(--parchment); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--burgundy); }

/* Layout containers */
.container { max-width: 80rem; margin-left: auto; margin-right: auto; width: 100%; }
.container-narrow { max-width: 56rem; margin-left: auto; margin-right: auto; }
.container-mid { max-width: 64rem; margin-left: auto; margin-right: auto; }
.container-wide-mid { max-width: 72rem; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   3. AGED PAPER TEXTURE, VIGNETTE & COFFEE STAINS
   ========================================================================== */
.paper-overlay::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  background-image:
    radial-gradient(circle at center, transparent 30%, rgba(28, 24, 23, 0.08) 80%, rgba(28, 24, 23, 0.18) 100%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.035'/%3E%3C/svg%3E");
  z-index: 9999;
}

.coffee-stain {
  position: absolute;
  background: radial-gradient(circle, rgba(139, 69, 19, 0.07) 0%, rgba(139, 69, 19, 0.04) 40%, rgba(139, 69, 19, 0.01) 60%, transparent 80%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.coffee-stain--one { top: 15%; left: 5%; width: 20rem; height: 18rem; opacity: 0.6; }
.coffee-stain--two { top: 45%; right: -100px; width: 500px; height: 480px; opacity: 0.4; }
.coffee-stain--three { bottom: 15%; left: -80px; width: 24rem; height: 24rem; opacity: 0.5; }

/* Sepia photo filter */
.vintage-sepia {
  filter: sepia(0.85) contrast(0.9) brightness(0.92) saturate(0.7);
  transition: filter 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
}
.vintage-sepia:hover { filter: sepia(0.3) contrast(1) brightness(1) saturate(0.95); }

/* Gold foil text effect */
.gold-foil {
  background: linear-gradient(90deg, var(--gold) 0%, var(--beige) 25%, var(--gold) 50%, var(--beige) 75%, var(--gold) 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: bold;
}
.gold-foil:hover { animation: shimmer 1.5s infinite linear; }

/* Washi tape */
.washi-tape-horizontal {
  background: rgba(212, 184, 150, 0.65);
  border-left: 4px dashed rgba(139, 69, 19, 0.15);
  border-right: 4px dashed rgba(139, 69, 19, 0.15);
  box-shadow: 0 1px 3px rgba(28, 24, 23, 0.08);
}

/* Ruled postcard paper texture */
.postcard-texture {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(74, 63, 53, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 63, 53, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* ==========================================================================
   4. KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes rotate-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse-marker {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(166, 58, 42, 0.7); }
  50% { transform: scale(1.25); opacity: 0.8; box-shadow: 0 0 0 6px rgba(166, 58, 42, 0); }
}
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}
@keyframes seal-pop { from { transform: scale(0) rotate(-6deg); } to { transform: scale(1) rotate(-6deg); } }
@keyframes wax-wobble {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.15) rotate(15deg); }
  60% { transform: scale(1.1) rotate(-15deg); }
}
@keyframes slide-in-card {
  from { opacity: 0; transform: translateX(100px) rotateY(45deg); }
  to { opacity: 1; transform: translateX(0) rotateY(0deg); }
}
@keyframes slide-out-card {
  from { opacity: 1; transform: translateX(0) rotateY(0deg); }
  to { opacity: 0; transform: translateX(-100px) rotateY(-45deg); }
}

.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-bounce { animation: bounce 1s infinite; }
.compass-spin-slow { animation: rotate-slow 30s linear infinite; }
.compass-spin-slower { animation: rotate-slow 60s linear infinite; }

/* ==========================================================================
   5. AMBIENT AUDIO TOGGLE (fixed bottom-right)
   ========================================================================== */
.audio-controller {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.audio-toggle {
  background: var(--burgundy);
  color: var(--paper);
  padding: 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(28, 24, 23, 0.2);
  border: 1px solid rgba(201, 169, 97, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.3s ease;
}
.audio-toggle:hover { background: var(--rust); transform: scale(1.1); }
.audio-toggle:active { transform: scale(0.95); }
.audio-toggle svg { width: 1.25rem; height: 1.25rem; opacity: 0.85; }
.audio-toggle.playing svg { color: var(--gold); animation: pulse 2s infinite; opacity: 1; }
.audio-badge {
  background: var(--paper);
  border: 1px solid var(--kraft);
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px -1px rgba(28, 24, 23, 0.1);
  color: var(--faded-brown);
  font-family: var(--font-mono);
  display: none;
  align-items: center;
  gap: 0.5rem;
}
.audio-badge.visible { display: flex; }
.audio-badge .ping-dot {
  width: 0.5rem; height: 0.5rem;
  border-radius: 9999px;
  background: var(--faded-red);
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ==========================================================================
   6. NAVBAR (Vintage Travel Ticket Style)
   ========================================================================== */
.site-nav {
  width: 100%;
  background: rgba(250, 243, 224, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--kraft);
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 2px rgba(28, 24, 23, 0.05);
  transition: all 0.3s ease;
}
.site-nav__inner { display: flex; align-items: center; justify-content: space-between; }

/* Logo */
.brand { display: flex; flex-direction: column; }
.brand__link { display: flex; align-items: center; gap: 0.5rem; }
.brand__compass { width: 1.5rem; height: 1.5rem; color: var(--burgundy); transition: transform 0.7s ease; }
.brand__link:hover .brand__compass { transform: rotate(45deg); }
.brand__text {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.brand__tagline {
  font-family: var(--font-cursive);
  font-size: 0.875rem;
  color: var(--burgundy);
  padding-left: 2rem;
  margin-top: -3px;
  align-self: flex-start;
}

/* Center links */
.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--faded-brown);
}
.nav-links a {
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--burgundy); }
/* Ink-stroke underline */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1.5px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* CTA: postage stamp style button */
.nav-cta { display: none; }
.cta-stamp {
  position: relative;
  display: inline-block;
  border: 2px dashed var(--burgundy);
  background: var(--parchment);
  color: var(--burgundy);
  font-family: var(--font-serif);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  padding: 0.625rem 1.25rem;
  border-radius: 0.125rem;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 0px var(--gold);
}
.cta-stamp:hover {
  background: var(--burgundy);
  color: var(--paper);
  border-style: solid;
  transform: translateY(-2px);
}
.cta-stamp__year {
  position: absolute;
  top: -0.375rem; right: -0.375rem;
  font-size: 8px;
  background: var(--faded-red);
  color: #fff;
  padding: 0 0.25rem;
  font-family: var(--font-mono);
  border-radius: 0.25rem;
  transform: rotate(0deg);
}

/* Mobile menu */
.nav-mobile-toggle { display: flex; align-items: center; color: var(--ink); }
.nav-mobile-toggle:hover { color: var(--burgundy); }
.nav-mobile-toggle svg { width: 1.5rem; height: 1.5rem; }
.nav-mobile-toggle .icon-close { display: none; }
.nav-mobile-toggle.open .icon-menu { display: none; }
.nav-mobile-toggle.open .icon-close { display: block; }

.mobile-menu {
  display: none;
  background: var(--paper);
  border-top: 1px solid var(--kraft);
  margin-top: 1rem;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--faded-brown);
  animation: fade-in-up 0.3s ease-out;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 0.5rem 1rem; transition: all 0.2s ease; }
.mobile-menu a:hover { background: var(--beige); color: var(--burgundy); }
.mobile-menu__cta { padding: 0.5rem 1rem 0; }
.mobile-menu__cta a {
  display: block;
  text-align: center;
  border: 2px dashed var(--burgundy);
  background: var(--parchment);
  color: var(--burgundy);
  padding: 0.625rem;
  font-family: var(--font-serif);
  font-size: 0.875rem;
}

/* ==========================================================================
   7. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 3rem 1.5rem;
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  z-index: 10;
  overflow: hidden;
}
.hero__left {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
  position: relative;
  z-index: 10;
}
.hero__kicker { display: flex; flex-direction: column; gap: 0.5rem; }
.hero__overline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--burgundy);
  letter-spacing: 0.1em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__overline .diamond {
  display: inline-block;
  width: 0.375rem; height: 0.375rem;
  background: var(--burgundy);
  transform: rotate(45deg);
}
.hero__date {
  font-family: var(--font-cursive);
  font-size: 1.25rem;
  color: var(--sepia);
  transform: rotate(-1deg);
  padding-left: 0.25rem;
}
.hero__headline {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--ink);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.hero__headline em {
  font-style: italic;
  font-weight: 600;
  color: var(--burgundy);
}
.hero__headline .period { color: var(--gold); }
.hero__desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--faded-brown);
  line-height: 1.7;
  max-width: 32rem;
}

/* Hero buttons */
.hero__buttons { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.btn-leather {
  position: relative;
  background: var(--burgundy);
  background-image: linear-gradient(rgba(255,255,255,0.05), rgba(0,0,0,0.15));
  color: var(--paper);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 1rem 2rem;
  border-bottom: 4px solid var(--faded-brown);
  border-radius: 0.25rem;
  box-shadow: 0 10px 15px -3px rgba(28, 24, 23, 0.2);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  overflow: hidden;
}
.btn-leather:hover {
  background-color: var(--rust);
  border-bottom-color: var(--ink);
  transform: translateY(-2px);
}
.btn-leather:active { transform: translateY(4px); }
.btn-leather .arrow { transition: transform 0.3s ease; display: inline-flex; }
.btn-leather:hover .arrow { transform: translateX(6px); }
.btn-outline {
  position: relative;
  border: 1px solid var(--gold);
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 1rem 2rem;
  border-radius: 0.25rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-outline:hover { border-color: var(--burgundy); background: var(--paper); }

/* Monospace stats line */
.hero__stats {
  border-top: 1px solid var(--kraft);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.75rem;
  column-gap: 2rem;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--sepia);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__stats span { display: flex; align-items: center; gap: 0.375rem; }
.hero__stats svg { width: 0.875rem; height: 0.875rem; }

/* Typewriter line */
.hero__typewriter {
  margin-top: 0.5rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(166, 58, 42, 0.8);
  letter-spacing: 0.1em;
  border-left: 2px solid rgba(166, 58, 42, 0.4);
  padding-left: 0.75rem;
  font-style: italic;
}
.hero__typewriter .typed { color: var(--ink); font-weight: 600; }
.hero__typewriter .caret { animation: pulse 1s infinite; font-weight: 700; color: var(--faded-red); }

/* ==========================================================================
   8. HERO MAP (Vintage World Map w/ pins, wax seal, compass)
   ========================================================================== */
.hero__right {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}
.map-frame {
  width: 100%;
  position: relative;
  background: var(--beige);
  padding: 0.75rem;
  border: 4px solid var(--rust);
  box-shadow: 0 25px 50px -12px rgba(28, 24, 23, 0.4);
  border-radius: 0.125rem;
  overflow: hidden;
}

/* Wax seal ornament */
.wax-seal {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 20;
}
.wax-seal__body {
  width: 3.5rem; height: 3.5rem;
  border-radius: 9999px;
  background: var(--burgundy);
  border: 2px solid var(--gold);
  box-shadow: 0 10px 15px -3px rgba(28, 24, 23, 0.3), inset 0 2px 4px rgba(255,255,255,0.15), inset 0 -3px 6px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: rotate(-12deg);
  transition: transform 0.3s ease;
}
.wax-seal__body:hover { transform: rotate(-12deg) scale(1.05); }
.wax-seal__ring {
  position: absolute;
  inset: 2px;
  border-radius: 9999px;
  border: 1px dashed rgba(201, 169, 97, 0.3);
}
.wax-seal__letter {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.05em;
}
.wax-seal__year {
  position: absolute;
  bottom: -0.5rem; right: -0.25rem;
  font-size: 8px;
  font-family: var(--font-mono);
  background: var(--ink);
  color: var(--paper);
  padding: 0 0.25rem;
  border-radius: 0.25rem;
  transform: rotate(15deg);
}

/* Circular postmark on map */
.map-postmark {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  width: 5rem; height: 5rem;
  border-radius: 9999px;
  border: 1px dashed rgba(166, 58, 42, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: rotate(25deg);
  z-index: 5;
}
.map-postmark span { font-family: var(--font-mono); color: rgba(166, 58, 42, 0.4); }
.map-postmark .pm-city { font-size: 7px; }
.map-postmark .pm-date { font-size: 8px; }
.map-postmark .pm-brand { font-size: 6px; }

/* Compass rose (rotates toward the pointer via JS) */
.compass-rose {
  position: absolute;
  bottom: 1rem; right: 1rem;
  z-index: 20;
  width: 4rem; height: 4rem;
  pointer-events: none;
}
.compass-rose svg {
  width: 100%; height: 100%;
  color: var(--gold);
  transition: transform 0.1s ease-out;
}
.compass-rose .compass-n {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-family: var(--font-mono);
  color: var(--burgundy);
  font-weight: 700;
  margin-top: -32px;
}

/* Map canvas */
.map-canvas {
  width: 100%;
  height: 320px;
  background: var(--paper);
  position: relative;
  border: 1px solid var(--kraft);
  overflow: hidden;
}
.map-grid { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.12; color: var(--ink); }
.map-continents { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.25; color: var(--sepia); }
.map-routes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.75; }

/* YOU ARE HERE banner */
.you-are-here {
  position: absolute;
  top: 85px; left: 155px;
  z-index: 10;
  background: var(--burgundy);
  color: var(--paper);
  font-size: 8px;
  font-family: var(--font-mono);
  padding: 2px 4px;
  box-shadow: 0 4px 6px -1px rgba(28, 24, 23, 0.2);
  transform: rotate(-5deg);
  border: 1px solid var(--gold);
  pointer-events: none;
}

/* Push pins */
.map-pin-wrap {
  position: absolute;
  z-index: 20;
  transform: translate(-50%, -50%);
}
.map-pin-wrap .pulse-ring {
  position: absolute;
  inset: 0;
  width: 1.5rem; height: 1.5rem;
  transform: translate(-0.375rem, -0.375rem);
  border-radius: 9999px;
  background: rgba(166, 58, 42, 0.2);
  animation: pulse-marker 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}
.map-pin {
  width: 0.875rem; height: 0.875rem;
  border-radius: 9999px;
  border: 2px solid #fff;
  box-shadow: 0 4px 6px -1px rgba(28, 24, 23, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: var(--faded-red);
  padding: 0;
}
.map-pin:hover { background: var(--burgundy); transform: scale(1.1); }
.map-pin.selected { background: var(--burgundy); transform: scale(1.25); }
.map-pin .pin-dot { width: 0.375rem; height: 0.375rem; border-radius: 9999px; background: var(--paper); }

/* Mini stamp on map corner */
.map-mini-stamp {
  position: absolute;
  top: 1rem; left: 1rem;
  width: 3rem; height: 3.5rem;
  background: var(--paper);
  border: 1px solid var(--kraft);
  padding: 2px;
  box-shadow: 0 4px 6px -1px rgba(28, 24, 23, 0.15);
  transform: rotate(-8deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}
.map-mini-stamp__art {
  width: 100%; height: 2.5rem;
  background: rgba(107, 93, 79, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.map-mini-stamp__art svg { width: 1.5rem; height: 1.5rem; color: rgba(123, 45, 38, 0.7); }
.map-mini-stamp__year { font-size: 5px; font-family: var(--font-mono); color: var(--sepia); }

/* Selected destination info card under map */
.map-info {
  margin-top: 0.75rem;
  background: var(--paper);
  border: 1px solid var(--kraft);
  padding: 0.75rem;
  text-align: left;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(28, 24, 23, 0.06);
}
.map-info__coords {
  position: absolute;
  right: 0.75rem; top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--faded-red);
  background: var(--beige);
  padding: 2px 4px;
  border-radius: 0.25rem;
}
.map-info__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.map-info__title svg { width: 1rem; height: 1rem; color: var(--burgundy); flex-shrink: 0; }
.map-info__title .country { color: var(--burgundy); }
.map-info__date { font-family: var(--font-mono); font-size: 10px; color: var(--faded-red); margin-top: 2px; }
.map-info__quote {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--faded-brown);
  margin-top: 0.5rem;
  font-style: italic;
  line-height: 1.6;
}
.map-info__footer {
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--burgundy);
}
.map-info__footer a { display: flex; align-items: center; gap: 0.25rem; font-weight: 600; }
.map-info__footer a:hover { text-decoration: underline; }
.map-info__footer a svg { width: 0.75rem; height: 0.75rem; }
.map-info__vault { color: var(--gold); font-family: var(--font-cursive); font-size: 0.875rem; }

/* Washi tape holding the map to the desk */
.hero__right .tape-top {
  position: absolute;
  top: -0.75rem; left: 20%;
  width: 6rem; height: 1.5rem;
  transform: rotate(-2deg);
  z-index: 20;
  opacity: 0.9;
}
.hero__right .tape-bottom {
  position: absolute;
  bottom: -0.75rem; right: 25%;
  width: 7rem; height: 1.5rem;
  transform: rotate(3deg);
  z-index: 20;
  opacity: 0.8;
}

/* ==========================================================================
   9. TICKER TAPE BAR
   ========================================================================== */
.ticker-bar {
  width: 100%;
  background: var(--beige);
  border-top: 2px solid var(--kraft);
  border-bottom: 2px solid var(--kraft);
  padding: 0.75rem 0;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(28, 24, 23, 0.06);
  position: relative;
  z-index: 20;
}
.ticker-bar__track { display: flex; white-space: nowrap; }
.ticker-bar__content {
  display: inline-block;
  animation: ticker-scroll var(--ticker-speed) linear infinite;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--faded-brown);
  text-transform: uppercase;
}

/* ==========================================================================
   10. SECTION HEADERS (Journal chapter styling)
   ========================================================================== */
.section-header {
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.chapter-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--burgundy);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.025em;
}
.section-note {
  font-family: var(--font-cursive);
  font-size: 1.125rem;
  color: var(--faded-red);
  margin-top: 0.5rem;
  display: block;
}
.section-note--left { transform: rotate(-1.5deg); }
.section-note--right { transform: rotate(1deg); }
.gold-rule { width: 8rem; height: 1px; background: var(--gold); margin-top: 1.5rem; }

/* ==========================================================================
   11. DESTINATIONS SECTION (Chapter I) — Polaroid grid
   ========================================================================== */
.destinations {
  padding: 5rem 1.5rem;
  width: 100%;
  position: relative;
  z-index: 10;
  text-align: center;
}
.polaroid-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 3rem;
  column-gap: 2rem;
  justify-items: center;
}
.polaroid {
  background: var(--paper);
  padding: 1rem 1rem 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(28, 24, 23, 0.15), 0 8px 10px -6px rgba(28, 24, 23, 0.1);
  border: 1px solid var(--kraft);
  max-width: 20rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.5s ease;
  transform: rotate(var(--rot, 0deg));
}
.polaroid:hover {
  transform: rotate(0deg) scale(1.05) translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(28, 24, 23, 0.25);
  z-index: 5;
}
.polaroid__tape {
  position: absolute;
  top: -0.875rem; left: 50%;
  width: 7rem; height: 1.5rem;
  opacity: 0.85;
  z-index: 10;
  transform: translateX(-50%) rotate(var(--tape-rot, 0deg));
}
.polaroid__photo {
  width: 100%;
  height: 15rem;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(212, 184, 150, 0.7);
  position: relative;
}
.polaroid__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.5s ease;
}
.polaroid:hover .polaroid__photo img { transform: scale(1.05); }
.polaroid__photo .color-wash { position: absolute; inset: 0; background: rgba(139, 69, 19, 0.05); mix-blend-mode: color; }
.polaroid__coords {
  position: absolute;
  bottom: 0.5rem; left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--parchment);
  padding: 2px 4px;
  backdrop-filter: blur(4px);
  border-radius: 0.125rem;
}
.polaroid__body { margin-top: 1rem; text-align: left; display: flex; flex-direction: column; gap: 0.5rem; }
.polaroid__title-row { display: flex; align-items: center; justify-content: space-between; }
.polaroid__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.025em;
}
.polaroid__title .country { color: var(--burgundy); }
.polaroid__title-row svg {
  width: 1rem; height: 1rem;
  color: var(--sepia);
  opacity: 0.6;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.polaroid:hover .polaroid__title-row svg { transform: scale(1.1); }
.polaroid__date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--faded-red);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.polaroid__excerpt {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--faded-brown);
  line-height: 1.7;
  margin-top: 0.25rem;
  font-style: italic;
}
.polaroid__footer {
  border-top: 1px solid var(--beige);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.polaroid__voyage { font-family: var(--font-cursive); font-size: 0.75rem; color: var(--sepia); letter-spacing: -0.025em; }
.polaroid__monogram {
  width: 1.25rem; height: 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(123, 45, 38, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--burgundy);
}

/* ==========================================================================
   12. MEMOIRS SECTION (Chapter II)
   ========================================================================== */
.memoirs {
  padding: 6rem 0;
  background: rgba(232, 220, 196, 0.5);
  border-top: 1px solid var(--kraft);
  border-bottom: 1px solid var(--kraft);
  position: relative;
  z-index: 10;
}
.memoirs__inner { padding: 0 1.5rem; text-align: center; position: relative; }
.memoirs__title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}
.memoirs__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.memoirs__divider .rule { width: 4rem; height: 1.5px; background: var(--gold); }
.memoirs__divider svg { width: 1.25rem; height: 1.25rem; color: var(--burgundy); }

.quote-block {
  position: relative;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--kraft);
  border-radius: 0.25rem;
  box-shadow: 0 4px 6px -1px rgba(28, 24, 23, 0.1);
  text-align: left;
}
.quote-block__blot {
  position: absolute;
  top: -1.5rem; left: -1.5rem;
  width: 3rem; height: 3rem;
  background: rgba(28, 24, 23, 0.05);
  border-radius: 9999px;
  filter: blur(8px);
  pointer-events: none;
}
.quote-block__quote {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--faded-brown);
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1.5rem;
}
.quote-block__author { display: flex; flex-direction: column; align-items: center; gap: 0.375rem; }
.quote-block__author .name { font-family: var(--font-cursive); font-size: 1.25rem; color: var(--burgundy); }
.quote-block__author .creed {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--sepia);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.quote-block__author svg { width: 1.25rem; height: 1.25rem; color: var(--burgundy); margin-top: 0.75rem; }
.quote-block__body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--faded-brown);
  line-height: 1.7;
  text-align: center;
  max-width: 36rem;
  margin: 2rem auto 0;
  border-top: 1px solid rgba(212, 184, 150, 0.5);
  padding-top: 1.5rem;
}
.quote-block__seal {
  position: absolute;
  bottom: -1.5rem; left: 50%;
  transform: translateX(-50%);
}
.quote-block__seal .seal-mini {
  width: 3rem; height: 3rem;
  background: var(--burgundy);
  border-radius: 9999px;
  border: 1px solid var(--gold);
  box-shadow: 0 10px 15px -3px rgba(28, 24, 23, 0.3), inset 0 2px 3px rgba(255,255,255,0.15), inset 0 -3px 5px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote-block__seal .seal-mini span {
  font-family: var(--font-serif);
  color: var(--paper);
  font-weight: 700;
  font-size: 1.125rem;
  user-select: none;
}

/* ==========================================================================
   13. CRAFT SECTION (Chapter III) — Services grid
   ========================================================================== */
.craft { padding: 6rem 1.5rem; width: 100%; position: relative; z-index: 10; }
.craft-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.craft-card {
  background: var(--paper);
  border: 1px solid var(--kraft);
  padding: 1.5rem 1.5rem 2rem;
  border-radius: 0.125rem;
  box-shadow: 0 4px 6px -1px rgba(28, 24, 23, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}
.craft-card:hover {
  box-shadow: 0 20px 25px -5px rgba(28, 24, 23, 0.15), 0 8px 10px -6px rgba(28, 24, 23, 0.1);
  transform: translateY(-6px);
}
.craft-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(212, 184, 150, 0.5);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.craft-card__numeral {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gold);
  transition: transform 0.3s ease;
}
.craft-card:hover .craft-card__numeral { transform: scale(1.05); }
.craft-card__annotation {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--faded-red);
  background: var(--beige);
  padding: 2px 6px;
  border-radius: 0.25rem;
  text-transform: uppercase;
}
.craft-card__body { display: flex; flex-direction: column; gap: 0.75rem; }
.craft-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.025em;
}
.craft-card__desc { font-family: var(--font-body); font-size: 0.75rem; color: var(--faded-brown); line-height: 1.7; }
.craft-card__footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 184, 150, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.craft-card__more {
  font-family: var(--font-cursive);
  font-size: 0.875rem;
  color: var(--burgundy);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.craft-card__more:hover { color: var(--rust); }
.craft-card__more .arrow { font-family: var(--font-serif); }
.craft-card__seal {
  width: 1.5rem; height: 1.5rem;
  background: var(--burgundy);
  border-radius: 9999px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--paper);
  font-family: var(--font-serif);
  font-weight: 700;
  user-select: none;
}
/* Gold foil line reveal on hover */
.craft-card__gold-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.craft-card:hover .craft-card__gold-line { transform: scaleX(1); }

/* ==========================================================================
   14. TRAVELERS' TALES (Chapter IV) — Postcard flip carousel
   ========================================================================== */
.tales {
  padding: 6rem 0;
  background: var(--beige);
  border-top: 1px solid var(--kraft);
  position: relative;
  z-index: 10;
  overflow: hidden;
}
.tales__inner { padding: 0 1.5rem; }
.tales__stage-wrap { display: flex; flex-direction: column; align-items: center; }
.tales__stage {
  width: 100%;
  max-width: 48rem;
  position: relative;
  height: 420px;
  perspective: 1000px;
}
.postcard-slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: none;
}
.postcard-slide.active { display: block; animation: slide-in-card 0.4s ease both; }
.postcard-slide.leaving { display: block; animation: slide-out-card 0.4s ease both; pointer-events: none; }

.postcard {
  width: 100%; height: 100%;
  cursor: pointer;
  position: relative;
  transition: transform 0.7s;
  transform-style: preserve-3d;
  box-shadow: 0 25px 50px -12px rgba(28, 24, 23, 0.35);
  border-radius: 0.125rem;
}
.postcard.flipped { transform: rotateY(180deg); }

/* Postcard FRONT */
.postcard__front, .postcard__back {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  background: var(--paper);
  border: 1px solid var(--kraft);
  border-radius: 0.125rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.postcard__front { padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; }
.postcard__photo {
  width: 100%;
  height: 75%;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(212, 184, 150, 0.6);
  background: #000;
}
.postcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.postcard__photo .color-wash { position: absolute; inset: 0; background: rgba(123, 45, 38, 0.05); mix-blend-mode: color; }
.postcard__front-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(212, 184, 150, 0.4);
}
.postcard__location {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.postcard__souvenir { font-family: var(--font-mono); font-size: 9px; color: var(--sepia); display: block; }
.postcard__flip-hint { font-family: var(--font-cursive); color: var(--burgundy); font-size: 1.125rem; font-weight: 600; }

/* Postcard BACK */
.postcard__back {
  transform: rotateY(180deg);
  padding: 1.5rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  overflow: hidden;
}
.postcard__message {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--kraft);
  padding-right: 1rem;
  height: 100%;
}
.postcard__salutation { font-family: var(--font-cursive); color: var(--burgundy); font-size: 0.875rem; font-style: italic; }
.postcard__text {
  font-family: var(--font-cursive);
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.8;
  padding-left: 0.5rem;
  margin-top: 0.5rem;
}
.postcard__signoff { text-align: right; }
.postcard__signoff .yours { font-family: var(--font-cursive); font-size: 1.125rem; color: var(--burgundy); display: block; }
.postcard__signoff .sender { font-family: var(--font-cursive); font-size: 1.25rem; color: var(--ink); font-weight: 700; }

.postcard__right {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-left: 1rem;
  height: 100%;
  position: relative;
}
/* Postage stamp */
.postage-stamp {
  width: 5rem; height: 6rem;
  background: #fff;
  border: 1px solid var(--kraft);
  padding: 0.25rem;
  box-shadow: 0 4px 6px -1px rgba(28, 24, 23, 0.15);
  transform: rotate(5deg);
  position: relative;
}
.postage-stamp__art { width: 100%; height: 4rem; background: rgba(28, 24, 23, 0.05); overflow: hidden; }
.postage-stamp__art img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: 0.9; }
.postage-stamp__caption {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 6px;
  color: var(--faded-brown);
  margin-top: 0.375rem;
  letter-spacing: 0.1em;
  display: flex;
  justify-content: space-between;
  padding: 0 0.25rem;
}
.postage-stamp__teeth {
  position: absolute;
  left: 0; right: 0; top: -0.25rem;
  display: flex;
  justify-content: space-between;
  padding: 0 0.25rem;
  pointer-events: none;
}
.postage-stamp__teeth i {
  width: 0.375rem; height: 0.375rem;
  background: var(--paper);
  border-radius: 9999px;
  border: 1px solid var(--kraft);
}

/* Circular postmark cancellation */
.postcard__postmark {
  width: 6rem; height: 6rem;
  border-radius: 9999px;
  border: 1px solid rgba(166, 58, 42, 0.4);
  position: absolute;
  top: 2rem; right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-15deg);
  pointer-events: none;
}
.postcard__postmark-inner {
  border: 1px dashed rgba(166, 58, 42, 0.2);
  width: 5rem; height: 5rem;
  border-radius: 9999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.postcard__postmark-inner .pm-office { font-size: 7px; font-family: var(--font-mono); color: rgba(166, 58, 42, 0.6); font-weight: 700; text-transform: uppercase; }
.postcard__postmark-inner .pm-date { font-size: 8px; font-family: var(--font-mono); color: rgba(166, 58, 42, 0.6); margin-top: 0.25rem; }

/* Address lines */
.postcard__address {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--sepia);
  border-top: 1px solid rgba(212, 184, 150, 0.4);
  padding-top: 1rem;
}
.postcard__address div { border-bottom: 1px solid rgba(107, 93, 79, 0.3); padding-bottom: 0.25rem; }

/* Carousel navigation */
.tales__nav { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.tales__nav-btn {
  background: var(--paper);
  border: 1px solid var(--kraft);
  padding: 0.625rem;
  border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgba(28, 24, 23, 0.15);
  color: var(--ink);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tales__nav-btn:hover { background: var(--burgundy); color: var(--paper); }
.tales__nav-btn svg { width: 1.25rem; height: 1.25rem; }
.tales__counter {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--sepia);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tales__hint {
  font-family: var(--font-cursive);
  font-size: 0.875rem;
  color: var(--faded-red);
  margin-top: 1rem;
  animation: pulse 2s infinite;
}

/* ==========================================================================
   15. STORY SECTION (Chapter V) — Journal spread
   ========================================================================== */
.story { padding: 6rem 1.5rem; width: 100%; position: relative; z-index: 10; }
.journal-spread {
  background: var(--paper);
  border: 2px solid var(--kraft);
  box-shadow: 0 25px 50px -12px rgba(28, 24, 23, 0.3);
  display: flex;
  flex-direction: column;
  position: relative;
}
.journal-spread__spine {
  display: none;
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 4px;
  background: rgba(28, 24, 23, 0.1);
  transform: translateX(-50%);
  box-shadow: inset 0 2px 4px rgba(28, 24, 23, 0.1);
  z-index: 20;
}
.journal-page--left {
  width: 100%;
  padding: 2rem;
  border-bottom: 1px solid var(--kraft);
  position: relative;
  overflow: hidden;
}
.journal-page--right {
  width: 100%;
  padding: 2rem;
  background: var(--paper);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.journal-margin-note {
  position: absolute;
  top: 3rem; right: 1.5rem;
  font-family: var(--font-cursive);
  font-size: 0.75rem;
  color: rgba(166, 58, 42, 0.8);
  transform: rotate(12deg);
  max-width: 110px;
  pointer-events: none;
  display: none;
}
.journal-prose { color: var(--faded-brown); line-height: 1.7; max-width: 32rem; }
.journal-dropcap {
  float: left;
  font-size: 4.5rem;
  font-family: var(--font-serif);
  color: var(--burgundy);
  line-height: 1;
  padding: 0.5rem;
  font-weight: 700;
  margin: 0.25rem 0.75rem 0 0;
  user-select: none;
  border: 4px solid var(--gold);
  transform: rotate(-4deg);
  background: var(--paper);
}
.journal-prose p { font-family: var(--font-body); font-size: 0.875rem; margin-bottom: 1.5rem; }
.journal-prose p.lead { font-size: 1rem; }
.journal-prose p:last-of-type { margin-bottom: 0; }
.journal-signoff {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 184, 150, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.journal-signoff .signature { font-family: var(--font-cursive); font-size: 1.5rem; color: var(--ink); display: block; }
.journal-signoff .sig-caption {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--sepia);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.journal-signoff__dots { display: flex; gap: 0.25rem; }
.journal-signoff__dots i { width: 0.625rem; height: 0.625rem; border-radius: 9999px; }
.journal-signoff__dots .dot-burgundy { background: var(--burgundy); }
.journal-signoff__dots .dot-gold { background: var(--gold); }
.journal-signoff__dots .dot-emerald { background: var(--emerald); }

/* Ink doodle sketch */
.journal-doodle { position: absolute; top: 1.5rem; left: 3rem; opacity: 0.15; pointer-events: none; color: var(--ink); }

/* Founder framed photo */
.founder-frame {
  background: var(--beige);
  padding: 1.25rem 1.25rem 2rem;
  box-shadow: 0 25px 50px -12px rgba(28, 24, 23, 0.3);
  border: 1px solid var(--kraft);
  position: relative;
  max-width: 24rem;
  transform: rotate(2deg);
  transition: transform 0.5s ease;
}
.founder-frame:hover { transform: rotate(0deg); }
.founder-frame__tape {
  position: absolute;
  top: -1rem; left: 33%;
  width: 8rem; height: 1.5rem;
  z-index: 10;
}
.founder-frame__photo {
  width: 100%; height: 18rem;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(212, 184, 150, 0.5);
  position: relative;
}
.founder-frame__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.7s ease, filter 0.5s ease;
}
.founder-frame:hover .founder-frame__photo img { transform: scale(1.05); }
.founder-frame__photo .color-wash { position: absolute; inset: 0; background: rgba(123, 45, 38, 0.05); mix-blend-mode: color; }
.founder-frame__caption { margin-top: 1rem; text-align: center; }
.founder-frame__caption .handwritten { font-family: var(--font-cursive); font-size: 1.25rem; color: var(--burgundy); }
.founder-frame__caption .log { font-family: var(--font-mono); font-size: 9px; color: var(--sepia); display: block; margin-top: 0.25rem; }

/* Decorative stamp next to founder photo */
.story-stamp {
  position: absolute;
  bottom: 1.5rem; right: 3rem;
  width: 4rem; height: 5rem;
  background: #fff;
  border: 1px solid var(--kraft);
  padding: 0.25rem;
  box-shadow: 0 4px 6px -1px rgba(28, 24, 23, 0.15);
  transform: rotate(-12deg);
  pointer-events: none;
  display: none;
}
.story-stamp__art { width: 100%; height: 3rem; background: rgba(0, 0, 0, 0.05); overflow: hidden; }
.story-stamp__art img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.story-stamp__caption { font-size: 6px; font-family: var(--font-mono); color: var(--sepia); display: block; margin-top: 0.5rem; text-align: center; }

/* ==========================================================================
   16. CONTACT SECTION (Chapter VI) — Send a letter
   ========================================================================== */
.contact {
  padding: 6rem 0;
  background: rgba(232, 220, 196, 0.35);
  border-top: 1px solid var(--kraft);
  position: relative;
  z-index: 10;
}
.contact__inner { padding: 0 1.5rem; }
.contact__grid { display: flex; flex-direction: column; gap: 3rem; align-items: stretch; }

/* Left: address book card */
.address-card {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--kraft);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 6px -1px rgba(28, 24, 23, 0.1);
  position: relative;
}
.address-card__fold {
  position: absolute;
  top: 0; right: 0;
  width: 2rem; height: 2rem;
  background: var(--beige);
  box-shadow: 0 4px 6px -1px rgba(28, 24, 23, 0.15);
  transform: rotate(-45deg);
  transform-origin: top right;
  border-bottom: 1px solid var(--kraft);
  border-left: 1px solid var(--kraft);
}
.address-card__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--faded-red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.address-card__rule { height: 1px; background: var(--kraft); margin: 0.75rem 0 1.5rem; }
.address-card__blocks { display: flex; flex-direction: column; gap: 1.5rem; }
.address-card__company { font-family: var(--font-serif); font-size: 1.125rem; color: var(--ink); font-weight: 700; }
.address-card__address {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--faded-brown);
  margin-top: 0.25rem;
  font-style: italic;
  padding-left: 0.5rem;
  line-height: 1.6;
}
.address-card__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--faded-brown);
}
.address-card__contacts span { display: flex; align-items: center; gap: 0.625rem; }
.address-card__contacts svg { width: 1rem; height: 1rem; color: var(--burgundy); flex-shrink: 0; }
.address-card__note {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--sepia);
  line-height: 1.7;
  margin-top: 1rem;
}
.address-card__signoff { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(212, 184, 150, 0.5); }
.address-card__signoff .cursive { font-family: var(--font-cursive); font-size: 1.25rem; color: var(--burgundy); display: block; }
.address-card__signoff .office {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--sepia);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
  display: block;
}

/* Right: letter composer form */
.letter-composer {
  width: 100%;
  border: 1px solid var(--kraft);
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(28, 24, 23, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.letter-form { display: flex; flex-direction: column; height: 100%; justify-content: space-between; gap: 1.5rem; }
.letter-form__fields { display: flex; flex-direction: column; gap: 1.5rem; }
.letter-form__dateline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--kraft);
  padding-bottom: 0.5rem;
}
.letter-form__dateline .date { font-family: var(--font-mono); font-size: 0.75rem; color: var(--sepia); letter-spacing: 0.05em; }
.letter-form__dateline .feather-note { font-family: var(--font-cursive); font-size: 0.875rem; color: var(--burgundy); }
.letter-form__row { display: flex; flex-direction: column; gap: 1.5rem; }
.letter-form__group { width: 100%; display: flex; flex-direction: column; gap: 0.25rem; }
.letter-form__label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--sepia);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.letter-form__input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--kraft);
  padding: 0.375rem 0;
  font-family: var(--font-cursive);
  font-size: 1.125rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease;
}
.letter-form__input--mono { font-family: var(--font-mono); font-size: 0.75rem; }
.letter-form__input::placeholder { color: rgba(107, 93, 79, 0.3); }
.letter-form__input:focus { border-bottom-color: var(--burgundy); }
.letter-form__textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px dashed var(--kraft);
  padding: 0.5rem 0;
  font-family: var(--font-cursive);
  font-size: 1.125rem;
  color: var(--ink);
  outline: none;
  resize: none;
  line-height: 32px;
  background-image: linear-gradient(rgba(107, 93, 79, 0.08) 1px, transparent 1px);
  background-size: 100% 32px;
  transition: border-color 0.3s ease;
}
.letter-form__textarea::placeholder { color: rgba(107, 93, 79, 0.3); }
.letter-form__textarea:focus { border-bottom-style: solid; border-bottom-color: var(--burgundy); }
.letter-form__actions {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 184, 150, 0.5);
  display: flex;
  justify-content: flex-end;
}
.btn-seal {
  position: relative;
  background: var(--burgundy);
  color: var(--paper);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  padding: 0.875rem 2rem;
  border: 1px solid rgba(201, 169, 97, 0.7);
  border-radius: 0.25rem;
  box-shadow: 0 4px 6px -1px rgba(28, 24, 23, 0.2);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.btn-seal:hover { background: var(--faded-red); transform: translateY(-2px); }
.btn-seal:active { transform: translateY(4px); }
.btn-seal__monogram {
  width: 1.5rem; height: 1.5rem;
  border-radius: 9999px;
  background: rgba(250, 243, 224, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(250, 243, 224, 0.4);
  font-size: 10px;
  font-weight: 700;
}

/* Sealing / Sent states (toggled via JS) */
.letter-state { display: none; }
.letter-state.visible {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  gap: 1.5rem;
  text-align: center;
}
.sealing-wax { position: relative; }
.sealing-wax__seal {
  width: 4rem; height: 4rem;
  border-radius: 9999px;
  background: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 15px -3px rgba(28, 24, 23, 0.3);
  animation: wax-wobble 1.8s ease-in-out infinite;
}
.sealing-wax__seal span { font-family: var(--font-serif); color: var(--paper); font-size: 1.875rem; font-weight: 700; }
.sealing-wax .drip-1 {
  position: absolute;
  top: 3rem; left: 1.5rem;
  width: 0.75rem; height: 1.5rem;
  background: var(--burgundy);
  border-radius: 9999px;
  animation: bounce 1s infinite;
}
.sealing-wax .drip-2 {
  position: absolute;
  top: 3rem; right: 1.25rem;
  width: 0.5rem; height: 1rem;
  background: var(--burgundy);
  border-radius: 9999px;
  animation: pulse 2s infinite;
}
.letter-state__title { font-family: var(--font-serif); font-size: 1.5rem; color: var(--burgundy); font-weight: 700; }
.letter-state__sub { font-family: var(--font-mono); font-size: 0.75rem; color: var(--sepia); margin-top: 0.5rem; animation: pulse 2s infinite; }

.sent-seal {
  width: 5rem; height: 5rem;
  border-radius: 9999px;
  background: var(--burgundy);
  border: 4px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 25px -5px rgba(28, 24, 23, 0.3);
  transform: rotate(-6deg);
  animation: seal-pop 0.5s ease both;
}
.sent-seal span { font-family: var(--font-serif); color: var(--paper); font-size: 2.25rem; font-weight: 700; }
.sent-title { font-family: var(--font-serif); font-size: 1.875rem; color: var(--ink); font-weight: 700; }
.sent-thanks { font-family: var(--font-cursive); font-size: 1.125rem; color: var(--burgundy); font-style: italic; }
.sent-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--faded-brown);
  max-width: 24rem;
  margin: 0.5rem auto 0;
  line-height: 1.7;
}
.sent-desc .email-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--beige);
  padding: 2px 4px;
  border-radius: 0.25rem;
  color: var(--ink);
}
.btn-reset {
  margin-top: 1rem;
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
.btn-reset:hover { background: var(--burgundy); color: var(--paper); }

/* ==========================================================================
   17. FOOTER (Vintage Postal Style)
   ========================================================================== */
.site-footer {
  background: var(--paper);
  border-top: 2px solid var(--kraft);
  padding: 4rem 1.5rem;
  position: relative;
  z-index: 10;
  color: var(--faded-brown);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
}
.site-footer__brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.site-footer__logo {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.site-footer__motto { font-family: var(--font-cursive); color: var(--burgundy); font-size: 0.875rem; margin-top: 2px; padding-left: 0.25rem; }
.site-footer__founded {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--sepia);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.75rem;
}
.site-footer__links { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.site-footer__divider { display: flex; align-items: center; gap: 0.75rem; }
.site-footer__divider .rule { width: 3rem; height: 1px; background: var(--gold); }
.site-footer__divider svg { width: 1.25rem; height: 1.25rem; color: var(--burgundy); }
.site-footer__menu {
  display: flex;
  gap: 2rem;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  font-weight: 500;
  color: var(--ink);
  flex-wrap: wrap;
  justify-content: center;
}
.site-footer__menu a:hover { color: var(--burgundy); transition: color 0.3s ease; }

/* Social stamps */
.social-stamps { display: flex; gap: 1rem; }
.social-stamp {
  width: 2.5rem; height: 3rem;
  background: #fff;
  border: 1px solid var(--kraft);
  padding: 2px;
  box-shadow: 0 1px 2px rgba(28, 24, 23, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  cursor: pointer;
}
.social-stamp:hover { transform: rotate(0deg) scale(1.05) !important; }
.social-stamp__label {
  width: 100%; height: 2rem;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--burgundy);
  font-weight: 700;
}
.social-stamp__year { font-size: 5px; font-family: var(--font-mono); color: var(--sepia); }

/* Copyright line */
.site-footer__copyright {
  border-top: 1px solid var(--kraft);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--sepia);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ==========================================================================
   18. RESPONSIVE — sm (640px), md (768px), lg (1024px)
   ========================================================================== */
@media (min-width: 640px) {
  .hero__buttons { flex-direction: row; }
  .letter-form__row { flex-direction: row; }
  .polaroid-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__copyright { flex-direction: row; }
  .tales__stage { height: 350px; }
}

@media (min-width: 768px) {
  .site-nav { padding: 1rem 3rem; }
  .nav-links { display: flex; }
  .nav-cta { display: block; }
  .nav-mobile-toggle { display: none; }
  .mobile-menu { display: none !important; }

  .hero { padding: 6rem 3rem; flex-direction: row; }
  .hero__left { width: 58%; }
  .hero__right { width: 42%; }
  .hero__overline { font-size: 0.875rem; }
  .hero__date { font-size: 1.5rem; }
  .hero__headline { font-size: 4.5rem; }
  .hero__desc { font-size: 1.125rem; }
  .hero__stats { font-size: 0.75rem; }
  .map-frame { padding: 1.25rem; }

  .ticker-bar__content { font-size: 0.875rem; }

  .destinations { padding: 5rem 3rem; }
  .section-title { font-size: 3.75rem; }
  .section-title--md { font-size: 3rem; }
  .section-note { font-size: 1.5rem; }
  .memoirs__title { font-size: 3rem; }
  .quote-block { padding: 3rem; }
  .quote-block__quote { font-size: 1.875rem; }
  .quote-block__body { font-size: 1rem; }

  .craft { padding: 6rem 3rem; }
  .craft-grid { grid-template-columns: repeat(2, 1fr); }

  .tales__inner { padding: 0 3rem; }
  .postcard__text { font-size: 1rem; }

  .story { padding: 6rem 3rem; }
  .journal-page--left, .journal-page--right { padding: 3.5rem; }
  .journal-margin-note { display: block; }
  .journal-dropcap { font-size: 6rem; }
  .journal-prose p { font-size: 1rem; }
  .journal-prose p.lead { font-size: 1.125rem; }
  .journal-signoff { flex-direction: row; align-items: center; }
  .story-stamp { display: block; }

  .contact__inner { padding: 0 3rem; }
  .address-card { padding: 2.5rem; }
  .letter-composer { padding: 3rem; }

  .site-footer { padding: 4rem 3rem; }
  .site-footer__inner { flex-direction: row; }
  .site-footer__brand { align-items: flex-start; text-align: left; }
}

@media (min-width: 1024px) {
  .hero__headline { font-size: 6rem; }
  .polaroid-grid { grid-template-columns: repeat(3, 1fr); }
  .craft-grid { grid-template-columns: repeat(4, 1fr); }
  .journal-spread { flex-direction: row; }
  .journal-spread__spine { display: block; }
  .journal-page--left { width: 50%; border-bottom: none; border-right: 1px solid var(--kraft); }
  .journal-page--right { width: 50%; }
  .contact__grid { flex-direction: row; }
  .address-card { width: 40%; }
  .letter-composer { width: 60%; }
}
