/* ===============================================
   BALI & LOMBOK · PATRICIA & THORSTEN
   Editorial design with explicit Light/Dark themes.
   =============================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===========================================================
   THEME TOKENS — Light (default) and Dark
   =========================================================== */
:root,
:root[data-theme="light"] {
  --paper:        #f6efe2;
  --paper-2:      #efe5d3;
  --paper-3:      #e6d8c1;
  --surface:      #fbf6ec;
  --surface-2:    #f1ebde;
  --ink:          #1f1a15;
  --ink-2:        #3a332a;
  --mute:         #756a5b;
  --mute-2:       #968a78;
  --line:         #d6c9b0;
  --line-soft:    #e7dcc6;
  --terra:        #b56b4a;
  --terra-deep:   #8a4a32;
  --terra-soft:   #d99572;
  --sage:         #7a8870;
  --sage-deep:    #5e6b56;
  --gold:         #b08d5b;
  --rust:         #964a3e;
  --header-bg:    linear-gradient(180deg, #f6efe2 0%, #efe5d3 100%);
  --header-ink:   #1f1a15;
  --banner-bg:    rgba(253, 250, 243, 0.88);
  --shadow-sm:    0 1px 2px rgba(31, 26, 21, 0.04), 0 1px 3px rgba(31, 26, 21, 0.06);
  --shadow:       0 4px 12px rgba(31, 26, 21, 0.07), 0 2px 4px rgba(31, 26, 21, 0.04);
  --shadow-lg:    0 12px 36px rgba(31, 26, 21, 0.10), 0 4px 12px rgba(31, 26, 21, 0.06);
  --shadow-xl:    0 24px 64px rgba(31, 26, 21, 0.16), 0 8px 24px rgba(31, 26, 21, 0.08);
  --map-tile:     light_nolabels;
  --serif:        'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:         'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

:root[data-theme="dark"] {
  --paper:        #14110d;
  --paper-2:      #1c1814;
  --paper-3:      #25201a;
  --surface:      #1a1612;
  --surface-2:    #221d18;
  --ink:          #f4ead7;
  --ink-2:        #d8ccb6;
  --mute:         #a4998a;
  --mute-2:       #847868;
  --line:         #2e271f;
  --line-soft:    #251f18;
  --terra:        #d18260;
  --terra-deep:   #b56b4a;
  --terra-soft:   #e3a07e;
  --sage:         #8fa087;
  --sage-deep:    #a8b59f;
  --gold:         #c8a674;
  --rust:         #b06752;
  --header-bg:    linear-gradient(180deg, #1a1612 0%, #221d18 100%);
  --header-ink:   #f4ead7;
  --banner-bg:    rgba(20, 17, 13, 0.88);
  --shadow-sm:    0 1px 2px rgba(0, 0, 0, 0.30), 0 1px 3px rgba(0, 0, 0, 0.40);
  --shadow:       0 4px 12px rgba(0, 0, 0, 0.45), 0 2px 4px rgba(0, 0, 0, 0.30);
  --shadow-lg:    0 12px 36px rgba(0, 0, 0, 0.55), 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-xl:    0 24px 64px rgba(0, 0, 0, 0.70), 0 8px 24px rgba(0, 0, 0, 0.45);
  --map-tile:     dark_nolabels;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink-2);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11", "kern";
  overflow-x: hidden;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.015em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--terra); color: var(--surface); }

/* ===========================================================
   LIVE BANNER · sticky top
   =========================================================== */
@keyframes bannerSlideIn {
  0%   { transform: translateY(-100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--banner-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-soft);
  padding: 8px calc(env(safe-area-inset-right, 0) + 14px) 8px calc(env(safe-area-inset-left, 0) + 14px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--ink-2);
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
  animation: bannerSlideIn 0.6s var(--ease-out) 0.3s both;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.banner::-webkit-scrollbar { display: none; }

.bn-clocks { display: inline-flex; gap: 8px; flex-shrink: 0; }
.bn-clock {
  display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.bn-tz {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 700;
  color: var(--terra);
}
.bn-time {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.bn-sep {
  width: 1px; height: 14px;
  background: var(--line);
  flex-shrink: 0;
  opacity: 0.6;
}
.bn-weather {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
  flex: 1;
}
.bn-city {
  display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap;
  font-size: 11px;
}
.bn-city-name {
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.bn-city-temp {
  color: var(--terra);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.bn-city-icon {
  font-size: 12px;
  line-height: 1;
  filter: saturate(0.8);
}
.bn-loading { color: var(--mute); font-style: italic; }

.bn-theme {
  flex-shrink: 0;
  margin-left: auto;
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out), transform 0.2s var(--ease-out);
}
.bn-theme:hover {
  border-color: var(--terra);
  background: var(--surface);
  transform: rotate(20deg);
}
.bn-theme:active { transform: scale(0.95) rotate(20deg); }

/* ===========================================================
   PAGE HEAD — compact intro band
   =========================================================== */
header.page-head {
  margin-top: 38px;
  padding: clamp(56px, 9vh, 96px) 24px clamp(28px, 4vh, 56px);
  text-align: center;
  background: var(--header-bg);
  position: relative;
}
header.page-head::after {
  content: '';
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--terra) 70%, transparent);
  margin: 28px auto 0;
  opacity: 0.55;
}
@keyframes phEnter {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ph-eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--terra);
  font-weight: 600;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  animation: phEnter 0.7s var(--ease-out) 0.05s both;
}
.ph-eyebrow::before, .ph-eyebrow::after {
  content: '';
  width: 22px; height: 1px;
  background: var(--terra);
  opacity: 0.5;
}
.ph-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  color: var(--header-ink);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  animation: phEnter 0.8s var(--ease-out) 0.15s both;
}
.ph-title .amp {
  font-style: italic;
  color: var(--terra);
  font-weight: 300;
  margin: 0 4px;
  font-size: 0.92em;
}
.ph-byline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--mute);
  letter-spacing: 0.02em;
  font-weight: 400;
  animation: phEnter 0.7s var(--ease-out) 0.28s both;
}
.ph-byline .ph-sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* ===========================================================
   PRE-TRIP container
   =========================================================== */
