 :root {
  --paper: #f7f4ee;
  --ink: #141a24;
  --muted: #667085;
  --line: #d9d0c3;
  --blue: #226db2;
  --gold: #b9812d;
  --panel: rgba(255,255,255,0.82);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px clamp(18px, 4vw, 42px);
  border-bottom: 1px solid rgba(20, 26, 36, 0.09);
  background: rgba(247, 244, 238, 0.9);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  flex: 0 0 auto;
  box-shadow: 0 4px 14px rgba(20, 26, 36, 0.16);
}
.brand-text { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.brand-title { font-size: 18px; font-weight: 780; white-space: nowrap; }
nav { display: flex; gap: 8px; color: #344054; font-size: 14px; }
nav a { padding: 8px 10px; border-radius: 7px; }
nav a:hover, nav a[aria-current="page"] { background: rgba(34, 109, 178, 0.1); }
.stories-page { padding: clamp(24px, 4vw, 56px); }
.stories-hero {
  max-width: 760px;
  margin-bottom: 26px;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}
.stories-hero h1, .article h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.03;
  font-weight: 830;
}
.stories-hero p {
  color: #344054;
  font-size: 17px;
  line-height: 1.7;
}
.stories-hero a {
  color: var(--blue);
  font-weight: 720;
}
.country-map-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  margin: 0 0 32px;
  padding: 18px;
  border: 1px solid rgba(20, 26, 36, 0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.58);
}
.country-map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.country-map-copy h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
}
.country-map-copy p:not(.eyebrow) {
  color: #344054;
  line-height: 1.65;
}
.country-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #475467;
  font-size: 13px;
  font-weight: 680;
}
.country-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.country-map-legend i {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
}
.country-map-legend .has-story,
.country-map-legend .visited-only { background: #4c83b6; }
.country-map {
  min-height: 390px;
  border-radius: 8px;
  overflow: hidden;
  background: #dcecf0;
}
.country-map svg {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
}
.map-country {
  fill: #f0eadf;
  stroke: rgba(20,26,36,0.24);
  stroke-width: 0.55;
}
.map-country.visited {
  cursor: pointer;
  stroke: rgba(20,26,36,0.38);
}
.map-country.has-story,
.map-country.visited-only { fill: #4c83b6; }
.map-country.visited:hover,
.map-country.visited:focus {
  fill: #d9a441;
  outline: none;
}
.country-label {
  pointer-events: none;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0;
  fill: #1d2939;
  stroke: rgba(255,255,255,0.88);
  stroke-width: 3px;
  paint-order: stroke;
}
.country-label.has-story {
  fill: #111827;
}
.stories-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  min-height: calc(100vh - 63px);
}
.map-pane {
  position: sticky;
  top: 63px;
  height: calc(100vh - 63px);
  min-height: 720px;
  overflow: hidden;
  border-right: 1px solid rgba(20, 26, 36, 0.1);
  background: #e9eef2;
}
.stories-shell .country-map {
  position: absolute;
  inset: 0;
  min-height: 720px;
  border-radius: 0;
  background: #e9eef2;
}
.maplibregl-ctrl-attrib {
  color: #667085;
  font-size: 10px;
}
.maplibregl-ctrl-group {
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(16, 24, 40, 0.16);
}
.stories-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(247,244,238,0.98));
}
.stories-side .stories-hero {
  max-width: none;
  margin: 0;
}
.stories-side .stories-hero h1 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
}
.stories-side .stories-hero p {
  margin-bottom: 12px;
  font-size: 15px;
}
.stories-side .country-nav {
  margin-bottom: 4px;
}
.stories-side .story-grid {
  grid-template-columns: 1fr;
}
.stories-side .story-card {
  min-height: 0;
  grid-template-rows: 150px 1fr;
}
.country-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px;
}
.country-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(20, 26, 36, 0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.58);
  color: #243244;
  font-size: 13px;
  font-weight: 680;
}
.country-nav b {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(34, 109, 178, 0.12);
  color: var(--blue);
  font-size: 11px;
}
.country-section {
  padding: 28px 0 34px;
  border-top: 1px solid rgba(20, 26, 36, 0.1);
}
.country-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
}
.country-header h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}
.country-header span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
  white-space: nowrap;
}
.country-empty {
  min-height: 132px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px dashed rgba(20, 26, 36, 0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.46);
  color: #667085;
  text-align: center;
  line-height: 1.6;
}
.country-empty-page {
  min-height: 240px;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 14px;
}
.story-card {
  min-height: 360px;
  display: grid;
  grid-template-rows: 170px 1fr;
  border: 1px solid rgba(20, 26, 36, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}
.cover { background: #e3dccd; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-card-body { padding: 16px; }
.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.story-date, .flight-link time {
  color: #475467;
  font-size: 12px;
  font-weight: 760;
}
.airport-tags, .flight-link {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.airport-tags span, .flight-link span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(34, 109, 178, 0.09);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}
.story-card h2 {
  margin: 12px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}
.story-card p {
  margin: 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.65;
}
.article-shell {
  display: flex;
  justify-content: center;
  padding: clamp(22px, 5vw, 64px) clamp(16px, 4vw, 42px);
}
.article {
  width: min(1180px, 100%);
}
.article > h1,
.article > .flight-link,
.article > p,
.article > ul,
.article > h2,
.article > h3,
.article > hr {
  width: min(840px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.flight-link {
  margin: 18px auto 28px;
  padding: 12px 0;
  border-top: 1px solid rgba(20,26,36,0.1);
  border-bottom: 1px solid rgba(20,26,36,0.1);
}
.flight-link b {
  margin-right: 6px;
  color: #475467;
  font-size: 12px;
  text-transform: uppercase;
}
.article p, .article li {
  color: #283342;
  font-size: 18px;
  line-height: 1.92;
}
.article h2 {
  margin-top: 34px;
  font-size: 26px;
  line-height: 1.25;
}
.article h3 { margin-top: 28px; font-size: 21px; }
.article figure {
  width: min(920px, 100%);
  margin: 34px auto;
}
.article img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.article figure.route-infographic {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 22px auto 42px;
  overflow: hidden;
}
.route-infographic img {
  border: 1px solid rgba(20,26,36,0.1);
  box-shadow: 0 18px 45px rgba(20,26,36,0.12);
  background: #eef6f7;
}
.article figure.route-infographic.comic-route {
  max-width: 980px;
}
.route-infographic.comic-route img {
  background: #f4efe5;
  box-shadow: 0 24px 70px rgba(20,26,36,0.16);
}
.comic-route-label {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid rgba(20,26,36,0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 20px rgba(20,26,36,0.14);
  color: #17212b;
  font-size: clamp(12px, 1.8vw, 18px);
  font-weight: 820;
  line-height: 1.1;
  white-space: nowrap;
}
.route-infographic figcaption {
  display: none;
}
.photo-grid {
  width: min(1120px, 100%);
  margin: 34px auto;
  display: grid;
  gap: 12px;
}
.photo-grid.photos-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-grid.photos-many { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-grid figure {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
}
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-grid figcaption {
  display: none;
}
.article figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.article hr {
  border: 0;
  border-top: 1px solid rgba(20,26,36,0.1);
  margin: 30px 0;
}
.photo-story {
  width: 100%;
}
.photo-story-hero {
  position: relative;
  width: min(1280px, 100%);
  min-height: clamp(460px, 68vh, 780px);
  margin: 0 auto 12px;
  overflow: hidden;
  border-radius: 8px;
  background: #1b2024;
}
.photo-story-hero img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(0.96) contrast(1.03);
}
.photo-story-hero::after {
  content: none;
}
.photo-story-copy {
  width: min(1280px, 100%);
  margin: 20px auto 28px;
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(0, 2.2fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: start;
  padding: clamp(18px, 3vw, 34px) 0 clamp(14px, 2vw, 22px);
  border-top: 1px solid rgba(20, 26, 36, 0.12);
  border-bottom: 1px solid rgba(20, 26, 36, 0.08);
}
.photo-story-meta {
  display: grid;
  gap: 8px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.45;
}
.photo-story-meta span:first-child {
  color: #141a24;
  font-size: 14px;
}
.photo-story-copy .photo-story-kicker {
  margin: 0 0 10px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
}
.photo-story-copy h1 {
  max-width: 760px;
  margin: 0 0 12px;
  color: #141a24;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.02;
}
.photo-story-copy p:last-child {
  max-width: 820px;
  margin: 0;
  color: #4b5563;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.78;
}
.photo-wall {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 10px;
}
.photo-wall-item {
  position: relative;
  min-height: 260px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: #d8d2c7;
}
.photo-wall-item.wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}
.photo-wall-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}
.photo-wall-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 260ms ease, filter 260ms ease;
}
.photo-wall-item:hover img {
  transform: scale(1.025);
  filter: contrast(1.04) saturate(1.04);
}
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 4vw, 42px);
}
.photo-lightbox:target {
  display: flex;
}
.photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,13,18,0.88);
  backdrop-filter: blur(14px);
}
.photo-lightbox figure {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: 90vh;
  margin: 0;
}
.photo-lightbox img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.44);
}
.photo-lightbox-close {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: #111827;
  font-size: 26px;
  line-height: 1;
}
@media (max-width: 680px) {
  .site-header { flex-direction: column; align-items: flex-start; }
  .brand-text { flex-direction: column; align-items: flex-start; gap: 2px; }
  nav { width: 100%; justify-content: space-between; }
  .stories-shell { grid-template-columns: 1fr; }
  .map-pane {
    position: relative;
    top: auto;
    height: 55vh;
    min-height: 360px;
    border-right: 0;
    border-bottom: 1px solid rgba(20, 26, 36, 0.1);
  }
  .stories-shell .country-map { min-height: 360px; }
  .country-map-panel { grid-template-columns: 1fr; padding: 14px; }
  .country-map, .country-map svg { min-height: 280px; }
  .story-grid { grid-template-columns: 1fr; }
  .article-shell { padding: 20px 14px 42px; }
  .article h1 { font-size: clamp(34px, 11vw, 48px); }
  .article figure, .photo-grid { margin: 24px auto; }
  .article figure.route-infographic {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .route-infographic img {
    width: 760px;
    max-width: none;
  }
  .photo-grid.photos-2,
  .photo-grid.photos-many { grid-template-columns: 1fr; }
  .photo-grid img {
    height: auto;
    object-fit: contain;
  }
  .photo-grid figure {
    aspect-ratio: auto;
  }
  .photo-grid figcaption {
    display: block;
  }
  .photo-story-hero {
    min-height: 68vh;
    margin-bottom: 20px;
  }
  .photo-story-copy {
    width: 100%;
    margin: 8px auto 24px;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 0 20px;
  }
  .photo-story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  .photo-wall {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .photo-wall-item,
  .photo-wall-item.wide,
  .photo-wall-item.tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    aspect-ratio: auto;
  }
  .photo-wall-item img {
    height: auto;
    object-fit: contain;
  }
}
