/* =================================================================
   MALAWI 2026 — TEAM HANDOVER
   Design system: mobile-first, alternating section rhythm, dense info.
   ================================================================= */

:root {
  /* Palette -- Malawi-flag accents over warm paper + deep leaf */
  --ink: #14251b;
  --muted: #5a665a;
  --paper: #fffaf0;
  --paper-warm: #f7efe0;
  --leaf: #35643c;
  --leaf-deep: #1f4328;
  --leaf-darker: #16321d;
  --gold: #d89b38;
  --terracotta: #b35a31;
  --blue: #31566d;
  --flag-black: #000000;
  --flag-red: #ce1126;
  --flag-green: #339933;
  --line: rgba(20, 37, 27, 0.12);
  --line-light: rgba(255, 250, 240, 0.16);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 6px 18px rgba(20, 37, 27, 0.08);
  --shadow-md: 0 18px 50px rgba(20, 37, 27, 0.18);
  --shadow-lg: 0 28px 80px rgba(15, 26, 19, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

/* Default accent link colour for body copy.
   Out of scope: .button, .brand, .skip-link, .resource-list a,
   .map-link, .hotel-actions a, nav anchors — those all have their own
   styling. The :not() chain checks the anchor itself, so a wrapping
   `.hero-actions` div or similar doesn't accidentally re-paint a styled
   button. */
a:not([class~="button"]):not([class~="brand"]):not([class~="skip-link"]):not([class~="map-link"]):not(.resource-list a):not(.hotel-actions a):not(nav a) {
  color: var(--leaf-deep);
  text-decoration: underline;
  text-decoration-color: rgba(31, 67, 40, .35);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: text-decoration-color .15s ease, color .15s ease;
}

a:not([class~="button"]):not([class~="brand"]):not([class~="skip-link"]):not([class~="map-link"]):not(.resource-list a):not(.hotel-actions a):not(nav a):hover {
  color: var(--leaf-deep);
  text-decoration-color: rgba(31, 67, 40, .85);
}

.section--dark a:not([class~="button"]):not([class~="brand"]):not([class~="skip-link"]):not([class~="map-link"]):not(.resource-list a):not(.hotel-actions a):not(nav a) {
  color: var(--gold);
  text-decoration-color: rgba(216, 155, 56, .55);
}

.section--dark a:not([class~="button"]):not([class~="brand"]):not([class~="skip-link"]):not([class~="map-link"]):not(.resource-list a):not(.hotel-actions a):not(nav a):hover {
  color: var(--gold);
  text-decoration-color: rgba(216, 155, 56, 1);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--leaf-deep); color: var(--paper);
  padding: .75rem 1rem; border-radius: 8px; font-weight: 800;
}
.skip-link:focus { left: .5rem; top: .5rem; z-index: 999; }

/* =================================================================
   NAVIGATION
   ================================================================= */
.nav {
  position: fixed;
  top: clamp(.6rem, 2vw, 1rem);
  left: clamp(.6rem, 2vw, 1rem);
  right: clamp(.6rem, 2vw, 1rem);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem .85rem .6rem .75rem;
  background: rgba(255, 250, 240, 0.96);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: var(--leaf-deep);
  color: var(--paper);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-text { font-size: .95rem; }

.nav-toggle {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease;
}

.nav-toggle:hover { background: var(--line); }

.nav-toggle-bars {
  display: inline-block;
  width: 18px;
  height: 14px;
  position: relative;
}

.nav-toggle-bars span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-list {
  position: fixed;
  top: calc(.6rem + 2.4rem + .6rem + 1rem);
  left: clamp(.6rem, 2vw, 1rem);
  right: clamp(.6rem, 2vw, 1rem);
  margin: 0;
  padding: .75rem;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: .15rem;
  z-index: 49;
}

.nav-list[hidden] { display: none; }

.nav-list a {
  display: block;
  padding: .85rem 1rem;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 800;
  font-size: .98rem;
  text-decoration: none;
  letter-spacing: -.01em;
  transition: background .12s ease;
}

.nav-list a:hover, .nav-list a:focus-visible {
  background: var(--paper-warm);
}

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff8e9;
  isolation: isolate;
  min-height: clamp(420px, 75vh, 620px);
  padding: clamp(5.5rem, 12vw, 7rem) clamp(1rem, 4vw, 3rem) clamp(3.5rem, 8vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/lake-malawi-shore-1280.jpg");
  background-size: cover;
  background-position: 60% 50%;
  z-index: -2;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(20, 36, 24, .35) 0%,
    rgba(20, 36, 24, .55) 55%,
    rgba(20, 36, 24, .88) 100%);
  z-index: -1;
}

/* Malawi flag stripe — single hairline at hero base */
.hero-flag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background:
    linear-gradient(to right,
      var(--flag-black) 0%, var(--flag-black) 33%,
      var(--flag-red) 33%, var(--flag-red) 66%,
      var(--flag-green) 66%, var(--flag-green) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  max-width: 60rem;
  margin: 0 auto;
  width: 100%;
  z-index: 2;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 900;
  color: var(--flag-red);
  margin: 0 0 .85rem;
}

.eyebrow--light {
  color: rgba(255, 217, 145, 0.95);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 950;
}

.hero-eyebrow {
  margin: .35rem 0 .85rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .85;
}

.hero-lede {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  line-height: 1.5;
  color: rgba(255, 250, 240, 0.92);
}

.hero-lede em {
  color: var(--gold);
  font-style: italic;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  /* Pad above and below so the photo doesn't sit directly behind the
     button row. Improves button readability on every viewport. */
  padding: .35rem 0 .25rem;
}

.hero-content::after {
  /* Tonal lift on the bottom half of the hero photo so the action row
     doesn't sit on busy dark-water pixels. Sits above the scrim, below
     the content. */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6.5rem;
  background: linear-gradient(180deg,
    rgba(20, 36, 24, 0) 0%,
    rgba(20, 36, 24, .55) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-credit {
  position: absolute;
  bottom: -2.4rem;
  right: 0;
  margin: 0;
  font-size: .68rem;
  letter-spacing: .03em;
  color: rgba(20, 36, 24, .55);
  font-weight: 700;
}

/* =================================================================
   BUTTONS
   ================================================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .9rem 1.4rem;
  min-height: 44px;             /* mobile tap target */
  border-radius: 999px;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -.01em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.button:hover { transform: translateY(-1px); }

/* Primary: deep leaf, white text, edge highlight. Tuned to read cleanly
   against the hero photo on every viewport. */
.button-primary {
  background: var(--leaf-deep);
  color: #ffffff;               /* true white for max contrast */
  border-color: #ffffff;        /* halo edge keeps the button readable
                                   against busy photo backgrounds */
  box-shadow:
    0 14px 32px rgba(0, 0, 0, .35),
    inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.button-primary:hover {
  background: var(--leaf-darker);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, .42),
    inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.button-ghost {
  background: rgba(255, 250, 240, .14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, .55);
  backdrop-filter: blur(4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

.button-ghost:hover {
  background: rgba(255, 250, 240, .28);
}

/* =================================================================
   TRIP CARD (the sticky-feel quick reference under the hero)
   ================================================================= */
.trip-card-band {
  margin-top: -3rem;
  padding: 0 clamp(1rem, 4vw, 3rem) 2rem;
  position: relative;
  z-index: 3;
}

.trip-card {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1.4rem 1.4rem 1.6rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.trip-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .35rem;
}

.trip-card-tag {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
}

.facts-list {
  margin: 1rem 0 0;
  display: grid;
  gap: .85rem;
}

.facts-list div {
  border-top: 1px solid var(--line);
  padding-top: .85rem;
}

.facts-list dt {
  color: var(--terracotta);
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  margin: 0;
}

.facts-list dd {
  margin: .15rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

/* =================================================================
   NOTES (allergy, etc.)
   ================================================================= */
.note {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .85rem;
  padding: .95rem 1.05rem;
  margin: 1.1rem 0 0;
  border-radius: var(--radius-sm);
  background: rgba(179, 90, 49, 0.12);
  border-left: 5px solid var(--terracotta);
  color: var(--ink);
}

.note-mark {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--paper);
  font-weight: 900;
  font-size: .95rem;
  flex-shrink: 0;
}

.note p { margin: .15rem 0 0; font-size: .95rem; }
.note strong { font-weight: 900; }

/* Sections that are dark keep the note readable */
.section--dark .note {
  background: rgba(216, 155, 56, 0.18);
  border-left-color: var(--gold);
  color: var(--paper);
}
.section--dark .note-mark { background: var(--gold); color: var(--ink); }
.section--dark .note p { color: var(--paper); }

/* =================================================================
   SECTION RHYTHM
   ================================================================= */
.section {
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1rem, 4vw, 3rem);
  scroll-margin-top: 4.5rem;
}

.section-inner {
  max-width: 60rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .section-inner { max-width: 70rem; }
}

.section h2 {
  margin: 0 0 .65rem;
  font-size: clamp(1.55rem, 4.2vw, 2.1rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -.025em;
  max-width: none;
}

.section h3 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -.01em;
}

.section p {
  margin: 0 0 1rem;
  max-width: none;
  font-size: 1rem;
}

.section p:last-child { margin-bottom: 0; }

/* Light section */
.about-section,
.itinerary-section,
.money-section,
.checklist-section,
.resources-section {
  background: var(--paper);
  color: var(--ink);
}

/* Dark section — used for flights, baggage, hotel, safeguarding */
.section--dark {
  background: var(--leaf-deep);
  color: var(--paper);
  position: relative;
}

/* Red top-bar on dark sections was removed per Tom's request */

.section--dark h2, .section--dark h3 { color: var(--paper); }

.section--dark p { color: rgba(255, 250, 240, 0.92); }

.section--dark .eyebrow {
  color: var(--gold);
}

/* =================================================================
   ABOUT / WHY THIS VILLAGE
   ================================================================= */
.micro-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.micro-list li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.micro-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.micro-list strong {
  font-size: 1.55rem;
  font-weight: 950;
  letter-spacing: -.02em;
  color: var(--leaf-deep);
  line-height: 1;
}

.micro-list span {
  font-size: .95rem;
  color: var(--muted);
}

.map-links {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}

.map-link {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .9rem 1.05rem;
  border-radius: var(--radius-sm);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}

.map-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.map-link strong {
  font-size: .98rem;
  font-weight: 900;
  color: var(--leaf-deep);
}

.map-link span {
  font-size: .82rem;
  color: var(--muted);
}

@media (min-width: 720px) {
  .map-links {
    grid-template-columns: 1fr 1fr;
  }
}

/* =================================================================
   FLIGHTS
   ================================================================= */
.flights-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.flight-card {
  margin: 0;
  padding: 1.4rem 1.25rem 1.6rem;
  background: rgba(255, 250, 240, 0.06);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
}

.flight-card-tag {
  margin: 0 0 1rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: inline-block;
  word-break: break-word;
}

.flight-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}

.flight-table caption {
  caption-side: bottom;
  text-align: left;
  margin-top: .75rem;
  font-size: .82rem;
  color: rgba(255, 250, 240, 0.6);
}

.flight-table thead th {
  text-align: left;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  padding: .25rem .5rem .55rem;
  font-weight: 900;
  border-bottom: 1px solid var(--line-light);
}

.flight-table tbody tr {
  border-bottom: 1px solid var(--line-light);
}

.flight-table tbody tr:last-child { border-bottom: 0; }

.flight-table th[scope="row"] {
  width: 2.4rem;
  padding: .85rem .5rem;
  font-size: .92rem;
  color: var(--gold);
  font-weight: 900;
  vertical-align: top;
}

.flight-table td {
  padding: .85rem .5rem;
  vertical-align: top;
  color: var(--paper);
  font-weight: 600;
}

.flight-table tbody td:first-of-type {
  font-weight: 800;
  color: var(--paper);
}

.flight-table tbody td:last-of-type {
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
  color: var(--paper);
}

/* =================================================================
   FLIGHT TABLE MOBILE STACK
   ================================================================= */
@media (max-width: 640px) {
  .flight-table,
  .flight-table thead,
  .flight-table tbody,
  .flight-table tr,
  .flight-table th,
  .flight-table td {
    display: block;
    width: 100%;
  }
  .flight-table thead th {
    display: none;
  }
  .flight-table tr {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line-light);
  }
  .flight-table th[scope="row"],
  .flight-table td {
    display: block;
    width: 100%;
    padding: .2rem 0;
  }
  .flight-table th[scope="row"] {
    font-size: .78rem;
    opacity: .7;
    margin-bottom: .2rem;
  }
  .flight-table td:first-of-type {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: .15rem;
  }
  .flight-table td:last-of-type {
    white-space: normal;
    font-feature-settings: normal;
    font-weight: 600;
    opacity: .85;
  }
  .flight-table caption {
    display: none;
  }
}

/* =================================================================
   ITINERARY
   ================================================================= */
.timeline {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0 0 0 1rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: .5rem;
  bottom: .5rem;
  left: 1rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--leaf) 0%, var(--terracotta) 100%);
}

.timeline li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.25rem;
  padding: 0 0 1.5rem 2.4rem;
  position: relative;
}

