@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
}

:root {
  --bg: #f2f2f3;
  --surface: #e9e9ea;
  --ink: #1d1f20;
  --body: #424244;
  --muted: #5d5d60;
  --faint: #7a7a7d;
  --hair: rgba(29, 31, 32, 0.16);
  --hair-soft: rgba(29, 31, 32, 0.12);
  --accent: #5980a6;
  --accent-100: #eef6ff;
  --accent-700: #416180;
  --accent-deep: #2c455d;
  --navy: #1d2d3d;
  --neutral-200: #e7e7ea;
  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --maxw: 46rem;
  --gutter: 18px;
  --clock: 15%;
}

* { box-sizing: border-box }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 8rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15.5px/1.6 var(--font-body);
}

::selection {
  background: color-mix(in srgb, var(--accent) 24%, transparent);
}

a {
  color: var(--accent-deep);
  text-underline-offset: 3px;
}
a:hover { color: var(--navy) }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.blueprint {
  position: relative;
  border: 1px solid var(--hair);
  border-radius: 0;
}

/* ---------- nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--hair);
}

.site-nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter) 0;
}

.brand {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.brand-left h1 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
}

.brand-left p {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.nav-actions {
  display: flex;
  gap: 6px;
  flex: none;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 8px 13px;
  min-height: 36px;
  border: 1px solid var(--hair);
  background: transparent;
}

.nav-btn:hover {
  color: var(--ink);
  background: var(--neutral-200);
}

.nav-btn.is-active {
  background: var(--navy);
  color: var(--bg);
  border-color: var(--accent);
}

.nav-btn.is-active:hover { color: var(--bg) }

.tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter));
  padding: 10px var(--gutter) 12px;
}

.tabs::-webkit-scrollbar { display: none }

.tab {
  flex: none;
  appearance: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--hair);
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.tab:hover { border-color: var(--accent) }

.tab[aria-selected="true"] {
  background: var(--navy);
  color: var(--bg);
  border-color: var(--accent);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) 4.5rem;
}

.panel { display: none }
.panel.is-active { display: block }

/* ---------- type ---------- */

.kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-700);
  margin: 0 0 8px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.sub {
  color: var(--body);
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* ---------- overview ---------- */

.hero {
  margin: 16px 0 0;
}

.hero img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: var(--neutral-200);
}

.hero-collage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

.hero-collage img {
  min-width: 0;
}

.overview-hero {
  padding: 26px 0 0;
  margin: 0;
  border: 0;
}

.overview-hero h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.overview-hero .sub { margin: 0 0 30px }

.bases {
  display: grid;
  gap: 0;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--hair);
}

.bases li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hair-soft);
  font-size: 14.5px;
  line-height: 1.45;
}

.bases li:last-child { border-bottom: 0 }

.base-tag {
  flex: none;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--navy);
  padding: 4px 9px;
}

.day-index {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
}

.day-index a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 14px 9px 9px;
  border: 1px solid var(--hair);
  text-decoration: none;
  color: inherit;
}

.day-index a:hover {
  background: var(--neutral-200);
  border-color: var(--accent);
  color: inherit;
}

.day-index .hero-strip {
  flex: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: 96px;
  height: 58px;
  overflow: hidden;
  background: var(--neutral-200);
}

.day-index .hero-strip img {
  width: 100%;
  height: 58px;
  object-fit: cover;
  min-width: 0;
  filter: grayscale(0.4);
}

.day-index .n {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-700);
  margin-bottom: 2px;
}

.day-index h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 3px;
}

.day-index p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.costs-box {
  border: 1px solid var(--hair);
  padding: 6px 16px;
  margin-bottom: 10px;
}

.costs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.costs li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid rgba(29, 31, 32, 0.1);
  font-size: 14px;
  line-height: 1.4;
}

.costs b { font-weight: 600 }

.costs .amt {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.costs-pending .amt {
  color: var(--muted);
  font-weight: 500;
}

.costs-total {
  border-bottom: 0;
  padding: 14px 0 13px;
}

.costs-total .amt {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--navy);
}

.costs-note {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0 0 32px;
}

