:root {
  --ink: #171412;
  --paper: #f6f1e8;
  --paper-strong: #fffaf0;
  --blue: #11ace3;
  --blue-dark: #0585b5;
  --green: #8cc657;
  --coral: #e0533f;
  --muted: #6f6a62;
  --line: rgba(23, 20, 18, 0.14);
  --dark: #211e1e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body.map-home {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

body.map-home main {
  height: 100%;
  overflow: hidden;
}

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

a,
button,
input {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(16px, 4vw, 44px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(246, 241, 232, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.map-home .site-header,
.map-home .site-header.is-solid {
  color: #fff;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 58px;
  object-fit: contain;
}

.brand span {
  max-width: 230px;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-menu a {
  text-decoration: none;
}

.site-menu a:hover {
  color: var(--blue);
}

.menu-button {
  display: none;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.menu-button span {
  display: block;
  width: 15px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 74px clamp(14px, 3vw, 34px) 0;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.map-home .hero {
  height: 100%;
  min-height: 0;
  padding-top: 0;
}

.map-home .map-shell {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.map-home .map-canvas {
  width: max(100vw, calc(100dvh * 1920 / 1091));
  max-width: none;
  min-width: 0;
  margin: 0;
}

.map-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1740px);
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.map-canvas {
  position: relative;
  width: min(100%, 1740px);
  min-width: 980px;
  aspect-ratio: 1920 / 1091;
  margin: 0 auto;
}

.world-map {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.map-hotspots {
  position: absolute;
  inset: 0;
}

.map-hotspot {
  position: absolute;
  z-index: 2;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  color: #fff;
  outline: none;
}

.hotspot-ring {
  position: absolute;
  inset: 5px;
  border: 2px solid rgba(255, 242, 63, 0.98);
  border-radius: 999px;
  background: rgba(255, 242, 63, 0.16);
  box-shadow: 0 0 0 0 rgba(255, 242, 63, 0.46);
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.hotspot-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: transparent;
  transform: translate(-50%, -50%);
}

.map-hotspot.force-yellow-dot .hotspot-dot {
  background: #fff23f;
}

.map-hotspot:hover,
.map-hotspot:focus-visible {
  z-index: 5;
}

.map-hotspot:hover .hotspot-ring,
.map-hotspot:focus-visible .hotspot-ring {
  opacity: 1;
  transform: scale(1.55);
  box-shadow: 0 0 0 10px rgba(255, 242, 63, 0.1);
}

.map-tag {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  width: max-content;
  max-width: 190px;
  padding: 12px 14px;
  transform: translate(-50%, 0);
  color: var(--dark);
  background: var(--blue);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.map-tag::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 16px;
  height: 16px;
  transform: translateX(-50%) rotate(45deg);
  background: inherit;
}

.map-hotspot.pending .map-tag {
  color: #fff;
  background: #9340c8;
}

.map-hotspot:hover .map-tag,
.map-hotspot:focus-visible .map-tag {
  opacity: 1;
}

.map-tag small,
.map-tag strong,
.map-tag em {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
}

.map-tag small,
.map-tag em {
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.map-tag strong {
  margin: 4px 0;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 0.95;
  text-transform: uppercase;
}

.mobile-map-dock {
  display: none;
}

.kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 950;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 0.76rem;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  border-color: var(--blue);
  color: var(--dark);
  background: var(--blue);
}

.button.ghost {
  color: #fff;
}

.detail-link {
  align-self: start;
  justify-self: start;
  border-color: var(--dark);
  color: #fff;
  background: var(--dark);
}

.route-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: var(--paper-strong);
}

.route-strip article {
  min-height: 112px;
  padding: 22px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.route-strip article:last-child {
  border-right: 0;
}

.route-strip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-dark);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 950;
  line-height: 1;
}

.route-strip span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.section {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 118px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 104px);
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5.8vw, 5rem);
  font-weight: 950;
  line-height: 0.96;
  text-transform: uppercase;
}

.section-heading.compact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.intro-copy {
  color: #2d2925;
  font-size: 1.06rem;
  line-height: 1.76;
}

.browser-shell {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  min-height: 680px;
  border: 1px solid var(--line);
  background: var(--paper-strong);
}

.route-list {
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
}

.control-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.filter-button {
  min-height: 46px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.filter-button:last-child {
  border-right: 0;
}

.filter-button.is-active {
  color: var(--ink);
  background: #fff;
}

.destination-list {
  max-height: 632px;
  overflow: auto;
}

.destination-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  padding: 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.destination-row.is-active {
  background: var(--dark);
  color: #fff;
}

.destination-row strong,
.destination-row small {
  display: block;
}

.destination-row strong {
  font-size: 1rem;
  font-weight: 950;
  text-transform: uppercase;
}

.destination-row small {
  margin-top: 3px;
  color: currentColor;
  opacity: 0.68;
  font-size: 0.78rem;
}

.route-number {
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 950;
}

.destination-row.is-active .route-number {
  color: var(--green);
}

.destination-detail {
  display: grid;
  grid-template-rows: minmax(300px, 1fr) auto;
  min-width: 0;
}

.detail-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--dark);
}

.detail-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.status-pill {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 11px;
  color: #fff;
  background: var(--coral);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.status-pill.done {
  background: var(--green);
  color: var(--dark);
}

.status-pill.pending {
  background: #9340c8;
}

.detail-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(230px, 0.7fr);
  gap: clamp(22px, 5vw, 52px);
  padding: clamp(24px, 5vw, 50px);
}

.detail-copy h3 {
  grid-column: 1 / -1;
  margin-bottom: 0;
  font-size: clamp(2.3rem, 6vw, 6rem);
  font-weight: 950;
  line-height: 0.88;
  text-transform: uppercase;
}

.detail-copy > p:not(.kicker) {
  margin-bottom: 0;
  color: #302b27;
  font-size: 1.05rem;
  line-height: 1.7;
}

.post-list {
  padding-left: clamp(0px, 2vw, 24px);
  border-left: 1px solid var(--line);
}

.post-list strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.post-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.journal {
  border-top: 1px solid var(--line);
}

.journal-tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.search-field {
  display: grid;
  gap: 8px;
  width: min(520px, 100%);
}

.search-field span,
.post-count {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.search-field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  padding: 0 15px;
  background: var(--paper-strong);
  outline: none;
}

.search-field input:focus {
  border-color: var(--blue-dark);
}

.post-count {
  margin: 0;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.post-card {
  color: inherit;
  text-decoration: none;
  min-height: 158px;
  padding: 20px;
  background: var(--paper-strong);
}

.post-card:hover h3 {
  color: var(--blue-dark);
}

.post-card time,
.post-card span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.post-card h3 {
  margin: 28px 0 14px;
  font-size: clamp(1.08rem, 2vw, 1.55rem);
  font-weight: 950;
  line-height: 1.04;
  text-transform: uppercase;
}

.media-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 1px;
  background: var(--line);
}

.media-band img {
  width: 100%;
  height: clamp(260px, 34vw, 520px);
  object-fit: cover;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.archive-grid article {
  min-height: 210px;
  padding: 24px;
  background: var(--paper-strong);
}

.archive-grid strong {
  display: block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.archive-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(16px, 4vw, 44px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer img {
  width: 54px;
}

.site-footer p {
  margin: 0;
}

.country-page {
  min-height: 100vh;
  padding-top: 74px;
}

.country-view {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  min-height: calc(100vh - 74px);
}

.country-hero {
  position: sticky;
  top: 74px;
  align-self: start;
  height: calc(100vh - 74px);
  min-height: 620px;
  background: var(--dark);
}

.country-hero img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.country-copy {
  display: grid;
  align-content: center;
  padding: clamp(34px, 6vw, 72px);
  background: var(--paper-strong);
}

.country-copy h1 {
  color: var(--ink);
}

.country-copy > p:not(.kicker) {
  max-width: 640px;
  color: #302b27;
  font-size: 1.08rem;
  line-height: 1.75;
}

.back-link {
  justify-self: start;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link:hover {
  color: var(--blue-dark);
}

.country-posts {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.country-posts h2 {
  margin-bottom: 18px;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.country-posts ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.country-posts li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.country-posts a {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  color: inherit;
  text-decoration: none;
}

.country-posts time {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.country-posts span {
  font-weight: 850;
}

.country-posts small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.country-posts a:hover span {
  color: var(--blue-dark);
}

.post-page {
  min-height: 100vh;
  padding: 140px 0 80px;
  background: var(--paper-strong);
}

.post-view {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
}

.post-masthead {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.post-masthead h1 {
  color: var(--ink);
  font-size: clamp(2.8rem, 8vw, 6.2rem);
}

.post-masthead > p:not(.kicker) {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.post-body {
  padding-top: 34px;
  color: #2f2a26;
  font-size: 1.08rem;
  line-height: 1.78;
}

.post-body p {
  margin-bottom: 1.35em;
}

.post-body img {
  width: 100%;
  height: auto;
  margin: 28px 0;
  border-radius: 8px;
  background: rgba(23, 20, 18, 0.08);
}

.post-body a:has(img) {
  display: block;
}

.post-body iframe {
  width: 100%;
  max-width: 100%;
  min-height: 420px;
  border: 0;
}

.section-page {
  min-height: 100vh;
  padding: 118px 0 84px;
  background: var(--paper-strong);
}

.section-view {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section-hero-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding-bottom: clamp(38px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.section-hero-page.no-media {
  grid-template-columns: minmax(0, 820px);
}

.section-hero-page > div {
  min-width: 0;
}

.section-hero-page h1 {
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 5.4rem);
  overflow-wrap: break-word;
}

.section-hero-page p:not(.kicker) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.section-hero-page > img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.section-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.section-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section-bouvarez .section-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: clamp(14px, 2.2vw, 26px);
  width: min(1160px, 100%);
  margin: clamp(30px, 5vw, 58px) auto 0;
}

.section-bouvarez .section-gallery img {
  position: relative;
  z-index: 1;
  aspect-ratio: 1;
  border: 8px solid #fff;
  border-radius: 50%;
  box-shadow: 0 20px 52px rgba(23, 20, 18, 0.16);
  cursor: zoom-in;
  transform: translateY(var(--photo-y, 0)) scale(var(--photo-scale, 1));
  transition: transform 180ms ease, box-shadow 180ms ease, z-index 0ms 180ms;
}

.section-bouvarez .section-gallery img:hover,
.section-bouvarez .section-gallery img:focus-visible {
  z-index: 8;
  box-shadow: 0 34px 86px rgba(23, 20, 18, 0.28);
  transform: translateY(var(--photo-y, 0)) scale(var(--photo-hover-scale, 1.45));
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.section-bouvarez .section-gallery img:nth-child(1) {
  width: 100%;
  justify-self: end;
  object-position: 50% 68%;
  --photo-y: 18px;
  --photo-scale: 1.06;
  --photo-hover-scale: 1.42;
}

.section-bouvarez .section-gallery img:nth-child(2) {
  width: 110%;
  justify-self: center;
  object-position: 10% 72%;
  --photo-y: -10px;
  --photo-scale: 1.18;
  --photo-hover-scale: 1.5;
}

.section-bouvarez .section-gallery img:nth-child(3) {
  width: 100%;
  justify-self: center;
  object-position: 26% 62%;
  --photo-y: 26px;
  --photo-scale: 1.07;
  --photo-hover-scale: 1.43;
}

.section-bouvarez .section-gallery img:nth-child(4) {
  width: 106%;
  justify-self: start;
  object-position: 34% 46%;
  --photo-y: -6px;
  --photo-scale: 1.06;
  --photo-hover-scale: 1.42;
}

.section-school .section-hero-page > img {
  max-height: 420px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.section-gear .section-item > img,
.section-gear .section-figure img {
  mix-blend-mode: multiply;
}

.section-gear .section-item > img {
  align-self: start;
  justify-self: center;
  width: min(100%, 420px);
  max-height: 360px;
  object-fit: contain;
}

.section-gear .section-item-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 56px);
}

.gear-entry {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  padding-top: clamp(26px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.gear-entry:first-child {
  padding-top: 0;
  border-top: 0;
}

.gear-entry.copy-only,
.gear-entry.media-only {
  grid-template-columns: 1fr;
}

.gear-entry-copy {
  max-width: 560px;
  color: #2f2a26;
  line-height: 1.72;
}

.gear-entry-copy p:last-child {
  margin-bottom: 0;
}

.gear-entry-media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(14px, 2vw, 24px);
  align-items: center;
}

.gear-entry-media.single {
  grid-template-columns: minmax(190px, 360px);
  justify-content: center;
}

.gear-entry .section-figure {
  margin: 0;
}

.gear-entry .section-figure img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
}

.section-body,
.section-item-body {
  color: #2f2a26;
  font-size: 1.06rem;
  line-height: 1.75;
}

.section-body {
  width: min(860px, 100%);
  margin: 40px 0 0;
}

.section-text p {
  margin-bottom: 1.35em;
}

.section-text a,
.section-item a {
  font-weight: 850;
}

.section-figure {
  margin: 28px 0;
}

.section-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.section-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.section-items {
  margin-top: clamp(46px, 7vw, 86px);
  border-top: 1px solid var(--line);
}

.section-item {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.7fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(34px, 6vw, 70px) 0;
  border-bottom: 1px solid var(--line);
}

.section-item h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 950;
  line-height: 0.95;
  text-transform: uppercase;
}

.section-item > div > p:not(.kicker) {
  color: var(--muted);
  line-height: 1.65;
}

.section-item > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section-item-body {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.section-item-body .section-text {
  padding: 24px;
  background: var(--paper);
}

.section-item-body .section-figure {
  margin: 0;
}

.section-item-body .section-figure img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

@media (max-width: 920px) {
  .site-header {
    min-height: 68px;
  }

  .brand span {
    max-width: 150px;
  }

  .menu-button {
    display: inline-grid;
    grid-template-columns: 18px auto;
    align-items: center;
  }

  .menu-button span {
    grid-column: 1;
  }

  .site-menu {
    position: fixed;
    inset: 68px 12px auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    color: var(--ink);
    background: var(--paper-strong);
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 100vh;
    align-items: center;
    padding-top: 68px;
    padding-bottom: 0;
  }

  .map-canvas {
    min-width: 900px;
  }

  .route-strip,
  .post-grid,
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro,
  .browser-shell,
  .detail-copy,
  .country-view,
  .section-hero-page,
  .section-item,
  .section-item-body {
    grid-template-columns: 1fr;
  }

  .section-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-bouvarez .section-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(560px, 100%);
  }

  .section-bouvarez .section-gallery img {
    width: 100%;
    --photo-y: 0;
    --photo-scale: 1;
    --photo-hover-scale: 1.24;
  }

  .gear-entry {
    grid-template-columns: 1fr;
  }

  .gear-entry-media,
  .gear-entry-media.single {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .route-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .destination-list {
    max-height: 420px;
  }

  .post-list {
    padding-left: 0;
    border-left: 0;
  }

  .journal-tools,
  .section-heading.compact,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .media-band {
    grid-template-columns: 1fr;
  }

  .country-hero,
  .country-hero img {
    min-height: 420px;
  }

  .country-hero {
    position: relative;
    top: auto;
    height: auto;
  }
}

@media (max-width: 560px) {
  .brand span {
    display: none;
  }

  .hero {
    align-items: start;
    min-height: 100vh;
    padding-top: 92px;
    padding-inline: 16px;
  }

  .map-canvas {
    min-width: 780px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 2.82rem);
    line-height: 0.94;
  }

  .route-strip,
  .post-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .route-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-media,
  .detail-media img {
    min-height: 320px;
  }

  .control-row {
    grid-template-columns: 1fr;
  }

  .filter-button {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .country-posts li {
    padding-bottom: 14px;
  }

  .country-posts a {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .country-posts small {
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  body.map-home {
    overscroll-behavior: none;
  }

  .map-home .site-header {
    color: #fff;
    background: transparent;
  }

  .map-home .site-header.is-solid {
    color: #fff;
    border-bottom: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .map-home .hero {
    display: block;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding: 0;
  }

  .map-shell {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    scrollbar-width: none;
    touch-action: none;
  }

  .map-shell::-webkit-scrollbar {
    display: none;
  }

  .map-canvas {
    width: max(2287px, calc(140dvh * 1920 / 1091));
    min-width: 0;
    max-width: none;
    height: auto;
    aspect-ratio: 1920 / 1091;
    min-height: 0;
    margin: 0;
    transition: transform 240ms ease;
    will-change: transform;
  }

  .map-shell.is-dragging .map-canvas {
    transition: none;
  }

  .world-map {
    object-fit: contain;
  }

  .map-hotspot {
    width: 52px;
    height: 52px;
  }

  .hotspot-dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(33, 30, 30, 0.72);
    background: #fff23f;
    box-shadow: 0 0 0 4px rgba(255, 242, 63, 0.18);
    opacity: 0;
  }

  .hotspot-ring {
    inset: 12px;
    opacity: 0;
    transform: scale(1.15);
  }

  .map-hotspot.is-selected {
    z-index: 7;
  }

  .map-hotspot.is-selected .hotspot-ring,
  .map-hotspot:hover .hotspot-ring,
  .map-hotspot:focus-visible .hotspot-ring {
    opacity: 1;
    transform: scale(2.05);
    box-shadow: 0 0 0 11px rgba(255, 242, 63, 0.12);
  }

  .map-tag {
    display: none;
  }

  .mobile-map-dock {
    position: absolute;
    inset: auto 0 0;
    z-index: 12;
    display: grid;
    gap: 10px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    color: #fff;
    pointer-events: none;
  }

  .mobile-map-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 86px;
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(20, 17, 17, 0.88);
    backdrop-filter: blur(16px);
    pointer-events: auto;
  }

  .mobile-map-panel div {
    display: grid;
    gap: 3px;
    min-width: 0;
  }

  .mobile-map-panel span,
  .mobile-map-panel em {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 950;
    text-transform: uppercase;
  }

  .mobile-map-panel strong {
    overflow: hidden;
    font-size: 1.32rem;
    font-weight: 950;
    line-height: 0.95;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .mobile-map-panel a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 44px;
    border: 1px solid #fff23f;
    color: var(--dark);
    background: #fff23f;
    box-shadow: 0 12px 30px rgba(255, 242, 63, 0.18);
    font-size: 0.72rem;
    font-weight: 950;
    text-decoration: none;
    text-transform: uppercase;
    pointer-events: auto;
  }

  .mobile-map-rail {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 12px;
    scroll-padding-inline: 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    pointer-events: auto;
  }

  .mobile-map-rail::-webkit-scrollbar {
    display: none;
  }

  .mobile-map-rail button {
    flex: 0 0 118px;
    min-height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 9px 10px;
    color: #fff;
    background: rgba(17, 172, 227, 0.16);
    scroll-snap-align: start;
    text-align: left;
  }

  .mobile-map-rail button.is-active {
    border-color: var(--blue);
    color: var(--dark);
    background: var(--blue);
  }

  .mobile-map-rail span,
  .mobile-map-rail strong {
    display: block;
  }

  .mobile-map-rail span {
    margin-bottom: 5px;
    font-size: 0.66rem;
    font-weight: 950;
    opacity: 0.76;
  }

  .mobile-map-rail strong {
    overflow: hidden;
    font-size: 0.75rem;
    font-weight: 950;
    line-height: 1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }
}
