/* Yala Yatra. Mobile first: base rules are for phones, media queries widen the layout.
   The look comes from the "pick your hour" design: picking a safari changes the sky, the
   drawing and the colours of the top of the page. Each safari's colours are at the end. */

@font-face {
  font-family: "National Park";
  src: url("fonts/national-park-latin-wght.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* The rupee sign lives in a second file, so only the /india/ page downloads it. */
@font-face {
  font-family: "National Park";
  src: url("fonts/national-park-rupee-wght.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+20B9;
}
@font-face {
  font-family: "Big Shoulders";
  src: url("fonts/big-shoulders-latin-wght.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Big Shoulders";
  src: url("fonts/big-shoulders-rupee-wght.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+20B9;
}

:root {
  --ink: #17132B;
  --cream: #FFF6E0;
  --paper: #FFF7E3;
  --amber: #FFB84A;
  --coral: #E96A4C;
  --teal: #1C6670;
  --sand: #F6D98B;
  --plum: #70407A;
  --night: #12152E;
  --muted: #3D3350;
  --kicker: #5B4B6B;
  --body-ink: #33283F;
  --display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --body: "National Park", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-sun: cubic-bezier(.45, .05, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.5 var(--body); color: var(--ink); background: var(--ink); overflow-x: hidden; }
h1, h2, h3, p, ol, ul, dl, dd, fieldset, legend, figure { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
/* One page source serves two audiences: "/" (US dollars, most passports) and "/india/" (Indian passports, rupees). */
html[data-audience="in"] [data-aud="intl"], html[data-audience="intl"] [data-aud="in"] { display: none !important; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
section[id], form[id] { scroll-margin-top: 12px; }

.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--ink); padding: 12px 16px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: 1296px; margin: 0 auto; padding: 0 20px; }
.sec-head { display: flex; flex-direction: column; gap: 10px; }
.sec-kicker { font-size: 14px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.pick .sec-kicker { color: var(--cream); opacity: 0.8; padding-top: 4px; margin-bottom: 8px; }
.big-h { font: 900 clamp(40px, 11vw, 76px)/0.92 var(--display); text-transform: uppercase; }
.lede { font-size: 18px; font-weight: 600; }
.small { font-size: 13px; color: var(--muted); }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--kicker); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 8px;
  min-height: 48px; padding: 8px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 16px/1.2 var(--body); text-decoration: none; cursor: pointer;
}
.btn-sm { min-height: 44px; padding: 6px 18px; font-size: 15px; }
.btn-cream, .btn-cream:hover { background: var(--cream); color: var(--ink); }
.btn-ink, .btn-ink:hover { background: var(--ink); color: var(--cream); }
.btn-outline, .btn-outline:hover { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.btn-book, .btn-book:hover {
  min-height: 58px; border-radius: 12px; background: var(--amber); color: var(--ink); border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink); font: 800 clamp(20px, 5.4vw, 24px)/1.1 var(--display); letter-spacing: 0.03em; text-transform: uppercase;
}
.btn-book:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-lg { min-height: 62px; max-width: 100%; padding: 8px 20px; font-size: clamp(22px, 6vw, 26px); }
/* Chat icon on every WhatsApp button. */
.btn[data-wa]::before, .btn[data-t-wa]::before {
  content: ""; width: 20px; height: 20px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 0 0-7.8 13.5L3 21l4.6-1.2A9 9 0 1 0 12 3z'/%3E%3Cpath d='M8.5 8.5c0 3.5 3.5 7 7 7l1.2-1.6-2.2-1-1 .9a5 5 0 0 1-2.3-2.3l.9-1-1-2.2z' fill='black' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 0 0-7.8 13.5L3 21l4.6-1.2A9 9 0 1 0 12 3z'/%3E%3Cpath d='M8.5 8.5c0 3.5 3.5 7 7 7l1.2-1.6-2.2-1-1 .9a5 5 0 0 1-2.3-2.3l.9-1-1-2.2z' fill='black' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Setup notice: only shows while site.config.js has no WhatsApp number */
.setup { background: #FFE9A8; color: var(--ink); font-size: 14px; padding: 10px 20px; text-align: center; }

/* Suggestion to switch between the rupee page and the dollar page */
.suggest { background: var(--paper); color: var(--ink); font-size: 15px; padding: 8px 56px 8px 20px; position: relative; min-height: 44px; display: flex; align-items: center; }
.suggest a { font-weight: 700; }
.suggest button { position: absolute; right: 4px; top: 0; width: 44px; height: 44px; border: 0; background: transparent; font-size: 24px; line-height: 1; color: var(--ink); cursor: pointer; }

/* ---- Top of the page: the sky, the header and the drawn scene ---- */
.sky { background: var(--top); color: var(--cream); position: relative; transition: background 1.1s ease; }
.top { max-width: 1296px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; position: relative; z-index: 3; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--cream); }
.brand span { font: 800 26px/1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }
.logo { width: 40px; height: 40px; border-radius: 10px; background: #103B2D; flex: none; }
/* Phones: logo and WhatsApp on one row, the Yala clock on the next. */
.top-right { display: contents; }
.top { column-gap: 10px; }
.top .btn-sm { padding: 6px 14px; }
.clock { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(23, 19, 43, 0.42); font-size: 14px; font-weight: 600; order: 3; }
.clock svg { flex: none; }
.clock-status { display: none; opacity: 0.85; }

.hero { position: relative; }
.hero-copy .wrap { padding-top: 4px; padding-bottom: 16px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-h1 { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--amber); max-width: 30em; }
.poster { font: 900 clamp(46px, 13vw, 92px)/0.92 var(--display); letter-spacing: 0.01em; text-transform: uppercase; }
.sub { font-size: 19px; line-height: 1.35; font-weight: 600; max-width: 400px; }
.scene-box { position: relative; overflow: hidden; height: clamp(292px, 40vw, 640px); }
.scene { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 100%; overflow: visible; }
.scene-hero { height: 128%; aspect-ratio: 1200 / 840; }
.scene-night { aspect-ratio: 1200 / 420; }
/* Colours, the sun and the animals ease from one safari to the next. */
.scene [style] { transition: fill 1.1s ease, stroke 1.1s ease, opacity 1.1s ease, stroke-dasharray 1.2s var(--ease-sun), stroke-dashoffset 1.2s var(--ease-sun), transform 1.5s var(--ease-sun); }
.scene .guest { transition: opacity 0.3s ease, transform 0.3s ease; }
/* Two adults in the jeep until the calculator says otherwise. */
.scene-hero { --g0O: 1; --g1O: 1; --g2O: 0; --g3O: 0; --g4O: 0; --g5O: 0;
  --g0T: translate(0px, 0px); --g1T: translate(0px, 0px); --g2T: translate(0px, 14px); --g3T: translate(0px, 14px); --g4T: translate(0px, 14px); --g5T: translate(0px, 14px); }

@keyframes bob { 50% { transform: translateY(-1.6px); } }
@keyframes tw { 50% { opacity: 0.3; } }
@keyframes flick { 50% { opacity: 0.55; } }
@keyframes tail { 50% { transform: rotate(4deg); } }
@keyframes drift { to { transform: translateX(70px); } }
@keyframes fly { to { transform: translate(110px, -26px); } }
.bob { animation: bob 0.5s ease-in-out infinite; }
.tw circle:nth-child(odd) { animation: tw 3.4s ease-in-out infinite; }
.flick { animation: flick 1.3s ease-in-out infinite; }
.tail { transform-origin: 742px 446px; animation: tail 4.5s ease-in-out infinite; }
.drift { animation: drift 44s linear infinite alternate; }
.fly { animation: fly 30s linear infinite alternate; }

/* ---- Pick your hour, the ticket and the stops ---- */
.pick { background: var(--land4); color: var(--cream); transition: background 1.1s ease; padding-bottom: 56px; }
.calc { display: flex; flex-direction: column; gap: 22px; }
.pick-title { font: 800 20px/1.2 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { flex: 1 1 140px; position: relative; display: flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip-face {
  flex: 1; min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px;
  border: 2px solid rgba(255, 246, 224, 0.45); color: var(--cream); transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.chip input:checked + .chip-face { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chip input:focus-visible + .chip-face { outline: 3px solid var(--amber); outline-offset: 2px; }
.glyph { display: none; width: 40px; height: 24px; flex: none; }
.chip-text { display: flex; flex-direction: column; gap: 1px; }
.chip-label { font: 800 19px/1.05 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }
.chip-time { font-size: 13px; font-weight: 600; line-height: 1.25; }
.t-link { margin-top: 12px; font-size: 15px; }
.t-link a { font-weight: 700; }
.chip-price { font: 800 17px/1.1 var(--display); letter-spacing: 0.02em; margin-top: 4px; }

.ticket { background: var(--paper); color: var(--ink); border-radius: 16px; display: flex; flex-direction: column; }
.ticket-main { display: flex; flex-wrap: wrap; gap: 20px 36px; padding: 22px 20px; align-items: center; }
.ticket-what { flex: 1 1 250px; display: flex; flex-direction: column; gap: 6px; }
.ticket-name { font: 800 34px/1 var(--display); text-transform: uppercase; }
.ticket-note { font-size: 15px; color: var(--muted); }
.food-pick { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 12px; margin-top: 4px; border: 2px solid var(--ink); border-radius: 10px; font-size: 14px; line-height: 1.35; cursor: pointer; }
.food-pick input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--ink); cursor: pointer; }
.food-pick strong { display: block; font-weight: 700; }
.food-pick span span { color: var(--muted); }
.food-pick:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
.ticket-group { flex: 0 1 auto; display: flex; flex-direction: column; gap: 8px; }
.fields { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 22px; font-weight: 700; cursor: pointer; padding: 0; }
.stepper button[id$="-more"] { background: var(--ink); color: var(--paper); }
.stepper button:disabled { opacity: 0.3; cursor: default; }
.stepper output { min-width: 34px; text-align: center; font: 800 34px/1 var(--display); }
.ticket-total { flex: 1 1 200px; display: flex; flex-direction: column; }
.total { font: 900 clamp(60px, 18vw, 78px)/1 var(--display); }
.each { font-size: 15px; font-weight: 600; }
.ticket-stub { position: relative; border-top: 2px dashed #BDB190; padding: 22px 20px; display: flex; flex-direction: column; justify-content: center; gap: 10px; text-align: center; }
.notch { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--land4); transition: background 1.1s ease; top: -14px; }
.notch-a { left: -13px; }
.notch-b { right: -13px; }
.on-dark { color: var(--cream); }

.track { display: flex; flex-direction: column; gap: 18px; padding-top: 40px; }
.track-title { font: 900 clamp(34px, 9vw, 56px)/0.95 var(--display); text-transform: uppercase; }
.stops { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 28px 0; }
.stops li { position: relative; padding: 26px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.stops li::before { content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--amber); border: 4px solid var(--cream); }
.stops li::after { content: ""; position: absolute; left: 18px; right: 0; top: 7.5px; border-top: 3px dashed rgba(255, 246, 224, 0.5); }
.when { font: 800 30px/1 var(--display); text-transform: uppercase; color: var(--amber); }
.stops h3 { font-size: 18px; font-weight: 700; }
.stops p:last-child { font-size: 15px; color: #DAD4C8; }

/* ---- Where the money goes ---- */
.money { background: var(--sand); color: var(--ink); }
.money-grid { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 44px 56px; align-items: flex-start; }
.split { flex: 3 1 520px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.bar { display: flex; height: 76px; border-radius: 12px; overflow: hidden; border: 3px solid var(--ink); }
.bar span { flex: 1 1 0; transition: flex-grow 0.5s ease; }
.bar span + span { border-left: 3px solid var(--ink); }
.bar span[style*="flex-grow: 0"] { display: none; }
.bar-tickets { background: var(--teal); }
.bar-jeep { background: var(--coral); }
.bar-food { background: var(--paper); }
.bar-extra { background: var(--plum); }
.legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 22px 28px; }
.legend > div { display: flex; flex-direction: column; gap: 4px; }
.legend dt { font-size: 17px; font-weight: 700; }
.legend .amt { order: -1; display: flex; align-items: center; gap: 10px; font: 900 40px/1 var(--display); }
.swatch { width: 18px; height: 18px; border-radius: 4px; border: 2px solid var(--ink); flex: none; }
.legend .why { font-size: 15px; color: var(--body-ink); }
.message { flex: 2 1 340px; display: flex; flex-direction: column; gap: 14px; background: var(--paper); border: 3px solid var(--ink); border-radius: 16px; padding: 22px; box-shadow: 8px 8px 0 var(--ink); min-width: 0; }
.message h3 { font: 800 26px/1 var(--display); text-transform: uppercase; }
.bubble { padding: 14px 16px; border-radius: 4px 16px 16px 16px; background: #DDF2C4; font-size: 15px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }

/* ---- Made for travellers from India (rupee page only) ---- */
.india { background: var(--paper); color: var(--ink); }
.india .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 28px; }
.perks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.perks li { display: flex; flex-direction: column; gap: 6px; }
.perks svg { width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: var(--sand); color: var(--ink); border: 2px solid var(--ink); }
.perks h3 { font: 800 22px/1.05 var(--display); text-transform: uppercase; }
.perks p { font-size: 15px; color: var(--body-ink); }

/* ---- Who you might meet: photos as stamps ---- */
.wildlife { background: var(--teal); color: var(--cream); }
.wildlife .wrap { padding-top: 56px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 36px; }
.wild-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 40px; }
.wild-head .lede { max-width: 420px; }
.stamps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 36px 28px; }
.stamp {
  padding: 22px 22px 26px; color: var(--ink); transform: rotate(var(--tilt, 0deg)); box-shadow: 0 10px 0 rgba(12, 16, 36, 0.28);
  background:
    radial-gradient(circle at 50% 0, var(--teal) 5px, transparent 5.6px) 0 0 / 18px 9px round no-repeat,
    radial-gradient(circle at 50% 100%, var(--teal) 5px, transparent 5.6px) 0 100% / 18px 9px round no-repeat,
    radial-gradient(circle at 0 50%, var(--teal) 5px, transparent 5.6px) 0 0 / 9px 18px no-repeat round,
    radial-gradient(circle at 100% 50%, var(--teal) 5px, transparent 5.6px) 100% 0 / 9px 18px no-repeat round,
    var(--paper);
}
.stamp img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stamp figcaption { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; font-size: 15px; color: var(--body-ink); }
.stamp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: var(--ink); }
.stamp-name { font: 900 32px/1 var(--display); text-transform: uppercase; }
.stamp-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kicker); }

/* ---- Booking steps and questions ---- */
.booking { background: var(--coral); color: var(--ink); }
.booking-grid { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.booking-grid > div { flex: 1 1 380px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 2px; font: 900 56px/0.8 var(--display); }
.steps h3 { font-size: 19px; font-weight: 700; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--paper); border: 3px solid var(--ink); border-radius: 12px; }
.faq summary { min-height: 56px; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 900 30px/1 var(--display); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 18px 16px; color: var(--body-ink); }

/* ---- Agents (rupee page only) ---- */
.agents { background: var(--sand); color: var(--ink); }
.agents-band { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.agents h2 { font: 900 clamp(32px, 8vw, 48px)/0.95 var(--display); text-transform: uppercase; }

/* ---- Last call to book, under the night sky ---- */
.final { background: var(--night); color: var(--cream); position: relative; overflow: hidden; }
.final-copy { padding-top: 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: relative; z-index: 2; }
.final h2 { font: 900 clamp(46px, 13vw, 104px)/0.9 var(--display); text-transform: uppercase; max-width: 900px; }
.final .lede a { font-weight: 700; }
.contact { display: grid; gap: 10px; font-size: 16px; }
.contact dt { font-weight: 700; }
.night-box { position: relative; height: clamp(190px, 24vw, 340px); }

/* Footer */
/* On phones the footer leaves room for the bottom bar, so the bar never covers the last lines. */
.foot { background: #0C1024; color: #C9C6D6; font-size: 14px; }
.foot .wrap { padding-top: 30px; padding-bottom: calc(100px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.brand-sm { min-height: 0; }
.brand-sm .logo { width: 30px; height: 30px; border-radius: 8px; }
.brand-sm span { font-size: 21px; }
.foot-switch { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); font-weight: 600; }
.credits { font-size: 12px; max-width: 900px; }

/* Bottom bar on phones */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 2px solid var(--ink); transition: transform 0.2s ease;
}
.sticky .btn { flex: 1 1 0; padding-left: 10px; padding-right: 10px; }
.sticky .btn-book { min-height: 48px; font-size: 20px; box-shadow: 3px 3px 0 var(--ink); }
.sticky.is-hidden { transform: translateY(110%); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Large phones and small tablets */
@media (min-width: 600px) {
  .wrap, .top { padding-left: 28px; padding-right: 28px; }
  .top-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .top { column-gap: 16px; }
  .top .btn-sm { padding: 6px 18px; }
  .clock { order: 0; }
  .ticket-main { padding: 24px 28px; }
  .ticket-stub { padding: 24px 28px; }
}

/* Tablets and up: the bottom bar goes away */
@media (min-width: 760px) {
  .sticky { display: none; }
  .foot .wrap { padding-bottom: 40px; }
  .money-grid, .booking-grid, .india .wrap { padding-top: 76px; padding-bottom: 76px; }
  .wildlife .wrap { padding-top: 76px; padding-bottom: 84px; }
  .pick { padding-bottom: 72px; }
  .perks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .final-copy { padding-top: 84px; }
}

/* Desktop: the headline sits over the scene, and the ticket runs side to side. */
@media (min-width: 960px) {
  .hero-copy { position: absolute; left: 0; right: 0; top: 4px; z-index: 2; }
  .scene { left: 60%; }
  .scene-hero { height: 100%; }
  .clock-status { display: inline; }
  .ticket { flex-direction: row; flex-wrap: wrap; }
  .ticket-main { flex: 3 1 560px; }
  .ticket-stub { flex: 1 1 250px; border-top: 0; border-left: 2px dashed #BDB190; }
  .notch { top: -13px; left: -14px; right: auto; }
  .notch-b { top: auto; bottom: -13px; }
  .chip-label { font-size: clamp(19px, 1.7vw, 22px); }
}

@media (min-width: 1180px) {
  .glyph { display: block; }
}

/* ---- Each safari's sky, sun and land. app.js sets <html data-scene>; morning is the default. ---- */
html:not([data-scene]), html[data-scene="morning"] { --top:#1B2145; --sunT:translate(345.1px, 479.0px); --sun:#FFE7A3; --seg1D:225 1000; --seg1O:-105; --seg2D:0 1000; --seg2O:0; --skyM:1; --skyA:0; --skyF:0; --skyK:0; --skyQ:0; --land0:#B56A78; --land1:#8A4D6D; --water:#F6BE74; --glint:#FCE3A6; --land2:#5B3662; --rock:#5B3662; --rockLit:#7D4B74; --land3:#2B1C3F; --land4:#17132B; --leo:#F3B25C; --spot:#3A2248; --pea:#2B1C3F; --peaEye:#70407A; --leoO:1; --eleO:0; --stupaO:0; --forestO:0; --starsO:0.85; --cloudsO:0; --birdsO:1 }
html[data-scene="afternoon"] { --top:#1C6670; --sunT:translate(863.4px, 453.6px); --sun:#FFEBA6; --seg1D:333 1000; --seg1O:-667; --seg2D:0 1000; --seg2O:0; --skyM:0; --skyA:1; --skyF:0; --skyK:0; --skyQ:0; --land0:#C98A4A; --land1:#9A6A3A; --water:#F7D683; --glint:#FDEFC2; --land2:#6A5A2C; --rock:#6A5A2C; --rockLit:#8F7A38; --land3:#33331D; --land4:#1C2415; --leo:#F3B25C; --spot:#3B2A14; --pea:#17525B; --peaEye:#F0CB69; --leoO:0; --eleO:1; --stupaO:0; --forestO:0; --starsO:0; --cloudsO:0.55; --birdsO:1 }
html[data-scene="fullday"] { --top:#17558C; --sunT:translate(610.0px, 310.0px); --sun:#FFF4C9; --seg1D:500 1000; --seg1O:0; --seg2D:333 1000; --seg2O:-667; --skyM:0; --skyA:0; --skyF:1; --skyK:0; --skyQ:0; --land0:#86AE93; --land1:#5F9377; --water:#69AFC6; --glint:#C6E4E6; --land2:#3E7B55; --rock:#7E7C68; --rockLit:#ABA68A; --land3:#215239; --land4:#12382A; --leo:#EBA33C; --spot:#3B2A14; --pea:#1A5E9A; --peaEye:#F2C94C; --leoO:1; --eleO:1; --stupaO:0; --forestO:0; --starsO:0; --cloudsO:0.85; --birdsO:1 }
html[data-scene="kataragama"] { --top:#1E1440; --sunT:translate(889.7px, 548.2px); --sun:#FFC452; --seg1D:318 1000; --seg1O:-667; --seg2D:0 1000; --seg2O:0; --skyM:0; --skyA:0; --skyF:0; --skyK:1; --skyQ:0; --land0:#7C2F60; --land1:#5A2456; --water:#F28C4E; --glint:#FFCB8E; --land2:#3B1C4C; --rock:#3B1C4C; --rockLit:#552B60; --land3:#1F102F; --land4:#140A22; --leo:#F3B25C; --spot:#3A2248; --pea:#1F102F; --peaEye:#552B60; --leoO:0; --eleO:1; --stupaO:1; --forestO:0; --starsO:0.7; --cloudsO:0; --birdsO:0 }
html[data-scene="quiet"] { --top:#20443B; --sunT:translate(364.6px, 439.6px); --sun:#FFF8DC; --seg1D:170 1000; --seg1O:-160; --seg2D:0 1000; --seg2O:0; --skyM:0; --skyA:0; --skyF:0; --skyK:0; --skyQ:1; --land0:#A9BFA0; --land1:#7F9F88; --water:#CBD8B8; --glint:#F0F1DA; --land2:#4D7561; --rock:#5E7F6E; --rockLit:#88A28C; --land3:#25473A; --land4:#132C25; --leo:#EBA33C; --spot:#3B2A14; --pea:#1C5D6B; --peaEye:#E0DFBB; --leoO:0; --eleO:0; --stupaO:0; --forestO:1; --starsO:0; --cloudsO:0; --birdsO:1 }