.pre-trip {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(40px, 7vh, 80px) 24px clamp(40px, 6vh, 80px);
}

/* ===========================================================
   COUNTDOWN
   =========================================================== */
.ct-section {
  text-align: center;
  margin-bottom: clamp(60px, 9vh, 100px);
}
.ct-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--terra);
  font-weight: 600;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.ct-eyebrow::before, .ct-eyebrow::after {
  content: '';
  width: 28px; height: 1px;
  background: var(--terra);
  opacity: 0.4;
  display: inline-block;
}
.ct-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(5rem, 18vw, 12rem);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  margin: 0 0 14px;
  padding: 0.1em 0.05em 0.18em;
  background: linear-gradient(180deg, var(--ink) 0%, var(--terra-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}
.ct-lbl {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  color: var(--mute);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ===========================================================
   STATS · "Reise in Zahlen"
   =========================================================== */
.stats-section {
  margin-bottom: clamp(60px, 9vh, 100px);
}
.stats-head {
  text-align: center;
  margin-bottom: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.stats-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--mute);
  font-weight: 600;
  margin-bottom: 14px;
}
.stats-head h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat-tile {
  background: var(--surface);
  padding: 28px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: background 0.3s var(--ease-out);
  position: relative;
  min-height: 130px;
}
.stat-tile:hover { background: var(--surface-2); }
.stat-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  color: var(--terra);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-lbl {
  font-family: var(--sans);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--mute);
  font-weight: 600;
  line-height: 1.4;
}
.stat-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 11.5px;
  color: var(--mute-2);
  margin-top: 2px;
}