.swap-note {
  margin: 0 0 26px;
  padding: 15px 17px;
  background: transparent;
  border: 1px solid var(--accent);
  border-left-width: 3px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--accent-deep);
  text-wrap: pretty;
}

.offline-note {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ---------- packing ---------- */

.pack-head { padding: 26px 0 0 }

.pack-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.pack-head .sub { margin: 0 0 26px; font-size: 15px }

.pack-sec { margin-bottom: 26px }

.pack-sec h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.pack-box-list { border: 1px solid var(--hair) }

.pack-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid var(--hair-soft);
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.pack-item:last-child { border-bottom: 0 }
.pack-item:hover { background: var(--neutral-200) }
.pack-item.is-done { background: var(--accent-100) }
.pack-item.is-done:hover { background: var(--accent-100) }

.pack-box {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border: 1.5px solid rgba(29, 31, 32, 0.32);
  background: transparent;
}

.pack-item.is-done .pack-box {
  border-color: var(--accent);
  background: var(--accent);
}

.pack-text {
  min-width: 0;
  font-size: 14.5px;
  line-height: 1.5;
  text-wrap: pretty;
}

.pack-item.is-done .pack-text { color: var(--accent-deep) }

/* ---------- day header ---------- */

.day-head {
  padding: 22px 0 0;
  margin: 0;
  border: 0;
}

.day-head h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0 0 10px;
  text-wrap: pretty;
}

.day-head--opts h2 { margin-bottom: 0 }

.day-opts {
  display: flex;
  gap: 0;
  margin: 14px 0 18px;
  padding: 0;
  border: 1px solid var(--hair);
  overflow: visible;
}

.day-opt {
  flex: 1;
  min-width: 0;
  appearance: none;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--hair);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  text-align: left;
  padding: 10px 13px;
  margin: 0;
  white-space: normal;
}

.day-opt:first-child { border-left: 0 }

.day-opt:hover { background: var(--neutral-200) }

.day-opt[aria-selected="true"] {
  background: var(--navy);
  color: var(--bg);
}

.day-opt[aria-selected="true"]:hover { background: var(--navy) }

.day-opt-kicker {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 2px;
}

.day-opt-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.option-head {
  border: 0;
  padding: 0;
  margin: 0;
}

.option-head .sub { margin-top: 0 }

.day-head .sub:has(+ .flag),
.option-head .sub:has(+ .flag) { margin-bottom: 0.55rem }

.day-head .flag,
.option-head .flag { margin: 0 0 18px }

.day-option[hidden] { display: none !important }

.stats-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 16px 0 4px;
  border-top: 1px solid var(--hair);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.stats div {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.stats b {
  display: block;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  line-height: 1.2;
  margin-top: 2px;
}

.expand-all {
  appearance: none;
  flex: none;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: transparent;
  border: 1px solid var(--hair);
  padding: 7px 14px;
  cursor: pointer;
  white-space: nowrap;
  margin: 0 0 0 auto;
}

.expand-all:hover { background: var(--neutral-200) }

.route-link {
  display: block;
  border: 1px solid var(--hair);
  border-radius: 0;
  background: transparent;
  padding: 14px 16px;
  margin: 18px 0 0;
  text-decoration: none;
  color: var(--accent-deep);
}

.route-link:hover {
  background: var(--neutral-200);
  color: var(--accent-deep);
}

.route-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.route-note {
  display: block;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- timeline ---------- */

ol.day {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
}

.stop { list-style: none }

.stop-card { background: transparent }

.stop--rest .stop-card {
  background: color-mix(in srgb, var(--surface) 50%, transparent);
}

.stop:has(details[open]) .stop-card { background: var(--surface) }

.content > summary,
.stop-static-head {
  list-style: none;
  display: grid;
  grid-template-columns: var(--clock) 1px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  width: 100%;
  padding: 14px 15px;
  cursor: pointer;
}

.stop-static-head {
  grid-template-columns: var(--clock) 1px minmax(0, 1fr);
  cursor: default;
}

.content > summary::-webkit-details-marker { display: none }

.content > summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  justify-self: end;
}

.content[open] > summary::after {
  margin-top: 10px;
  transform: rotate(-135deg);
}

.clock {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  padding: 0;
  min-width: 0;
  overflow-wrap: break-word;
}

.clock span {
  display: block;
  font-weight: 400;
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.2;
  margin: 0;
}

.stop-rule {
  width: 1px;
  background: var(--hair);
  align-self: stretch;
}

.stop-heading {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stop-thumb {
  flex: none;
  width: 58px;
  height: 58px;
  object-fit: cover;
  background: var(--neutral-200);
  filter: grayscale(0.4);
}

.stop-copy {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.stop-heading h2,
.content h2 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0;
  text-wrap: pretty;
  color: var(--ink);
}

.cost {
  display: inline-block;
  margin: 0;
  padding: 3px 9px;
  border: 1px solid var(--accent);
  border-radius: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-deep);
  vertical-align: middle;
  white-space: nowrap;
}

.opt-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(29, 31, 32, 0.24);
  padding: 2px 8px;
  white-space: nowrap;
}

