/* Maisha Tours — light theme, mixed wildlife greens */
:root {
  --font-display: "Instrument Serif", "Fraunces", Georgia, serif;
  --font-body: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --text-xs:   clamp(0.75rem, 0.7rem + 0.2vw, 0.85rem);
  --text-sm:   clamp(0.875rem, 0.82rem + 0.25vw, 1rem);
  --text-base: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
  --text-lg:   clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --text-xl:   clamp(1.5rem, 1.3rem + 0.8vw, 1.85rem);
  --text-2xl:  clamp(2rem, 1.6rem + 1.5vw, 2.75rem);
  --text-3xl:  clamp(2.5rem, 1.9rem + 2.4vw, 4rem);
  --text-hero: clamp(2.8rem, 2rem + 4.5vw, 5.5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-7: 1.75rem; --space-8: 2rem;
  --space-12: 3rem; --space-16: 4rem; --space-24: 6rem;
  --space-section: clamp(4rem, 3rem + 5vw, 8rem);

  --radius-sm: 0.375rem; --radius-md: 0.75rem; --radius-lg: 1.25rem; --radius-xl: 2rem; --radius-pill: 999px;

  --duration-fast: 150ms; --duration-normal: 300ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.06);
  --shadow-md: 0 6px 20px -4px rgb(0 0 0 / 0.12);
  --shadow-lg: 0 20px 40px -12px rgb(0 0 0 / 0.18);

  --container: min(1200px, 92vw);
  --container-narrow: min(760px, 92vw);

  /* wildlife greens */
  --brand-primary: oklch(30% 0.06 150);         /* deep forest green */
  --brand-primary-ink: oklch(98% 0 0);
  --brand-secondary: oklch(52% 0.09 138);       /* moss/olive green */
  --brand-tint: oklch(95% 0.025 140);           /* pale sage section bg */
  --brand-accent-line: oklch(60% 0.07 140 / 0.35);
  --paper: oklch(98% 0.008 95);                 /* warm cream */
  --ink: oklch(20% 0.02 150);
  --ink-dim: oklch(40% 0.02 150);
  --line: oklch(88% 0.01 140);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0; }
h1 { font-weight: 400; }
p { margin: 0; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { width: var(--container); margin-inline: auto; }
.container-narrow { width: var(--container-narrow); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.eyebrow { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-secondary); }

.btn { display: inline-flex; align-items: center; gap: var(--space-2); padding: 0.85rem 1.6rem; border-radius: var(--radius-pill); font-weight: 600; font-size: var(--text-sm); border: 1px solid transparent; transition: transform var(--duration-fast) var(--ease-out-expo), box-shadow var(--duration-normal) var(--ease-out-expo), background var(--duration-fast) var(--ease-out-expo); }
.btn-primary { background: var(--brand-primary); color: var(--brand-primary-ink); box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--brand-primary); border-color: var(--brand-accent-line); }
.btn-ghost:hover { background: var(--brand-tint); border-color: var(--brand-secondary); }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in oklab, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding-block: 0.7rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-family: var(--font-display); font-size: 1.4rem; }
.brand img { height: 2.6rem; width: auto; border-radius: var(--radius-sm); }
.brand-name em { font-style: italic; color: var(--brand-secondary); }
.site-nav { display: flex; gap: 1.75rem; align-items: center; }
.site-nav a:not(.btn) { font-size: var(--text-sm); font-weight: 500; color: var(--ink-dim); }
.site-nav a:not(.btn):hover, .site-nav a.active { color: var(--brand-primary); }
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; gap: 0.5rem; }
  .site-nav { flex-wrap: wrap; gap: 0.6rem 1.25rem; width: 100%; justify-content: flex-start; }
  .site-nav a:not(.btn) { display: inline-flex; font-size: var(--text-xs); }
}