@media (min-width: 1024px) {
  .timeline li {
    grid-template-columns: 8rem 1fr;
    gap: 1.5rem;
  }
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -.45rem;
  top: .35rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background: var(--paper);
  border: 3px solid var(--leaf);
  box-shadow: 0 0 0 3px var(--paper);
}

.timeline time {
  display: block;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: 0;
  white-space: normal;
  height: auto;
  margin-top: 0;
}

.timeline-date {
  display: block;
  margin: 0 0 .4rem;
  padding: 0;
  font-size: 1rem;
  font-weight: 900;
  color: var(--leaf-deep);
  letter-spacing: 0;
  line-height: 1.2;
}

.inline-weather {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  padding: .2rem .55rem .2rem .4rem;
  border-radius: 999px;
  background: rgba(216, 155, 56, 0.18);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  max-width: 100%;
}

.timeline h3 {
  margin: .15rem 0 .35rem;
  font-size: 1.05rem;
  font-weight: 900;
}

.timeline p {
  margin: 0;
  font-size: .96rem;
  color: var(--muted);
}

/* =================================================================
   BAGGAGE
   ================================================================= */
.baggage-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.bag-card {
  margin: 0;
  padding: 1.4rem 1.25rem;
  background: rgba(255, 250, 240, 0.06);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  color: var(--paper);
}

