 :root {
  --ink: #1f271d;
  --olive: #3c492d;
  --olive-deep: #2d3822;
  --gold: #caa362;
  --gold-soft: #ead7ae;
  --cream: #f5efe5;
  --paper: #fffdf8;
  --muted: #5a6254;
  --line: rgba(47, 58, 39, 0.14);
  --shadow: 0 24px 60px rgba(27, 34, 22, 0.14);
  --hero: url('https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=1800&q=80');
  --max-width: 1200px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--cream);
  scroll-behavior: smooth;
}

body.theme-river {
  --olive: #2a5865;
  --olive-deep: #183c4d;
  --gold: #d4b06d;
  --gold-soft: #ebd7aa;
}

body.theme-dune {
  --olive: #825c36;
  --olive-deep: #563c26;
  --gold: #d5ad68;
  --gold-soft: #f0deb0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-family: "Segoe UI", Arial, sans-serif;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

button, input, select, textarea {
  font: inherit;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.section-wrap,
.hero,
.campus,
.builder,
footer,
.dark-band {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 5vw, 52px);
  background: rgba(245, 239, 229, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--olive);
  font-size: 9px;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.brand img {
  width: 104px;
  height: 44px;
  object-fit: contain;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.nav-cta {
  padding: 12px 18px;
  background: var(--olive);
  color: #fff !important;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover,
.button:hover,
.filter:hover,
.download-links a:hover {
  transform: translateY(-1px);
}

.palette-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.palette-control select {
  border: 1px solid rgba(31, 39, 29, 0.2);
  background: rgba(255, 255, 255, 0.25);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 30px;
  color: var(--olive);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  align-items: center;
  gap: 32px;
  padding: 72px 0 52px;
  background:
    linear-gradient(90deg, rgba(14, 17, 12, 0.82) 0%, rgba(14, 17, 12, 0.72) 42%, rgba(14, 17, 12, 0.2) 100%),
    var(--hero) center center / cover no-repeat;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-left: clamp(18px, 5vw, 52px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
}

.olive { color: var(--olive); }

.gold-text { color: var(--gold-soft); }

.hero h1 {
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 6vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  color: #fff;
}

.lede {
  max-width: 590px;
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.83);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button span {
  font-size: 1.4rem;
}

.button.gold {
  background: var(--gold);
  color: #1d2118;
  box-shadow: 0 18px 28px rgba(202, 163, 98, 0.25);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 18px;
  max-width: 620px;
  margin-top: 36px;
}

.hero-metrics div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  color: var(--gold-soft);
}

.hero-panel {
  position: relative;
  z-index: 1;
  margin-right: clamp(18px, 4vw, 42px);
  background: rgba(16, 22, 16, 0.48);
  border: 1px solid rgba(234, 215, 174, 0.3);
  backdrop-filter: blur(7px);
  border-radius: 24px;
  padding: 22px 22px 18px;
  color: #fff;
  box-shadow: 0 28px 44px rgba(11, 15, 10, 0.18);
}

.hero-panel h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(1.7rem, 2vw, 2.4rem);
  line-height: 1.1;
}

.hero-panel p,
.hero-panel li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
}

.hero-panel ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.hero-panel li::before {
  content: "•";
  color: var(--gold-soft);
  margin-right: 10px;
}

.section-wrap {
  padding: 84px 0;
}

.section-kicker {
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: start;
}

.intro h2,
.destinations h2,
.experience-section h2,
.model h2,
.safety h2,
.founders h2,
.builder h2,
.downloads h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.intro-text {
  display: grid;
  gap: 18px;
  font-size: 1.08rem;
  color: var(--muted);
}

.dark-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  background: linear-gradient(135deg, var(--olive-deep), #3a452a);
  color: #fff;
  padding: 34px clamp(18px, 5vw, 52px);
  border-radius: 26px;
  box-shadow: 0 28px 40px rgba(35, 41, 27, 0.12);
  border: 1px solid rgba(255,255,255,0.08);
}

.dark-band h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.25;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading > p,
.destination-foot,
.builder-note,
.partner-list p,
.downloads p,
.safety p,
.intro-text p,
.founder-grid p,
.experience-grid p,
.card-body p {
  color: var(--muted);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.filter {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.filter.active {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.destination-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 18px 32px rgba(26, 35, 23, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.destination-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 42px rgba(26, 35, 23, 0.09);
}

.destination-card img {
  border-bottom: 1px solid var(--line);
}

.destination-card.hidden {
  display: none;
}

.destination-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 20px 18px 18px;
}

.card-body small {
  display: block;
  margin-bottom: 8px;
  color: var(--olive);
  letter-spacing: 0.12em;
  font-size: 10px;
  font-weight: 700;
}

.card-body h3 {
  margin-bottom: 8px;
  font-size: 1.7rem;
  line-height: 1.1;
}

.card-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--olive);
  font-weight: 700;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.experience-section {
  background: linear-gradient(180deg, #f8f1e6 0%, #efeae0 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.journey-detail-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 96px 0 52px;
  background-size: cover;
  background-position: center;
  color: #fff;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08);
}

.journey-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 17, 12, 0.82) 0%, rgba(14, 17, 12, 0.74) 38%, rgba(14, 17, 12, 0.32) 100%);
}

.journey-detail-hero .section-wrap {
  position: relative;
  z-index: 1;
  width: min(var(--max-width), calc(100% - 32px));
}

.journey-detail-hero h1 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.96;
  text-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.journey-detail-hero p {
  max-width: 720px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button,
.download-links a,
.card-link {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.journey-detail {
  padding-top: 72px;
  padding-bottom: 36px;
}

.journey-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.journey-grid h2,
.journey-panel h3,
.journey-cta h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.04;
}

.journey-grid p,
.journey-panel li,
.journey-highlights li,
.journey-cta p {
  color: var(--muted);
}

.journey-highlight,
.journey-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.52));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 18px 32px rgba(26, 35, 23, 0.04);
}

