:root {
  --bg: #f5f1e8;
  --surface: #fffdf8;
  --surface-strong: #f0eadf;
  --text: #172126;
  --muted: #56636a;
  --line: rgba(23, 33, 38, 0.12);
  --primary: #0c4f68;
  --primary-dark: #08384a;
  --accent: #b45b1f;
  --accent-soft: #e8c6ad;
  --forest: #2c5c45;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(12, 31, 41, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Public Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(12, 79, 104, 0.08), transparent 32%),
    linear-gradient(180deg, #f8f4ea 0%, #f3efe6 100%);
}

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

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

a:focus-visible,
button:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(232, 198, 173, 0.95);
  outline-offset: 3px;
}

button,
.button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 253, 248, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: 9.075rem;
  max-width: 100%;
  font-family: "Lexend", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0;
  color: var(--primary);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.brand-footer {
  width: 9.25rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1.2rem;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--primary);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  height: 0.9rem;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.12rem) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown.is-open .nav-dropdown-toggle,
.nav-dropdown:has([aria-current="page"]) .nav-dropdown-toggle {
  color: var(--primary);
}

.nav-dropdown:hover::after,
.nav-dropdown:focus-within::after,
.nav-dropdown.is-open::after {
  display: block;
}

.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after,
.nav-dropdown.is-open .nav-dropdown-toggle::after {
  transform: translateY(0.1rem) rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  z-index: 30;
  display: grid;
  min-width: 18rem;
  padding: 0.7rem;
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -0.4rem);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible,
.nav-dropdown-menu a[aria-current="page"] {
  color: var(--primary);
  background: rgba(12, 79, 104, 0.08);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--primary);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-dark);
}

.button-accent {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 14px 28px rgba(180, 91, 31, 0.22);
}

.button-accent:hover,
.button-accent:focus-visible {
  background: #994914;
}

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

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

.hero-section {
  position: relative;
  min-height: clamp(34rem, 78vh, 48rem);
  overflow: clip;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: 30% 28%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 24, 33, 0.82) 0%, rgba(6, 24, 33, 0.34) 55%, rgba(6, 24, 33, 0.16) 100%),
    linear-gradient(180deg, rgba(13, 60, 79, 0.16), rgba(13, 60, 79, 0.3));
}

.hero-content {
  position: relative;
  display: grid;
  align-content: center;
  gap: 1.35rem;
  min-height: inherit;
  padding: 5rem 0;
}