.bag-card h3 { color: var(--gold); font-size: 1.1rem; }
.bag-card-route {
  margin: -.15rem 0 1rem;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 250, 240, .7);
  font-weight: 700;
}

.bag-dims {
  display: grid;
  gap: .85rem;
  margin: 0 0 1rem;
}

.bag-dims div {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: .75rem 0;
  border-top: 1px solid var(--line-light);
}

.bag-dims div:first-child { border-top: 0; padding-top: 0; }
.bag-dims div:last-child { padding-bottom: 0; }

.bag-dims dt {
  margin: 0;
  font-weight: 900;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}

.bag-dims dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--paper);
}

.bag-dims dd small {
  display: block;
  font-size: .78rem;
  color: rgba(255, 250, 240, .6);
  font-weight: 600;
  margin-top: .15rem;
}

.bag-card-rule {
  margin: 0;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(216, 155, 56, 0.18);
  border-left: 4px solid var(--gold);
  font-size: .9rem;
}

.baggage-diagrams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin-top: .75rem;
}

.bag-figure {
  margin: 0;
  text-align: center;
}

.bag-svg {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto;
  display: block;
  color: var(--paper);
}

.bag-caption {
  display: inline-block;
  margin-top: .35rem;
  padding: .18rem .7rem;
  border-radius: 999px;
  background: rgba(155, 196, 110, 0.2);
  color: var(--paper);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.bag-caption--warn {
  background: rgba(224, 130, 87, 0.22);
}

/* =================================================================
   MONEY (do / don't)
   ================================================================= */
.do-dont {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.do, .dont {
  margin: 0;
  padding: 1.25rem 1.25rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-warm);
}

.dont {
  background: rgba(206, 17, 38, 0.04);
  border-color: rgba(206, 17, 38, 0.2);
}

.do h3, .dont h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin: 0 0 .85rem;
  font-weight: 900;
}

