:root {
  --ink: #073f5f;
  --ink-soft: #416477;
  --cream: #fff9ef;
  --paper: #fff8ee;
  --white: #ffffff;
  --terracotta: #ff5c58;
  --terracotta-dark: #b72f44;
  --sun: #ffe06b;
  --sage: #2ee3ba;
  --sky: #13dbff;
  --teal: #0075ff;
  --line: rgba(7, 63, 95, .15);
  --shadow: 0 20px 60px rgba(7, 98, 130, .16);
  --radius: 24px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 32%, rgba(19,219,255,.25), transparent 18%),
    radial-gradient(circle at 94% 58%, rgba(255,224,107,.22), transparent 19%),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 84% 13%, rgba(255,225,137,.96) 0 66px, rgba(255,225,137,.26) 67px 91px, transparent 92px),
    linear-gradient(104deg, rgba(0,40,103,.96) 0%, rgba(0,78,174,.84) 41%, rgba(0,91,172,.48) 70%, rgba(20,45,90,.30) 100%),
    url('plaza-espana.jpg') center 53% / cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.16) 1.2px, transparent 1.4px),
    linear-gradient(112deg, transparent 62%, rgba(255,255,255,.07) 62% 63%, transparent 63%);
  background-size: 25px 25px, 100% 100%;
  -webkit-mask-image: linear-gradient(to right, black, transparent 42%, black);
  mask-image: linear-gradient(to right, black, transparent 42%, black);
  opacity: .7;
}
.topbar,
.hero-grid,
.planner-section,
.pocket-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.wordmark {
  display: flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}
.wordmark-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  font: italic 21px/1 var(--serif);
}
.top-actions { display: flex; align-items: center; gap: 12px; }
.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.privacy-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(255,211,111,.18); }
.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.icon-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.icon-button:hover, .icon-button:focus-visible { background: rgba(255,255,255,.12); }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 92px;
  align-items: center;
  padding: 86px 0 110px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--sun);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.terracotta { color: var(--terracotta); }
