/* Maarjv Safaris: Sustainability & Responsible Travel */

/* Self-hosted fonts (SIL Open Font License, see assets/fonts) */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/dm-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); }

:root {
  --forest: #283f12;
  --forest-deep: #1b2b0b;
  --savannah: #d8c5a3;
  --olive: #5b5b37;
  --sunset: #d38125;
  --earth: #913a14;

  --cream: #fbf8f1;
  --sand-soft: #f2eadb;
  --ink: #1f2a12;
  --muted: #55553a;
  --line: rgba(40, 63, 18, 0.14);

  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(27, 43, 11, 0.07);
  --shadow-md: 0 14px 38px rgba(27, 43, 11, 0.13);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; color: var(--forest); letter-spacing: -0.005em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }

:focus-visible { outline: 3px solid var(--sunset); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 40px); }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--forest); color: #fff; padding: 10px 18px; border-radius: 8px;
  text-decoration: none; font-weight: 600; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.95rem 1.8rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 0.7rem 1.25rem; font-size: 0.95rem; }
.btn-sunset { background: var(--sunset); color: var(--forest-deep); box-shadow: 0 8px 22px rgba(211, 129, 37, 0.32); }
.btn-sunset:hover { background: #e08f33; box-shadow: 0 12px 28px rgba(211, 129, 37, 0.42); }
.btn-forest { background: var(--forest); color: #fff; box-shadow: 0 8px 22px rgba(40, 63, 18, 0.22); }
.btn-forest:hover { background: var(--earth); box-shadow: 0 12px 28px rgba(145, 58, 20, 0.28); }
.btn-arrow { width: 18px; height: 18px; margin-left: 10px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.7); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--forest); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row-center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-solid, .site-header.nav-open {
  background: rgba(27, 43, 11, 0.94); backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: #fff; }
.brand-logo { display: block; height: 48px; width: auto; }

.primary-nav ul { display: flex; align-items: center; gap: 30px; }
.primary-nav a:not(.btn) {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: #fff; text-decoration: none; font-size: 0.97rem; font-weight: 500; position: relative;
}
.primary-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px;
  background: var(--sunset); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.primary-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; border-radius: 12px; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle-bars { top: 22px; }
.nav-toggle-bars::before { left: 0; right: 0; top: -7px; }
.nav-toggle-bars::after { left: 0; right: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 860px); display: flex; align-items: flex-end;
  color: #fff; background: linear-gradient(160deg, var(--forest) 0%, var(--olive) 100%); overflow: hidden;
}
.hero-media, .cta-media { position: absolute; inset: 0; }
.hero-media img, .cta-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: 50% 58%; }
.cta-media img { object-position: 60% 45%; }
.split-media img { object-position: 96% 50%; }
@media (max-width: 700px) {
  .hero-media img { object-position: 44% 50%; }
  .cta-media img { object-position: 66% 50%; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(27, 43, 11, 0.5) 0%, rgba(27, 43, 11, 0.26) 28%, rgba(27, 43, 11, 0.6) 52%, rgba(27, 43, 11, 0.86) 100%),
    linear-gradient(90deg, rgba(27, 43, 11, 0.6) 0%, rgba(27, 43, 11, 0) 75%);
}
.hero-inner { position: relative; padding: calc(var(--header-h) + 80px) 0 clamp(70px, 11vh, 120px); }
.hero h1 { color: #fff; max-width: 15ch; margin-top: 14px; text-wrap: balance; }
.hero-lede { max-width: 56ch; margin: 24px 0 34px; font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: rgba(255, 255, 255, 0.93); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 20px; z-index: 2; width: 44px; height: 58px; transform: translateX(-50%); display: none;
}
.scroll-cue::before {
  content: ""; position: absolute; left: 8px; top: 6px; width: 28px; height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.7); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 15px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff;
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@media (min-width: 900px) { .scroll-cue { display: block; } }

/* ---------- Generic sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-sand { background: var(--sand-soft); }
.section-forest { background: var(--forest); color: #fff; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { text-align: center; max-width: 780px; margin-inline: auto; margin-bottom: clamp(36px, 5vw, 60px); }

.eyebrow {
  display: inline-block; margin-bottom: 14px; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--earth);
}
.eyebrow-light { color: var(--savannah); }
.lead { margin-top: 22px; font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); }
.lead-light { color: rgba(255, 255, 255, 0.88); }

/* ---------- Split (approach) ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; gap: 80px; } }

.tick-list { margin-top: 28px; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 500; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.500 10.200 3 3 6-6.200' fill='none' stroke='%23d8c5a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ---------- Media frames (with graceful fallback when a photo is missing) ---------- */
.media-frame {
  position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md);
  background: linear-gradient(145deg, var(--forest) 0%, var(--olive) 60%, var(--savannah) 130%);
  aspect-ratio: 4 / 3;
}
.split-media { aspect-ratio: 4 / 4.6; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-frame:hover img { transform: scale(1.04); }
img.is-missing { visibility: hidden; }
.has-fallback { position: relative; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 22px; }
.card-grid.four { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px 32px;
  box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(211, 129, 37, 0.5); }
.card-icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 16px;
  background: var(--forest); color: var(--savannah); transition: background-color 0.35s, color 0.35s;
}
.card:hover .card-icon { background: var(--sunset); color: var(--forest-deep); }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 1rem; }