.journey-highlight ul,
.journey-panel ul,
.journey-panel ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.journey-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 16px;
  padding-bottom: 26px;
}

.journey-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 18px;
}

.journey-gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 28px rgba(26, 35, 23, 0.08);
}

.journey-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: start;
  margin-top: 28px;
  padding-top: 14px;
}

.detail-summary {
  background: linear-gradient(180deg, rgba(255,255,255,0.62), rgba(255,255,255,0.2));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px 22px;
  box-shadow: 0 18px 32px rgba(26, 35, 23, 0.04);
}

.detail-summary h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.04;
}

.detail-summary > p {
  color: var(--muted);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.stat-grid div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(202, 163, 98, 0.09);
  border: 1px solid rgba(202, 163, 98, 0.18);
}

.stat-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--olive);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-grid span {
  color: var(--muted);
  font-size: 0.98rem;
}

.journey-form {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px 22px;
  box-shadow: 0 18px 32px rgba(26,35,23,0.04);
}

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

.journey-form label {
  display: grid;
  gap: 8px;
  color: var(--olive);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
}

.journey-form input,
.journey-form select,
.journey-form textarea {
  width: 100%;
  border: 1px solid rgba(31,39,29,0.14);
  border-radius: 12px;
  background: rgba(255,255,255,0.7);
  color: var(--ink);
  padding: 12px 14px;
  font-size: 0.96rem;
  text-transform: none;
  letter-spacing: 0;
}

.journey-form textarea {
  min-height: 110px;
  resize: vertical;
}

.field-grid .wide,
.journey-form .wide {
  grid-column: 1 / -1;
}

.journey-form .button {
  margin-top: 18px;
}

.form-message {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--olive);
  font-weight: 700;
}

.journey-cta {
  padding-top: 24px;
  padding-bottom: 92px;
}

.journey-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 26px;
  background: linear-gradient(135deg, #f4ebdc, rgba(255,255,255,0.8));
  border: 1px solid var(--line);
  border-radius: 24px;
}