.eyebrow.cream { color: rgba(245,237,221,.72); }
.hero h1 {
  margin: 0;
  max-width: 720px;
  font: 400 clamp(58px, 7vw, 94px)/.94 var(--serif);
  letter-spacing: -.055em;
}
.hero h1 em { color: var(--sun); font-weight: 400; }
.hero-intro {
  max-width: 620px;
  margin: 28px 0 32px;
  color: rgba(255,249,233,.88);
  font-size: 18px;
}
.countdown {
  max-width: 600px;
  margin: 0 0 28px;
  padding: 16px 18px 14px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 20px;
  background: rgba(4,59,83,.2);
  box-shadow: 0 16px 38px rgba(4,58,77,.15);
  backdrop-filter: blur(10px);
}
.countdown-topline { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; color: rgba(255,255,255,.88); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.countdown-topline span:last-child { color: var(--sun); }
.countdown-units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown-units div { display: grid; gap: 2px; padding: 8px 7px 7px; border-radius: 13px; background: rgba(255,255,255,.13); text-align: center; }
.countdown-units strong { color: var(--white); font: 400 clamp(1.55rem, 3vw, 2.05rem)/1 var(--serif); font-variant-numeric: tabular-nums; }
.countdown-units span { color: rgba(255,255,255,.76); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.countdown-status { margin: 10px 0 0; color: rgba(255,255,255,.8); font-size: .78rem; }
.weather-widget {
  max-width: 600px;
  margin: 0 0 28px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 20px;
  background: rgba(4,59,83,.2);
  box-shadow: 0 16px 38px rgba(4,58,77,.15);
  backdrop-filter: blur(10px);
}
.weather-widget-live { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto 38px; gap: 14px; align-items: center; padding: 14px 16px 34px; }
.weather-sun {
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: #8d3340;
  background: var(--sun);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.weather-sun svg { width: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2.5; }
.weather-copy { min-width: 0; }
.weather-kicker { margin: 0 0 2px; color: var(--sun); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.weather-widget h2 { margin: 0; color: var(--white); font: 400 1.55rem/1.1 var(--serif); letter-spacing: -.02em; }
.weather-copy > p:last-child { margin: 4px 0 0; color: rgba(255,255,255,.76); font-size: .78rem; line-height: 1.35; }
.weather-degree { color: var(--sun); }
.weather-metrics { display: flex; gap: 8px; }
.weather-metrics div { display: grid; min-width: 72px; padding: 6px 8px; border-radius: 12px; background: rgba(255,255,255,.11); }
.weather-metrics strong { color: var(--white); font-size: .9rem; line-height: 1.2; }
.weather-metrics span { margin-top: 2px; color: rgba(255,255,255,.68); font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.weather-refresh { display: grid; grid-column: 4; grid-row: 1; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: var(--cream); background: rgba(255,255,255,.08); font: 400 1.15rem/1 var(--sans); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.weather-refresh:hover, .weather-refresh:focus-visible { transform: rotate(35deg); background: rgba(255,255,255,.18); }
.weather-source { position: absolute; right: 16px; bottom: 9px; left: 16px; margin: 0; color: rgba(255,255,255,.62); font-size: .64rem; }
.weather-source a { color: inherit; text-underline-offset: 2px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #8d3340; background: var(--sun); box-shadow: 0 10px 28px rgba(133,77,35,.22); }
.button-ghost { color: var(--cream); border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.05); }

.trip-card {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  background: rgba(255,255,255,.15);
  box-shadow: 0 30px 80px rgba(11,78,79,.2);
  backdrop-filter: blur(8px);
}
.portrait-frame {
  position: relative;
  aspect-ratio: 1.55 / 1;
  margin: -12px -12px 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 19px;
  background: #247e85;
  box-shadow: 0 16px 35px rgba(34,89,91,.18);
}
.portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(15,37,33,.72), transparent 42%);
}
.portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  transform: scale(1.2);
  transform-origin: 50% 45%;
}
.portrait-frame figcaption {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 11px;
  left: 14px;
  color: rgba(255,255,255,.9);
  font: italic 14px/1.2 var(--serif);
  letter-spacing: .01em;
}
.trip-card-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mini-label { color: rgba(255,249,233,.75); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.terrace-badge { padding: 5px 9px; border-radius: 999px; color: var(--cream); background: rgba(255,211,111,.24); font-size: 11px; }
.trip-card h2 { margin: 28px 0 10px; font: 400 36px/1.05 var(--serif); }
.trip-card h2 span { color: var(--sun); }
.trip-card > p { margin: 0; color: rgba(245,237,221,.68); font-size: 13px; }
.trip-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.trip-dates div { display: grid; gap: 4px; }
.trip-dates span { color: rgba(245,237,221,.55); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.trip-dates strong { font-size: 13px; }
.trip-card .departure-note { margin-top: 17px; color: rgba(245,237,221,.55); font-size: 11px; line-height: 1.5; }
.spotify-player { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.spotify-player p { margin: 0 0 10px; color: rgba(245,237,221,.7); font-size: 12px; line-height: 1.45; }
.spotify-player p span { display: block; margin-bottom: 3px; color: var(--sun); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.spotify-player iframe { display: block; width: 100%; border: 0; }
.arch { position: absolute; border: 2px solid rgba(255,231,157,.26); border-bottom: 0; border-radius: 160px 160px 0 0; }
.arch-one { width: 320px; height: 430px; right: -75px; bottom: -95px; }
.arch-two { width: 180px; height: 245px; right: -5px; bottom: -95px; }

.planner-section { position: relative; padding: 100px 0 112px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 36px; }
.section-heading h2 { margin: 0; font: 400 clamp(40px, 5vw, 60px)/1 var(--serif); letter-spacing: -.04em; }
.progress-card { width: 210px; padding-bottom: 8px; }
.progress-card > span { display: block; margin-bottom: 10px; color: var(--ink-soft); font-size: 12px; font-weight: 700; text-align: right; }
.progress-track { overflow: hidden; height: 5px; border-radius: 99px; background: rgba(32,59,54,.12); }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--terracotta), #f6a858, var(--sun)); transition: width .35s ease; }

.day-switcher { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 4px; border-radius: 19px; background: linear-gradient(90deg, #bdf6ff, #dce7ff); box-shadow: inset 0 0 0 1px rgba(0,117,255,.14); }
.day-tab {
  padding: 17px 22px;
  border: 0;
  border-radius: 15px;
  color: var(--ink-soft);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.day-tab span, .day-tab strong { display: block; }
.day-tab span { margin-bottom: 2px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.day-tab strong { font-size: 16px; }
.day-tab.is-active { color: var(--ink); background: linear-gradient(135deg, var(--white), #fff2b6); box-shadow: 0 8px 22px rgba(0,102,140,.12); }
.day-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 28px 0 0;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.55);
}
.summary-kicker { color: var(--terracotta); font-size: 12px; font-weight: 800; letter-spacing: .05em; }
.day-summary p { max-width: 740px; margin: 4px 0 0; color: var(--ink-soft); font-size: 14px; }
.button-route { flex: 0 0 auto; color: var(--white); background: linear-gradient(135deg, var(--teal), #00bee9); box-shadow: 0 10px 24px rgba(0,117,255,.28); }

.timeline { position: relative; margin-top: 46px; }
.timeline::before { content: ''; position: absolute; top: 20px; bottom: 20px; left: 91px; width: 1px; background: var(--line); }
.stop {
  position: relative;
  display: grid;
  grid-template-columns: 70px 42px 1fr;
  gap: 0 20px;
  padding-bottom: 22px;
}
.stop-time { padding-top: 22px; color: var(--ink); font: 700 14px/1 var(--sans); text-align: right; }
.stop-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: 8px;
  border: 5px solid var(--paper);
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--terracotta), #ff914b);
  box-shadow: 0 0 0 1px rgba(255,92,88,.28);
  cursor: pointer;
}
.stop-marker svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2.3; }
.stop.is-complete .stop-marker { background: var(--ink); }
.stop.is-complete .stop-card { opacity: .9; }
.stop.is-complete .stop-title { text-decoration: line-through; text-decoration-thickness: 1px; }
.stop-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 34px rgba(38,92,95,.06);
  transition: opacity .2s ease, box-shadow .2s ease;
}
.stop-card:hover { box-shadow: var(--shadow); }
.stop-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 24px 26px 22px;
}
.stop-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.kind-pill { padding: 4px 8px; border-radius: 999px; color: #9e382e; background: #ffe0d3; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stop:nth-child(3n + 2) .stop-marker { background: linear-gradient(135deg, var(--teal), var(--sky)); }
.stop:nth-child(3n + 2) .kind-pill { color: #0065c9; background: #c9f8ff; }
.stop:nth-child(3n) .stop-marker { color: #755014; background: linear-gradient(135deg, #ffc75a, #fff19c); }
.stop:nth-child(3n) .kind-pill { color: #76520f; background: #fff1b2; }
.duration { color: #71817d; font-size: 11px; font-weight: 700; }
.stop-title { margin: 0; font: 400 27px/1.12 var(--serif); letter-spacing: -.02em; }
.stop-note { max-width: 740px; margin: 9px 0 0; color: var(--ink-soft); font-size: 14px; }
.expand-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}
.expand-button span { transition: transform .2s ease; }
.stop.is-open .expand-button span { transform: rotate(180deg); }
.stop-details { display: none; padding: 0 26px 25px; }
.stop.is-open .stop-details { display: block; }
.detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.detail-label { display: block; margin-bottom: 7px; color: #75827f; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.detail-copy { margin: 0; color: var(--ink-soft); font-size: 13px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.mini-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.mini-button.primary { color: var(--white); border-color: var(--teal); background: linear-gradient(135deg, var(--teal), #00b9e8); }
.crowd-box { padding: 17px; border-radius: 15px; background: linear-gradient(135deg, #e3fbf6, #e4f7ff); }
.crowd-box strong { display: block; margin-bottom: 5px; color: var(--terracotta-dark); font: 400 17px/1.2 var(--serif); }
.crowd-box p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.crowd-switch { width: 100%; margin-top: 12px; justify-content: center; color: var(--terracotta-dark); border-color: rgba(255,92,88,.26); background: #fff0e9; }
.transition-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 26px;
  border-top: 1px solid rgba(32,59,54,.08);
  color: #71817d;
  background: #fdfaf4;
  font-size: 11px;
}
.transition-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--terracotta); background: #ffe5d6; font-weight: 900; }
.fixed-stop .stop-marker { background: var(--sun); color: var(--terracotta-dark); }
.fixed-stop .stop-card { color: var(--cream); border-color: transparent; background: linear-gradient(135deg, #d95345, #ef7653); box-shadow: 0 17px 42px rgba(189,68,54,.2); }
.fixed-stop .stop-note, .fixed-stop .duration { color: rgba(255,249,233,.9); }
.fixed-stop .kind-pill { color: var(--terracotta-dark); background: var(--sun); }
.fixed-stop .transition-row { color: rgba(245,237,221,.72); border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.05); }
.fixed-stop .expand-button { color: var(--cream); border-color: rgba(255,255,255,.2); }
.fixed-stop .detail-grid { border-color: rgba(255,255,255,.14); }
.fixed-stop .detail-copy { color: rgba(255,249,233,.9); }
.fixed-stop .detail-label { color: rgba(255,249,233,.7); }

.image-stop .stop-card {
  position: relative;
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(24,92,96,.14);
}
.image-stop .stop-card:hover { box-shadow: var(--shadow); }
.image-stop .stop-main { position: relative; isolation: isolate; min-height: 264px; align-items: end; padding: 32px; color: var(--white); }
.stop-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.image-stop .stop-main::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8,32,39,.75), rgba(8,32,39,.48) 62%, rgba(8,32,39,.08)), linear-gradient(0deg, rgba(8,32,39,.82), transparent 90%);
}
.image-stop .stop-copy { max-width: 670px; min-width: 0; }
.image-stop .stop-title { font-size: clamp(1.7rem, 3vw, 2.05rem); line-height: 1.12; text-wrap: balance; text-shadow: 0 2px 14px rgba(0,0,0,.22); }
.image-stop .stop-note { color: #fff; font-size: 1rem; line-height: 1.5; }
.image-stop .duration { color: #fff; font-size: .875rem; }
.image-stop .kind-pill { font-size: .75rem; padding: 5px 10px; }
.image-stop.fixed-stop .kind-pill { color: #704513; background: var(--sun); }
.image-stop .expand-button { align-self: start; width: 44px; height: 44px; color: #fff; border-color: rgba(255,255,255,.65); background: rgba(8,32,39,.6); }
.image-stop .expand-button:hover { background: rgba(8,32,39,.9); }
.image-stop .stop-details { padding: 0 26px 24px; }
.image-stop .detail-grid { border: 0; }
.image-stop .detail-copy { color: var(--ink-soft); font-size: .9375rem; }
.image-stop .detail-label { color: #526b70; font-size: .75rem; }
.image-stop .crowd-box p { font-size: .875rem; }
.image-stop .mini-button { font-size: .875rem; min-height: 42px; }
.image-stop .transition-row { color: #365860; background: #f4f9f5; font-size: .875rem; border-color: var(--line); }
.image-stop .transition-icon { color: var(--ink); background: var(--sun); }
.photo-credit { margin: 20px 0 0; color: var(--ink-soft); font-size: .75rem; line-height: 1.5; }
.photo-credit a { text-underline-offset: 3px; }

.planner-footer { display: flex; justify-content: space-between; gap: 20px; margin: 8px 0 0 132px; color: var(--ink-soft); font-size: 12px; }
.planner-footer p { margin: 0; }
.planner-footer p span { color: var(--terracotta); font-weight: 900; }
.text-button { padding: 0; border: 0; color: var(--terracotta); background: transparent; font-weight: 750; cursor: pointer; }

.pocket-section {
  width: 100%;
  padding: 90px max(24px, calc((100vw - 1180px)/2)) 34px;
  color: var(--cream);
  background:
    radial-gradient(circle at 90% 5%, rgba(255,211,111,.34), transparent 21%),
    radial-gradient(circle at 6% 92%, rgba(255,255,255,.13), transparent 18%),
    linear-gradient(135deg, #004fc4 0%, #00bee8 52%, #ff5b7a 130%);
}
.pocket-heading { width: min(1180px, 100%); margin: 0 auto 42px; }
.pocket-heading > p { max-width: 340px; margin: 0 0 6px; color: rgba(255,249,233,.76); font-size: 14px; }
.pocket-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 16px; width: min(1180px, 100%); margin: 0 auto; }
.pocket-card { min-height: 360px; padding: 28px; border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius); background: rgba(255,255,255,.13); box-shadow: 0 18px 45px rgba(10,83,85,.12); }
.pocket-card:nth-child(2) { background: linear-gradient(145deg, #f54870, #ff8b4b); }
.pocket-card:nth-child(3) { color: var(--ink); background: linear-gradient(145deg, #ffe26a, #ffd16a); }
.card-number { color: rgba(255,249,233,.68); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.meal-card .card-number { color: rgba(32,59,54,.52); }
.pocket-card h3 { margin: 42px 0 22px; font: 400 29px/1 var(--serif); }
.check-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.11); font-size: 12px; }
.check-list label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check-list input { position: absolute; opacity: 0; }
.check-list label span { width: 17px; height: 17px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; }
.check-list input:checked + span { border: 5px solid var(--sun); background: var(--ink); }
.check-list a { color: var(--sun); font-weight: 700; text-decoration: none; white-space: nowrap; }
.crowd-card > p { color: rgba(245,237,221,.8); font-size: 13px; }
.crowd-card .small-note { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(245,237,221,.58); font-size: 11px; }
.rule-graphic { display: flex; gap: 7px; align-items: end; height: 38px; margin-bottom: 24px; }
.rule-graphic span { width: 9px; border-radius: 6px; background: var(--sun); }
.rule-graphic span:nth-child(1) { height: 14px; opacity: .45; }
.rule-graphic span:nth-child(2) { height: 25px; opacity: .7; }
.rule-graphic span:nth-child(3) { height: 38px; }
.meal-card > p { color: rgba(32,59,54,.72); font-size: 13px; }
.meal-toggle { display: grid; gap: 7px; margin-top: 24px; }
.meal-mode { padding: 10px 12px; border: 1px solid rgba(32,59,54,.22); border-radius: 12px; color: var(--ink); background: transparent; text-align: left; font-size: 12px; font-weight: 750; cursor: pointer; }
.meal-mode.is-selected { color: var(--cream); border-color: var(--ink); background: var(--ink); }
.meal-result { display: grid; gap: 4px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(32,59,54,.2); }
.meal-result strong { font: 400 17px/1.2 var(--serif); }
.meal-result span { color: rgba(32,59,54,.7); font-size: 11px; }
.source-strip { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; width: min(1180px, 100%); margin: 60px auto 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,249,233,.7); font-size: 10px; }
.source-strip span { color: var(--sun); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.source-strip p { margin: 0; text-align: center; }
.source-strip a { text-decoration: none; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  transform: translate(-50%, 24px);
  padding: 11px 17px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

@media (max-width: 880px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; padding: 64px 0 90px; }
  .hero-copy { max-width: 680px; }
  .trip-card { max-width: 520px; }
  .pocket-grid { grid-template-columns: 1fr 1fr; }
  .booking-card { grid-column: 1 / -1; min-height: auto; }
}

@media (max-width: 640px) {
  .topbar, .hero-grid, .planner-section { width: min(100% - 28px, 1180px); }
  .topbar { padding: 18px 0; }
  .wordmark span:last-child { display: none; }
  .privacy-pill { padding: 7px 9px; font-size: 10px; }
  .hero-grid { padding-top: 48px; }
  .hero { background-position: 84% 13%, center, 55% center; }
  .hero h1 { font-size: clamp(51px, 16vw, 72px); }
  .hero-intro { font-size: 16px; }
  .countdown { margin-bottom: 24px; padding: 14px; }
  .countdown-topline { font-size: .65rem; }
  .countdown-units { gap: 5px; }
  .countdown-units div { padding: 8px 3px 7px; }
  .weather-widget { margin-bottom: 24px; }
  .weather-widget-live { grid-template-columns: 42px minmax(0, 1fr) 34px; gap: 10px; padding: 14px 14px 35px; }
  .weather-sun { flex-basis: 42px; width: 42px; height: 42px; border-radius: 13px; }
  .weather-sun svg { width: 25px; }
  .weather-widget h2 { font-size: 1.4rem; }
  .weather-copy > p:last-child { font-size: .73rem; }
  .weather-metrics { grid-column: 1 / -1; padding-left: 52px; }
  .weather-metrics div { min-width: 0; flex: 1; }
  .weather-refresh { grid-column: 3; grid-row: 1; width: 34px; height: 34px; font-size: 1rem; }
  .weather-source { right: 14px; left: 14px; }
  .hero-buttons { align-items: stretch; }
  .hero-buttons .button { flex: 1; }
  .trip-card { padding: 24px; }
  .planner-section { padding: 70px 0 80px; }
  .section-heading { display: block; }
  .progress-card { width: 100%; margin-top: 24px; }
  .progress-card > span { text-align: left; }
  .day-tab { padding: 14px; }
  .day-tab strong { font-size: 14px; }
  .day-summary { display: grid; padding: 21px; }
  .button-route { width: 100%; }
  .timeline { margin-top: 34px; }
  .timeline::before { left: 20px; }
  .stop { grid-template-columns: 42px 1fr; gap: 0 10px; padding-bottom: 18px; }
  .stop-time { grid-column: 2; grid-row: 1; padding: 0 0 7px 12px; text-align: left; }
  .stop-marker { grid-column: 1; grid-row: 2; width: 40px; height: 40px; margin-top: 8px; }
  .stop-card { grid-column: 2; grid-row: 2; }
  .stop-main { padding: 20px 18px 18px; }
  .stop-title { font-size: 24px; }
  .stop-details { padding: 0 18px 20px; }
  .detail-grid { grid-template-columns: 1fr; gap: 18px; }
  .transition-row { padding: 10px 18px; }
  .image-stop .stop-main { min-height: 330px; padding: 100px 18px 22px; grid-template-columns: minmax(0, 1fr); }
  .image-stop .stop-main::after { background: linear-gradient(180deg, rgba(8,32,39,.06), rgba(8,32,39,.7) 34%, rgba(8,32,39,.94) 100%); }
  .image-stop .expand-button { position: absolute; top: 16px; right: 16px; }
  .image-stop .stop-title { font-size: 1.6rem; }
  .image-stop .stop-details { padding: 0 18px 20px; }
  .image-stop .transition-icon { flex: 0 0 24px; }
  .planner-footer { margin-left: 52px; }
  .pocket-section { padding-top: 68px; }
  .pocket-grid { grid-template-columns: 1fr; }
  .booking-card { grid-column: auto; }
  .pocket-card { min-height: auto; }
  .pocket-heading > p { margin-top: 18px; }
  .source-strip { grid-template-columns: 1fr; gap: 12px; text-align: left; }
  .source-strip p { text-align: left; }
}

@media print {
  body { background: white; }
  .hero { min-height: auto; color: var(--ink); background: white; }
  .topbar, .hero-buttons, .weather-widget, .arch, .progress-card, .day-switcher, .planner-footer, .expand-button, .detail-actions, .pocket-section, .toast { display: none !important; }
  .hero-grid { display: block; width: 100%; padding: 20px 0; }
  .hero h1 { font-size: 48px; }
  .hero h1 em, .eyebrow { color: var(--terracotta); }
  .hero-intro, .trip-card > p, .trip-card .departure-note { color: var(--ink-soft); }
  .trip-card { margin-top: 20px; padding: 18px; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
  .trip-card h2 span { color: var(--terracotta); }
  .planner-section { width: 100%; padding: 20px 0; }
  .day-summary { border: 0; padding: 0 0 15px; }
  .button-route { display: none; }
  .timeline::before { display: none; }
  .stop { grid-template-columns: 65px 1fr; padding-bottom: 8px; break-inside: avoid; }
  .stop-time { grid-column: 1; }
  .stop-marker { display: none; }
  .stop-card { grid-column: 2; box-shadow: none; }
  .image-stop .stop-card { color: var(--ink); border-color: var(--line); background: white; }
  .image-stop .stop-main { min-height: 0; padding: 12px 16px; color: var(--ink); }
  .stop-photo, .image-stop .stop-main::after { display: none; }
  .image-stop .stop-title { font-size: 20px; text-shadow: none; }
  .image-stop .stop-note, .image-stop .duration { color: var(--ink-soft); }
  .stop-main { padding: 12px 16px; }
  .stop-note { font-size: 11px; }
  .stop-title { font-size: 20px; }
  .transition-row { padding: 6px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}