.do h3 { color: var(--leaf-deep); }
.dont h3 { color: var(--flag-red); }

.do ul, .dont ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink);
}

.do li, .dont li {
  padding: .25rem 0;
}

/* =================================================================
   HOTEL
   ================================================================= */
.hotel-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.hotel-contact-line {
  margin: .5rem 0 0;
  font-size: .9rem;
  color: var(--paper);
  opacity: .85;
}

.hotel-contact-line a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(232, 200, 121, .4);
  text-underline-offset: 3px;
}

.hotel-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hotel-grid article {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 240, 0.06);
  border: 1px solid var(--line-light);
}

.hotel-grid h3 {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  margin-bottom: .65rem;
}

.hotel-grid p {
  color: var(--paper);
  font-size: .95rem;
  margin: 0;
}

/* =================================================================
   CHECKLIST
   ================================================================= */
.checklist-groups {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.checklist-group {
  margin: 0;
  padding: 1.25rem 1.25rem 1.1rem;
  border-radius: var(--radius);
  background: var(--paper-warm);
  border: 1px solid var(--line);
}

.checklist-group legend {
  margin: 0 0 .85rem;
  padding: 0;
}

.checklist-group h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0;
  color: var(--leaf-deep);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .55rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .65rem .75rem;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: background .12s ease;
}

