:root {
  --paper: #f6f0e7;
  --paper-deep: #e7dccd;
  --ink: #2f5578;
  --ink-soft: #5b7694;
  --olive: #8c9869;
  --terracotta: #c87c59;
  --charcoal: #1f2f3d;
  --shadow: 0 24px 70px rgba(47, 85, 120, 0.14);
  --shadow-soft: 0 16px 30px rgba(47, 85, 120, 0.1);
  --radius-large: 34px;
  --radius-medium: 22px;
  --radius-small: 14px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--charcoal);
  background:
    radial-gradient(circle at top left, rgba(200, 124, 89, 0.18), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(140, 152, 105, 0.18), transparent 28%),
    linear-gradient(180deg, #f8f4ee 0%, var(--paper) 54%, #efe3d3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 85, 120, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 85, 120, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 85%);
  pointer-events: none;
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 20px auto;
  padding: 18px;
}

.site-header,
.site-footer,
.hero,
.tour-preview,
.story-band {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(47, 85, 120, 0.12);
  border-radius: var(--radius-large);
  background: rgba(255, 252, 247, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 20px;
  margin-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 84px;
  height: auto;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy span,
.brand-copy small {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-copy span {
  font-size: 1rem;
  font-weight: 800;
}

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

.site-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a,
.member-button {
  border-radius: 999px;
  border: 1px solid rgba(47, 85, 120, 0.16);
  padding: 0.9rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.site-nav a {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  transform: translateY(-2px);
  background: rgba(47, 85, 120, 0.08);
  border-color: rgba(47, 85, 120, 0.28);
}

.member-button {
  color: rgba(47, 85, 120, 0.45);
  background: rgba(47, 85, 120, 0.06);
  cursor: not-allowed;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 26px;
  padding: clamp(28px, 4vw, 48px);
  min-height: 640px;
  align-items: center;
}

.hero::after,
.tour-preview::before,
.story-band::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(47, 85, 120, 0.07);
  filter: blur(2px);
}

.hero::after {
  width: 220px;
  height: 220px;
  right: -70px;
  bottom: -80px;
}

.hero-copy {
  max-width: 660px;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

body.is-ready .hero-copy,
body.is-ready .hero-panel,
body.is-ready .tour-card,
body.is-ready .story-columns article {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.story-copy h2,
.footer-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero h1 {
  font-size: clamp(3.6rem, 7vw, 6.3rem);
  max-width: 11ch;
}

.lead {
  margin: 24px 0 30px;
  max-width: 56ch;
  font-size: 1.1rem;
  line-height: 1.75;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-highlights span {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(47, 85, 120, 0.08);
  border: 1px solid rgba(47, 85, 120, 0.12);
  font-weight: 700;
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: center;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms ease 120ms,
    transform 620ms ease 120ms;
}

.route-card,
.stats-grid article,
.tour-card,
.story-columns article {
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(47, 85, 120, 0.12);
  box-shadow: var(--shadow-soft);
}

.route-card {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(47, 85, 120, 0.08), rgba(255, 255, 255, 0.96) 42%),
    rgba(255, 255, 255, 0.95);
}

.card-label,
.tour-tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: rgba(200, 124, 89, 0.12);
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-card h2 {
  margin: 14px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.98;
  color: var(--ink);
}

.route-card p,
.tour-card p,
.story-columns p {
  margin: 0;
  line-height: 1.7;
}

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

.stats-grid article {
  padding: 18px;
}

.stats-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.05rem;
}

.stats-grid span {
  font-size: 0.95rem;
  line-height: 1.6;
}

.dot-cluster {
  position: absolute;
  left: -8px;
  bottom: 20px;
  display: grid;
  grid-template-columns: repeat(3, 14px);
  gap: 12px;
}

.dot-cluster span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.75;
}

.tour-preview,
.story-band,
.site-footer {
  padding: clamp(26px, 3vw, 40px);
  margin-top: 18px;
}

.tour-preview::before {
  width: 180px;
  height: 180px;
  top: -80px;
  left: -70px;
}

.section-heading,
.story-copy,
.footer-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.section-heading h2,
.story-copy h2,
.footer-heading h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  max-width: 14ch;
}

.tour-grid,
.story-columns,
.footer-grid {
  display: grid;
  gap: 18px;
}

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

.tour-card {
  padding: 24px;
  min-height: 240px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.tour-card:nth-child(2) {
  transition-delay: 90ms;
}

.tour-card:nth-child(3) {
  transition-delay: 180ms;
}

.tour-card h3,
.story-columns h3 {
  margin: 18px 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
}

.story-band::after {
  width: 240px;
  height: 240px;
  top: -70px;
  right: -90px;
}

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

.story-columns article {
  padding: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.story-columns article:nth-child(2) {
  transition-delay: 120ms;
}

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

.footer-grid div {
  padding: 18px 0 20px;
  border-top: 1px solid rgba(47, 85, 120, 0.12);
}

.footer-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-grid p,
.footer-note p {
  margin: 0;
  line-height: 1.65;
}

.footer-note {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(47, 85, 120, 0.12);
  color: var(--ink-soft);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .tour-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 18px), var(--max-width));
    padding: 0;
  }

  .site-header,
  .tour-preview,
  .story-band,
  .site-footer {
    padding: 20px;
  }

  .hero {
    padding: 22px;
  }

  .brand {
    flex-direction: column;
  }

  .brand img {
    width: 76px;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a,
  .member-button {
    width: 100%;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .lead {
    font-size: 1rem;
  }

  .stats-grid,
  .tour-grid,
  .story-columns,
  .footer-grid,
  .footer-note {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .route-card h2,
  .tour-card h3,
  .story-columns h3 {
    font-size: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
