:root {
  --safari-ink: #29241f;
  --safari-dark: #221e1b;
  --safari-sand: #eee4d5;
  --safari-paper: #f6f1e3;
  --safari-copper: #a34c23;
  --safari-line: #a89179;
  --safari-light: #fff7eb;
}
body { background: var(--safari-sand); color: var(--safari-ink); }
body .top { background: var(--safari-dark); color: var(--safari-light); }
body .gold-social, body .footer-bar {
  background: #51352b;
  color: var(--safari-light);
  border-block: 1px solid #9d7750;
}
body .top nav .destination-list {
  background: var(--safari-light);
  color: var(--safari-ink);
  border: 1px solid #c5cec4;
  box-shadow: 0 14px 32px #221e1b66;
}
body .top nav .destination-list a { border-color: #c5cec4; }
body .top nav .destination-list a:hover,
body .top nav .destination-list a:focus-visible {
  background: #e4eee7;
  color: #21665a;
}
body .safari-footer {
  background: linear-gradient(90deg,#221e1bf5,#221e1b90), url(/media/footer-tiger-cub.webp) center 39%/cover, var(--safari-dark);
}
body .top nav a[aria-current="page"], body .brand small { color: #ffc791; }
main .booking {
  background: var(--safari-paper);
  border: 1px solid var(--safari-line);
  box-shadow: 0 18px 42px #35281726;
  color: var(--safari-ink);
}
.booking input, .booking select, .booking .enquiry-date {
  border-color: var(--safari-line);
  background-color: #fffaf2;
  color: var(--safari-ink);
}
.booking .enquiry-date input { background: transparent; }
main .booking form button.btn[type="submit"] { background: #21665a; color: #fff; }
main .booking form button.btn[type="submit"]:hover { background: #174d44; }
main .local-intro, main .park-profile { background: var(--safari-paper); }
main .nearby { background: var(--safari-sand); }
main .history-panel {
  background: #e9ddca;
  border-color: var(--safari-copper);
}
main .nearby-grid article, main .profile-figures li {
  background: var(--safari-paper);
  border: 1px solid var(--safari-line);
}
body .wild-home {
  background-color: var(--safari-dark);
  background-image: linear-gradient(#32251cba,#221b17eb),url(/media/wildlife-ranthambore-banner.webp);
}
body .wild-home article { background: #2c241ff5; border-color: #c2a78a66; }
body .wild-home .local-intro { background: var(--safari-paper); color: var(--safari-ink); }
body :is(a, button, input, select):focus-visible { outline-color: #bf6b35; }
body .top { border-bottom: 1px solid #8d6a53; }
main .booking { border-top: 4px solid var(--safari-copper); }
body .wild-home .home-video-hero::before {
  background: radial-gradient(ellipse at 50% 54%,#231811ae,transparent 80%),linear-gradient(180deg,#271c1520 15%,transparent 48%,#271c1587);
}
body .wild-home .hero .btn,
body .wild-home .hero .btn:hover {
  background: transparent;
  border: 1px solid #f3c091;
  color: var(--safari-light);
}
main .nearby-grid article { border-top: 3px solid #956345; }
.photo-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  overflow: hidden;
  background: #342820;
  cursor: zoom-in;
}
.photo-trigger img { display: block; }
.photo-trigger:focus-visible, .photo-close:focus-visible {
  outline: 3px solid #d9aa64;
  outline-offset: 4px;
}
.photo-dialog {
  width: fit-content;
  max-width: 94vw;
  max-height: 94vh;
  padding: .5rem;
  border: 1px solid #b89a65;
  border-radius: 10px;
  background: #28211d;
  color: #fff6e5;
}
.photo-dialog::backdrop { background: #1d1714e8; }
.photo-dialog img { display: block; width: auto; max-width: 90vw; max-height: 84vh; object-fit: contain; }
.photo-close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  width: 44px;
  height: 44px;
  border: 1px solid #d8bd91;
  border-radius: 50%;
  background: #28211d;
  color: #fff6e5;
  font: 1.45rem system-ui;
  cursor: pointer;
}
main .booking form { background: transparent; }

.wild-home { background-attachment: scroll; }
@media (prefers-reduced-motion: no-preference) {
  :is(.hero, .safari-hero, .subhero, .about-hero, .destination-banner) h1 {
    animation: heading-enter .42s cubic-bezier(.22, 1, .36, 1) both;
  }
  :is(.featured-safaris, .nearby) .section-arrived {
    animation: content-enter .38s cubic-bezier(.22, 1, .36, 1) both;
  }
  .photo-dialog[open] { animation: photo-enter .24s ease-out both; }
  .photo-trigger img { transition: transform .28s ease-out; }
  .photo-trigger:hover img { transform: scale(1.035); }
  .booking .btn:active { transform: translateY(1px) scale(.98); }
  @keyframes heading-enter {
    from { opacity: .65; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes content-enter {
    from { opacity: .76; transform: translateY(9px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes photo-enter {
    from { opacity: .45; transform: scale(.96); }
    to { opacity: 1; transform: none; }
  }
}

body .gold-social { background: linear-gradient(100deg, #35271f, #51352b 68%, #35271f); }
body .subhero:not(.contact-hero) { background-color: var(--safari-dark); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .featured-safaris article {
    transition: transform .25s ease-out, box-shadow .25s ease-out;
  }
  .featured-safaris article:hover, .featured-safaris article:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px #100a0866;
  }
}
.footer-contact li a { display: inline-flex; align-items: flex-start; gap: .6rem; }
.footer-contact li svg { flex: 0 0 19px; margin-top: .2em; }

body .safari-footer .footer-grid li a {
  position: relative;
}
body .safari-footer .footer-grid li a:hover {
  text-decoration: none;
}
.safari-footer .footer-grid li a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 5px;
  height: 1px;
  background: #21665a;
  transform: scaleX(0);
  transform-origin: right;
  pointer-events: none;
}
.safari-footer .footer-grid li a:is(:hover, :focus-visible, :active)::after {
  transform: scaleX(1);
  transform-origin: left;
}
@media (prefers-reduced-motion: no-preference) {
  .safari-footer .footer-grid li a::after {
    transition: transform 260ms cubic-bezier(.22, 1, .36, 1);
  }
}

.about-booking {
  margin-top: 1.25rem;
  padding: 1.25rem;
  scroll-margin-top: 5rem;
}
.about-booking form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: .75rem;
  padding: 0;
}
.about-booking :is(.booking-extra, output) { grid-column: 1 / -1; }

main dialog.about-booking {
  position: fixed;
  width: min(46rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  margin: auto;
  overflow: auto;
  border: 1px solid #956345;
  border-radius: 12px;
  text-align: left;
}
.about-booking::backdrop { background: #17110dcc; }
.about-booking .booking-close {
  display: block;
  margin-inline-start: auto;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.6rem;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}

/* Match the Ranthambore Locals section in the two header rows. */
body .gold-social,
body .top {
  background: var(--safari-paper);
  color: var(--safari-ink);
  border-color: #c5cec4;
}
body .top .brand,
body .top .brand small,
body .top nav a[aria-current="page"],
body .gold-social .social {
  color: #21665a;
}
body .gold-social .social { border-color: #21665a; }
body .gold-social .social:hover { background: #21665a16; }

body .safari-footer {
  color: var(--safari-ink);
  background: linear-gradient(#f6f1e3af, #f6f1e3af), url(/media/footer-tiger-cub.webp) center 39% / cover, var(--safari-paper);
  border-top: 1px solid #c5cec4;
}
body .safari-footer h2,
body .safari-footer li a::before,
body .safari-footer .footer-contact svg,
body .safari-footer .footer-bar a {
  color: #21665a;
}
body .safari-footer .footer-bar {
  color: #21665a;
  background: var(--safari-paper);
  border-color: #c5cec4;
}

body .top .brand { display: block; width: clamp(13rem, 25vw, 19rem); max-width: 100%; }
body .top .brand img { display: block; width: 100%; height: auto; }
body .top .brand { position: relative; }
body .top .brand .brand-wordmark { clip-path: polygon(30.2% 0, 100% 0, 100% 100%, 32% 100%, 32% 55%, 30.2% 55%); }
body .top .brand .brand-jeep { position: absolute; inset: 0; clip-path: polygon(0 0, 30.2% 0, 30.2% 55%, 32% 55%, 32% 100%, 0 100%); }
@media (prefers-reduced-motion: no-preference) {
  .brand.is-driving .brand-jeep { animation: jeep-driving 360ms ease-in-out infinite; }
  @keyframes jeep-driving {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(1px, -.8px); }
    50% { transform: translate(2px, .5px); }
    75% { transform: translate(1px, -.5px); }
  }
}

@media (prefers-reduced-motion: no-preference) {
  main .reveal-heading {
    overflow: clip;
    animation: none;
  }
  .reveal-heading > span {
    display: block;
    transition: transform 520ms cubic-bezier(.22, 1, .36, 1);
  }
  .reveal-heading.reveal-pending > span { transform: translateY(105%); }
  .reveal-photo {
    transition: opacity 420ms ease-out, transform 520ms cubic-bezier(.22, 1, .36, 1);
  }
  .reveal-photo.reveal-pending:not(:focus-within) {
    opacity: 0;
    transform: translateY(18px);
  }
  .featured-safaris .reveal-photo:nth-child(2) { transition-delay: 55ms; }
  .featured-safaris .reveal-photo:nth-child(3) { transition-delay: 110ms; }
  .featured-safaris .reveal-photo:focus-within { transition: none; }
  .featured-safaris .section-arrived { animation: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .wildlife-grid > figure:nth-child(even) {
    translate: 0 var(--pair-offset, 0px);
  }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .featured-safaris .grid > .safari-tile:last-child {
    translate: 0 var(--pair-offset, 0px);
  }
  .featured-safaris .grid > .safari-tile:last-child:focus-visible {
    translate: none;
  }
}

.wildlife-gallery .section-arrived { animation: none; }

@media screen {
  .wildlife-gallery > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .wildlife-gallery .wildlife-title-panel,
  .wildlife-gallery .wildlife-grid {
    grid-area: 1 / 1;
  }
  .wildlife-title-panel {
    position: sticky;
    top: 50vh;
    align-self: start;
    justify-self: center;
    width: 28%;
    transform: translateY(-50%);
    margin-block-start: 24vh;
  }
  .wildlife-gallery .wildlife-title-panel p { margin-bottom: 0; }
  .wildlife-gallery .wildlife-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32%;
    row-gap: clamp(3rem, 8vw, 8rem);
  }
}

@media (max-width: 899px) {
  .wildlife-gallery .wildlife-title-panel {
    width: 38%;
    overflow-wrap: anywhere;
  }
  .wildlife-gallery .wildlife-title-panel h2 {
    font-size: clamp(.95rem, 3vw, 1.7rem);
  }
  .wildlife-gallery .wildlife-title-panel p {
    margin-top: .6rem;
    font-size: clamp(.75rem, 1.8vw, 1rem);
    line-height: 1.4;
  }
  .wildlife-gallery .wildlife-grid { column-gap: 42%; }
  .wildlife-gallery .wildlife-grid img { aspect-ratio: 2 / 3; }
  .wildlife-gallery .wildlife-grid figcaption {
    padding: .4rem;
    font-size: clamp(.7rem, 1.7vw, .9rem);
    overflow-wrap: anywhere;
  }
}

body .top .quote-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 36px;
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
  padding: .25rem .65rem;
  border: 1px solid #21665a;
  border-radius: 6px;
  background: #21665a;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}

body .top .quote-link:hover {
  background: #184c43;
}

body .top .quote-link:focus-visible {
  outline: 2px solid #21665a;
  outline-offset: 3px;
}

@media (max-width: 1199px) {
  body .top .brand {
    width: min(19rem, calc(100% - 9.5rem));
  }

  body .top .wrap nav {
    order: 3;
    flex-basis: 100%;
  }
}

@media (min-width: 1200px) {
  body .top .quote-link {
    order: 2;
    margin-left: 0;
  }
}

.quote-dialog {
  width: min(26rem, calc(100% - 2rem));
  padding: 1.5rem;
  border: 1px solid #21665a;
  border-radius: 12px;
  background: #fffaf2;
  color: #212e28;
}

.quote-dialog::backdrop {
  background: #111d18a8;
}

.quote-dialog h2 {
  margin: 0 2.5rem .5rem 0;
}

.quote-dialog .btn {
  display: inline-block;
  background: #21665a;
  color: white;
}

.quote-dialog .photo-close {
  color: #212e28;
  background: #ebe4da;
}

.quote-dialog {
  width: min(38rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
}

.quote-dialog .quote-status:empty {
  display: none;
}

.quote-dialog form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
  gap: .75rem;
  margin-top: 1rem;
  padding: 0;
  background: transparent;
}

.quote-dialog :is(input, select) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .5rem;
  border: 1px solid #909d95;
  border-radius: 6px;
  background: white;
  color: #212e28;
}

.quote-dialog :is(.booking-extra, output) {
  grid-column: 1 / -1;
}

.local-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.5rem;
}

.local-actions .btn {
  background: #21665a;
  border: 1px solid #21665a;
  color: white;
}

.local-actions .local-story {
  background: transparent;
  color: #21665a;
}

.local-actions .btn:hover {
  background: #184c43;
  color: white;
}

.local-actions .btn:focus-visible {
  outline: 2px solid #21665a;
  outline-offset: 3px;
}

body .wildlife-gallery .wildlife-grid figure {
  align-self: start;
  background: #f0ebdf;
  border-radius: 8px;
}

body .wildlife-gallery .wildlife-grid .photo-trigger {
  width: 100%;
  background: transparent;
}

body .wildlife-gallery .wildlife-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body .wildlife-gallery .photo-trigger:hover img {
  transform: none;
}

body .ranthambore-experience {
  background: #f6f1e3;
  padding-block: clamp(3rem, 7vw, 7rem);
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.experience-photo {
  max-width: 430px;
  width: 100%;
  justify-self: center;
}

.experience-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.experience-copy h2 {
  margin: 0 0 1.5rem;
  color: #173d2d;
  font-family: Georgia, serif;
  font-size: clamp(2.3rem, 4.5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.08;
  text-wrap: balance;
}

.experience-copy h2 span {
  color: #94611f;
}

.experience-copy p {
  max-width: 65ch;
  color: #384a40;
  line-height: 1.8;
  margin-block: 0 1rem;
}

.experience-copy .experience-link {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-height: 44px;
  color: #21665a;
  font-weight: 700;
  text-underline-offset: .3em;
}

@media (max-width: 700px) {
  .experience-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ranthambore-faq {
  background: #f6f1e3;
  color: #173d2d;
}

.ranthambore-faq h2 {
  margin: 0 0 2rem;
  font: 600 clamp(2rem, 4.5vw, 4.5rem)/1.15 Georgia, serif;
  text-wrap: balance;
}

.ranthambore-faq h2 span {
  color: #94611f;
  font-weight: 400;
}

.ranthambore-faq details {
  border-top: 1px solid #ced2c5;
}

.ranthambore-faq details:last-child {
  border-bottom: 1px solid #ced2c5;
}

.ranthambore-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 72px;
  padding-block: 1.2rem;
  list-style: none;
  cursor: pointer;
  font: 600 clamp(1.1rem, 1.8vw, 1.45rem)/1.5 Georgia, serif;
}

.ranthambore-faq summary::-webkit-details-marker {
  display: none;
}

.ranthambore-faq summary::after {
  content: "+";
  flex-shrink: 0;
  color: #94611f;
  font: 400 1.6rem/1 system-ui, sans-serif;
}

.ranthambore-faq details[open] summary::after {
  content: "−";
}

.ranthambore-faq summary:focus-visible {
  outline: 2px solid #21665a;
  outline-offset: 3px;
}

.ranthambore-faq details p {
  max-width: 80ch;
  margin: 0;
  padding: 0 2rem 1.5rem 0;
  color: #384a40;
  line-height: 1.8;
}

.ranthambore-faq details a {
  color: #21665a;
  text-underline-offset: .2em;
}

body .wild-home .ranthambore-experience,
body .ranthambore-experience .experience-photo,
body .ranthambore-experience .experience-photo .photo-trigger {
  background: #f6f1e3;
}

body .ranthambore-experience .experience-photo .photo-trigger {
  box-shadow: none;
}

body .wild-home,
body .scenic {
  background-attachment: scroll;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.booking-intro {
  max-width: 70ch;
  margin: .75rem auto 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
}

.quote-dialog .booking-intro {
  margin-inline: 0;
}

body .booking .booking-intro,
body .quote-dialog .booking-intro {
  color: #384a40;
}

body .booking h2,
body .quote-dialog h2 {
  color: #21665a;
}

body .wild-home .ranthambore-faq,
body .ranthambore-faq,
body .ranthambore-faq details,
body .ranthambore-faq details[open] {
  background: #f6f1e3;
  color: #173d2d;
}

body .ranthambore-faq h2,
body .ranthambore-faq summary {
  color: #173d2d;
}

body .ranthambore-faq details p {
  color: #384a40;
}

body .ranthambore-faq summary::after {
  color: #94611f;
}

.footer-contact .contact-email span {
  min-width: 0;
  overflow-wrap: anywhere;
}

body .gold-social > .wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 1.5rem;
  padding-block: .45rem;
}

.top-contact-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  min-width: 0;
  font-size: .875rem;
  font-weight: 600;
  color: #21665a;
}

.top-contact-info a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 32px;
  color: inherit;
  text-decoration: none;
}

.top-contact-info svg {
  flex-shrink: 0;
}

.top-contact-info a:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.top-contact-info a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  body .gold-social > .wrap {
    flex-wrap: wrap;
    justify-content: center;
  }

  .top-contact-info {
    justify-content: center;
    column-gap: 1rem;
    font-size: .875rem;
  }
}

body .gold-social > .wrap {
  width: min(1625px, 96%);
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: .5rem;
}

body .gold-social .top-contact-info {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
}

body .gold-social .top-contact-info a {
  white-space: nowrap;
  padding-inline: .65rem;
}

body .gold-social .top-contact-info a:first-child {
  padding-left: 0;
}

body .gold-social .top-contact-info a + a {
  border-left: 1px solid #21665a45;
}

body .gold-social .socials {
  flex-shrink: 0;
}

@media (max-width: 1000px) {
  body .gold-social .top-contact-info {
    font-size: .8rem;
  }

  body .gold-social .top-contact-info a {
    padding-inline: .4rem;
  }
}

@media (max-width: 760px) {
  body .gold-social > .wrap {
    overflow-x: auto;
    justify-content: flex-start;
  }

  body .gold-social .top-contact-info {
    flex-shrink: 0;
    font-size: .875rem;
  }
}

body .visit-season-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid #b6c3b5;
  border-radius: 12px;
  background: #f6f1e3;
  color: #263e30;
}

body .visit-season-panel h2 {
  color: #21665a;
  margin-bottom: 1.25rem;
}

body .visit-season-panel p {
  max-width: 75ch;
  line-height: 1.75;
}

body .visit-season-panel p + p {
  margin-top: .75rem;
}

body .visit-season-panel strong {
  color: #173d2d;
}

html {
  scroll-padding-top: calc(var(--site-header-height, 110px) + 1rem);
}

body .top {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 16px #173d2d12;
}

.floating-whatsapp {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  background: #168641;
  color: white;
  box-shadow: 0 4px 16px #102a2433;
  text-decoration: none;
}

.floating-whatsapp:hover {
  background: #126d35;
}

.floating-whatsapp:focus-visible {
  outline: 3px solid #21665a;
  outline-offset: 4px;
}

.terms-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(280px, 46vh, 480px);
  overflow: hidden;
  text-align: center;
  color: white;
}

.terms-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.terms-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #10261938, #10261988);
}

.terms-hero h1 {
  color: white;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1.12;
  text-shadow: 0 2px 16px #0007;
}

.terms-content > .wrap > section + section {
  margin-top: 2.5rem;
}

@media (max-width: 899px) {
  body .top > .wrap {
    position: relative;
  }

  body .top .destination-menu {
    position: static;
  }

  body .top nav .destination-list {
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - var(--site-header-height, 240px) - 1rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body .top nav .destination-list a {
    white-space: normal;
    overflow-wrap: anywhere;
    min-height: 44px;
    line-height: 1.45;
  }

}

@media (max-width: 767px) {
  body .wildlife-gallery > .wrap {
    display: block;
  }

  body .wildlife-gallery .wildlife-title-panel {
    position: static;
    transform: none;
    width: 100%;
    margin: 0 0 2rem;
    overflow-wrap: normal;
  }

  body .wildlife-gallery .wildlife-title-panel h2 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    line-height: 1.15;
  }

  body .wildlife-gallery .wildlife-title-panel p {
    margin: 1rem auto 0;
    font-size: 1rem;
    line-height: 1.65;
  }

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

  body .wildlife-gallery .wildlife-grid figcaption {
    padding: .6rem;
    font-size: .875rem;
    line-height: 1.4;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  body .wildlife-gallery .wildlife-title-panel { width: 28%; }
  body .wildlife-gallery .wildlife-title-panel h2 { font-size: clamp(1.4rem, 3vw, 2.5rem); }
  body .wildlife-gallery .wildlife-title-panel p { font-size: 1rem; }
  body .wildlife-gallery .wildlife-grid { column-gap: 32%; }
}

.machli-experience .experience-copy h2 {
  font-size: clamp(2rem, 3.8vw, 4rem);
}

.history-panel h3 {
  margin-top: 1.5rem;
  margin-bottom: .75rem;
  color: #21665a;
  line-height: 1.3;
}

.machli-experience .experience-photo {
  display: grid;
  gap: 1rem;
}

.machli-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.machli-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .machli-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

.machli-experience .experience-photo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.machli-gallery {
  align-items: start;
}

body .machli-experience .experience-photo,
body .machli-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 430px;
}

body .machli-experience .experience-photo .photo-trigger,
body .machli-gallery .photo-trigger {
  width: 100%;
  aspect-ratio: 1;
}

body .machli-experience .experience-photo img,
body .machli-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
}

body .machli-experience img[src*="machli-in-water"] {
  object-position: center 60%;
}

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

body .machli-experience .experience-photo.machli-slider {
  gap: .75rem;
}
.machli-slider-stage {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.machli-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 450ms ease, visibility 450ms;
}
.machli-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.machli-slider-controls, .machli-slider-dots {
  display: flex;
  align-items: center;
}
.machli-slider-controls { justify-content: space-between; }
.machli-slider-dots button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.machli-slider-dots button::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid currentColor;
}
.machli-slider-dots button[aria-pressed="true"]::before { background: currentColor; }
.machli-slider-dots button:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
.machli-slider-status { font-size: .875rem; }
@media (prefers-reduced-motion: reduce) {
  .machli-slide { transition: none; }
}

.typewriter-stage {
  display: grid;
}

.typewriter-reserve,
.typewriter-text {
  grid-area: 1 / 1;
}

.typewriter-heading .typewriter-text {
  color: #f2cb7d;
  justify-self: center;
  width: fit-content;
}

.typewriter-reserve {
  visibility: hidden;
}

.typewriter-text::after {
  content: "";
  display: inline-block;
  height: .85em;
  border-right: max(2px, .035em) solid currentColor;
  margin-left: .06em;
  vertical-align: -.04em;
  animation: typewriter-caret 900ms step-end infinite;
}

@keyframes typewriter-caret {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.safari-carousel-section {
  padding-block: 2.5rem;
  background: #f6f1e3;
}

.chambal-page .article-copy h2 { margin-top: 1.8rem; }
.chambal-page .article-copy h2:first-child { margin-top: 0; }
.chambal-page .chambal-sources { font-size: .875rem; }
.chambal-photography figure { margin: 1.5rem 0 0; }
.chambal-photography img { display: block; width: 100%; height: auto; }
.chambal-photography figcaption { margin-top: .75rem; }
.chambal-page #chambal-enquiry { scroll-margin-top: calc(var(--site-header-height, 180px) + 1rem); }
@media (min-width: 900px) {
  .featured-safaris .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.carousel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.carousel-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: #21665a;
}

.carousel-pause {
  min-height: 44px;
  padding: .5rem .85rem;
  border: 1px solid #21665a;
  border-radius: 6px;
  color: #21665a;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.safari-carousel {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #8d9e90 transparent;
  scroll-behavior: auto;
}

.safari-carousel-track,
.carousel-group {
  display: flex;
  width: max-content;
}

.carousel-group {
  gap: 1rem;
  padding-right: 1rem;
  flex-shrink: 0;
}

.carousel-card {
  display: grid;
  grid-template-rows: 170px auto;
  width: clamp(240px, 25vw, 310px);
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #c5cec4;
  border-radius: 10px;
  background: #fffaf2;
  color: #173d2d;
  text-decoration: none;
}

.carousel-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.carousel-card span {
  padding: 1rem;
  font-weight: 650;
}

.carousel-card:focus-visible,
.safari-carousel:focus-visible,
.carousel-pause:focus-visible {
  outline: 2px solid #21665a;
  outline-offset: -3px;
}

body .wild-home .safari-carousel-section + .booking {
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .typewriter-text::after {
    display: none;
  }
}

.typewriter-prefix { display: grid; }
.typewriter-prefix-reserve, .typewriter-prefix-text { grid-area: 1 / 1; }
.typewriter-prefix-reserve { visibility: hidden; }

.typewriter-prefix-text { transition: transform 900ms ease-in-out; }
.typewriter-prefix-text.is-deleting { transform: translateY(-2px); }

main .story-highlight {
  display: inline;
  margin: 0;
  padding: .08em .12em;
  border: 0;
  border-radius: .12em;
  background: #f5cfa5;
  color: #202c23;
  font: inherit;
  line-height: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.featured-safaris .featured-intro { margin-bottom: 1rem; }
.featured-tagline { margin: 1rem 0; font-weight: 650; }
.featured-availability { margin: 0 0 2rem; }

.safari-marquee { overflow: hidden; padding-block: 1.8rem; background: #f8f1e6; color: #21665a; }
.safari-marquee-track { display: flex; width: max-content; animation: safari-marquee-travel 55s linear infinite; }
.safari-marquee-group { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; flex-shrink: 0; }
.marquee-name { font: 750 clamp(2rem, 5vw, 5.5rem)/1.2 Georgia, serif; white-space: nowrap; color: #21665a; }
.marquee-outline { color: transparent; -webkit-text-stroke: 1px #21665a; animation: safari-marquee-fill 7s ease-in-out infinite; }
.marquee-star { font-size: clamp(1.8rem, 3.5vw, 3.5rem); line-height: 1; color: #d38b40; }

.safari-marquee:focus-visible { outline: 2px solid #21665a; outline-offset: -4px; }
@keyframes safari-marquee-travel { to { transform: translateX(-50%); } }
@keyframes safari-marquee-fill { 0%, 20%, 100% { color: transparent; } 50%, 70% { color: #21665a; } }
@media (prefers-reduced-motion: reduce) {
  .safari-marquee-track, .marquee-outline { animation: none; }
  .safari-marquee-track { width: auto; }
  .safari-marquee-group { flex-wrap: wrap; justify-content: center; gap: 1rem; padding: 0 1rem; }
  .safari-marquee-group[data-marquee-copy] { display: none; }
  .marquee-name { white-space: normal; text-align: center; }
}
.featured-safaris .wrap { perspective: 1000px; }
.safari-copy-link { font-weight: 700; text-decoration: underline; text-underline-offset: .16em; }
.safari-copy-link:hover { color: #21665a; }
.safari-copy-link.best-time-link { color: #21665a; }
.safari-copy-link.best-time-link:hover,
.safari-copy-link.best-time-link:focus-visible { color: #181818; }
.safari-copy-link.chambal-safari-link, .safari-copy-link.safari-option-link { color: #21665a; }
.safari-copy-link.chambal-safari-link:hover, .safari-copy-link.safari-option-link:hover { color: #181818; }
.safari-copy-link.safari-option-link { font-weight: 400; }
.safari-choice { background: #f6f1e3; color: #202c23; }
.safari-choice h2, .private-jeep-why h3 { color: #21665a; }
.safari-choice-intro { max-width: 65ch; margin: 1rem 0 2rem; }
.safari-option-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.safari-option-card { display: flex; flex-direction: column; overflow: hidden; background: #fffdf7; border: 1px solid #d8bd91; border-radius: 6px; scroll-margin-top: calc(var(--site-header-height, 180px) + 1rem); }
.safari-option-card > img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; object-position: center 65%; }
.safari-option-card .safari-option-copy { display: flex; flex-direction: column; flex: 1; padding: 1.3rem; }
.safari-option-copy h3 { margin-bottom: .6rem; color: #21665a; }
.safari-option-copy > p { margin: 0 0 1rem; }
.safari-option-copy .safari-capacity { color: #6d512e; }
.safari-option-copy ul { list-style: none; display: grid; gap: .55rem; margin: 0 0 1.4rem; padding: 0; }
.safari-option-copy li { display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: .5rem; }
.safari-option-copy li span { color: #21665a; font-weight: 600; }
.safari-option-copy .btn { width: 100%; margin-top: auto; min-height: 48px; background: #21665a; border: 1px solid #21665a; color: #fff; cursor: pointer; white-space: normal; }
.safari-option-copy .btn:hover { background: #184c43; }
.private-jeep-why { margin-top: 2.5rem; max-width: 75ch; padding-left: 1.25rem; border-left: 3px solid #c39755; }
.private-jeep-why p { margin-top: 1rem; }
.safari-rules-note { max-width: 75ch; margin-top: 1.6rem; }
.safari-private-note { max-width: 75ch; margin-top: .75rem; }
.vehicle-photo-credits { margin-top: 1.5rem; font-size: 14px; }
.vehicle-photo-credits summary { cursor: pointer; min-height: 44px; padding-block: .5rem; }
.vehicle-photo-credits p { margin-top: .5rem; }
.safari-type-dialog h2 { padding-right: 2.5rem; }
.safari-type-dialog label { display: grid; gap: .4rem; min-width: 0; }
.safari-type-dialog textarea { width: 100%; min-height: 90px; resize: vertical; padding: .65rem; }
.safari-type-dialog .safari-message { grid-column: 1 / -1; }
#safari-guests-hint { font-size: 14px; }
@media (max-width: 899px) { .safari-option-grid { grid-template-columns: minmax(0, 1fr); } }
.park-page #visit-season { scroll-margin-top: calc(var(--site-header-height, 180px) + 1rem); }
.quote-dialog, .quote-dialog *, .quote-dialog::backdrop,
body [data-no-motion], body [data-no-motion]:hover {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  translate: none !important;
}
body .top .quote-link,
body .top .quote-link:hover,
body .local-actions [data-no-motion],
body .local-actions [data-no-motion]:hover {
  animation: none;
  transition: none;
  transform: none;
  translate: none;
}

@media (prefers-reduced-motion: no-preference) {
  .site-reveal {
    transition: opacity 650ms ease, translate 850ms cubic-bezier(.2,.65,.3,1);
    transition-delay: var(--page-motion-delay, 0ms);
  }
  .site-reveal-pending { opacity: 0; translate: 0 22px; }
  .site-reveal-pending[data-motion-direction="left"] { translate: -26px 0; }
  .site-reveal:focus-within { opacity: 1; translate: 0 0; transition-delay: 0ms; }
}

.local-intro .intro-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-top: 2rem; text-align: left; }
.local-intro .intro-copy { min-width: 0; perspective: 1000px; }
.local-intro .intro-copy p { margin: 0 0 1rem; max-width: none; }
.intro-media-stage { display: grid; aspect-ratio: 4 / 5; overflow: hidden; background: #e8dfcd; }
.intro-media-stage > img, .intro-media-stage > video { grid-area: 1 / 1; display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 600ms ease; }
.intro-media-stage > video { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 600ms ease, visibility 600ms; }
.show-video .intro-safari-video { opacity: 1; visibility: visible; pointer-events: auto; }
.show-video .intro-safari-photo { opacity: 0; }
.intro-media-toggle { margin-top: 1rem; padding: .7rem 1rem; background: #f5cfa5; border: 1px solid #bb8242; color: #202c23; cursor: pointer; font-weight: 650; min-height: 44px; }
.intro-media-toggle:hover { background: #edbd86; }
.intro-media-toggle:disabled { opacity: .65; cursor: wait; }
.local-intro .intro-media-status { margin: .5rem 0 0; font-size: .9rem; }
.intro-why { margin: 1.8rem 0 1rem; font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.intro-trust { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.intro-trust li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: .6rem; }
.trust-check { color: #21665a; font-weight: 800; }
.local-intro .intro-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.local-intro .intro-copy { order: 1; }
.local-intro .intro-media { order: 2; }
.intro-photo-slider .machli-slider-stage { aspect-ratio: 4 / 3; }
.intro-photo-slider .machli-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.intro-photo-slider img[src*="intro-tiger-pair"] { object-position: center 72%; }
.intro-photo-slider .machli-slider-stage:focus-visible { outline: 3px solid #21665a; outline-offset: 4px; }
.local-intro .intro-copy .local-actions { justify-content: flex-start; margin-top: 1.6rem; }
@media (prefers-reduced-motion: no-preference) {
  [data-intro-reveal] { transition: opacity 750ms ease, transform 900ms cubic-bezier(.2,.65,.3,1); transition-delay: var(--intro-delay, 0ms); }
  .intro-paragraph { transform-origin: left center; backface-visibility: hidden; }
  .intro-pending { opacity: 0; }
  [data-intro-reveal="flip"].intro-pending { transform: rotateY(16deg); }
  [data-intro-reveal="left"].intro-pending { transform: translateX(-38px); }
  [data-intro-reveal="point"].intro-pending { transform: translateX(-32px); }
  [data-intro-reveal="up"].intro-pending { transform: translateY(16px); }
}
@media (max-width: 767px) {
  .local-intro .intro-layout { grid-template-columns: minmax(0, 1fr); }
  .intro-media-stage { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-media-stage > img, .intro-media-stage > video { transition: none; }
}

@media (max-width: 600px) {
  main .story-highlight { padding: .08em .12em; }
}
@media (prefers-reduced-motion: reduce) {
  .typewriter-prefix-text { transition: none; transform: none !important; }
}

body .top .brand .brand-wordmark,body .top .brand .brand-jeep{clip-path:none}.brand.is-driving .brand-jeep{will-change:transform}

body .top .brand.tiger-brand{display:flex;align-items:center;gap:10px;padding-block:12px}body .top .tiger-brand .brand-name{width:64%;height:auto;flex:0 0 64%}body .top .tiger-brand .brand-tiger-track{display:block;width:33%;flex:0 0 33%;padding-inline:3px}body .top .tiger-brand .brand-tiger{display:block;width:100%;height:auto;transform-origin:50% 65%}@media(prefers-reduced-motion:no-preference){.tiger-brand.is-driving .brand-tiger{animation:tiger-forward-run .52s linear infinite;will-change:transform}@keyframes tiger-forward-run{0%,100%{transform:translate3d(0,0,0) rotate(0deg)}25%{transform:translate3d(3px,-1.4px,0) rotate(-1deg)}50%{transform:translate3d(6px,0,0) rotate(0deg)}75%{transform:translate3d(3px,.6px,0) rotate(.6deg)}}}

body .top .brand.animated-safari-brand{display:block;width:clamp(250px,28vw,360px);padding:0;line-height:0;flex-shrink:0}body .top .animated-safari-brand picture,body .top .animated-safari-brand .brand-animation{display:block;width:100%;height:auto;border-radius:6px}.footer-brand-scene{background:#f5f0e4;padding:12px 5%;margin-bottom:32px;text-align:center}.footer-brand-scene a{display:inline-block;width:min(100%,480px);line-height:0}.footer-brand-scene picture,.footer-brand-scene img{display:block;width:100%;height:auto}.footer-brand-scene img{border-radius:8px}@media(max-width:767px){body .top .brand.animated-safari-brand{width:250px;max-width:100%}.footer-brand-scene{padding:8px 5%;margin-bottom:24px}}

body .top .brand.wordmark-brand{display:block;width:clamp(210px,23vw,265px);padding:0;line-height:0}body .top .wordmark-brand img{width:100%;height:auto;display:block}body .top .tiger-quote{position:relative;margin-top:28px}.quote-tiger-scene{position:absolute;bottom:100%;left:0;right:0;height:43px;background:url('/media/safari-ground.svg') center bottom/100% 22px no-repeat;pointer-events:none}.scroll-tiger-sprite{--runner-size:96px;display:block;width:var(--runner-size);height:calc(var(--runner-size)/3);background:url('/media/tiger-run-frames.png') 0 0/calc(var(--runner-size)*8) 100% no-repeat;visibility:hidden;animation:tiger-sprite-run .64s steps(8) infinite;animation-play-state:paused}.quote-tiger-scene .scroll-tiger-sprite{position:absolute;bottom:7px;right:12px}.site-is-scrolling .scroll-tiger-sprite{visibility:visible;animation-play-state:running}@keyframes tiger-sprite-run{to{background-position-x:calc(var(--runner-size)*-8)}}.safari-ground-divider{position:relative;width:100%;height:100px;background:#f5f0e4 url('/media/safari-ground.svg') center bottom/100% 54px no-repeat;overflow:hidden;overflow:clip}.ground-tiger{position:absolute;bottom:19px;left:0;transform:translate3d(var(--ground-tiger-x,0px),0,0)}.ground-tiger .scroll-tiger-sprite{--runner-size:160px}@media(max-width:767px){body .top .brand.wordmark-brand{width:230px;max-width:100%}.safari-ground-divider{height:76px;background-size:100% 40px}.ground-tiger{bottom:13px}.ground-tiger .scroll-tiger-sprite{--runner-size:120px}}@media(prefers-reduced-motion:reduce){.scroll-tiger-sprite{animation:none!important;visibility:hidden!important}.ground-tiger{transform:none}}

.scroll-tiger-sprite{visibility:visible;animation-play-state:paused}.site-is-scrolling .scroll-tiger-sprite{visibility:visible;animation-play-state:running}@media(prefers-reduced-motion:reduce){.scroll-tiger-sprite{visibility:visible!important;animation:none!important}}
