/* NomadBeck Travel – site styles
   Mobile-first: base rules are for phones; 720px = tablet; 1000px = desktop.
   Brand tokens live in :root. Use them instead of raw colours. */

/* ---------- Tokens ---------- */
:root {
  --navy: #13233A;
  --ink: #101B2B;
  --deep: #0B1522;
  --gold: #C9A45C;        /* accents on dark; gold buttons with ink text */
  --gold-text: #7D5F25;   /* small gold text on light backgrounds (passes 4.5:1) */
  --ivory: #F6F1E8;
  --pale: #F3ECDD;
  --white: #FFFFFF;
  --muted: #5C5852;       /* body copy on light (6.2:1 on ivory) */
  --on-dark: #E9E4DC;     /* body copy on navy */
  --on-dark-muted: #C3CBD5;
  --line: rgba(16, 27, 43, 0.12);
  --line-dark: rgba(255, 255, 255, 0.16);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 11vw, 144px);
  --radius: 4px;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);
  --dur: 600ms;
  --dur-fast: 200ms;

  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--gold-text); }
a:hover { color: var(--navy); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
em { font-style: italic; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--ink); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--ivory { background: var(--ivory); }
.section--dark { background: var(--deep); color: var(--white); }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--muted); max-width: 440px; }
.section--dark .section-head p { color: var(--on-dark-muted); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: 0 0 auto; }
.eyebrow--light { color: var(--gold); }
.eyebrow--center { justify-content: center; }

.h-display { font-size: clamp(52px, 12vw, 128px); line-height: 0.95; letter-spacing: -0.015em; }
.h-section { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; margin-top: 14px; }
.h-card { font-size: clamp(28px, 3vw, 32px); line-height: 1.12; }
.gold { color: var(--gold); }
.gold-text { color: var(--gold-text); }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  font: 600 15px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer; text-decoration: none;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #D8B776; color: var(--ink); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--deep); color: var(--white); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); border-color: var(--white); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn[disabled] { opacity: 0.5; cursor: progress; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; color: inherit; text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 2px;
}
.text-link svg { width: 16px; height: 16px; transition: transform var(--dur-fast) ease; }
.text-link:hover { color: inherit; }
.text-link:hover svg { transform: translateX(4px); }

.tag {
  display: inline-block; padding: 6px 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2;
  border-radius: 2px;
}
.tag--light { background: var(--white); color: var(--ink); }
.tag--navy { background: var(--navy); color: var(--white); }
.tag--gold { background: var(--gold); color: var(--ink); }
.tag--outline { border: 1px solid var(--gold); color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--header-h);
  color: var(--white);
  transition: background-color 300ms ease, box-shadow 300ms ease;
}
.site-header.is-solid { background: rgba(11, 21, 34, 0.96); box-shadow: 0 1px 0 var(--line-dark); }
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-solid { background: rgba(11, 21, 34, 0.86); backdrop-filter: blur(10px); }
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--white); }
.brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.brand-name span { margin-top: 5px; font-size: 13px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }

.nav { display: none; align-items: center; gap: clamp(16px, 2vw, 30px); font-size: 15px; font-weight: 600; white-space: nowrap; }
.nav a { color: var(--white); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--gold); }
.nav .btn { min-height: 46px; padding: 0 22px; font-size: 14px; }
.nav .btn:hover { color: var(--ink); }
.nav-phone svg { width: 16px; height: 16px; margin-right: 8px; }

.burger {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(0, 0, 0, 0.25); color: var(--white); cursor: pointer;
}
.burger svg, .menu-close svg { width: 22px; height: 22px; }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  display: flex; flex-direction: column; padding: 14px var(--gutter) 32px;
  background: var(--deep); color: var(--white);
}
.menu-top { display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
.menu-close {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5);
  background: none; color: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.menu nav { margin-top: 32px; display: flex; flex-direction: column; }
.menu nav a {
  font-family: var(--serif); font-size: 36px; line-height: 1.2; color: var(--white); text-decoration: none;
  padding: 12px 0; border-bottom: 1px solid var(--line-dark);
}
.menu nav a:hover { color: var(--gold); }
.menu-actions { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }

/* ---------- Hero ---------- */
.hero {
  --hero-text: #EAE2D4; --hero-gold: #A47D3A;   /* deeper gold for hero text, per owners */
  --glass: rgba(11, 21, 34, 0.6);   /* darker glass keeps the deeper gold readable */ --glass-line: rgba(255, 255, 255, 0.18);
  position: relative; overflow: hidden; color: var(--white); background: var(--deep);
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  /* Extra bottom room so the last row clears the phone action bar (.mbar, ~76px). */
  padding: calc(var(--header-h) + 40px) 0 calc(clamp(40px, 7vw, 88px) + 76px);
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 30, 0.66) 0%, rgba(8, 16, 30, 0.42) 32%, rgba(8, 16, 30, 0.60) 60%, rgba(8, 16, 30, 0.92) 100%);
}
.hero .wrap { position: relative; z-index: 1; }