.checklist li:has(input:checked) {
  background: rgba(53, 100, 60, 0.08);
  text-decoration: line-through;
  color: var(--muted);
}

.checklist input[type="checkbox"] {
  margin-top: .25rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--leaf);
  flex-shrink: 0;
}

.checklist label {
  cursor: pointer;
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.4;
}

/* =================================================================
   SAFEGUARDING
   ================================================================= */
.rules-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.rules-grid article {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.06);
  border: 1px solid var(--line-light);
}

.rules-grid h3 {
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: .5rem;
}

.rules-grid p {
  margin: 0;
  font-size: .96rem;
  color: var(--paper);
}

.rules-grid--six {
  /* Mobile: 1 column (default rules-grid). */
}

@media (min-width: 720px) {
  .rules-grid--six {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .rules-grid--six {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.safeguarding-foot {
  margin: 1.25rem 0 0;
  font-size: .9rem;
  color: rgba(255, 250, 240, 0.75);
  max-width: 52rem;
}
.safeguarding-foot a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(232, 200, 121, .4);
  text-underline-offset: 3px;
}

.rules-grid em {
  color: var(--gold);
  font-style: italic;
  font-weight: 600;
}

.rules-grid p em + em {
  margin-left: .15rem;
}

/* =================================================================
   RESOURCES
   ================================================================= */
.resources-group {
  margin: 2rem 0 .25rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

.resources-group:first-of-type {
  margin-top: 1.25rem;
}

.resource-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .resource-list { grid-template-columns: 1fr 1fr; }
}

.resource-list a {
  display: block;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}

.resource-list a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.resource-list strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -.01em;
  margin-bottom: .25rem;
}

.resource-list span {
  display: block;
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: .65rem;
  line-height: 1.4;
}

.resource-list .resource-ext {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--leaf-deep);
  margin: 0;
}

/* =================================================================
   PHRASEBOOK
   ================================================================= */
.phrasebook-group {
  margin: 1.5rem 0 0;
}

.phrasebook-group:first-of-type {
  margin-top: 1rem;
}

.phrasebook-group__title {
  margin: 0 0 .75rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

.phrase-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .55rem;
  grid-template-columns: 1fr 1fr;
}

.phrase {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  width: 100%;
  text-align: left;
  padding: 1rem 1.1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 240, 0.06);
  border: 1px solid var(--line-light);
  color: var(--paper);
  font: inherit;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .15s ease;
}

.phrase:hover {
  background: rgba(255, 250, 240, 0.10);
  border-color: var(--gold);
}

.phrase:active {
  transform: scale(.98);
}

.phrase strong {
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  opacity: .85;
  margin-bottom: -.05rem;
}

.phrase-cy {
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1.18;
  color: var(--paper);
  margin-bottom: .1rem;
}

.phrase-tts {
  display: block;
  margin-top: .05rem;
  font-size: .82rem;
  font-style: italic;
  font-weight: 500;
  color: rgba(255, 250, 240, .55);
}

.phrasebook-pronunciation-intro {
  margin: -.25rem 0 .75rem;
  font-size: .9rem;
  opacity: .8;
}

.phrase-en {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 250, 240, .92);
}

.phrase.is-copied {
  background: rgba(155, 196, 110, .22);
  border-color: #9bc46e;
  transition: background-color .15s ease, border-color .15s ease;
}

.phrase.is-copied strong {
  color: #9bc46e;
}

.phrasebook-foot {
  margin: 1.5rem 0 0;
  font-size: .85rem;
  opacity: .75;
}