.eyebrow {
  margin: 0;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-content h1,
.section-heading h2,
.impact-panel h2 {
  margin: 0;
  font-family: "Lexend", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-content h1 {
  max-width: 9ch;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
}

.hero-copy {
  max-width: 38rem;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0.6rem 0 0;
  list-style: none;
}

.hero-highlights li {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.section {
  padding: 5.5rem 0;
}

#mission,
#services,
#adventures,
#impact,
#contact,
#contact-form {
  scroll-margin-top: 5.5rem;
}

.section-intro {
  padding-bottom: 2rem;
}

.intro-layout,
.impact-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.intro-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
}

.section-heading {
  max-width: 42rem;
}

.section-topline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.section-heading .eyebrow,
.impact-panel .eyebrow {
  margin-bottom: 1rem;
  color: var(--forest);
}

.section-heading h2,
.impact-panel h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.section-copy {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
}

.section-services {
  padding-top: 1rem;
}

.card-grid,
.adventure-grid {
  display: grid;
  gap: 1.5rem;
}

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

.info-card {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(23, 33, 38, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.card-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.info-card h3,
.adventure-card h3,
.site-footer h3 {
  margin: 0;
  font-family: "Lexend", sans-serif;
}

.info-card p,
.adventure-card p,
.footer-copy,
.site-footer li,
.footer-bottom p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.info-card a {
  width: fit-content;
  color: var(--primary);
  font-weight: 700;
}

.section-adventures {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(8, 56, 74, 0.96), rgba(9, 43, 56, 0.98)),
    url("https://lh3.googleusercontent.com/aida-public/AB6AXuAENwpFOY2PGDu8UxpDdLmEUpUjOD5KhUvUll-3PASFvRQvkAw-sTMqJ6O5iWBxmZMYcrg0gMhImUCnCLKKWiXIm-DHVN_2LBv1RlzYygaedMK300i-yC1Mq-pEVLrnznf4zwit788mihqxFzV8gPrH4_C4yx5VAwV0VYay_Kb3m89q2VkCHB7LsEG81lO3vTqv7FJSt31tCLrV09aNzUpsbHFmGgUNnhibd4JQjL5IrB2L2xRbEvRZYC_X-GqV1PC_szkx-5wCXjtv")
      center/cover no-repeat;
}

.section-heading-light .eyebrow,
.section-heading-light h2,
.adventure-card h3,
.adventure-card .adventure-date,
.adventure-card p {
  color: var(--white);
}

.slider-controls {
  display: flex;
  gap: 0.75rem;
}

.slider-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

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

.slider-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.adventure-slider {
  margin-top: 2rem;
}

.adventure-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none;
}

.adventure-track::-webkit-scrollbar {
  display: none;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.slider-dot {
  width: 0.8rem;
  height: 0.8rem;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.slider-dot[aria-current="true"] {
  background: var(--accent-soft);
}

.adventure-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 50px rgba(4, 17, 25, 0.28);
}

.adventure-card img {
  height: 16rem;
  object-fit: cover;
}

.adventure-copy {
  display: grid;
  gap: 0.8rem;
  padding: 1.6rem;
}

.adventure-date {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-impact {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.12), rgba(255, 255, 255, 0.5));
}

.page-hero {
  padding: 5rem 0 2rem;
}

.gallery-hero {
  padding: 2.5rem 0 0;
}

.page-hero-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.page-hero-layout-single {
  grid-template-columns: minmax(0, 48rem);
}

.page-hero h1 {
  margin: 0;
  font-family: "Lexend", sans-serif;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.gallery-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  white-space: nowrap;
}

.page-copy {
  max-width: 44rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.page-section {
  padding: 3.5rem 0 5.5rem;
}

.page-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
  gap: 2rem;
  align-items: start;
}

.content-panel,
.side-panel,
.feature-strip {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 33, 38, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.content-panel,
.side-panel {
  padding: 2rem;
}

.content-panel {
  display: grid;
  gap: 2rem;
}

.content-block {
  display: grid;
  gap: 0.95rem;
}

.content-block h2,
.side-panel h2,
.feature-strip h2 {
  margin: 0;
  font-family: "Lexend", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.content-block p,
.side-panel p,
.feature-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.check-list,
.link-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.link-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
  line-height: 1.65;
}

.check-list li::before,
.link-list li::before {
  position: absolute;
  left: 0;
  color: var(--forest);
  font-weight: 800;
}

.check-list li::before {
  content: "+";
}

.link-list li::before {
  content: ">";
}

.side-panel {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 7rem;
}

.side-panel .button {
  width: fit-content;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  overflow: hidden;
}

.feature-item {
  display: grid;
  gap: 0.65rem;
  padding: 1.5rem;
  background: rgba(255, 253, 248, 0.72);
}

.feature-item strong {
  font-family: "Lexend", sans-serif;
  color: var(--primary);
}

.feature-item p {
  font-size: 0.95rem;
}

.gallery-hero .page-copy {
  margin-top: 0.65rem;
  line-height: 1.55;
}

.section.gallery-section {
  padding: 0.9rem 0 5.5rem;
}

.contact-card,
.contact-form,
.contact-panel {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 33, 38, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-form h2,
.contact-panel h2 {
  margin: 0;
  font-family: "Lexend", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

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

.form-grid label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 600;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-grid span {
  font-size: 0.95rem;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid rgba(23, 33, 38, 0.14);
  border-radius: var(--radius-sm);
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid rgba(12, 79, 104, 0.2);
  border-color: var(--primary);
}

.form-full {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-note {
  margin: 0;
  color: var(--muted);
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-weight: 600;
}

.form-status-pending {
  color: var(--primary);
}

.form-status-success {
  color: var(--forest);
}

.form-status-error {
  color: #9f3312;
}

[data-contact-submit]:disabled {
  cursor: wait;
  opacity: 0.8;
}

.gallery-open {
  overflow: hidden;
}

code {
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(12, 79, 104, 0.08);
  color: var(--primary);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92em;
}

.gallery-shell {
  display: grid;
  gap: 1.5rem;
}

.gallery-empty,
.gallery-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 33, 38, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.gallery-empty {
  padding: 2rem;
}

.gallery-empty h2,
.gallery-card-copy h3 {
  margin: 0;
  font-family: "Lexend", sans-serif;
}

.gallery-empty h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.gallery-empty p,
.gallery-card-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.gallery-card {
  display: grid;
  gap: 0.85rem;
  padding: 0.9rem;
}

.gallery-trigger {
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.gallery-trigger img {
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.gallery-card:nth-child(4n + 2) .gallery-trigger img {
  aspect-ratio: 3 / 4;
}

.gallery-card:nth-child(4n + 3) .gallery-trigger img {
  aspect-ratio: 16 / 10;
}

.gallery-card:nth-child(4n + 4) .gallery-trigger img {
  aspect-ratio: 1 / 1;
}

.gallery-trigger:hover img,
.gallery-trigger:focus-visible img {
  transform: scale(1.03);
  filter: saturate(1.04);
}

.gallery-card-copy {
  display: grid;
  gap: 0.35rem;
  padding: 0 0.2rem 0.2rem;
}

.gallery-card-copy h3 {
  font-size: 1.05rem;
  line-height: 1.2;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-items: center;
  padding: 1.25rem;
  background: rgba(5, 18, 24, 0.9);
  backdrop-filter: blur(16px);
}

.gallery-lightbox-shell {
  display: grid;
  gap: 1rem;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.gallery-lightbox-toolbar,
.gallery-lightbox-controls,
.gallery-lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-lightbox-count {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.2rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    opacity 0.2s ease;
}

.gallery-lightbox-close {
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1.35rem;
  line-height: 1;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.gallery-lightbox-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.gallery-lightbox-figure {
  margin: 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
}

.gallery-lightbox-stage {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.28);
}

.gallery-lightbox-stage img {
  width: auto;
  max-width: 100%;
  max-height: 72vh;
  margin: 0 auto;
}

.gallery-lightbox-caption {
  margin-top: 1rem;
  color: var(--white);
}

.gallery-lightbox-caption strong {
  display: block;
  font-family: "Lexend", sans-serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.1;
}

.gallery-lightbox-caption p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
}

.impact-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.testimonial-card,
.impact-panel {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 33, 38, 0.08);
  box-shadow: var(--shadow);
}

.testimonial-card blockquote {
  margin: 0 0 2rem;
  font-family: "Lexend", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-meta img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial-meta strong,
.testimonial-meta span {
  display: block;
}

.testimonial-meta span {
  color: var(--muted);
}

.impact-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.75;
}

.site-footer {
  padding: 4.5rem 0 2rem;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(232, 198, 173, 0.14), transparent 24%),
    linear-gradient(180deg, #123746 0%, #0a222d 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr 1fr;
  gap: 2rem;
}

.brand-footer,
.site-footer h3,
.site-footer a,
.footer-badge,
.footer-bottom p {
  color: var(--white);
}

.footer-copy {
  margin-top: 1rem;
  max-width: 24rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-badge {
  display: inline-flex;
  margin-top: 1.2rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.site-footer ul {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer li,
.site-footer li a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-button {
  margin-top: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 960px) {
  .header-row,
  .intro-layout,
  .impact-layout,
  .page-hero-layout,
  .contact-layout,
  .page-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-row {
    display: grid;
    justify-content: initial;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-dropdown-menu {
    left: 0;
    transform: translateY(-0.4rem);
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.is-open .nav-dropdown-menu {
    transform: translateY(0);
  }

  .side-panel {
    position: static;
  }

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

  .header-cta {
    width: fit-content;
  }

  .section-topline {
    align-items: start;
    flex-direction: column;
  }

  .card-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .adventure-track {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }

  .gallery-lightbox-caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .gallery-hero h1 {
    font-size: 2rem;
  }

  .section.gallery-section {
    padding: 0.75rem 0 4rem;
  }

  .site-header {
    position: static;
  }

  .header-row {
    padding: 0.9rem 0 1rem;
  }

  .site-nav {
    gap: 0.8rem 1rem;
  }

  .site-nav a {
    font-size: 0.9rem;
  }

  .nav-dropdown,
  .nav-dropdown-toggle {
    width: 100%;
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown-toggle {
    justify-content: space-between;
    font-size: 0.9rem;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    margin-top: 0.75rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
    transform: none;
  }

  .hero-content {
    padding: 4rem 0 3.25rem;
  }

  .hero-media img {
    object-position: 24% 32%;
  }

  .gallery-grid,
  .gallery-lightbox-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gallery-lightbox-close,
  .gallery-lightbox-nav {
    width: 100%;
  }

  .gallery-lightbox {
    padding: 0.75rem;
  }

  .gallery-lightbox-figure,
  .gallery-empty {
    padding: 1rem;
  }

  .slider-controls {
    width: 100%;
  }

  .slider-button {
    flex: 1;
    border-radius: 999px;
    width: auto;
  }

  .adventure-track {
    grid-auto-columns: 100%;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-highlights li,
  .info-card,
  .testimonial-card,
  .impact-panel,
  .content-panel,
  .side-panel {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding: 4rem 0;
  }
}