/* ===========================================================
   ABOUT · brief intro paragraph
   =========================================================== */
.about-section {
  max-width: 680px;
  margin: 0 auto clamp(60px, 9vh, 100px);
  padding: 0 8px;
  text-align: center;
}
.about-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--mute);
  font-weight: 600;
  margin-bottom: 18px;
}
.about-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--ink-2);
  line-height: 1.55;
  letter-spacing: 0.005em;
  font-weight: 400;
}
.about-text + .about-text { margin-top: 18px; }

/* ===========================================================
   GUT ZU WISSEN · practical info row
   =========================================================== */
.facts-section {
  margin: 0 auto clamp(60px, 9vh, 100px);
  max-width: 980px;
}
.facts-head {
  text-align: center;
  margin-bottom: 32px;
}
.facts-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--mute);
  font-weight: 600;
  margin-bottom: 12px;
}
.facts-head h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.fact-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 22px 22px 20px;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.fact-card:hover {
  border-color: var(--line);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.fact-label {
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--terra);
  font-weight: 700;
  margin-bottom: 6px;
}
.fact-value {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 4px;
}
.fact-detail {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--mute);
  line-height: 1.5;
}

/* ===========================================================
   ROUTE
   =========================================================== */
.pt-route {
  margin-top: 0;
}
.pt-section-head {
  text-align: center;
  margin-bottom: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.pt-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--mute);
  font-weight: 600;
  margin-bottom: 14px;
}
.pt-section-head h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.pt-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--mute);
  line-height: 1.6;
}
.pt-map {
  width: 100%;
  height: clamp(340px, 48vh, 500px);
  border-radius: 18px;
  margin-bottom: 48px;
  background: var(--paper-2);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.pt-stops {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 580px;
  margin: 0 auto;
}
.pt-stops li.pt-stop {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  list-style: none;
}
.pt-stops li.pt-stop:last-child { border-bottom: none; }
.pt-stops li.pt-leg {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
  list-style: none;
}
.pt-leg-line {
  width: 1px;
  height: 30px;
  background: var(--terra);
  opacity: 0.4;
  margin: 0 auto;
  display: block;
}
.pt-leg-meta {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pt-leg-dist {
  color: var(--terra);
  font-weight: 700;
  letter-spacing: 1.2px;
  font-variant-numeric: tabular-nums;
}
.pt-num {
  width: 36px; height: 36px;
  border: 1.5px solid var(--terra);
  border-radius: 50%;
  background: transparent;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  font-weight: 600;
  flex-shrink: 0;
}
.pt-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.pt-isle {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 500;
  text-align: right;
}

/* ===========================================================
   TIMELINE (during/post-trip)
   =========================================================== */
.timeline {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(40px, 7vh, 80px) 20px;
}
.tl-head-wrap {
  text-align: center;
  margin-bottom: 56px;
}
.tl-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--terra);
  font-weight: 600;
  margin-bottom: 14px;
}
.tl-head {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.tl-loading, .tl-empty {
  text-align: center;
  color: var(--mute);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  padding: 60px 24px;
}
.tl-empty {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  max-width: 560px;
  margin: 0 auto;
}

.tl-day {
  margin-bottom: clamp(60px, 10vh, 100px);
  position: relative;
}
.tl-day-head {
  text-align: center;
  margin-bottom: 36px;
}
.tl-day-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--mute);
  font-weight: 600;
  margin-bottom: 10px;
}
.tl-day-date {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 6px;
}
.tl-day-meta {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Photos grid */
.tl-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
@media (min-width: 640px) {
  .tl-photos { grid-template-columns: repeat(3, 1fr); }
}
.tl-photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 12px;
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.tl-photo.tl-photo-wide { aspect-ratio: 16/10; grid-column: span 2; }
@media (min-width: 640px) {
  .tl-photo.tl-photo-wide { grid-column: span 2; }
}
.tl-photo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.tl-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.tl-photo:hover img { transform: scale(1.04); }
.tl-photo .tl-author {
  position: absolute;
  top: 10px; left: 10px;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  color: #fbf6ec;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  letter-spacing: 0.5px;
}
.tl-photo .tl-author.author-thorsten { background: var(--terra); }
.tl-photo .tl-author.author-patricia { background: var(--sage-deep); }
.tl-photo .tl-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.45) 60%, transparent);
  color: #fbf6ec;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.4;
}
.tl-photo .tl-caption:empty { display: none; }