.journey-cta .button {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-grid,
  .journey-panels,
  .journey-form-wrap,
  .journey-cta-wrap {
    grid-template-columns: 1fr;
    display: grid;
  }

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

@media (max-width: 640px) {
  .destination-grid {
    grid-template-columns: 1fr;
  }

  .journey-detail-hero {
    min-height: 360px;
  }

  .journey-gallery {
    grid-template-columns: 1fr;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.experience-grid article {
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 18px 18px;
  box-shadow: 0 16px 28px rgba(26, 35, 23, 0.04);
}

.experience-grid article:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.experience-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--olive);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.experience-grid h3 {
  margin-bottom: 10px;
  font-size: 1.7rem;
}

.model {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 26px;
  align-items: start;
}

.model ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.model li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 18px 18px 0;
  border-bottom: 1px solid var(--line);
}

.model li::before {
  content: counter(list-item);
  counter-increment: list-item;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(202, 163, 98, 0.16);
  color: var(--olive);
  font-weight: 700;
}

.model li > div {
  display: block;
}

.model b,
.value-chips span,
.partner-list b {
  display: block;
  font-size: 1.07rem;
  margin-bottom: 4px;
}

.model p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.campus {
  position: relative;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.campus img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.campus-overlay {
  position: absolute;
  inset: auto 38px 34px 38px;
  max-width: 620px;
  padding: 26px 24px 22px;
  border-radius: 22px;
  background: rgba(11, 15, 10, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: #fff;
}

.campus-overlay h2 {
  color: #fff;
  margin-bottom: 10px;
  font-size: clamp(2.3rem, 3vw, 4rem);
  line-height: 1.02;
}

.campus-overlay p,
.campus-overlay small {
  color: rgba(255, 255, 255, 0.8);
}

.safety {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: start;
}

.values {
  display: grid;
  gap: 24px;
}

.value-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.value-chips span {
  padding: 10px 14px;
  background: rgba(202, 163, 98, 0.12);
  color: var(--olive);
  border: 1px solid rgba(202, 163, 98, 0.5);
  border-radius: 999px;
  font-weight: 700;
}

.partner-list {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 18px;
}

.founders {
  background: linear-gradient(180deg, rgba(255,255,255,0.3), rgba(245,239,229,0.6));
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.founder-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 18px;
  box-shadow: 0 14px 28px rgba(26, 35, 23, 0.04);
}

.founder-grid h3 {
  margin-bottom: 8px;
  font-size: 1.9rem;
}

.role {
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--olive);
}

.founder-grid a {
  color: var(--olive);
  font-weight: 700;
  text-decoration: none;
}

.builder {
  padding: 20px 0 90px;
}

.builder-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 26px;
  align-items: start;
  background: linear-gradient(135deg, rgba(32,42,29,0.96), rgba(61,72,43,0.96));
  border-radius: 30px;
  padding: clamp(22px, 4vw, 40px);
  color: #fff;
}

.builder-layout h2,
.builder-layout p,
.builder-layout .builder-note {
  color: #fff;
}

.builder-layout h2 {
  margin-bottom: 12px;
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.builder-note {
  margin-top: 22px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.85);
}

#trip-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 18px;
}

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

.form-grid label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.form-grid label.wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 12px 14px;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.submit {
  margin-top: 18px;
  border: 0;
}

.form-message {
  min-height: 20px;
  margin: 16px 0 0;
  font-size: 0.95rem;
  color: var(--gold-soft);
}

.downloads {
  padding-bottom: 90px;
}

.download-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.download-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 10px 20px rgba(26, 35, 23, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(26, 35, 23, 0.08);
}

.download-links a span {
  color: var(--olive);
}

footer {
  background: var(--olive-deep);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0 18px;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-main img {
  width: 110px;
  height: 48px;
  object-fit: contain;
}

.footer-main p {
  margin: 0;
  color: rgba(255,255,255,0.8);
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.92rem;
}

.footer-contacts a,
.footer-bottom a {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .model,
  .safety,
  .builder-layout,
  .intro-grid,
  .dark-band,
  .destination-grid {
    grid-template-columns: 1fr;
  }

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

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

  .founder-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .topbar {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .topbar nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .topbar nav.open {
    display: flex;
  }

  .palette-control {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 0 18px;
  }

  .hero-panel {
    margin: 0 18px 18px;
  }

  .destination-grid,
  .experience-grid,
  .download-links,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .campus-overlay {
    position: static;
    margin: 0;
    border-radius: 0;
    max-width: 100%;
  }

  .section-wrap {
    padding: 64px 0;
  }

  .footer-contacts {
    justify-content: flex-start;
  }
}
