:root {
  color-scheme: light;
  --gold: #e2a426;
  --gold-dark: #b87913;
  --leaf: #1f5a43;
  --leaf-dark: #143f30;
  --ink: #16110c;
  --muted: #6e6358;
  --paper: #ffffff;
  --soft: #f5efe6;
  --line: #e3d7c8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--soft);
  color: var(--ink);
}

.trip-page {
  background:
    linear-gradient(180deg, #f8f0e2 0%, #f5efe6 46%, #fffaf2 100%);
}

.home-page {
  background:
    linear-gradient(180deg, #f8f0e2 0%, #f5efe6 48%, #fffaf2 100%);
}

a {
  color: inherit;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px clamp(20px, 5vw, 70px);
  background: var(--leaf);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.topbar a {
  color: #ffffff;
  text-decoration: none;
}

.socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-decoration: none;
}

.social-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.follow-note {
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(35, 23, 10, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  width: 196px;
  height: 68px;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.menu a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.menu a:hover,
.menu .active {
  background: var(--soft);
}

.menu .cta,
.button {
  background: var(--gold);
  color: #211408;
}

.hero {
  min-height: 610px;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 70px) 62px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(12, 8, 4, 0.86), rgba(12, 8, 4, 0.24)),
    var(--hero-image) center / cover;
}

.hero.home {
  min-height: 720px;
}

.home-page .hero.home {
  background:
    linear-gradient(90deg, rgba(9, 7, 5, 0.9), rgba(9, 7, 5, 0.32)),
    linear-gradient(0deg, rgba(9, 7, 5, 0.5), rgba(9, 7, 5, 0)),
    var(--hero-image) center / cover;
}

.trip-page .hero {
  min-height: 680px;
  background:
    linear-gradient(90deg, rgba(9, 7, 5, 0.88), rgba(9, 7, 5, 0.28)),
    linear-gradient(0deg, rgba(9, 7, 5, 0.55), rgba(9, 7, 5, 0)),
    var(--hero-image) center / cover;
}

.hero-inner {
  width: min(1020px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: #ffd27a;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 1;
}

.hero p {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: min(1180px, calc(100% - 40px));
  margin: -44px auto 0;
  position: relative;
  z-index: 2;
}

.action {
  min-height: 108px;
  padding: 22px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(42, 26, 10, 0.12);
  text-decoration: none;
}

.action strong {
  display: block;
  margin-bottom: 8px;
  color: var(--leaf);
  font-size: 13px;
  text-transform: uppercase;
}

.action span {
  display: block;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 900;
}

.trip-page .quick-actions .action {
  border-top: 4px solid var(--gold);
}

.home-page .quick-actions .action {
  border-top: 4px solid var(--gold);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-page .quick-actions .action:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(42, 26, 10, 0.16);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0;
}

.section.tight {
  padding-top: 46px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
}

.lead {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.08)),
    var(--image) center / cover;
  text-decoration: none;
}

.card.tall {
  min-height: 430px;
}

.card span,
.text-card span {
  display: block;
  margin-bottom: 10px;
  color: #ffd27a;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.card h3,
.text-card h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.03;
}

.card p,
.text-card p {
  margin: 14px 0 0;
  line-height: 1.55;
}

.text-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
}

.trip-page .text-card {
  box-shadow: 0 16px 34px rgba(42, 26, 10, 0.08);
}

.text-card span {
  color: var(--gold-dark);
}

.text-card h3 {
  color: var(--ink);
}

.upcoming-trip {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  overflow: hidden;
  border-radius: 8px;
  background: #fffaf2;
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(42, 26, 10, 0.1);
}

.featured-event {
  position: relative;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.16fr) minmax(160px, 0.3fr);
  border-color: rgba(226, 164, 38, 0.34);
  background:
    linear-gradient(135deg, #fffaf2 0%, #f5efe6 100%);
  box-shadow: 0 24px 58px rgba(42, 26, 10, 0.14);
}

.upcoming-trip-image {
  min-height: 430px;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.24), transparent),
    var(--image) center / cover;
}

.featured-event .upcoming-trip-image {
  min-height: 500px;
}

.upcoming-trip-content {
  padding: clamp(28px, 4vw, 44px);
}

.featured-event .upcoming-trip-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.upcoming-trip-content > span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.upcoming-trip-content h3 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.upcoming-trip-content p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.event-flyer-preview {
  display: grid;
  align-items: center;
  justify-items: center;
  padding: clamp(16px, 1.8vw, 22px);
  background:
    linear-gradient(180deg, rgba(20, 63, 48, 0.96), rgba(9, 7, 5, 0.96));
}

.event-flyer-preview img {
  width: min(100%, 190px);
  max-height: 330px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.trip-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  margin: 24px 0 0;
  padding: 20px;
  border-radius: 8px;
  background: var(--soft);
}

.trip-meta strong {
  color: var(--leaf);
  font-size: 13px;
  text-transform: uppercase;
}

.trip-meta span {
  color: var(--ink);
  font-weight: 800;
}

.button.dark {
  color: #ffffff;
  background: var(--leaf);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 46px;
  align-items: center;
}

.image-panel {
  min-height: 500px;
  border-radius: 8px;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent),
    var(--image) center / cover;
}

.event-flyer-section {
  align-items: center;
}

.trip-page .event-flyer-section {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(226, 164, 38, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(245, 239, 230, 0.88));
  box-shadow: 0 20px 46px rgba(42, 26, 10, 0.1);
}

.event-flyer {
  width: min(420px, 100%);
  justify-self: center;
  border-radius: 8px;
  box-shadow: 0 26px 60px rgba(42, 26, 10, 0.24);
}

.trip-page .event-flyer {
  width: min(480px, 100%);
}

