:root {
  --bg: #f5efe2;
  --ink: #0d1b2a;
  --ink-soft: #24415b;
  --sand: #ffe6b3;
  --coral: #ff6b57;
  --cobalt: #2c5bff;
  --ice: #dff3ff;
  --paper: #fffaf0;
  --line: rgba(13, 27, 42, 0.12);
  --shadow: 0 24px 50px rgba(13, 27, 42, 0.15);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(44, 91, 255, 0.18), transparent 24rem),
    linear-gradient(180deg, #fff7ea 0%, #f2e9d5 100%);
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
li {
  line-height: 1.7;
  font-size: 1rem;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='%230d1b2a' fill-opacity='.06'%3E%3Ccircle cx='24' cy='30' r='2'/%3E%3Ccircle cx='110' cy='44' r='1.4'/%3E%3Ccircle cx='72' cy='120' r='1.8'/%3E%3Ccircle cx='150' cy='134' r='2'/%3E%3Ccircle cx='36' cy='154' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
}

.site-frame {
  position: relative;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1.4rem 0 2rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 28px rgba(13, 27, 42, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--cobalt), var(--coral));
  color: #fff;
  font-family: "Archivo Expanded", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-copy strong,
.site-nav a,
h1,
h2,
h3,
.button {
  font-family: "Archivo Expanded", sans-serif;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--ink);
  color: #fff;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0.85rem 1rem;
  font-family: "Archivo Expanded", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-split,
.page-hero,
.dual-column,
.photo-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.4rem;
}

.story-ribbon,
.timeline-panel {
  margin-bottom: 1.4rem;
}

.ribbon-grid,
.magazine-grid,
.route-grid {
  display: grid;
  gap: 1.25rem;
}

.ribbon-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.magazine-grid {
  grid-template-columns: 1.08fr 0.92fr;
}

.route-grid {
  grid-template-columns: 1.05fr 0.95fr;
  margin-bottom: 1.4rem;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card-night {
  color: #f6f7fb;
  background:
    linear-gradient(145deg, rgba(44, 91, 255, 0.22), transparent 35%),
    linear-gradient(180deg, #0d1b2a 0%, #13263d 100%);
}

.card-light {
  background: rgba(255, 250, 240, 0.92);
}

.card-sand {
  background: linear-gradient(180deg, #fff2cf 0%, #ffe6b3 100%);
}

.card-coral {
  background: linear-gradient(180deg, #ff907f 0%, #ff6b57 100%);
  color: #221312;
}

.card-ice {
  background: linear-gradient(180deg, #edf8ff 0%, #dff3ff 100%);
}

.card-photo {
  padding: 0;
}

.card-photo img {
  min-height: 100%;
}

.card-photo figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(13, 27, 42, 0.72);
  color: #fff;
  backdrop-filter: blur(10px);
}

.tilt-right {
  transform: rotate(1.2deg);
}

.stack-up {
  transform: translateY(1.2rem);
}

.hero-copy,
.page-hero-copy,
.route-intro {
  min-height: 100%;
}

.hero-copy h1,
.page-hero-copy h1,
.route-intro h1 {
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 0.98;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.lead {
  font-size: 1.08rem;
  max-width: 60ch;
}

.kicker {
  margin: 0 0 0.8rem;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.6rem 0 1.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-solid {
  background: linear-gradient(135deg, var(--coral), #ff9278);
  color: #fff;
}

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-tags span,
.timeline-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.story-ribbon {
  padding: 1.35rem;
  border-radius: 36px;
  background: rgba(255, 250, 240, 0.75);
  border: 1px solid var(--line);
}

.ribbon-intro h2,
.feature-text h2,
.wide-copy h2,
.timeline-intro h2,
.dual-column h2,
.photo-band h2 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.magazine-grid > .wide-copy {
  grid-column: 1 / -1;
}

.checklist {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.85rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), var(--sand));
}

.timeline-panel {
  padding: 1.35rem;
  border-radius: 36px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.7);
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.timeline-card {
  padding: 1.3rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 35px rgba(13, 27, 42, 0.08);
}

.timeline-card h3 {
  margin: 0.8rem 0 0.6rem;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.route-grid .tall-photo {
  min-height: 33rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 1.4rem;
  padding: 1.4rem 0 0.4rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .hero-split,
  .page-hero,
  .dual-column,
  .photo-band,
  .ribbon-grid,
  .magazine-grid,
  .route-grid,
  .timeline-list {
    grid-template-columns: 1fr;
  }

  .stack-up,
  .tilt-right {
    transform: none;
  }

  .route-grid .tall-photo {
    min-height: 24rem;
  }
}

@media (max-width: 760px) {
  .site-frame {
    width: min(calc(100% - 1rem), var(--max));
    padding-top: 0.8rem;
  }

  .topbar {
    flex-wrap: wrap;
    border-radius: 28px;
    padding: 1rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.4rem;
  }

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

  .site-nav a {
    text-align: center;
    background: rgba(13, 27, 42, 0.05);
  }

  .card {
    padding: 1.25rem;
    border-radius: 22px;
  }

  .card-photo {
    padding: 0;
  }

  .hero-copy h1,
  .page-hero-copy h1,
  .route-intro h1 {
    font-size: clamp(2rem, 12vw, 3.3rem);
  }

  .story-ribbon,
  .timeline-panel {
    padding: 1rem;
    border-radius: 24px;
  }

  .site-footer {
    padding-bottom: 1.2rem;
  }
}