.stop-body { padding: 0 15px 16px }

.stop-body p {
  margin: 0 0 11px;
  font-size: 14.5px;
  line-height: 1.62;
  color: #2b2b2d;
  text-wrap: pretty;
}

.stop-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.stop-list li {
  position: relative;
  margin: 0;
  padding-left: 16px;
  font-size: 14.5px;
  line-height: 1.62;
  color: #2b2b2d;
  text-wrap: pretty;
}

.stop-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
}

.links a {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: none;
  border: 1px solid var(--accent);
  padding: 4px 10px;
}

.links a:hover {
  background: var(--accent-100);
  color: var(--accent-deep);
}

.flag {
  margin: 4px 0 12px;
  padding: 12px 15px;
  background: transparent;
  border: 1px solid var(--accent);
  border-left-width: 3px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--accent-deep);
}

.day-head .flag,
.option-head .flag {
  font-size: 14px;
  padding: 13px 16px;
}

.connector {
  margin: 0;
  padding: 0;
  background: none;
  box-shadow: none;
  list-style: none;
}

.connector-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 0;
  color: inherit;
  text-decoration: none;
}

.connector-inner:hover { color: var(--accent-deep) }

.connector-place {
  flex: 0 1 auto;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  min-width: 0;
}

.connector-place:last-of-type { text-align: right }

.connector-inner:hover .connector-place { color: var(--accent-deep) }

.connector-inner .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
}

.connector-inner .line {
  flex: 1 1 0;
  height: 0;
  border-top: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  min-width: 0.6rem;
}

.connector-time {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  margin: 0;
}

figure { margin: 4px 0 }
figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  background: var(--neutral-200);
  filter: grayscale(0.35);
}

.gallery {
  display: grid;
  gap: 10px;
  margin: 4px 0;
}

.gallery figure { margin: 0 }

@media (min-width: 560px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.day-foot {
  margin: 30px 0 0;
  padding: 0;
  border: 0;
  font-size: 13.5px;
  color: #2b2b2d;
}

.before-box {
  padding: 18px 18px 12px;
  margin-bottom: 18px;
}

.before-box h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

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

.before-box li {
  position: relative;
  margin: 0;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.6;
  text-wrap: pretty;
}

.before-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.day-foot .after {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- breakpoints ---------- */

@media (max-width: 559px) {
  html { scroll-padding-top: 8.25rem }
  .overview-hero h2 { font-size: 36px }
  .day-head h2 { font-size: 32px }
  .pack-title { font-size: 32px }
  .stats { gap: 16px 24px }
}

@media (min-width: 768px) {
  .stats { gap: 20px 32px }
}

@media print {
  .site-nav { position: static }
  .tabs,
  .nav-btn,
  .expand-all,
  .day-opts { display: none }
  .panel { display: block !important }
  .day-option[hidden] { display: block !important }
  .day-option + .day-option {
    break-before: page;
    margin-top: 2rem;
    padding-top: 1rem;
  }
  .day-option::before {
    content: attr(data-print-label);
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    margin: 0 0 0.75rem;
  }
  .stop,
  .connector { break-inside: avoid }
  .content > summary { cursor: default }
  .content > summary::after { display: none }
  .stop details > *:not(summary) { display: block !important }
  figure { display: none }
}