/* ---- Hero (photo background + overlay) ---- */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 7vw, 5rem); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, oklch(20% 0.03 150 / 0.55) 0%, oklch(18% 0.03 150 / 0.75) 60%, oklch(16% 0.03 150 / 0.88) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.hero-layout { display: flex; align-items: center; gap: var(--space-8); }
.hero-logo-badge { flex-shrink: 0; display: inline-flex; background: var(--paper); padding: 0.85rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-logo-badge img { height: clamp(6rem, 11vw, 9rem); width: auto; display: block; border-radius: var(--radius-md); }
.hero-content { max-width: 560px; }
@media (max-width: 760px) { .hero-layout { flex-direction: column; align-items: flex-start; gap: var(--space-6); } }
.hero-eyebrow { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.3em; text-transform: uppercase; color: oklch(85% 0.06 140); font-weight: 600; }
.hero-title { font-size: var(--text-hero); font-weight: 400; color: var(--paper); margin-top: var(--space-4); }
.hero-title em { font-style: italic; color: oklch(80% 0.09 140); }
.hero-lede { font-size: var(--text-lg); color: oklch(90% 0.01 140); max-width: 46ch; margin-top: var(--space-5); }
.hero-cta { display: flex; gap: 0.75rem; margin-top: var(--space-7); flex-wrap: wrap; }
.hero .btn-ghost { color: var(--paper); border-color: oklch(90% 0.02 140 / 0.4); }
.hero .btn-ghost:hover { background: oklch(100% 0 0 / 0.1); }

/* ---- Manifesto ---- */
.manifesto { padding-block: var(--space-section); }
.manifesto-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-12); align-items: start; }
.manifesto-title { font-size: var(--text-3xl); font-weight: 400; margin-top: var(--space-3); }
.manifesto-title em { font-style: italic; color: var(--brand-secondary); }
.manifesto-body p { color: var(--ink-dim); margin-bottom: var(--space-4); line-height: 1.75; }
.manifesto-body em { font-style: italic; color: var(--brand-primary); }
@media (max-width: 800px) { .manifesto-inner { grid-template-columns: 1fr; } }

/* ---- Pillars ---- */
.pillars { padding-block: var(--space-16); background: var(--brand-tint); }
.pillars-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-6); text-align: center; }
.pillar-icon { color: var(--brand-primary); display: inline-flex; margin-bottom: var(--space-2); }
.pillar h3 { font-size: var(--text-lg); font-weight: 400; }
.pillar p { color: var(--ink-dim); font-size: var(--text-sm); margin-top: 0.25rem; }
@media (max-width: 900px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-8); } }
@media (max-width: 560px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Wildlife gallery ---- */
.gallery { padding-block: var(--space-section); }
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-8); margin-bottom: var(--space-12); flex-wrap: wrap; }
.gallery-title { font-size: var(--text-3xl); font-weight: 400; max-width: 20ch; }
.gallery-title em { font-style: italic; color: var(--brand-secondary); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.gallery-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 3/4; box-shadow: var(--shadow-sm); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-normal) var(--ease-out-expo); }
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, oklch(15% 0.03 150 / 0.75) 100%); }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: var(--space-4); color: var(--paper); font-size: var(--text-sm); font-weight: 600; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; } }

/* ---- Named destination spotlight ---- */
.spotlight { padding-block: var(--space-section); background: var(--brand-tint); }
.spotlight-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
.spotlight-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.spotlight-media img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-title { font-size: var(--text-3xl); font-weight: 400; margin-top: var(--space-3); }
.spotlight-title em { font-style: italic; color: var(--brand-secondary); }
.spotlight-body p { color: var(--ink-dim); margin-top: var(--space-4); line-height: 1.75; max-width: 48ch; }
.spotlight-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: var(--space-5); }
.spotlight-tags span { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-primary); background: var(--paper); border: 1px solid var(--brand-accent-line); border-radius: var(--radius-pill); padding: 0.35rem 0.85rem; }
@media (max-width: 800px) { .spotlight-inner { grid-template-columns: 1fr; } }

