:root {
  --bg: #0f1420;
  --panel: #161d2c;
  --panel-2: #1a2338;
  --border: #2a3550;
  --text: #eef1f7;
  --muted: #8d96b0;
  --blue: #4f8fe0;
  --blue-soft: rgba(79, 143, 224, .18);
  --teal: #5aa7b8;
  --coral: #d9634a;
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(ellipse at top left, #1a2338 0%, var(--bg) 55%), var(--bg);
  font: 16px/1.6 "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}

a { color: inherit; }

.site-nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.brand {
  color: var(--text);
  font: 600 1.05rem/1 Fraunces, Georgia, serif;
  text-decoration: none;
}

.nav-links { display: flex; gap: 8px; }

.nav-links a {
  padding: 8px 12px;
  color: var(--muted);
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] { color: var(--text); background: var(--blue-soft); outline: none; }

.home-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 152px);
  margin: 0 auto;
  gap: clamp(36px, 8vw, 100px);
  padding: 64px 0 86px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: Fraunces, Georgia, "Times New Roman", serif; }

.home-copy h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3rem, 9vw, 7.2rem);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: .9;
}

.home-copy .intro {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.contact-panel {
  overflow: hidden;
  background: rgba(22, 29, 44, .88);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}

.panel-label {
  margin: 0;
  padding: 18px 22px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-link {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px 22px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.contact-link + .contact-link { border-top: 1px solid var(--border); }
.contact-link:hover, .contact-link:focus-visible { background: var(--blue-soft); outline: none; }
.contact-link:hover .arrow { transform: translateX(4px); }

.contact-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid rgba(79, 143, 224, .35);
  border-radius: 10px;
  font-weight: 800;
}

.contact-mark--linkedin {
  color: #fff;
  background: #0a66c2;
  border-color: #0a66c2;
}

.contact-mark--x {
  color: #fff;
  background: #000;
  border-color: rgba(255, 255, 255, .32);
}

.contact-mark--strava {
  color: #fff;
  background: #fc4c02;
  border-color: #fc4c02;
}

.contact-copy strong { display: block; font-size: 1.05rem; }
.contact-copy span { color: var(--muted); font-size: .82rem; }
.arrow { color: var(--muted); font-size: 1.25rem; transition: transform .2s ease; }

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 34px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: .78rem;
}

.trip-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: min(var(--max), calc(100% - 40px));
  min-height: min(620px, 72vh);
  margin: 34px auto 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.trip-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.trip-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,20,32,.96) 0%, rgba(15,20,32,.82) 38%, rgba(15,20,32,.15) 74%), linear-gradient(0deg, rgba(15,20,32,.74), transparent 55%); }

.trip-hero-copy { position: relative; z-index: 1; max-width: 720px; padding: clamp(28px, 6vw, 70px); }
.trip-hero h1 { margin: 0; font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 600; letter-spacing: -.045em; line-height: .94; }
.trip-hero .intro { margin: 22px 0 0; color: #c9cfdd; font-size: clamp(1rem, 2vw, 1.2rem); }

.route-strip {
  position: relative;
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  margin: 30px auto 0;
  padding: 20px 0 6px;
  overflow-x: auto;
}

.route-strip::before { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 1px; background: var(--border); }
.route-stop { position: relative; flex: 1 0 135px; color: var(--muted); text-align: center; font-size: .8rem; font-weight: 700; }
.route-stop::before { content: ""; position: absolute; top: -16px; left: 50%; width: 10px; height: 10px; transform: translateX(-50%); background: var(--blue); border: 2px solid var(--bg); border-radius: 50%; }

.trip-main { width: min(var(--max), calc(100% - 40px)); margin: 58px auto 90px; }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 24px; }
.section-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -.03em; }
.section-head p { max-width: 480px; margin: 0; color: var(--muted); }

.itinerary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.day-card { display: grid; grid-template-columns: 72px 1fr; gap: 18px; min-height: 170px; padding: 22px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; }
.day-date { align-self: start; padding: 9px 6px; color: var(--blue); background: var(--blue-soft); border: 1px solid rgba(79,143,224,.35); border-radius: 8px; text-align: center; font-size: .72rem; font-weight: 800; line-height: 1.15; text-transform: uppercase; }
.day-date b { display: block; color: var(--text); font: 600 1.65rem/1.15 Fraunces, Georgia, serif; }
.day-card h3 { margin: 0 0 6px; font-size: 1.18rem; font-weight: 600; }
.day-card p { margin: 0; color: var(--muted); }
.day-type { display: inline-block; margin-top: 12px; color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.trip-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 44px; }
.note-card { padding: 26px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; }
.note-card.watch { border-color: var(--coral); box-shadow: 0 0 0 1px rgba(217,99,74,.14); }
.note-card h2 { margin: 0; font-size: 1.4rem; font-weight: 600; }
.note-card p, .note-card li { color: var(--muted); }
.note-card ul { margin: 14px 0 0; padding-left: 20px; }
.note-card li + li { margin-top: 7px; }
.weather-link { display: inline-flex; margin-top: 12px; color: var(--blue); font-weight: 750; text-decoration: none; }

@media (max-width: 800px) {
  .home-shell { grid-template-columns: 1fr; min-height: auto; padding: 56px 0 72px; }
  .home-copy h1 { font-size: clamp(3rem, 20vw, 5.4rem); }
  .section-head { display: block; }
  .section-head p { margin-top: 10px; }
  .itinerary, .trip-notes { grid-template-columns: 1fr; }
  .trip-hero { min-height: 560px; }
  .trip-hero::after { background: linear-gradient(0deg, rgba(15,20,32,.98) 0%, rgba(15,20,32,.70) 55%, rgba(15,20,32,.12) 100%); }
}

@media (max-width: 520px) {
  .site-nav { width: min(100% - 28px, var(--max)); min-height: 66px; }
  .nav-links a { padding: 7px 9px; }
  .home-shell, .trip-main, .route-strip, .site-footer { width: min(100% - 28px, var(--max)); }
  .trip-hero { width: 100%; margin-top: 0; border-left: 0; border-right: 0; border-radius: 0; }
  .trip-hero-copy { padding: 28px 20px 34px; }
  .day-card { grid-template-columns: 62px 1fr; padding: 18px; }
  .site-footer { display: block; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