.translate-widget {
  margin: 1.25rem 0 0;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 240, 0.04);
  border: 1px solid var(--line-light);
}

.translate-widget__label {
  margin: 0 0 .5rem;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 250, 240, .6);
}

.translate-widget__hint {
  margin: 0 0 .6rem;
  font-size: .85rem;
  color: rgba(255, 250, 240, .65);
  line-height: 1.4;
}

.translate-input {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .25);
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
  outline: none;
}

.translate-input:focus {
  border-color: var(--gold);
}

.translate-output {
  display: block;
  margin-top: .75rem;
}

.translate-miss {
  font-size: .9rem;
  color: rgba(255, 250, 240, .55);
  font-style: italic;
}

.translate-row {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .55rem 0;
  border-top: 1px solid rgba(255, 250, 240, .08);
}

.translate-cy {
  font-size: 1.35rem;
  font-weight: 800;
  font-style: italic;
  color: var(--paper);
  line-height: 1.2;
}

.translate-note {
  font-size: .82rem;
  font-style: italic;
  color: rgba(255, 250, 240, .55);
}

@media (min-width: 720px) {
  .phrase-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .phrase-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  max-width: 60rem;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 3rem) 2.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  font-size: .85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer p { margin: 0; }
.footer a { color: var(--leaf-deep); font-weight: 900; }

/* =================================================================
   RESPONSIVE — wider screens
   ================================================================= */
@media (min-width: 720px) {
  .facts-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }

  .flights-grid,
  .baggage-grid,
  .do-dont,
  .hotel-grid,
  .rules-grid {
    grid-template-columns: 1fr 1fr;
  }

  .micro-list {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 2rem;
  }

  .micro-list li { grid-template-columns: 5.5rem 1fr; }

  .timeline li { padding-bottom: 1.6rem; }
}

@media (min-width: 960px) {
  .nav-list {
    position: static;
    display: flex;
    flex-wrap: wrap;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    gap: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  .nav-list[hidden] { display: flex; }
  .nav-toggle { display: none; }

  .nav-list a {
    padding: .55rem .8rem;
    font-size: .88rem;
    border-radius: 999px;
  }

  .nav-list a:hover {
    background: var(--line);
  }

  .nav { padding: .55rem .6rem .55rem .75rem; }

  .facts-list { grid-template-columns: 1fr 1fr 1fr; }
  .hotel-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .micro-list { grid-template-columns: 1fr 1fr 1fr; }

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

@media (max-width: 380px) {
  h1 { font-size: 2.15rem; }
  .hero-lede { font-size: .96rem; }
  .trip-card { padding: 1.1rem 1rem 1.3rem; }
  .section { padding-left: 1rem; padding-right: 1rem; }
}
/* 1) Baggage grid: stack on narrow screens */
@media (max-width: 680px) {
  .baggage-grid {
    grid-template-columns: 1fr;
  }
}

/* 2) Flight card padding safe on narrow screens */
.flight-card {
  padding: 1.1rem .95rem 1.25rem;
}

/* 3) Flight table: allow wrapping; don't lock last column with nowrap */
.flight-table tbody td:last-of-type {
  white-space: normal;
  font-feature-settings: normal;
}

/* 4) Timeline: stack date + content on narrow screens */
@media (max-width: 640px) {
  .timeline li {
    grid-template-columns: 1fr;
    padding-left: 1.25rem;
  }
  .timeline time {
    display: block;
    height: auto;
    margin: 0 0 .4rem;
  }
}

/* 5) Bag dims: stack label/value on narrow screens */
@media (max-width: 640px) {
  .bag-dims div {
    grid-template-columns: 1fr;
    gap: .2rem;
  }
}

/* 6) Baggage diagrams: max 1-col on narrow screens */
@media (max-width: 520px) {
  .baggage-diagrams {
    grid-template-columns: 1fr;
  }
  .bag-svg {
    max-width: 180px;
  }
}

/* 7) Section inner: a bit more side padding on very narrow screens for safety */
@media (max-width: 380px) {
  .section-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* =================================================================
   STATS GRID (About section)
   ================================================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 0;
  max-width: 50rem;
}

.stat-card {
  padding: 1.25rem 1.1rem 1.4rem;
  background: var(--leaf-deep);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}

.stat-number {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 950;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 2px 0 rgba(0,0,0,.15);
}

.stat-label {
  font-size: clamp(.82rem, 2vw, .95rem);
  color: rgba(255, 250, 240, .85);
  line-height: 1.45;
  font-weight: 500;
}

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

/* =================================================================
   FORECAST BAR
   ================================================================= */
.forecast-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .6rem;
  margin: 1.25rem 0 0;
  padding: 1rem;
  background: rgba(255, 250, 240, 0.06);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
}

.forecast-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  text-align: center;
}