/* ---- Give-back ---- */
.give-back { padding-block: var(--space-section); background: var(--brand-primary); color: var(--paper); }
.give-back-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-8); flex-wrap: wrap; }
.give-back-title { font-size: var(--text-3xl); font-weight: 400; max-width: 20ch; color: var(--paper); }
.give-back-title em { font-style: italic; color: oklch(80% 0.09 140); }
.give-back-body { color: oklch(88% 0.01 140); max-width: 44ch; margin-top: var(--space-4); line-height: 1.7; }
.give-back .btn-primary { background: var(--paper); color: var(--brand-primary); }

/* ---- Page hero (interior pages) ---- */
.page-hero { padding-block: clamp(2.75rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3rem); background: var(--brand-tint); text-align: center; }
.page-hero-inner { max-width: 640px; margin-inline: auto; }
.page-hero-title { font-size: clamp(2.2rem, 1.8rem + 2.4vw, 3.4rem); font-weight: 400; margin-top: var(--space-3); }
.page-hero-title em { font-style: italic; color: var(--brand-secondary); }
.page-hero-lede { font-size: var(--text-lg); color: var(--ink-dim); max-width: 50ch; margin-inline: auto; margin-top: var(--space-4); }

/* ---- Note / callout ---- */
.note { background: var(--brand-tint); border: 1px solid var(--brand-accent-line); border-radius: var(--radius-lg); padding: var(--space-6); text-align: center; max-width: 560px; margin: var(--space-12) auto 0; color: var(--ink-dim); font-size: var(--text-sm); }
.note a { color: var(--brand-primary); font-weight: 600; }

/* ---- Contact ---- */
.contact { padding-block: var(--space-section); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-12); align-items: start; }
.contact-details { display: grid; gap: var(--space-6); }
.contact-detail { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--space-3); padding-top: var(--space-5); border-top: 1px solid var(--brand-accent-line); }
.contact-detail:first-child { padding-top: 0; border-top: none; }
.contact-detail-icon { color: var(--brand-secondary); font-family: var(--font-display); font-style: italic; font-size: var(--text-xl); }
.contact-detail h3 { font-size: var(--text-base); font-weight: 600; margin-bottom: 0.25rem; font-family: var(--font-body); }
.contact-detail p, .contact-detail a { color: var(--ink-dim); font-size: var(--text-sm); }
.contact-detail a:hover { color: var(--brand-primary); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--brand-accent-line); box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---- CTA band ---- */
.cta-band { background: var(--brand-tint); padding-block: var(--space-section); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-8); flex-wrap: wrap; }
.cta-title { font-size: var(--text-3xl); font-weight: 400; max-width: 22ch; }
.cta-title em { font-style: italic; color: var(--brand-secondary); }

/* ---- Footer ---- */
.site-footer { background: var(--brand-primary); color: oklch(88% 0.01 140); padding-block: var(--space-16) var(--space-8); }
.footer-inner { display: grid; grid-template-columns: 1.1fr 2fr; gap: var(--space-12); }
.footer-brand .brand { color: var(--paper); }
.footer-brand img { border-radius: var(--radius-sm); }
.footer-tag { color: oklch(75% 0.02 140); margin-top: var(--space-3); font-size: var(--text-sm); max-width: 30ch; }
.footer-contact { display: grid; gap: 0.4rem; margin-top: var(--space-4); font-size: var(--text-sm); }
.footer-contact a, .footer-contact span { color: oklch(82% 0.02 140); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.footer-links h4 { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.2em; color: oklch(80% 0.08 140); margin-bottom: var(--space-3); }
.footer-links a { display: block; margin-block: 0.4rem; font-size: var(--text-sm); color: oklch(85% 0.02 140); }
.footer-links a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid oklch(40% 0.05 140); font-size: var(--text-xs); font-family: var(--font-mono); color: oklch(70% 0.02 140); letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } .footer-links { grid-template-columns: 1fr 1fr; } .cta-inner, .give-back-inner { justify-content: center; text-align: center; } }

@media (prefers-reduced-motion: reduce) { * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
