/* Miles — trips.ostroff.la. Aligned to ostroff.la. Aug 21, 2026. */
:root {
  --bg: #fafafa;
  --ink: #0a0a0a;
  --ink-2: #141414;
  --panel: #ffffff;
  --panel-2: #ffffff;
  --line: #ededed;
  --line-soft: #e5e5e5;
  --paper: #0a0a0a;
  --paper-2: #0a0a0a;
  --cream: #ffffff;
  --text: #0a0a0a;
  --text-dim: #737373;
  --muted: #a3a3a3;
  --gold: #0a0a0a;
  --gold-2: #0a0a0a;
  --clay: #0a0a0a;
  --sea: #525252;
  --forest: #404040;
  --indigo: #525252;
  --wine: #404040;
  --ok: #0a0a0a;
  --shadow: none;
  --serif: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --map-h: 420px;
  --nav-h: 58px;
  --accent: #0a0a0a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --ink: #fafafa;
    --ink-2: #141414;
    --panel: #141414;
    --panel-2: #141414;
    --line: #262626;
    --line-soft: #333333;
    --paper: #fafafa;
    --paper-2: #fafafa;
    --cream: #141414;
    --text: #fafafa;
    --text-dim: #a3a3a3;
    --muted: #737373;
    --gold: #fafafa;
    --gold-2: #fafafa;
    --clay: #fafafa;
    --sea: #a3a3a3;
    --forest: #a3a3a3;
    --indigo: #a3a3a3;
    --wine: #a3a3a3;
    --ok: #fafafa;
    --accent: #fafafa;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font: 16px/1.55 var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* —— Chrome —— */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px 10px;
  max-width: 1240px;
  margin: 0 auto;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand .mark {
  font-family: var(--sans);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 500;
  letter-spacing: -.04em;
  text-transform: none;
  color: var(--ink);
  line-height: 1;
}
.brand .mark .dim { color: var(--muted); font-weight: 400; }
.brand .who {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--text-dim);
}
.site-head .meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
  text-align: right;
}


/* —— Gate —— */
.view.gate {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 80px;
}
.gate-card {
  width: min(420px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 28px 28px;
  box-shadow: none;
}
.gate-kicker {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: -.01em;
  text-transform: none;
  color: var(--text-dim);
  margin: 0 0 10px;
}
.gate-card h1 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 550;
  margin: 0 0 8px;
  letter-spacing: -.03em;
}
.gate-help { margin: 0 0 22px; color: var(--text-dim); font-size: 14px; }
.gate-card input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  color: var(--text);
  font: 22px/1.2 var(--sans);
  letter-spacing: .2em;
  padding: 14px 14px;
  margin-bottom: 14px;
}
.gate-card input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.gate-card button {
  width: 100%;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: 10px;
  font: 600 15px/1 var(--sans);
  letter-spacing: .04em;
  padding: 13px 16px;
  cursor: pointer;
}
.gate-card button:hover { background: var(--gold-2); }
.gate-err { color: var(--clay); font-size: 13px; margin: 12px 0 0; }
.back-pairs {
  display: inline-block;
  font-size: 13px;
  color: var(--gold-2);
  margin-bottom: 12px;
}
.ideas-head {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 550;
  margin: 36px 0 14px;
}
.idea-card { cursor: default; min-height: 0; }
.idea-card:hover { transform: none; border-color: var(--line); }
.pair-card .who { margin-bottom: 8px; }


.gate-pic {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 0 16px;
  border: 1px solid var(--line);
}
.miles-home {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  max-width: 820px;
  padding: 12px 0 36px;
}
.miles-pic {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: none;
  background: var(--line);
}
.miles-copy h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0 0 12px;
}
.miles-copy p {
  margin: 0 0 12px;
  color: var(--text-dim);
  font-size: 17px;
  max-width: 52ch;
}
.miles-sub {
  color: var(--text) !important;
  font-weight: 550;
  margin-top: 8px !important;
}
@media (max-width: 720px) {
  .miles-home { grid-template-columns: 1fr; padding-top: 8px; }
  .miles-pic { width: 160px; height: 160px; }
}
/* —— Hub —— */
.hub { max-width: 1240px; margin: 0 auto; padding: 12px 28px 80px; }
.hub-hero { max-width: 680px; padding: 4px 0 18px; }
.hub-hero h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 550;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0 0 8px;
}
.hub-hero p {
  margin: 0;
  color: var(--text-dim);
  font-size: 17px;
  max-width: 52ch;
}