/* Frosted-glass tag above the headline (replaces the old dash eyebrow). */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 2px;
  border: 1px solid rgba(201, 164, 92, 0.5);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--hero-gold);
}
.hero-badge::before { content: ""; width: 6px; height: 6px; background: var(--hero-gold); transform: rotate(45deg); flex: 0 0 auto; }

/* Hero text: soft ivory and a deeper gold, with a shadow so it reads over bright video frames. */
.hero h1 { margin-top: 22px; color: var(--hero-text); text-shadow: 0 2px 24px rgba(8, 16, 30, 0.55); }
.hero h1 .gold { color: var(--hero-gold); }
.hero .lead { margin-top: 22px; max-width: 560px; color: var(--hero-text); text-shadow: 0 1px 12px rgba(8, 16, 30, 0.6); }
.hero-actions { margin-top: 36px; display: grid; gap: 12px; }

/* Trust points as glass chips. */
.hero-trust { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-trust li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 2px;
  border: 1px solid var(--glass-line); background: var(--glass);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 14px; font-weight: 500; color: var(--hero-text);
}
.hero-trust li::before { content: ""; width: 5px; height: 5px; background: var(--hero-gold); transform: rotate(45deg); flex: 0 0 auto; }

/* Scroll cue: desktop only (phones and tablets have the action bar there). */
.hero-scroll {
  display: none; position: absolute; z-index: 1; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--glass-line); border-radius: 50%; color: var(--hero-text);
  background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.hero-scroll svg { animation: nudge 2.4s ease-in-out infinite; }
.hero-scroll:hover { color: var(--gold); border-color: var(--gold); }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* ---------- Ornament ---------- */
.ornament { height: 30px; overflow: hidden; background: var(--navy); }
.ornament svg { width: 100%; height: 30px; }
.ornament--footer { background: none; opacity: 0.45; }

/* ---------- Story ---------- */
.story { display: grid; gap: 44px; }
.story-quote { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 52px); line-height: 1.18; margin-top: 22px; }
.story-body { color: var(--muted); }
.story-body p + p { margin-top: 16px; }
.pillars { margin-top: 36px; display: grid; gap: 26px; }
.pillar { border-top: 1px solid var(--gold); padding-top: 18px; }
.pillar h3 { font-size: 27px; }
.pillar p { margin-top: 6px; font-size: 16px; color: var(--muted); }