.contact-band {
  background:
    linear-gradient(90deg, rgba(13, 11, 8, 0.94), rgba(13, 11, 8, 0.72)),
    url("https://images.unsplash.com/photo-1534177616072-ef7dc120449d?auto=format&fit=crop&w=1800&q=82")
      center / cover;
  color: #ffffff;
}

.contact-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.contact-wrap h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.contact-wrap p {
  color: #d7c7b2;
  font-size: 19px;
  line-height: 1.55;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.contact-card {
  position: relative;
  min-height: 138px;
  padding: 26px 24px 24px 82px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  text-decoration: none;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 210, 122, 0.62);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
}

.contact-card::before {
  content: attr(data-icon);
  position: absolute;
  left: 22px;
  top: 28px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #171008;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.trip-page .contact-band {
  background:
    linear-gradient(90deg, rgba(9, 7, 5, 0.94), rgba(20, 63, 48, 0.76)),
    url("/assets/mount-longonot-elwai-banner.png") center / cover;
}

.contact-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -54px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: rgba(255, 210, 122, 0.1);
}

.contact-card strong {
  display: block;
  margin-bottom: 10px;
  color: #ffd27a;
  font-size: 13px;
  text-transform: uppercase;
  white-space: nowrap;
}

.contact-card span {
  display: block;
  position: relative;
  z-index: 1;
  font-size: 21px;
  font-weight: 900;
}

.contact-card small {
  display: block;
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: #d7c7b2;
  font-size: 14px;
  line-height: 1.45;
}

.get-in-touch {
  padding: 84px 20px;
  background:
    linear-gradient(90deg, rgba(245, 239, 230, 0.94), rgba(245, 239, 230, 0.76)),
    url("https://images.unsplash.com/photo-1546182990-dffeafbe841d?auto=format&fit=crop&w=1800&q=82")
      center / cover fixed;
}

.form-panel {
  width: min(706px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 32px);
  border-radius: 8px;
  background: rgba(244, 244, 244, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 58px rgba(38, 28, 18, 0.18);
  backdrop-filter: blur(6px);
}

.form-panel h2 {
  margin: 0 0 38px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
}

.form-panel p {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

.form-panel label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.form-panel input,
.form-panel textarea {
  width: 100%;
  min-height: 55px;
  margin-bottom: 22px;
  padding: 0 30px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.form-panel input::placeholder,
.form-panel textarea::placeholder {
  color: #8d8d8d;
}

.form-panel textarea {
  min-height: 128px;
  padding-top: 20px;
  resize: vertical;
}

.form-panel button {
  width: 208px;
  min-height: 40px;
  margin-top: -2px;
  border: 0;
  border-radius: 999px;
  background: #ff961f;
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--leaf);
  font-size: 15px;
  font-weight: 800;
}

.form-status.error {
  color: #a33a22;
}

.contact-strip {
  width: min(706px, calc(100% - 40px));
  margin: 28px auto 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.contact-pill {
  min-height: 82px;
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 164, 38, 0.24);
  box-shadow: 0 10px 28px rgba(38, 28, 18, 0.06);
  text-decoration: none;
}

.contact-pill strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 13px;
  text-transform: uppercase;
}

.contact-pill span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.contact-pill small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.social-follow {
  width: min(706px, calc(100% - 40px));
  margin: 0 auto 78px;
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(22, 17, 12, 0.92);
  border: 1px solid rgba(31, 90, 67, 0.14);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 10px 28px rgba(38, 28, 18, 0.06);
}

.social-follow h3 {
  margin: 0;
  font-size: 18px;
}

.social-follow p {
  margin: 4px 0 0;
  color: #d7c7b2;
  font-size: 14px;
}

.contact-social-row {
  width: auto;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.contact-social-row .social-icon {
  width: 40px;
  height: 40px;
  background: var(--leaf);
  border-color: var(--leaf);
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-item {
  min-height: 260px;
  border-radius: 8px;
  background: var(--image) center / cover;
}

.gallery-video {
  position: relative;
  margin: 0;
  min-height: 260px;
  border-radius: 8px;
  overflow: hidden;
  background: #090705;
}

.gallery-video video {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  object-fit: cover;
}

.gallery-video figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px 20px 20px;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(9, 7, 5, 0.94), rgba(9, 7, 5, 0.72), rgba(9, 7, 5, 0));
}

.gallery-video figcaption strong,
.gallery-video figcaption span {
  display: block;
}

.gallery-video figcaption strong {
  margin-bottom: 8px;
  color: #ffd27a;
  font-size: 17px;
}

.gallery-video figcaption span {
  color: #d7c7b2;
  font-size: 15px;
  line-height: 1.45;
}

.gallery-item.wide,
.gallery-video.wide {
  grid-column: span 2;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 5vw, 70px);
  background: #090705;
  color: #ffffff;
}

footer a {
  color: #ffd27a;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1040px) {
  .quick-actions,
  .grid,
  .grid.two,
  .split,
  .upcoming-trip,
  .contact-wrap,
  .contact-cards {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .topbar,
  .nav,
  .section-head,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    justify-content: flex-start;
  }

  .logo {
    width: 168px;
    height: 58px;
  }

  .hero,
  .hero.home {
    min-height: 620px;
    padding-top: 86px;
  }

  .quick-actions {
    grid-template-columns: 1fr;
  }

  .image-panel {
    min-height: 340px;
  }

  .gallery,
  .gallery-item.wide,
  .gallery-video.wide {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .form-panel button {
    width: 100%;
  }

  .contact-strip {
    grid-template-columns: 1fr;
  }

  .social-follow {
    flex-direction: column;
    align-items: flex-start;
  }
}