.trip-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.trip-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 0 16px;
  color: inherit;
  text-decoration: none;
  box-shadow: none;
  transition: border-color .2s ease;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.trip-card .cover {
  height: 168px;
  background: var(--line) center/cover no-repeat;
}
.trip-card .card-body { padding: 16px 20px 2px; }
.trip-card:hover {
  border-color: var(--line-soft);
  text-decoration: none;
}
.trip-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 40%;
  height: 180px;
  background: none;
  pointer-events: none;
}
.trip-card .kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.trip-card h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 550;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.trip-card .who { color: var(--text-dim); margin: 0 0 14px; font-size: 15px; }
.trip-card .dates {
  font-size: 14px;
  color: var(--text);
  margin: 0 0 6px;
}
.trip-card .variants {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  color: var(--text-dim);
  background: transparent;
}
.pill.draft::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink);
}

/* —— Sticky trip switcher —— */
.switcher {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.switcher-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-height: var(--nav-h);
}
.switcher .back {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 6px 10px 6px 0;
  border-right: 1px solid var(--line);
  margin-right: 4px;
}
.switcher .back:hover { color: var(--paper); text-decoration: none; }
.switcher .trip-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 550;
}
.switcher .pills { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.switcher button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 14px;
  font: 600 13px/1 var(--sans);
  cursor: pointer;
}
.switcher button[aria-selected="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* —— Trip view —— */
.view { display: none; }
.view.active { display: block; }

.trip-page { max-width: 1240px; margin: 0 auto; padding: 16px 28px 72px; }

.trip-hero-wrap { margin-bottom: 8px; }
.trip-concept {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 760px;
  padding: 0 0 8px;
}
.trip-faces .portrait { width: 72px; height: 72px; }
.trip-concept h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 550;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0 0 4px;
}
.who-line {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 600;
}
.trip-date { margin: 0 0 10px; font-size: 14px; color: var(--text-dim); }
.trip-concept .lede { margin: 0 0 10px; color: var(--text); max-width: 62ch; }
.trip-concept .theme { margin: 0; font-size: 14.5px; color: var(--text-dim); max-width: 62ch; }
.trip-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 6px;
}
.trip-toggles a {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 14px;
  font: 600 13px/1 var(--sans);
  text-decoration: none;
}
.trip-toggles a:hover { text-decoration: none; border-color: var(--line-soft); }
.trip-toggles a.on {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.miles-note {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-dim);
}
.layout[hidden] { display: none !important; }
.schedule .month-list { max-width: none; }


.hero-facts {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
  align-items: start;
}
.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 550;
  letter-spacing: -.03em;
  line-height: 1.12;
  margin: 0 0 10px;
}
.hero-copy .lede {
  color: var(--text-dim);
  margin: 0 0 16px;
  max-width: 62ch;
}
.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.fact {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 13px;
}
.fact strong {
  display: block;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
  font-weight: 650;
}
.fact span { font-size: 14px; color: var(--text); }

.alert {
  grid-column: 1 / -1;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
}
.alert.gold {
  background: var(--bg);
  border-color: var(--line);
}
.alert b { color: var(--gold-2); font-weight: 650; }

.note {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--text);
}

/* —— Map + schedule —— */
.layout {
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) minmax(320px, 1fr);
  gap: 20px;
  align-items: start;
}
.map-wrap {
  position: sticky;
  top: calc(var(--nav-h) + 12px);
  height: calc(100vh - var(--nav-h) - 36px);
  min-height: 360px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: none;
  background: var(--panel);
}
#map { width: 100%; height: 100%; }
.map-caption {
  position: absolute;
  left: 10px; bottom: 28px; z-index: 500;
  font-size: 11px;
  color: #3a3a3a;
  background: rgba(255,255,255,.86);
  padding: 4px 8px;
  border-radius: 6px;
  pointer-events: none;
  font-family: var(--sans);
}

.schedule h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 550;
  margin: 0 0 4px;
}
.schedule .summary {
  color: var(--text-dim);
  margin: 0 0 16px;
  font-size: 14.5px;
}