.forecast-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.forecast-day strong {
  font-size: .95rem;
  font-weight: 800;
  color: var(--paper);
}

.forecast-day small {
  font-size: .72rem;
  color: rgba(255, 250, 240, .7);
  font-weight: 600;
}

.forecast-note {
  grid-column: 1 / -1;
  margin: .6rem 0 0;
  font-size: .78rem;
  color: rgba(255, 250, 240, .6);
  text-align: center;
}

@media (max-width: 640px) {
  .forecast-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 420px) {
  .forecast-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =================================================================
   INLINE DAY NOTE (e.g. tasks inside a timeline row)
   ================================================================= */
.day-note {
  margin: .9rem 0 0;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(216, 155, 56, 0.10);
  border-left: 4px solid var(--gold);
  font-size: .92rem;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .day-note { padding: 1.1rem 1.4rem; }
}

.day-note--task {
  background: rgba(216, 155, 56, 0.12);
}

.day-note__title {
  margin: 0 0 .35rem;
  font-weight: 800;
  color: var(--leaf-deep);
}

.day-note__caption {
  margin: .55rem 0 0;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--ink);
}

.day-note__caption + .day-note__caption {
  margin-top: .35rem;
}

.day-note ul {
  margin: .5rem 0 0;
  padding-left: 0;
  list-style: none;
  display: block;
}



.day-note-list {
  margin: .45rem 0 0;
  padding: 0;
  list-style: none;
  list-style-position: outside;
  list-style-type: none;
  font-size: .92rem;
  color: var(--muted);
  display: grid;
  gap: .35rem;
  border-left: 2px solid rgba(53, 100, 60, .18);
  padding-left: 1rem;
}

.day-note-list,
.day-note-list * {
  list-style: none;
  list-style-image: none;
  background-image: none;
}

.day-note-list li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: .6rem;
  align-items: baseline;
  margin: 0;
  padding: 0;
}

.timeline .day-note-list li::before,
.timeline .day-note-list li::after,
.day-note-list li::before,
.day-note-list li::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  width: 0 !important;
  height: 0 !important;
}

.day-note-list .dl-key {
  font-weight: 700;
  color: var(--ink);
  font-size: .85rem;
  white-space: nowrap;
}




/* External reference link below translator */
.phrasebook-external {
  margin: 1.5rem 0 0;
  font-size: .9rem;
  color: rgba(255, 250, 240, .7);
  line-height: 1.5;
}
.phrasebook-external a {
  color: var(--gold);
  font-weight: 700;
}

/* =================================================================
   PWA INSTALL BANNER
   ================================================================= */
.install-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(53, 100, 60, 0.97);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  font-size: .92rem;
  backdrop-filter: blur(8px);
  max-width: 36rem;
  margin: 0 auto;
}

.install-banner[hidden] { display: none; }

.install-banner__body {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  flex: 1 1 auto;
  min-width: 0;
}

.install-banner__body strong {
  font-weight: 800;
  font-size: 1rem;
}

.install-banner__body span {
  opacity: .85;
  font-size: .85rem;
}

.install-banner__actions {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex: 0 0 auto;
}

.install-banner__btn {
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: .55rem .9rem;
  font-size: .88rem;
}

.install-banner__btn--install {
  background: #d89b38;
  color: #2a2218;
}

.install-banner__btn--install:hover {
  background: #e7ad48;
}

.install-banner__btn--dismiss {
  background: transparent;
  color: #fff;
  padding: .35rem .6rem;
  font-size: 1.3rem;
  line-height: 1;
  opacity: .7;
}

.install-banner__btn--dismiss:hover {
  opacity: 1;
}

.install-banner__ios-note {
  margin-top: .35rem;
  font-size: .8rem;
  background: rgba(0, 0, 0, 0.18);
  padding: .35rem .6rem;
  border-radius: 6px;
}