/* ---------- Alternating features ---------- */
.feature { display: grid; gap: 32px; align-items: center; margin-bottom: clamp(56px, 8vw, 104px); }
.feature:last-child { margin-bottom: 0; }
.feature-text p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 1.1rem; max-width: 52ch; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1.1fr 0.9fr; gap: 80px; }
  .feature-reverse { grid-template-columns: 0.9fr 1.1fr; }
  .feature-reverse .feature-media { order: 2; }
}

/* ---------- Thoughtful technology ---------- */
.section-tech { background: #fff; position: relative; overflow: hidden; }
.section-tech::before {
  content: ""; position: absolute; left: -180px; top: -140px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 197, 163, 0.38) 0%, rgba(216, 197, 163, 0) 68%); pointer-events: none;
}
.tech { position: relative; display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .tech { grid-template-columns: 1.05fr 0.95fr; gap: 72px; } }

.tech-visual { min-width: 0; }
.shot {
  overflow: hidden; border-radius: var(--radius); background: var(--forest-deep);
  border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(27, 43, 11, 0.2);
}
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--forest); }
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(216, 197, 163, 0.5); }
.shot-bar em {
  flex: 1; min-width: 0; margin-left: 10px; padding: 5px 14px; border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: rgba(255, 255, 255, 0.1); color: var(--savannah); font: 500 0.78rem/1.4 var(--font-body);
}
.shot-body {
  position: relative; aspect-ratio: 1350 / 580; background: linear-gradient(150deg, var(--sand-soft) 0%, var(--savannah) 140%);
}
.shot-body img, .shot-body picture { display: block; width: 100%; height: 100%; }
.shot-body img { object-fit: cover; object-position: top center; }
@media (max-width: 559px) { .shot-body { aspect-ratio: 1 / 1; } }
.shot-body.has-fallback::after {
  content: "Curate Your Tour"; position: absolute; inset: 0; display: grid; place-items: center;
  font: 400 clamp(1.5rem, 3vw, 2.2rem)/1.2 var(--font-display); color: var(--forest); opacity: 0.55;
}