.day {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px 13px;
  margin: 0 0 10px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.day:hover { border-color: var(--line-soft); }
.day.active {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.when .dow {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}
.when .date {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.tag {
  display: inline-block;
  margin-top: 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--text-dim);
  background: var(--bg);
  border: 1px solid var(--line);
}
.tag.arrive, .tag.travel, .tag.sumo, .tag.city, .tag.sport, .tag.sea { background: var(--bg); color: var(--text-dim); }
.day h3 { margin: 0 0 6px; font-size: 17px; font-family: var(--serif); font-weight: 550; }
.day p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.5; }
.day p:last-child { margin-bottom: 0; }
.day ul { margin: 6px 0 0; padding-left: 1.15em; color: #4a453e; font-size: 13.5px; }
.day li { margin: 0 0 3px; }
.places { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.place-chip {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  border-radius: 999px;
  padding: 3px 9px;
  font: 600 12px/1.3 var(--sans);
  cursor: pointer;
}
.place-chip:hover, .place-chip:focus { border-color: var(--ink); outline: none; }

/* Leaflet marker */
.num-marker {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #fafafa;
  border: 2px solid #fafafa;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  font: 700 12px/24px var(--sans);
  text-align: center;
}
.num-marker.opt { background: #525252; }
.leaflet-popup-content-wrapper {
  border-radius: 10px;
  font-family: var(--sans);
}
.leaflet-popup-content { margin: 10px 12px; font-size: 13px; }
.leaflet-popup-content strong { display: block; font-size: 14px; margin-bottom: 2px; }

footer.site-foot {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px 40px;
  color: var(--muted);
  font-size: 13px;
}

/* —— Responsive —— */
@media (max-width: 920px) {
  .hero-facts { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .map-wrap {
    position: relative;
    top: auto;
    height: 42vh;
    min-height: 280px;
  }
}
@media (max-width: 640px) {
  .site-head, .hub, .trip-page, .switcher-inner, footer.site-foot { padding-left: 16px; padding-right: 16px; }
  .hub-hero h1 { font-size: 32px; }
  .day { grid-template-columns: 1fr; gap: 6px; }
  .fact-grid { grid-template-columns: 1fr; }
  .switcher .pills { margin-left: 0; width: 100%; }
  .switcher button { flex: 1; }
}

/* —— Print —— */
@page { margin: 14mm; }
@media print {
  body { background: #fff; color: #111; }
  .switcher, .map-wrap, .map-caption { display: none !important; }
  .view { display: none !important; }
  .view.active { display: block !important; }
  .trip-page, .hub { max-width: none; padding: 0; }
  .site-head .meta { color: #444; }
  .brand .who, .hub-hero h1, .hero-copy h1, .hero-copy .lede,
  .schedule h2, .schedule .summary, .trip-card { color: #111; }
  .trip-card { background: #fff; border: 1px solid #ccc; box-shadow: none; }
  .fact, .alert, .note, .day {
    background: #fff !important;
    color: #111 !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
  .fact span, .alert, .note, .day p, .day ul { color: #222 !important; }
  .layout { display: block; }
  .place-chip { border-color: #999; }
  a { color: #111; text-decoration: none; }
  footer.site-foot { color: #444; padding: 16px 0 0; }
}


.hotels { margin-top: 22px; }
.hotels h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 550;
  margin: 0 0 4px;
}
.hotels-lead {
  margin: 0 0 14px;
  color: var(--text-dim);
  font-size: 13px;
}
.hotel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px) { .hotel-grid { grid-template-columns: 1fr; } }
.hotel-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 15px 13px;
  cursor: pointer;
  transition: border-color .15s, transform .15s;
}
.hotel-card:hover { border-color: var(--line-soft); transform: none; }
.hotel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.hotel-badge {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--ink);
  padding: 2px 7px;
  border-radius: 999px;
}
.hotel-area { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.hotel-card h4 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 550;
  margin: 0 0 2px;
  letter-spacing: -.01em;
}
.hotel-brand { margin: 0 0 8px; font-size: 12px; color: var(--gold); }
.hotel-price { margin: 8px 0 8px; font-family: var(--serif); font-size: 22px; font-weight: 550; color: var(--gold-2); letter-spacing: -.02em; }
.hotel-price span { font-family: var(--sans); font-size: 12px; font-weight: 450; color: var(--muted); letter-spacing: 0; }
.hotel-why { margin: 0 0 8px; font-size: 13.5px; color: var(--text); }
.hotel-walk, .hotel-rate { margin: 0 0 4px; font-size: 12.5px; color: var(--text-dim); }
.hotel-rating { margin: 8px 0 10px; font-size: 13px; color: var(--paper); }
.hotel-rating strong { color: var(--gold-2); font-size: 16px; }
.hotel-links { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; }
.hotel-links a { color: var(--gold-2); }
@media print {
  .hotel-card { background: #fff !important; color: #111 !important; border: 1px solid #ccc !important; }
  .hotel-why, .hotel-walk, .hotel-rate { color: #333 !important; }
}

.extra {
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.extra h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 550;
  margin: 0 0 8px;
}
.extra ul { margin: 0; padding-left: 1.15em; color: var(--text-dim); font-size: 13.5px; }
.extra li { margin: 0 0 6px; }
.extra.sources ul { columns: 2; }
@media (max-width: 640px) { .extra.sources ul { columns: 1; } }
@media print {
  .extra { background: #fff !important; color: #111 !important; border: 1px solid #ccc !important; }
  .extra ul { color: #222 !important; columns: 1; }
}

.month-list {
  display: block;
  max-width: 780px;
}
.month-row {
  margin: 0 0 18px;
  padding: 12px 0 14px;
  border-bottom: 1px solid var(--line);
}
.month-row h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
  letter-spacing: -.02em;
}
.month-row ol {
  margin: 0;
  padding-left: 1.2em;
  color: var(--text-dim);
  font-size: 14.5px;
}
.month-row li { margin: 0 0 6px; line-height: 1.45; }
.month-row li strong { color: var(--text); font-weight: 600; }

.sport {
  display: inline-block;
  font-size: 1.15em;
  line-height: 1;
  margin-right: 8px;
  vertical-align: -2px;
}
.kicker .sport { font-size: 1.35em; margin-right: 10px; }
.month-row li .sport { margin-right: 6px; }

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.15rem clamp(1.25rem, 4vw, 2.5rem) 3rem;
}
.hub-head {
  text-align: center;
  margin-bottom: 1.35rem;
}
.hub-head .mark {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.55rem, 3.6vw, 2rem);
  letter-spacing: -0.04em;
  margin: 0;
  line-height: 1;
  color: var(--ink);
}
.hub-head .mark .dim { color: var(--muted); font-weight: 400; }
.hub-head .tag {
  margin-top: 0.3rem;
  color: var(--text-dim);
  font-size: 0.82rem;
  letter-spacing: -0.005em;
  background: none;
  border: 0;
  padding: 0;
  text-transform: none;
  font-weight: 400;
}
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 760px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: var(--line-soft); }
.portrait-wrap { margin-bottom: 1.25rem; }
.portrait-wrap.stacked { display: flex; align-items: center; }
.portrait-wrap.stacked .portrait + .portrait,
.portrait-wrap.stacked .portrait + .mono-face { margin-left: -18px; }
.portrait, .mono-face {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--line);
  display: block;
  border: 2px solid var(--panel);
}
.mono-face {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--text-dim);
}
.name {
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  margin: 0 0 0.35rem;
}
.role {
  color: var(--text-dim);
  font-size: 0.875rem;
  margin: 0 0 1rem;
}
.bio {
  color: var(--text);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}
.links {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.links a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.links a:hover { text-decoration: none; padding-left: 0.25rem; padding-right: 0.25rem; }
.links .title-col { display: flex; flex-direction: column; gap: 0.15rem; }
.links .note { color: var(--text-dim); font-weight: 400; font-size: 0.78rem; }
.links .host { color: var(--text-dim); font-weight: 400; font-size: 0.8rem; font-family: var(--mono); }
.links a:hover .arrow { display: inline-block; transform: translateX(2px); }
.gate-card { max-width: 420px; margin: 0 auto; }
.gate-card input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  color: var(--text);
  font: 22px/1.2 var(--sans);
  letter-spacing: 0.16em;
  padding: 12px 14px;
  margin: 0 0 12px;
}
.gate-card input:focus { outline: 2px solid var(--ink); }
.gate-card button {
  width: 100%;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: 10px;
  font: 600 15px/1 var(--sans);
  padding: 13px 16px;
  cursor: pointer;
}
.mono { font-family: var(--mono); }
.view.gate { min-height: auto; display: none; padding: 0; }
.view.gate.active { display: block; }
.hub { max-width: none; padding: 0 0 40px; }

.layout.no-map { grid-template-columns: 1fr; }
.layout.no-map .map-wrap { display: none; }
.city-row { cursor: default; }
.city-preview {
  position: fixed;
  z-index: 40;
  width: 280px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  pointer-events: none;
}
.city-preview[hidden] { display: none !important; }
#city-preview-map { height: 200px; }
#city-preview-label {
  margin: 0;
  padding: 8px 12px 10px;
  font-size: 13px;
  font-weight: 550;
}
@media (max-width: 720px) {
  .trip-concept { flex-direction: column; align-items: flex-start; }
  .city-preview { display: none !important; }
}