/* ---------- Image tiles (shared) ---------- */
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: #1B2636; color: var(--white); text-decoration: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 16, 30, 0) 40%, rgba(8, 16, 30, 0.82) 100%); }
.tile:hover { color: var(--white); }
.tile:hover img { transform: scale(1.05); }
.tile-text { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; display: grid; gap: 4px; }
.tile-kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.tile-title { font-family: var(--serif); font-size: 34px; line-height: 1.1; }
.tile-sub { font-size: 16px; color: #EDE6E0; }

/* ---------- Destinations ---------- */
.places { display: grid; gap: 16px; }
.places .tile { aspect-ratio: 4 / 5; }

/* ---------- Journeys ---------- */
.journeys { display: grid; gap: 24px; }
.journey { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out); }
.journey:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(16, 27, 43, 0.12); }
.journey-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #1B2636; }
.journey-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.journey:hover .journey-media img { transform: scale(1.05); }
.journey-media .tag { position: absolute; top: 16px; }
.journey-media .tag--light { left: 16px; }
.journey-media .tag--navy { right: 16px; }
.journey-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 24px; }
.journey-body > p { color: var(--muted); font-size: 16px; }
.journey-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; color: #3B3430; }
.journey-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.price small { font-size: 14px; color: #6B625C; }
.price b { font-family: var(--serif); font-weight: 500; font-size: 30px; }
.journey-foot .btn { min-height: 48px; padding: 0 20px; font-size: 14px; }

/* ---------- Ways to travel ---------- */
.ways { display: grid; background: var(--deep); }
.way { min-height: 520px; border-radius: 0; }
.way .tile-text { left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 5vw, 56px); gap: 14px; }
.way .tile-title { font-size: clamp(44px, 5vw, 60px); line-height: 1; }
.way p { max-width: 460px; color: #EDE6E0; }
.way .tag { justify-self: start; }
.way .text-link { justify-self: start; color: var(--white); }

/* ---------- Winter ---------- */
.winter { position: relative; overflow: hidden; background: var(--deep); color: var(--white); }
.winter-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.winter::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 21, 34, 0.94) 0%, rgba(11, 21, 34, 0.86) 100%); }
.winter .wrap { position: relative; z-index: 1; }
.winter-intro { max-width: 640px; }
.winter-intro .lead { margin-top: 22px; color: var(--on-dark); }
.winter-cards { margin-top: 48px; display: grid; gap: 16px; max-width: 920px; }
.winter-card { background: rgba(11, 21, 34, 0.72); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 26px; }
.winter-card h3 { margin: 16px 0 8px; font-size: 28px; }
.winter-card p { font-size: 16px; color: var(--on-dark-muted); }
.winter .btn { margin-top: 40px; }
.nb-snow { animation: nbSnow 12s linear infinite; }
@keyframes nbSnow { from { transform: translateY(-40px); } to { transform: translateY(760px); } }