/* Journal entries */
.tl-entry {
  background: var(--surface);
  border-radius: 14px;
  padding: 32px 28px;
  margin-bottom: 22px;
  position: relative;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--terra);
}
.tl-entry-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.tl-author-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--ink);
  background: var(--paper-2);
}
.tl-author-pill .tl-author-init {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 10px;
  color: #fbf6ec;
}
.tl-author-pill.author-thorsten .tl-author-init { background: var(--terra); }
.tl-author-pill.author-patricia .tl-author-init { background: var(--sage-deep); }
.tl-mood {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1.5px;
}
.tl-entry-content {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--ink);
  line-height: 1.55;
  letter-spacing: 0.005em;
}
.tl-entry-content::first-letter {
  font-size: 2.4em;
  font-weight: 600;
  line-height: 0.9;
  float: left;
  margin: 0.05em 0.08em 0 0;
  color: var(--terra);
  font-style: italic;
}

/* Activities */
.tl-act {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: center;
  background: var(--surface);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.tl-act:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.tl-act-thumb {
  width: 100px; height: 100px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: var(--paper-2);
  flex-shrink: 0;
}
.tl-act-body { min-width: 0; }
.tl-act-eyebrow {
  font-family: var(--sans);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--terra);
  font-weight: 700;
  margin-bottom: 6px;
}
.tl-act-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 4px;
}
.tl-act-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.02em;
}

/* ===========================================================
   FOOTER
   =========================================================== */
.ft {
  background: linear-gradient(180deg, transparent 0%, var(--paper-2) 100%);
  padding: clamp(60px, 10vh, 110px) 24px clamp(50px, 8vh, 90px);
  text-align: center;
  margin-top: clamp(40px, 6vh, 80px);
  border-top: 1px solid var(--line-soft);
}
.ft-ornament {
  width: 60px;
  height: 1px;
  background: var(--terra);
  margin: 0 auto 26px;
  position: relative;
  opacity: 0.5;
}
.ft-ornament::before {
  content: '';
  position: absolute;
  top: -3.5px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--terra);
}
.ft-sig {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--terra);
  margin-bottom: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.ft-meta {
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
  font-weight: 500;
}
.ft-byline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--mute);
}

/* ===========================================================
   MAP MARKERS
   =========================================================== */
@keyframes markerIn {
  from { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  to   { transform: scale(1); opacity: 1; }
}
.pt-marker-bubble { transform-origin: center center; }

.leaflet-container { background: var(--paper-2); }
:root[data-theme="dark"] .leaflet-tile { filter: brightness(0.92) contrast(0.95); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  background: var(--surface) !important;
  color: var(--ink) !important;
}

/* ===========================================================
   SCROLL ANIMATIONS
   =========================================================== */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal.in-view {
  animation: revealUp 0.7s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===========================================================
   MOBILE
   =========================================================== */
@media (max-width: 540px) {
  .pt-stops li.pt-stop {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 18px 0;
  }
  .pt-stops li.pt-leg {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 6px 0;
  }
  .pt-isle {
    grid-column: 2;
    text-align: left;
    margin-top: 4px;
  }
  .pt-name { font-size: 1.3rem; }
  .pt-leg-meta { font-size: 10.5px; gap: 8px; }
  .stat-tile { padding: 22px 12px; min-height: 110px; }
  .stat-num { font-size: 1.7rem; }
  .fact-card { padding: 18px; }
}