.tech-copy { min-width: 0; }
.tech-copy .lead { margin-top: 20px; }
.tech-note { margin-top: 16px; color: var(--muted); }
.benefit-grid { display: grid; gap: 14px; margin: 30px 0 32px; }
@media (min-width: 560px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
.benefit {
  padding: 20px 22px 22px; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--line);
  border-left: 4px solid var(--sunset);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.benefit:nth-child(2) { border-left-color: var(--olive); }
.benefit:nth-child(3) { border-left-color: var(--earth); }
.benefit:nth-child(4) { border-left-color: var(--forest); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.benefit h3 { margin-bottom: 8px; font: 700 0.8rem/1.4 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest); }
.benefit p { font-size: 0.98rem; line-height: 1.55; color: var(--muted); }

/* ---------- Traveler checklist ---------- */
.check-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.check-card {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-weight: 600; color: var(--forest);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.check-card:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); border-color: var(--sunset); }
.check {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--savannah) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.500 10.200 3 3 6-6.200' fill='none' stroke='%23283f12' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* ---------- Commitments ---------- */
.commitments { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .commitments { grid-template-columns: 1fr 1fr; gap: 90px; } }
.section-forest h2 { color: #fff; }
.honesty {
  margin-top: 28px; padding-left: 18px; border-left: 3px solid var(--sunset);
  font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; color: var(--savannah);
}
.commit-list { display: grid; gap: 14px; }
.commit-list li {
  position: relative; padding: 20px 24px 20px 68px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(216, 197, 163, 0.22); font-weight: 500;
  transition: background-color 0.3s, transform 0.3s var(--ease);
}
.commit-list li:hover { background: rgba(255, 255, 255, 0.11); transform: translateX(6px); }
.commit-list li::before {
  content: ""; position: absolute; left: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: var(--sunset) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.500 10.200 3 3 6-6.200' fill='none' stroke='%231b2b0b' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* ---------- Values ---------- */
.value-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.value {
  position: relative; overflow: hidden; padding: 36px 30px 34px; border-radius: var(--radius);
  background: var(--cream); border: 1px solid var(--line); border-top: 4px solid var(--earth);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.value:nth-child(2) { border-top-color: var(--olive); }
.value:nth-child(3) { border-top-color: var(--sunset); }
.value:nth-child(4) { border-top-color: var(--forest); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-num { display: block; margin-bottom: 18px; font: 400 2.6rem/1 var(--font-display); color: var(--savannah); }
.value h3 { font-size: 1.45rem; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item.is-open { border-color: var(--sunset); box-shadow: var(--shadow-sm); }
.faq-item h3 { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.4; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px;
  background: none; border: 0; text-align: left; cursor: pointer; font: 600 1.05rem/1.4 var(--font-body); color: var(--forest);
}
.faq-q:hover { background: rgba(216, 197, 163, 0.18); }
.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--savannah); transition: background-color 0.3s, transform 0.35s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--forest); border-radius: 2px; transition: transform 0.35s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--sunset); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 24px; color: var(--muted); max-width: 66ch; }
.js .faq-a { grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.js .faq-q[aria-expanded="true"] + .faq-a,
.js .faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--forest) 0%, var(--olive) 100%); padding: clamp(84px, 12vw, 150px) 0;
}
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 43, 11, 0.62), rgba(27, 43, 11, 0.76)); }
.cta-inner { position: relative; max-width: 780px; }
.cta h2 { color: #fff; text-wrap: balance; }
.cta p { margin: 22px auto 34px; max-width: 52ch; font-size: 1.2rem; color: rgba(255, 255, 255, 0.92); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: rgba(255, 255, 255, 0.82); padding-top: clamp(56px, 8vw, 88px); }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 70px; } }
.footer-brand .brand-logo { height: 64px; }
.footer-brand p { margin-top: 18px; max-width: 36ch; font-size: 0.98rem; }
.footer-brand p:last-child { margin-top: 8px; }
.site-footer a[aria-current="page"] { color: var(--savannah); }
.footer-title { margin-bottom: 18px; font: 700 0.8rem/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--savannah); }
.site-footer ul { display: grid; gap: 0; }
.site-footer a { text-decoration: none; transition: color 0.25s; }
.site-footer li a, .footer-base a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--sunset); }
.mail { display: inline-flex; align-items: center; min-height: 44px; color: var(--savannah); font-weight: 600; text-decoration: underline !important; text-decoration-color: rgba(216, 197, 163, 0.4) !important; text-underline-offset: 4px; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 0 32px;
  border-top: 1px solid rgba(216, 197, 163, 0.18); font-size: 0.9rem;
}

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; padding: 8px 20px 26px;
    background: rgba(27, 43, 11, 0.97); box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav-open .primary-nav { visibility: visible; opacity: 1; transform: none; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav li { border-bottom: 1px solid rgba(216, 197, 163, 0.16); }
  .primary-nav li:last-child { border: 0; padding-top: 18px; }
  .primary-nav a:not(.btn) { display: block; padding: 16px 0; }
  .primary-nav .btn { width: 100%; }
  .hero h1 { max-width: 12ch; }
  .hero-overlay { background: linear-gradient(180deg, rgba(27, 43, 11, 0.5) 0%, rgba(27, 43, 11, 0.46) 28%, rgba(27, 43, 11, 0.78) 52%, rgba(27, 43, 11, 0.9) 100%); }
}
@media (max-width: 520px) {
  .btn-row .btn, .tech-copy .btn { width: 100%; }
  .brand-logo { height: 42px; }
  .shot-bar { padding: 10px 12px; }
  .check-grid { grid-template-columns: 1fr; }
  .faq-q { padding: 18px; }
  .faq-a p { padding: 0 18px 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover, .value:hover, .btn:hover, .check-card:hover, .commit-list li:hover, .benefit:hover, .btn:hover .btn-arrow { transform: none; }
  .media-frame:hover img { transform: none; }
}