/* ---------- Seasons ---------- */
.seasons { display: grid; gap: 16px; }
.season { background: var(--ivory); border-top: 1px solid var(--gold); border-radius: var(--radius); padding: 30px 28px; }
.season .season-when { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.season h3 { margin: 10px 0 8px; font-size: 32px; }
.season p { font-size: 16px; color: var(--muted); }

/* ---------- Culture ---------- */
.culture { display: grid; gap: 48px; align-items: center; }
.culture-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.culture-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.culture .lead { margin-top: 22px; color: #3B3430; }
.features { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.features li { display: flex; gap: 18px; align-items: flex-start; }
.features .icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: var(--pale); color: var(--gold-text); display: flex; align-items: center; justify-content: center; }
.features .icon svg { width: 22px; height: 22px; }
.features b { display: block; font-weight: 600; }
.features span { color: var(--muted); font-size: 16px; }

/* ---------- Quote band ---------- */
.band { position: relative; overflow: hidden; color: var(--white); background: var(--deep); text-align: center; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(8, 16, 30, 0.58); }
.band .wrap { position: relative; z-index: 1; max-width: 1060px; }
.band-logo { width: 88px; height: 88px; margin: 0 auto 28px; border-radius: 50%; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4); }
.band blockquote { margin: 0; font-family: var(--serif); font-size: clamp(34px, 5vw, 64px); line-height: 1.14; }
.band .btn { margin-top: 40px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 34px 30px; }
.step .step-num { font-family: var(--serif); font-size: 60px; line-height: 1; color: var(--gold-text); }
.step h3 { margin: 16px 0 8px; font-family: var(--sans); font-size: 20px; font-weight: 600; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq-list { margin-top: 40px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 72px; padding: 22px 0; font-weight: 600; font-size: 19px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-sign {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--pale); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 500;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.faq-sign::before { content: "+"; }
.faq-item[open] .faq-sign { background: var(--navy); color: var(--white); }
.faq-item[open] .faq-sign::before { content: "\2212"; }
.faq-item p { padding: 0 clamp(0px, 5vw, 60px) 26px 0; color: var(--muted); }

/* ---------- Enquiry ---------- */
.enquire { position: relative; overflow: hidden; background: var(--deep); color: var(--white); }
.enquire > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.enquire::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 16, 30, 0.88) 0%, rgba(8, 16, 30, 0.7) 100%); }
.enquire .wrap { position: relative; z-index: 1; display: grid; gap: 44px; align-items: center; }
.enquire .lead { margin-top: 20px; max-width: 460px; color: #EDE6E0; }
.enquire-contact { margin-top: 26px; display: grid; gap: 4px; font-weight: 600; }
.enquire-contact a { color: var(--gold); display: inline-flex; align-items: center; min-height: 44px; }
.enquire-contact a:hover { color: var(--white); }

.panel { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3); }
.form { display: grid; gap: 18px; }
.form-note { font-size: 14px; color: var(--muted); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field .req { color: var(--gold-text); }
.field .optional { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 500 17px/1.4 var(--sans); color: var(--ink); background: var(--white);
  width: 100%; min-height: 52px; padding: 13px 14px;
  border: 1px solid #CFC6BC; border-radius: 2px;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.45); }
.field [aria-invalid="true"] { border-color: #A3261B; }
.field-error { font-size: 14px; font-weight: 600; color: #A3261B; }
.form-status { margin: 0; padding: 14px 16px; background: var(--ivory); border-left: 3px solid var(--gold-text); font-size: 16px; }
.form .btn { width: 100%; min-height: 58px; font-size: 15px; }
.thanks h3 { font-size: 40px; }
.thanks p { margin-top: 12px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: #D9D2CC; font-size: 16px; }
.footer-grid { display: grid; gap: 40px; padding-block: clamp(48px, 6vw, 80px) 40px; }
.footer-logo { width: 112px; height: 112px; border-radius: 50%; margin-bottom: 20px; }
.footer-brand b { display: block; font-family: var(--serif); font-weight: 500; font-size: 34px; color: var(--white); line-height: 1; }
.footer-brand span { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
.footer-brand p { margin-top: 18px; }
.footer-col h2 { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.footer-col a { color: #D9D2CC; text-decoration: none; display: flex; align-items: center; min-height: 44px; }
.footer-col a:hover { color: var(--gold); }
.footer-base { border-top: 1px solid #1E2B3D; padding-block: 24px 40px; font-size: 14px; color: #A9B1BC; }

/* ---------- Phone action bar ---------- */
.mbar {
  position: sticky; bottom: 0; z-index: 30; display: flex; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}
.mbar .btn { flex: 1 1 0; min-height: 52px; padding: 0 12px; font-size: 14px; }
.mbar .btn:last-child { flex-grow: 1.4; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); transition-delay: var(--delay, 0ms); }
.reveal-on [data-reveal].is-visible { opacity: 1; transform: none; }

/* Hero entrance */
.rise { animation: rise 900ms var(--ease-out) both; animation-delay: var(--delay, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.slow-zoom { animation: slowZoom 24s ease-in-out infinite alternate; }
@keyframes slowZoom { from { transform: scale(1.02); } to { transform: scale(1.1); } }

/* ---------- Tablet ---------- */
@media (min-width: 720px) {
  .hero-actions { grid-auto-flow: column; justify-content: start; }
  .places { grid-template-columns: repeat(2, 1fr); }
  .journeys { grid-template-columns: repeat(2, 1fr); }
  .ways { grid-template-columns: repeat(2, 1fr); }
  .way { min-height: 640px; }
  .winter-cards { grid-template-columns: repeat(3, 1fr); }
  .seasons { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form .full { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Desktop ---------- */
@media (min-width: 1000px) {
  :root { --header-h: 88px; }
  .nav { display: flex; }
  /* Not enough room for the phone number on small laptops: it is still in the contact section and footer. */
  @media (max-width: 1199px) { .nav-phone { display: none !important; } }
  .burger, .menu, .mbar { display: none !important; }
  .hero { padding-bottom: clamp(96px, 9vw, 128px); }
  .hero-scroll { display: flex; }
  .intro .intro-hint { bottom: 32px; }   /* no action bar on desktop */
  .brand img { width: 56px; height: 56px; }
  .brand-name b { font-size: 28px; }

  .section-head { grid-template-columns: 1fr auto; align-items: end; }

  .story { grid-template-columns: 7fr 5fr; gap: 80px; align-items: end; }

  .places { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 290px; }
  .places .tile { aspect-ratio: auto; }
  .places .tile:nth-child(1) { grid-column: span 5; grid-row: span 2; }
  .places .tile:nth-child(2) { grid-column: span 7; }
  .places .tile:nth-child(3) { grid-column: span 4; }
  .places .tile:nth-child(4) { grid-column: span 3; }

  .journeys { grid-template-columns: repeat(4, 1fr); }
  .winter::after { background: linear-gradient(90deg, rgba(11, 21, 34, 0.97) 0%, rgba(11, 21, 34, 0.88) 50%, rgba(11, 21, 34, 0.35) 100%); }
  .way { min-height: 720px; }
  .seasons { grid-template-columns: repeat(4, 1fr); }
  .culture { grid-template-columns: 5fr 6fr; gap: 88px; }
  .enquire .wrap { grid-template-columns: 5fr 6fr; gap: 72px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ---------- Opening scene: the snow leopard leaps out of the screen ----------
   A cut-out leopard (transparent WebP) starts small and far away over a dimmed hero, springs towards
   the visitor, then flies past the screen while the dimming lifts.
   Pure CSS timeline, so it always ends even if JS fails. Only shown when the inline head script
   adds .intro-play to <html> (once per visit, never with reduced motion). Add ?intro to the URL to replay. */
.intro { display: none; }
.intro-play .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 100; cursor: pointer; overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, rgba(19, 35, 58, 0.78), rgba(8, 16, 30, 0.94) 75%);
  animation: introLift 700ms ease 1750ms forwards, introGone 1ms linear 2500ms forwards;
}
.intro-cat {
  width: min(90vw, 80vh); height: auto; max-width: none;
  transform-origin: 50% 32%;            /* the face: it is what comes at you */
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
  animation: catLeap 2400ms both;
}
.intro-hint {
  position: absolute; bottom: calc(110px + env(safe-area-inset-bottom)); left: 0; right: 0; margin: 0; text-align: center;   /* above the phone action bar */
  font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7);
  animation: introFadeIn 400ms ease 500ms both;
}
.intro-skip .intro { animation: introGone 1ms linear 350ms forwards; opacity: 0; transition: opacity 350ms ease; }
@keyframes introFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes catLeap {
  0%   { transform: translateY(14%) scale(0.12); opacity: 0; animation-timing-function: ease-out; }
  10%  { transform: translateY(12%) scale(0.16); opacity: 1; animation-timing-function: cubic-bezier(.35, 0, .4, 1); }
  /* spring up and towards the visitor */
  55%  { transform: translateY(-4%) scale(0.78); opacity: 1; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45)) blur(0); animation-timing-function: cubic-bezier(.6, 0, .9, .5); }
  /* paws first, past the camera */
  100% { transform: translateY(12%) scale(5.5); opacity: 0; filter: blur(16px); }
}
@keyframes introLift { to { background-color: transparent; opacity: 0; } }
@keyframes introGone { to { visibility: hidden; pointer-events: none; } }
/* Hold the hero entrance until the leopard has passed. */
.intro-play .hero .rise { animation-delay: calc(var(--delay, 0ms) + 2000ms); }

/* ---------- Hero extras ---------- */
/* Snowfall canvas sits between the video tint and the text. */
.hero-snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-content { z-index: 2; will-change: transform, opacity; }
.hero-media { will-change: transform; }
.hero-top { display: flex; flex-wrap: wrap; gap: 10px; }
/* Live clock: local time in Kyrgyzstan. */
.hero-clock { color: var(--hero-text); }
.hero-clock time { color: var(--hero-gold); font-variant-numeric: tabular-nums; letter-spacing: 0.12em; }
.hero-clock::before { background: #7BC67E; border-radius: 50%; transform: none; width: 7px; height: 7px; box-shadow: 0 0 0 0 rgba(123, 198, 126, 0.6); animation: livePulse 2s ease-out infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 7px rgba(123, 198, 126, 0); } 100% { box-shadow: 0 0 0 0 rgba(123, 198, 126, 0); } }

/* Changing headline word: own line, so the layout never jumps. */
.hero-word { display: block; transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out), filter 450ms var(--ease-out); }
.hero-word.is-out { opacity: 0; transform: translateY(-0.18em); filter: blur(6px); }
.hero-word.is-in  { opacity: 0; transform: translateY(0.22em); filter: blur(6px); transition: none; }

/* Gold shine sweeping across the main button. */
.btn--shine { position: relative; overflow: hidden; isolation: isolate; }
.btn--shine::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%); animation: shine 5.5s ease-in-out 3.5s infinite;
}
.btn--shine { z-index: 0; }
@keyframes shine { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(120%); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal-on [data-reveal] { opacity: 1; transform: none; }
  .nb-snow, .hero-snow { display: none; }
}
