:root {
  --safari-ink: #0d2d3a;
  --safari-forest: #0f4a39;
  --safari-gold: #d8a64d;
  --safari-orange: #ef8a3b;
  --safari-amber: #f5d28b;
  --safari-ivory: #f5f0e3;
  --safari-sand: #e8dcc1;
  --safari-white: #fffdf8;
  --safari-shadow: rgba(9, 32, 38, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(180deg, #f5f0e3 0%, #f3efe3 100%);
  color: var(--safari-ink);
}

img {
  max-width: 100%;
}

a {
  transition: all 0.25s ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(13, 45, 58, 0.08);
  box-shadow: 0 8px 28px rgba(13, 45, 58, 0.06);
}

.site-header-inner {
  max-width: 1280px;
  gap: 0.75rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  background: #f4efe0;
  box-shadow: 0 10px 22px rgba(17, 44, 52, 0.18);
  padding: 0.06rem;
}

.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--safari-forest);
  font-weight: 800;
  white-space: nowrap;
}

.brand-wordmark .brand-name {
  font-size: clamp(1.1rem, 1.8vw, 2.2rem);
}

.brand-wordmark .brand-subname {
  font-size: clamp(0.64rem, 0.9vw, 0.95rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 74, 57, 0.85);
}

.site-nav {
  flex: 1;
  justify-content: center;
}

.site-nav a {
  position: relative;
  color: rgba(13, 45, 58, 0.8);
  font-weight: 600;
  padding-bottom: 0.25rem;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--safari-forest);
}

.site-nav a.active::after,
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--safari-gold), var(--safari-orange));
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--safari-forest), #1f6a4f);
  color: var(--safari-white);
  box-shadow: 0 14px 28px rgba(15, 74, 57, 0.18);
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(15, 74, 57, 0.24);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--safari-white);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.ghost-button {
  background: rgba(15, 74, 57, 0.06);
  color: var(--safari-forest);
}

.ghost-button:hover,
.ghost-button:focus-visible {
  background: rgba(15, 74, 57, 0.12);
}

#home-hero {
  background: linear-gradient(135deg, rgba(14, 41, 52, 0.65), rgba(15, 74, 57, 0.5));
}

#home-hero .container {
  position: relative;
  z-index: 2;
}

#home-hero h1 {
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

#home-hero .site-lead-card {
  display: inline-flex;
  align-items: center;
  background: rgba(11, 32, 38, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  backdrop-filter: blur(10px);
}

.site-section-title {
  letter-spacing: -0.04em;
}

.site-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(13, 45, 58, 0.06);
  box-shadow: 0 18px 40px rgba(13, 45, 58, 0.08);
}

.site-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(13, 45, 58, 0.12);
}

.site-feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(15, 74, 57, 0.14), rgba(216, 166, 77, 0.18));
  color: var(--safari-forest);
}

.site-cta {
  background: linear-gradient(135deg, rgba(11, 33, 41, 0.76), rgba(15, 74, 57, 0.7)),
    url('../images/packages/virunga-peaks-challenge-hero.jpg') center/cover no-repeat;
}

footer {
  background: linear-gradient(180deg, #0f1c21 0%, #091a20 100%);
}

@media (max-width: 768px) {
  .brand-wordmark .brand-subname {
    display: none;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .site-nav {
    gap: 0.8rem;
  }

  .site-header .container {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }
}
