/*
Theme Name: Wild Maasai Adventures
Theme URI: https://wildmaasaiadventures.com
Author: Wild Maasai Adventures
Author URI: https://wildmaasaiadventures.com
Description: A cinematic, editable WordPress block theme for a Maasai Mara-led safari and East African travel company.
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Version: 2.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wild-maasai-adventures
Tags: block-patterns, full-site-editing, wide-blocks, custom-colors, custom-logo, tourism
*/

:root {
  --wma-ink: #10110f;
  --wma-night: #17130f;
  --wma-earth: #4b2c20;
  --wma-red: #bd2630;
  --wma-red-deep: #881b23;
  --wma-blue: #176e9f;
  --wma-gold: #d5a54a;
  --wma-sunset: #d96f36;
  --wma-ochre: #c88a34;
  --wma-sand: #e7d8bd;
  --wma-cream: #fbf4e7;
  --wma-sage: #566146;
  --wma-moss: #35402e;
  --wma-line: rgba(31, 25, 19, .16);
  --wma-shadow: 0 28px 80px rgba(34, 22, 14, .18);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body, button, input, select, textarea { -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { text-underline-offset: .23em; }
.wp-site-blocks { overflow: clip; }
.wp-element-button, .wp-block-button__link { transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.wp-element-button:hover, .wp-block-button__link:hover { transform: translateY(-2px); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--wma-gold); outline-offset: 4px; }
[id] { scroll-margin-top: 112px; }
.wma-skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; padding: .75rem 1rem; color: #fff !important; background: var(--wma-ink); font-size: .8rem; font-weight: 800; transform: translateY(-160%); transition: transform .2s ease; }
.wma-skip-link:focus { transform: translateY(0); }

/* Header */
.wma-site-header {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0 !important;
  color: #fff;
  background: linear-gradient(180deg, rgba(7, 8, 7, .88), rgba(7, 8, 7, .18) 72%, transparent);
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.wma-site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 5px;
  background: repeating-linear-gradient(90deg, var(--wma-red) 0 18px, #fff 18px 27px, var(--wma-blue) 27px 45px, var(--wma-gold) 45px 60px, var(--wma-ink) 60px 72px);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s ease;
}
.wma-site-header.is-scrolled { background: rgba(11, 12, 10, .96); box-shadow: 0 14px 40px rgba(0,0,0,.24); backdrop-filter: blur(14px); }
.wma-site-header.is-scrolled::after { transform: scaleY(1); }
.wma-header-inner { min-height: 112px; border-bottom: 1px solid rgba(255,255,255,.2); }
.wma-brand .wp-block-site-title { margin: 0; }
.wma-brand .wp-block-site-title a {
  display: block;
  width: 108px;
  height: 104px;
  overflow: hidden;
  background: url("assets/images/wild-maasai-adventures-logo.png") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
}
.wma-site-header a { color: inherit; text-decoration: none; }
.wma-site-header .wp-block-navigation { font-size: .71rem; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; }
.wma-site-header .wp-block-navigation-item__content { padding: .7rem .12rem; }
.wma-site-header .wma-nav-cta .wp-block-navigation-item__content { padding: .82rem 1.08rem; border: 1px solid var(--wma-gold); background: rgba(189,38,48,.78); }
.wma-site-header .wp-block-navigation__responsive-container.is-menu-open { color: var(--wma-cream); background: var(--wma-ink); }

/* Type and shared layout */
.wma-kicker, .wma-section-kicker { margin-bottom: 1rem !important; font-size: .71rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.wma-kicker { color: #f3c781; }
.wma-section-kicker { color: var(--wma-red); }
.wma-display, .wma-section-title { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; text-wrap: balance; }
.wma-display { max-width: 1080px; margin: 0; font-size: clamp(4rem, 9.7vw, 9.25rem); line-height: .86; }
.wma-section-title { margin: .25rem 0 1.25rem; font-size: clamp(3rem, 6.2vw, 5.8rem); line-height: .95; }
.wma-display em, .wma-section-title em { color: #f2c883; font-weight: 400; }
.wma-home-intro .wma-section-title em, .wma-safari-teaser .wma-section-title em, .wma-page-body .wma-section-title em, .wma-safaris-page .wma-section-title em, .wma-plan-page .wma-section-title em { color: var(--wma-red); }
.wma-lead { max-width: 640px; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.wma-large-copy { font-family: Georgia, serif; font-size: clamp(1.35rem, 2.15vw, 2rem); line-height: 1.35; }
.wma-editorial-split { align-items: end !important; }
.wma-editorial-split > .wp-block-column:last-child { color: #61574e; }
.wma-editorial-split a { color: var(--wma-red); font-weight: 750; }

/* Home hero */
.wma-hero { min-height: max(850px, 100svh); }
.wma-hero .wp-block-cover__image-background { object-position: center 42%; transform: scale(1.015); animation: wmaHeroReveal 1.8s ease-out both; }
.wma-hero .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgba(10,11,9,.91) 0%, rgba(10,11,9,.55) 46%, rgba(10,11,9,.08) 80%), linear-gradient(0deg, rgba(10,11,9,.72), transparent 55%) !important; }
.wma-hero .wp-block-cover__inner-container, .wma-inner-hero .wp-block-cover__inner-container { width: 100%; }
.wma-hero-content { display: flex; min-height: max(850px, 100svh); flex-direction: column; justify-content: flex-end; padding-top: 12rem; padding-bottom: 5.5rem; }
.wma-hero-actions { margin-top: 2rem !important; }
.wma-hero .is-style-outline .wp-block-button__link, .wma-destination-cinema .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.72); }
.wma-trust-row { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 3.7rem !important; padding-top: 1.15rem; border-top: 1px solid rgba(255,255,255,.21); color: rgba(255,255,255,.76); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.wma-trust-row span::before { content: "◆"; margin-right: .6rem; color: var(--wma-gold); font-size: .5rem; }

/* Intro and animated beadwork */
.wma-home-intro, .wma-page-body { position: relative; padding-top: clamp(5rem, 8vw, 8rem) !important; padding-bottom: clamp(5rem, 8vw, 8rem) !important; }
.wma-home-intro { min-height: 590px; display: flex; align-items: center; }
.wma-home-intro::before, .wma-page-body::before { content: ""; position: absolute; inset: 0; opacity: .09; background: radial-gradient(circle at 15% 25%, var(--wma-sunset), transparent 27%), radial-gradient(circle at 85% 70%, var(--wma-sage), transparent 24%); pointer-events: none; }
.wma-home-intro > *, .wma-page-body > * { position: relative; z-index: 2; }
.wma-bead-orbit { position: absolute !important; z-index: 1 !important; top: 50%; left: -145px; width: 360px; height: 360px; border: 1px solid rgba(189,38,48,.14); border-radius: 50%; animation: wmaOrbit 30s linear infinite; }
.wma-bead-orbit::before, .wma-bead-orbit::after { content: ""; position: absolute; border: 1px solid rgba(23,110,159,.14); border-radius: 50%; inset: 34px; }
.wma-bead-orbit::after { inset: 78px; border-color: rgba(213,165,74,.3); }
.wma-bead-orbit span { position: absolute; top: 50%; left: 50%; width: 15px; height: 15px; margin: -7px; border: 3px solid rgba(255,255,255,.8); border-radius: 50%; background: var(--wma-red); box-shadow: 0 0 0 1px rgba(0,0,0,.1); transform: rotate(var(--angle, 0deg)) translateX(180px); }
.wma-bead-orbit span:nth-child(1) { --angle: 0deg; background: var(--wma-red); }.wma-bead-orbit span:nth-child(2) { --angle: 45deg; background: var(--wma-gold); }.wma-bead-orbit span:nth-child(3) { --angle: 90deg; background: var(--wma-blue); }.wma-bead-orbit span:nth-child(4) { --angle: 135deg; background: #fff; }.wma-bead-orbit span:nth-child(5) { --angle: 180deg; background: var(--wma-red); }.wma-bead-orbit span:nth-child(6) { --angle: 225deg; background: var(--wma-gold); }.wma-bead-orbit span:nth-child(7) { --angle: 270deg; background: var(--wma-blue); }.wma-bead-orbit span:nth-child(8) { --angle: 315deg; background: #fff; }
.wma-bead-orbit-page { top: 15%; left: auto; right: -165px; }
.wma-bead-chain { display: flex; max-width: 1280px; justify-content: center; gap: clamp(5px, 1vw, 12px); margin: clamp(3rem, 6vw, 5rem) auto 0; }
.wma-bead-chain i { width: clamp(12px, 1.5vw, 20px); aspect-ratio: 1; border: 3px solid #fff; border-radius: 50%; background: var(--wma-red); box-shadow: 0 0 0 1px rgba(0,0,0,.09); animation: wmaBeadPulse 3.2s ease-in-out infinite; }
.wma-bead-chain i:nth-child(4n+2) { background: var(--wma-blue); animation-delay: -.55s; }.wma-bead-chain i:nth-child(4n+3) { background: var(--wma-gold); animation-delay: -1.1s; }.wma-bead-chain i:nth-child(4n+4) { background: var(--wma-ink); animation-delay: -1.65s; }
.wma-bead-ribbon { position: absolute; z-index: 4; right: 0; bottom: 0; left: 0; height: 14px; background: repeating-linear-gradient(90deg, var(--wma-red) 0 24px, #fff 24px 36px, var(--wma-blue) 36px 60px, var(--wma-gold) 60px 80px, var(--wma-ink) 80px 96px); }
.wma-mini-beads { height: 7px; margin-top: 1.5rem; background: repeating-linear-gradient(90deg, var(--wma-red) 0 18px, #fff 18px 28px, var(--wma-blue) 28px 46px, var(--wma-gold) 46px 60px, var(--wma-ink) 60px 72px); }

/* Locally bundled cinematic Mara imagery */
.wma-photo-cheetah { --wma-image: url("assets/images/immersive-cheetah.webp"); }
.wma-photo-sunset { --wma-image: url("assets/images/immersive-mara-sunset.webp"); }
.wma-photo-migration { --wma-image: url("assets/images/immersive-migration.webp"); }

/* Full-bleed experience mosaic */
.wma-experience-stage { margin: 0 !important; padding: 0 !important; border-top: 8px solid transparent; border-image: repeating-linear-gradient(90deg, var(--wma-red) 0 28px, #fff 28px 40px, var(--wma-blue) 40px 68px, var(--wma-gold) 68px 88px) 8; background: var(--wma-ink); }
.wma-experience-mosaic { display: grid; min-height: 760px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.wma-story-panel { position: relative; display: flex; min-height: 760px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(2rem, 4vw, 4.5rem); color: #fff !important; background-image: linear-gradient(0deg, rgba(11,11,9,.88), rgba(11,11,9,.08) 64%), var(--wma-image); background-position: center; background-size: cover; text-decoration: none; }
.wma-story-panel::before { content: ""; position: absolute; inset: 0; border-right: 1px solid rgba(255,255,255,.2); background: rgba(11,11,9,.12); transition: background .4s ease; }
.wma-story-panel:hover::before { background: rgba(11,11,9,0); }
.wma-story-panel > * { position: relative; z-index: 1; }
.wma-story-panel > span { color: #f0c679; font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.wma-story-panel h3 { margin: 0 0 .6rem; color: #fff; font-family: Georgia, serif; font-size: clamp(2.25rem, 4vw, 4.3rem); font-weight: 400; line-height: .95; }
.wma-story-panel p { max-width: 390px; margin: 0; color: rgba(255,255,255,.75); }
.wma-story-panel .wma-panel-link { display: inline-block; margin-top: 1.1rem; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* Seasonal migration feature */
.wma-migration-feature { position: relative; display: flex; min-height: min(820px, 92svh); align-items: center; justify-content: flex-end; margin: 0 !important; padding: clamp(2rem, 7vw, 7rem) !important; background: linear-gradient(90deg, rgba(12,12,10,.2), rgba(12,12,10,.78)), url("assets/images/immersive-migration.webp") center / cover no-repeat; animation: wmaScenicDrift 22s ease-in-out infinite alternate; }
.wma-migration-card { width: min(610px, 100%); padding: clamp(2rem, 5vw, 4rem); border-top: 5px solid var(--wma-gold); color: var(--wma-ink); background: rgba(255,252,242,.96); box-shadow: 0 35px 100px rgba(0,0,0,.44); backdrop-filter: blur(8px); }
.wma-migration-card > span { color: var(--wma-red); font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.wma-migration-card h2 { margin: .8rem 0 1.2rem; font-family: Georgia, serif; font-size: clamp(3.5rem, 7vw, 6.4rem); font-weight: 400; line-height: .84; }
.wma-migration-card h2 em { color: var(--wma-red); font-weight: 400; }
.wma-migration-card p { color: #65594e; }
.wma-season-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .8rem; margin: 1.7rem 0; padding-top: 1.4rem; border-top: 1px solid var(--wma-line); }
.wma-season-facts b { font-size: .68rem; font-weight: 700; line-height: 1.4; }
.wma-season-facts i { display: block; color: var(--wma-red); font-family: Georgia, serif; font-size: 1.4rem; font-weight: 400; font-style: normal; }
.wma-migration-card > a { display: inline-block; padding: .85rem 1.1rem; color: #fff; background: var(--wma-ink); font-size: .75rem; font-weight: 800; text-decoration: none; }

/* Full-image narrative covers */
.wma-wildlife-code, .wma-destination-cinema, .wma-final-cover { min-height: 720px; margin: 0 !important; }
.wma-wildlife-code .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgba(11,11,9,.9), rgba(11,11,9,.36) 59%, rgba(11,11,9,.08)) !important; }
.wma-wildlife-code-copy { max-width: 720px; margin-left: max(5vw, calc((100vw - 1280px)/2)) !important; padding: 2rem 0 !important; }
.wma-wildlife-code-copy > p:not(.wma-kicker) { max-width: 600px; color: rgba(255,255,255,.8); }
.wma-code-points { display: grid; max-width: 700px; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,.24); border-left: 1px solid rgba(255,255,255,.24); }
.wma-code-points span { padding: 1rem; border-right: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.24); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wma-code-points span::before { content: "◆"; margin-right: .6rem; color: var(--wma-red); }
.wma-destination-cinema .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgba(20,13,8,.86), rgba(20,13,8,.32) 65%, rgba(20,13,8,.1)), linear-gradient(0deg, rgba(20,13,8,.62), transparent 54%) !important; }
.wma-destination-local { background: var(--wma-ink) url("assets/images/immersive-mara-sunset.webp") center / cover no-repeat; animation: wmaScenicDrift 24s ease-in-out infinite alternate; }
.wma-destination-cinema-copy { display: flex; min-height: 650px; flex-direction: column; justify-content: flex-end; padding-bottom: 3rem; }
.wma-destination-ribbon { display: flex; flex-wrap: wrap; gap: 0; max-width: 1000px; margin: 2rem 0; border-top: 1px solid rgba(255,255,255,.3); border-left: 1px solid rgba(255,255,255,.3); }
.wma-destination-ribbon a { flex: 1 1 180px; padding: 1rem; color: #fff; border-right: 1px solid rgba(255,255,255,.3); border-bottom: 1px solid rgba(255,255,255,.3); font-family: Georgia, serif; font-size: 1.1rem; text-decoration: none; transition: background .25s ease; }
.wma-destination-ribbon a:hover { background: rgba(189,38,48,.7); }

/* Safari teaser cards */
.wma-safari-teaser, .wma-safaris-page { padding-top: clamp(5rem, 8vw, 8rem) !important; padding-bottom: clamp(5rem, 8vw, 8rem) !important; }
.wma-teaser-grid { display: grid; width: min(100% - 40px, 1480px); grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin: 3rem auto 0; }
.wma-teaser-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; color: inherit !important; background: #fff; box-shadow: 0 20px 55px rgba(40,28,18,.11); text-decoration: none; transition: transform .3s ease, box-shadow .3s ease; }
.wma-teaser-card:hover { transform: translateY(-7px); box-shadow: var(--wma-shadow); }
.wma-teaser-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .65s ease; }
.wma-teaser-card:hover img { transform: scale(1.035); }
.wma-teaser-card > div { display: flex; min-height: 280px; flex: 1; flex-direction: column; padding: clamp(1.4rem, 2.7vw, 2.4rem); }
.wma-teaser-card span, .wma-package-v2-body > span { color: var(--wma-blue); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.wma-teaser-card h3 { margin: .65rem 0; font-family: Georgia, serif; font-size: clamp(2rem, 3.3vw, 3.2rem); font-weight: 400; line-height: .96; }
.wma-teaser-card p { color: #655a50; }
.wma-teaser-card .wma-card-link { display: block; margin-top: auto; padding-top: 1rem; color: var(--wma-red); font-size: .74rem; font-weight: 800; letter-spacing: .04em; }

.wma-final-cover .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgba(9,13,8,.87), rgba(9,13,8,.35) 64%, rgba(9,13,8,.08)) !important; }
.wma-final-cover-copy { max-width: 850px; margin-left: max(5vw, calc((100vw - 1280px)/2)) !important; }
.wma-final-cover-copy > p:not(.wma-kicker) { max-width: 600px; color: rgba(255,255,255,.8); }

/* Direct booking invitation */
.wma-book-direct { position: relative; margin: 0 !important; padding: clamp(5rem, 9vw, 9rem) 0 !important; overflow: hidden; color: #fff; border-top: 8px solid transparent; border-image: repeating-linear-gradient(90deg, var(--wma-red) 0 28px, #fff 28px 40px, var(--wma-blue) 40px 68px, var(--wma-gold) 68px 88px) 8; background: linear-gradient(105deg, rgba(18,17,12,.94), rgba(50,29,18,.72) 58%, rgba(53,64,46,.48)), url("assets/images/immersive-mara-sunset.webp") center / cover no-repeat; }
.wma-book-direct::after { content: ""; position: absolute; right: -190px; bottom: -250px; width: 560px; height: 560px; opacity: .28; border: 1px solid var(--wma-gold); border-radius: 50%; box-shadow: 0 0 0 58px rgba(23,110,159,.16), 0 0 0 112px rgba(189,38,48,.13); }
.wma-book-direct-inner { position: relative; z-index: 1; align-items: center !important; }
.wma-book-direct-inner > .wp-block-column:first-child > p:not(.wma-kicker) { max-width: 650px; color: rgba(255,255,255,.72); }
.wma-book-direct .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.68); }
.wma-book-direct-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.22); border-left: 1px solid rgba(255,255,255,.22); }
.wma-book-direct-steps article { min-height: 250px; padding: clamp(1.2rem, 2.5vw, 2rem); border-right: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.wma-book-direct-steps span { color: var(--wma-gold); font-size: .68rem; font-weight: 800; letter-spacing: .15em; }
.wma-book-direct-steps h3 { margin: 4.5rem 0 .55rem; color: #fff; font-family: Georgia, serif; font-size: clamp(1.7rem, 2.5vw, 2.5rem); font-weight: 400; }
.wma-book-direct-steps p { margin: 0; color: rgba(255,255,255,.62); font-size: .78rem; }
.wma-book-direct-contact { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.4rem; }
.wma-book-direct-contact a { color: #fff; font-size: .76rem; font-weight: 700; text-decoration: none; }
.wma-book-direct-contact a::before { content: "◆"; margin-right: .5rem; color: var(--wma-gold); font-size: .48rem; }

/* Booking and booking-status pages */
.wma-booking-page { position: relative; padding-top: clamp(1.25rem, 3vw, 2.5rem) !important; padding-bottom: clamp(3.5rem, 7vw, 6rem) !important; overflow: hidden; background: linear-gradient(180deg, var(--wma-cream), #f1e3cd); }
.wma-booking-bead-orbit { top: 8%; right: -190px; left: auto; opacity: .55; }
.wma-booking-assurance { position: relative; z-index: 2; display: grid; width: min(100% - 40px, 1380px); grid-template-columns: repeat(3, minmax(0,1fr)); margin: 1.25rem auto 0; border-top: 1px solid var(--wma-line); border-left: 1px solid var(--wma-line); background: rgba(255,255,255,.76); }
.wma-booking-assurance > div { min-height: 150px; padding: 1.35rem; border-right: 1px solid var(--wma-line); border-bottom: 1px solid var(--wma-line); }
.wma-booking-assurance span { display: block; margin-bottom: 1.25rem; color: var(--wma-red); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.wma-booking-assurance strong { font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.wma-booking-assurance p { margin: .45rem 0 0; color: #655a50; font-size: .82rem; }
.wma-booking-page-note { margin-top: 1.25rem !important; padding: clamp(1.2rem, 2.4vw, 2rem) !important; border-left: 4px solid var(--wma-gold); background: #fff; }
.wma-booking-page-note h3 { margin-top: 0; font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.wma-booking-page-note p { color: #655a50; }
.wma-booking-page-note a { color: var(--wma-red); font-weight: 800; }
.wma-booking-status-hero .wma-inner-hero-copy { min-height: 560px; }

/* Standalone page heroes */
.wma-inner-hero { min-height: 690px; }
.wma-inner-hero .wp-block-cover__image-background { object-position: center; }
.wma-inner-hero .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgba(10,11,9,.9), rgba(10,11,9,.38) 62%, rgba(10,11,9,.08)), linear-gradient(0deg, rgba(10,11,9,.5), transparent 55%) !important; }
.wma-inner-hero-copy { display: flex; min-height: 690px; flex-direction: column; justify-content: flex-end; padding-top: 12rem; padding-bottom: 5rem; }
.wma-safaris-hero-local { background: var(--wma-ink) url("assets/images/immersive-migration.webp") center / cover no-repeat; }
.wma-destinations-hero-local { background: var(--wma-ink) url("assets/images/immersive-mara-sunset.webp") center 58% / cover no-repeat; }
.wma-plan-hero-local { background: var(--wma-ink) url("assets/images/immersive-cheetah.webp") center 42% / cover no-repeat; }
.wma-booking-hero-local { background: var(--wma-ink) url("assets/images/immersive-mara-sunset.webp") center 58% / cover no-repeat; }
.wma-booking-hero, .wma-booking-hero .wma-inner-hero-copy { min-height: 440px; }
.wma-booking-hero .wma-inner-hero-copy { padding-top: 8.5rem; padding-bottom: 2.75rem; }
.wma-booking-hero .wma-display { max-width: 900px; font-size: clamp(3rem, 6.6vw, 6.4rem); }
.wma-booking-hero-note { margin: 1rem 0 0; color: rgba(255,255,255,.84); font-size: .8rem; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
.wma-story-hero .wp-block-cover__image-background { object-position: center 65%; }
.wma-page-body .wma-editorial-split { margin-bottom: 5rem; }
.wma-values-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin: 1rem auto 5rem; border-top: 1px solid var(--wma-line); border-left: 1px solid var(--wma-line); }
.wma-value { min-height: 270px; padding: clamp(1.5rem, 3vw, 2.5rem); border-right: 1px solid var(--wma-line); border-bottom: 1px solid var(--wma-line); }
.wma-value span { color: var(--wma-red); font-size: .7rem; font-weight: 800; }
.wma-value h3 { margin: 4.5rem 0 1rem; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 400; }
.wma-value p { color: #655a50; font-size: .88rem; }
.wma-bead-chain-wide { margin-bottom: 5rem; }
.wma-story-manifesto { align-items: center !important; padding: clamp(1.5rem, 4vw, 4rem) !important; color: #fff; background: linear-gradient(130deg, var(--wma-moss), var(--wma-night)); }
.wma-story-manifesto img { width: 100%; min-height: 520px; object-fit: cover; }
.wma-story-manifesto h2 { font-size: clamp(2.4rem, 4vw, 4.2rem); }
.wma-story-manifesto p { color: rgba(255,255,255,.75); }

/* Safaris page: two complete rows of three */
.wma-package-grid-v2 { display: grid; width: min(100% - 40px, 1480px); grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.1rem; margin: 3.5rem auto 0; }
.wma-package-v2 { display: flex; min-width: 0; flex-direction: column; overflow: hidden; background: #fff; box-shadow: 0 18px 48px rgba(40,28,18,.12); transition: transform .3s ease, box-shadow .3s ease; }
.wma-package-v2:hover { transform: translateY(-6px); box-shadow: var(--wma-shadow); }
.wma-package-v2 > img, .wma-package-photo { width: 100%; aspect-ratio: 16/11; object-fit: cover; background-image: var(--wma-image); background-position: center; background-size: cover; transition: transform .65s ease; }
.wma-package-v2:hover .wma-package-photo { transform: scale(1.035); }
.wma-package-v2-body { display: flex; min-height: 315px; flex: 1; flex-direction: column; padding: clamp(1.35rem, 2.5vw, 2.25rem); }
.wma-package-v2 h3 { margin: .65rem 0; font-family: Georgia, serif; font-size: clamp(2rem, 3vw, 3rem); font-weight: 400; line-height: .96; }
.wma-package-v2 p { color: #655a50; }
.wma-package-v2 strong { display: block; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--wma-line); font-size: .76rem; }
.wma-package-v2 a { margin-top: .8rem; color: var(--wma-red); font-size: .78rem; font-weight: 800; }
.wma-route-note { margin-top: 3rem !important; padding: clamp(1.5rem, 4vw, 3rem) !important; color: #fff; background: var(--wma-moss); }
.wma-route-note h3 { font-size: clamp(2rem, 3.6vw, 3.5rem); }
.wma-route-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0; }
.wma-route-tags span { padding: .45rem .75rem; border: 1px solid rgba(255,255,255,.28); border-radius: 100px; font-size: .7rem; }
.wma-route-note p { max-width: 900px; color: rgba(255,255,255,.72); }
.wma-route-note .wp-block-buttons { margin-top: 1.4rem; }

/* Destinations: full-width, no boxed mini-page */
.wma-destinations-page { margin: 0 !important; padding: 0 !important; background: var(--wma-ink); }
.wma-destination-panel { position: relative; display: flex; min-height: min(800px, 90svh); align-items: flex-end; padding: clamp(2rem, 7vw, 7rem); color: #fff; background-image: linear-gradient(90deg, rgba(11,12,10,.9), rgba(11,12,10,.3) 62%, rgba(11,12,10,.04)), var(--wma-image); background-position: center; background-size: cover; }
.wma-destination-panel-right { justify-content: flex-end; background-image: linear-gradient(270deg, rgba(11,12,10,.9), rgba(11,12,10,.3) 62%, rgba(11,12,10,.04)), var(--wma-image); }
.wma-destination-panel > div { max-width: 700px; padding: clamp(1.4rem, 3vw, 3rem); border-left: 4px solid var(--wma-red); background: rgba(13,14,12,.58); backdrop-filter: blur(8px); }
.wma-destination-panel span { color: #f2c77e; font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.wma-destination-panel h2 { margin: .4rem 0 .8rem; font-family: Georgia, serif; font-size: clamp(3.8rem, 8vw, 8rem); font-weight: 400; line-height: .86; }
.wma-destination-panel p { max-width: 630px; color: rgba(255,255,255,.8); font-size: clamp(1rem, 1.4vw, 1.2rem); }
.wma-destination-panel b { display: block; margin-top: 1.2rem; color: #f2c77e; font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }
.wma-destination-panel a { display: inline-block; margin-top: 1.35rem; color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.wma-destination-panel a::after { content: " →"; color: var(--wma-gold); }
.wma-destination-cta { padding: clamp(5rem, 10vw, 10rem) 0 !important; color: #fff; background: radial-gradient(circle at 80% 15%, rgba(217,111,54,.25), transparent 28%), linear-gradient(130deg, var(--wma-moss), var(--wma-night)); }
.wma-destination-cta .wma-large-copy { max-width: 900px; color: rgba(255,255,255,.76); }

/* Planner */
.wma-plan-page { padding-top: clamp(4rem, 8vw, 7rem) !important; padding-bottom: clamp(5rem, 9vw, 8rem) !important; }
.wma-planner-shell { position: relative; align-items: center !important; overflow: hidden; padding: clamp(1.5rem, 5vw, 4.5rem) !important; color: #fff; background: linear-gradient(125deg, #121811, #402218 68%, #4e1420); }
.wma-planner-shell::before { content: ""; position: absolute; inset: 0; opacity: .15; background: url("assets/images/wild-maasai-adventures-logo.png") -12% 50% / 50% auto no-repeat; pointer-events: none; }
.wma-planner-shell::after { content: ""; position: absolute; top: -130px; right: -130px; width: 430px; height: 430px; border: 1px solid rgba(213,165,74,.27); border-radius: 50%; box-shadow: 0 0 0 46px rgba(23,110,159,.055), 0 0 0 94px rgba(189,38,48,.045); pointer-events: none; }
.wma-planner-intro, .wma-planner { position: relative; z-index: 2; }
.wma-planner-intro p { color: rgba(255,255,255,.72); }
.wma-planner { padding: clamp(1.2rem, 3.5vw, 2.8rem); color: var(--wma-ink); border-top: 6px solid var(--wma-red); background: var(--wma-cream); box-shadow: var(--wma-shadow); }
.wma-planner-progress { display: flex; gap: .45rem; margin-bottom: 1.5rem; }
.wma-planner-progress span { height: 3px; flex: 1; background: #d8cbbb; }
.wma-planner-progress span.is-active { background: var(--wma-red); }
.wma-planner-step[hidden], .wma-plan-result[hidden] { display: none; }
.wma-planner-step h3, .wma-plan-result h3 { margin: 0 0 .45rem; font-family: Georgia, serif; font-size: clamp(1.9rem, 3vw, 2.9rem); font-weight: 400; line-height: 1; }
.wma-form-help { margin-top: 0; color: #72655b; font-size: .8rem; }
.wma-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem; margin-top: 1.4rem; }
.wma-choice { display: flex; gap: .7rem; align-items: center; padding: .9rem; border: 1px solid var(--wma-line); cursor: pointer; }
.wma-choice:has(input:checked) { border-color: var(--wma-blue); background: rgba(23,110,159,.08); }
.wma-choice input { accent-color: var(--wma-blue); }
.wma-choice strong { display: block; font-size: .84rem; }.wma-choice small { display: block; color: #75695f; font-size: .68rem; }
.wma-duration-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin-top: 1.4rem; }
.wma-duration { cursor: pointer; }.wma-duration input { position: absolute; opacity: 0; }
.wma-duration span { display: flex; min-height: 88px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--wma-line); }
.wma-duration input:checked + span { color: #fff; border-color: var(--wma-red); background: var(--wma-red); }
.wma-duration b { font-family: Georgia, serif; font-size: 2rem; font-weight: 400; line-height: 1; }.wma-duration small { font-size: .67rem; }
.wma-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.3rem; }
.wma-planner label > span:first-child { display: block; margin-bottom: .35rem; color: #62574e; font-size: .73rem; font-weight: 800; }
.wma-planner select, .wma-planner textarea { width: 100%; padding: .78rem .9rem; color: var(--wma-ink); border: 1px solid var(--wma-line); border-radius: 0; background: #fff; font: inherit; }
.wma-planner textarea { min-height: 95px; resize: vertical; }.wma-full-field { display: block; margin-top: 1rem; }
.wma-planner-actions { display: flex; justify-content: space-between; gap: .7rem; margin-top: 1.5rem; }
.wma-plan-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .72rem 1rem; color: #fff; border: 0; background: var(--wma-red); font: inherit; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; }
.wma-plan-button:hover { background: var(--wma-red-deep); }.wma-plan-button.secondary { color: var(--wma-ink); border: 1px solid var(--wma-ink); background: transparent; }.wma-plan-button.text { color: var(--wma-ink); background: transparent; text-decoration: underline; }
.wma-plan-summary { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0; }.wma-plan-summary span { padding: .35rem .65rem; border-radius: 100px; background: #e8ddcc; font-size: .68rem; }
.wma-itinerary { margin: 0; padding: 0; list-style: none; }.wma-itinerary li { display: grid; grid-template-columns: 62px 1fr; gap: .75rem; padding: .8rem 0; border-top: 1px solid var(--wma-line); }.wma-itinerary b { color: var(--wma-red); font-size: .67rem; text-transform: uppercase; }.wma-itinerary strong { display: block; font-size: .86rem; }.wma-itinerary p { margin: .15rem 0 0; color: #6d6259; font-size: .78rem; }
.wma-result-note { padding: .9rem; border-left: 3px solid var(--wma-ochre); background: #eee2cf; color: #655c54; font-size: .75rem; }.wma-planner-toast { min-height: 1.2em; margin: .6rem 0 0; color: var(--wma-red); font-size: .73rem; }
.wma-plan-result .wma-planner-actions { flex-wrap: wrap; }
.wma-faq-wrap { margin-top: clamp(4rem, 8vw, 7rem) !important; }.wma-faq { border-top: 1px solid var(--wma-line); }.wma-faq details { border-bottom: 1px solid var(--wma-line); }.wma-faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; font-family: Georgia, serif; font-size: clamp(1.15rem, 2vw, 1.55rem); cursor: pointer; list-style: none; }.wma-faq summary::-webkit-details-marker { display: none; }.wma-faq summary::after { content: "+"; color: var(--wma-red); font-family: sans-serif; }.wma-faq details[open] summary::after { transform: rotate(45deg); }.wma-faq details p { margin: 0; padding: 0 2rem 1.3rem 0; color: #655c54; }

/* Footer and generic WordPress pages */
.wma-site-footer { color: rgba(255,255,255,.72); border-top: 0; background: var(--wma-ink); }
.wma-site-footer a { color: inherit; }.wma-footer-top { padding-top: 4rem !important; padding-bottom: 3rem !important; }.wma-footer-top h3 { color: #fff; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; }.wma-footer-top p, .wma-footer-top li { font-size: .78rem; }.wma-footer-bottom { padding-top: 1rem !important; padding-bottom: 1rem !important; border-top: 1px solid rgba(255,255,255,.14); font-size: .68rem; }.wma-bead-line { height: 8px; background: repeating-linear-gradient(90deg, var(--wma-red) 0 20px, #fff 20px 30px, var(--wma-blue) 30px 50px, var(--wma-gold) 50px 66px, var(--wma-ink) 66px 78px); }
.wma-page-hero { padding-top: 12rem !important; padding-bottom: 5rem !important; color: #fff; background: linear-gradient(120deg, var(--wma-moss), var(--wma-night)); }.wma-content-shell { padding-top: 4rem !important; padding-bottom: 5rem !important; }.wma-post-card { padding: 1.5rem !important; border: 1px solid var(--wma-line); background: #fff; }
.wma-section { padding-top: clamp(4rem, 7vw, 7rem) !important; padding-bottom: clamp(4rem, 7vw, 7rem) !important; }
.wma-package-grid { align-items: stretch !important; }.wma-package-card { height: 100%; overflow: hidden; border: 1px solid var(--wma-line); background: #fff; box-shadow: 0 16px 44px rgba(40,28,18,.1); }.wma-package-body { padding: 1.5rem !important; }.wma-package-meta { display: flex; flex-wrap: wrap; gap: .5rem; color: var(--wma-blue); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* Motion */
.wma-reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }.wma-reveal.is-visible { opacity: 1; transform: none; }
@keyframes wmaHeroReveal { from { opacity: .65; transform: scale(1.08); } to { opacity: 1; transform: scale(1.015); } }
@keyframes wmaOrbit { to { transform: rotate(360deg); } }
@keyframes wmaBeadPulse { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes wmaScenicDrift { from { background-position: 48% center; } to { background-position: 52% center; } }

@media (max-width: 1100px) {
  .wma-header-inner { min-height: 96px; }.wma-brand .wp-block-site-title a { width: 92px; height: 88px; }
  .wma-experience-mosaic { grid-template-columns: 1fr 1fr; }.wma-story-panel { min-height: 620px; }.wma-story-panel:last-child { grid-column: 1 / -1; min-height: 540px; }
  .wma-migration-feature { min-height: 720px; }
  .wma-values-grid { grid-template-columns: 1fr 1fr; }.wma-package-grid-v2, .wma-teaser-grid { grid-template-columns: 1fr 1fr; }.wma-teaser-card:last-child { grid-column: 1 / -1; }.wma-teaser-card:last-child img { aspect-ratio: 16/7; }
  .wma-duration-grid { grid-template-columns: repeat(3, 1fr); }
  .wma-site-header .wp-block-navigation { font-size: .64rem; letter-spacing: .075em; }
  .wma-book-direct-steps { grid-template-columns: 1fr; }.wma-book-direct-steps article { min-height: 180px; }.wma-book-direct-steps h3 { margin-top: 2.5rem; }
}

@media (max-width: 760px) {
  .wma-header-inner { min-height: 82px; padding-right: 18px !important; padding-left: 18px !important; }.wma-brand .wp-block-site-title a { width: 74px; height: 70px; }
  .wma-display { font-size: clamp(3.4rem, 17vw, 5.4rem); }.wma-section-title { font-size: clamp(2.65rem, 13vw, 4.5rem); }
  [id] { scroll-margin-top: 84px; }
  .wma-hero, .wma-hero-content { min-height: 720px; }.wma-hero-content { padding-top: 8rem; padding-bottom: 3.5rem; }.wma-hero .wp-block-cover__image-background { object-position: 62% center; }
  .wma-trust-row { gap: .55rem .9rem; margin-top: 2.4rem !important; }
  .wma-home-intro { min-height: 0; }.wma-bead-orbit { left: -255px; opacity: .65; }.wma-bead-orbit-page { right: -255px; left: auto; }
  .wma-experience-mosaic { display: block; }.wma-story-panel, .wma-story-panel:last-child { min-height: 500px; }
  .wma-migration-feature { min-height: 0; justify-content: center; padding: 1rem !important; background-position: 43% center; }.wma-migration-card { margin-top: 17rem; padding: 1.5rem; }.wma-season-facts { grid-template-columns: 1fr; }.wma-season-facts b { padding-bottom: .75rem; border-bottom: 1px solid var(--wma-line); }
  .wma-wildlife-code, .wma-destination-cinema, .wma-final-cover { min-height: 620px; }.wma-wildlife-code-copy, .wma-final-cover-copy { margin: 0 1rem !important; padding: 1.3rem !important; background: rgba(13,14,12,.55); backdrop-filter: blur(6px); }
  .wma-code-points { grid-template-columns: 1fr; }.wma-destination-cinema-copy { min-height: 620px; padding: 2rem 1rem !important; }
  .wma-teaser-grid, .wma-package-grid-v2 { display: block; width: calc(100% - 24px); }.wma-teaser-card, .wma-package-v2 { margin-bottom: 1rem; }.wma-teaser-card:last-child img { aspect-ratio: 4/3; }.wma-teaser-card > div, .wma-package-v2-body { min-height: 0; }
  .wma-inner-hero, .wma-inner-hero-copy { min-height: 590px; }.wma-inner-hero-copy { padding-top: 8rem; padding-bottom: 3.5rem; }.wma-booking-hero, .wma-booking-hero .wma-inner-hero-copy { min-height: 390px; }.wma-booking-hero .wma-inner-hero-copy { padding-top: 7.5rem; padding-bottom: 2.3rem; }.wma-booking-hero-note { font-size: .68rem; line-height: 1.55; }
  .wma-booking-assurance { width: calc(100% - 24px); grid-template-columns: 1fr; }.wma-booking-assurance > div { min-height: 0; }.wma-booking-assurance span { margin-bottom: .6rem; }
  .wma-booking-status-hero, .wma-booking-status-hero .wma-inner-hero-copy { min-height: 520px; }
  .wma-values-grid { display: block; }.wma-value { min-height: 230px; }.wma-value h3 { margin-top: 2.5rem; }
  .wma-story-manifesto img { min-height: 380px; }
  .wma-destination-panel, .wma-destination-panel-right { min-height: 620px; justify-content: flex-start; padding: 1rem; background-image: linear-gradient(0deg, rgba(11,12,10,.92), rgba(11,12,10,.08) 75%), var(--wma-image); }.wma-destination-panel > div { max-width: none; margin-top: auto; backdrop-filter: none; }
  .wma-planner-shell { padding: 1rem !important; }.wma-planner-shell::before { opacity: .06; background-size: 100% auto; }.wma-planner { padding: 1.2rem; }.wma-choice-grid, .wma-field-grid { grid-template-columns: 1fr; }.wma-duration-grid { grid-template-columns: repeat(2, 1fr); }.wma-planner-actions { align-items: stretch; flex-direction: column; }.wma-plan-button { width: 100%; }.wma-itinerary li { grid-template-columns: 52px 1fr; }
  .wma-book-direct { padding-right: 18px !important; padding-left: 18px !important; }.wma-book-direct-inner { gap: 2.5rem; }.wma-book-direct-steps { display: block; }.wma-book-direct-steps article { min-height: 0; }.wma-book-direct-steps h3 { margin-top: 1.6rem; }.wma-book-direct-contact { display: block; }.wma-book-direct-contact a { display: block; margin: .55rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .wma-reveal { opacity: 1; transform: none; }
}
