/* ============================================================
   Firefly Resort — Site stylesheet
   Generated from the Firefly Resort Design System
   (tokens: colors / typography / spacing / effects + interactions)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Cabin:wght@400;500;600;700&display=swap');

:root {
  /* ---- Firefly glow (amber) ---- */
  --amber-50:  #fdf6ea;
  --amber-100: #f9e7c6;
  --amber-200: #f2cf8d;
  --amber-300: #edb55a;
  --amber-400: #ed9a2e;
  --amber-500: #ed8323;
  --amber-600: #cf6a15;
  --amber-700: #a85311;

  /* ---- Forest ---- */
  --forest-50:  #eef6ee;
  --forest-100: #d3e8d2;
  --forest-200: #a3d0a0;
  --forest-300: #6bb267;
  --forest-400: #3f9a3c;
  --forest-500: #2f7d34;
  --forest-600: #226127;
  --forest-700: #1a4a1f;

  /* ---- Clay / Sand / Mist ---- */
  --clay-100: #efdcd6;
  --clay-300: #b98a7c;
  --clay-500: #6f3932;
  --clay-700: #4d251f;
  --sand-50:  #faf6f0;
  --sand-100: #f3ead9;
  --sand-200: #e9d6ba;
  --sand-300: #dfa974;
  --sand-400: #cf9459;
  --mist-100: #e4ecf2;
  --mist-200: #c3d5e2;
  --mist-300: #9db8cb;
  --mist-400: #6f8fa8;
  --mist-500: #4e6a80;

  /* ---- Ink ---- */
  --ink-900: #17181a;
  --ink-800: #232427;
  --ink-700: #34363a;
  --ink-600: #4c4e53;
  --ink-500: #6b6d73;
  --ink-400: #8f9197;
  --ink-300: #b7b9bd;
  --ink-200: #d8dadd;
  --ink-100: #ececee;
  --ink-50:  #f6f6f7;
  --white:   #ffffff;

  /* ---- Semantic ---- */
  --brand:            var(--forest-500);
  --brand-strong:     var(--forest-600);
  --brand-soft:       var(--forest-100);
  --brand-contrast:   var(--white);
  --accent:           var(--amber-500);
  --accent-strong:    var(--amber-600);
  --accent-soft:      var(--amber-100);

  --text-strong:  var(--ink-900);
  --text-body:    var(--ink-700);
  --text-muted:   var(--ink-500);
  --text-faint:   var(--ink-400);
  --text-inverse: var(--white);
  --text-brand:   var(--forest-600);
  --text-accent:  var(--amber-600);

  --surface-page:    var(--sand-50);
  --surface-card:    var(--white);
  --surface-sunken:  var(--ink-50);
  --surface-cream:   var(--sand-100);
  --surface-night:   var(--ink-900);
  --surface-night-2: var(--ink-800);

  --border-subtle: var(--ink-100);
  --border-default:var(--ink-200);
  --border-strong: var(--ink-300);
  --border-brand:  var(--forest-500);

  --success: #2f7d34;
  --warning: #ed9a2e;
  --danger:  #c0392b;
  --info:    var(--mist-400);

  --focus-ring: rgba(47, 125, 52, 0.55);

  /* ---- Atmospheric overlays ---- */
  --overlay-night: linear-gradient(180deg, rgba(23,24,26,0) 0%, rgba(23,24,26,0.78) 100%);
  --overlay-hero:  linear-gradient(105deg, rgba(23,24,26,0.72) 0%, rgba(23,24,26,0.28) 55%, rgba(23,24,26,0) 100%);
  --overlay-glow:  radial-gradient(120% 120% at 85% 20%, rgba(237,131,35,0.28) 0%, rgba(237,131,35,0) 55%);
  --overlay-mist:  linear-gradient(180deg, rgba(228,236,242,0) 0%, rgba(228,236,242,0.55) 100%);
  --sky-night:     linear-gradient(180deg, #0b1220 0%, #122030 45%, #1c3226 100%);

  /* ---- Typography ---- */
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans:  "Cabin", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: var(--font-serif);
  --font-body:    var(--font-sans);

  /* ---- Radius / shadows / motion ---- */
  --radius-xs:  2px;
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  14px;
  --radius-xl:  24px;
  --radius-pill:999px;

  --shadow-xs:  0 1px 2px rgba(23,24,26,0.06);
  --shadow-sm:  0 2px 6px rgba(23,24,26,0.08);
  --shadow-md:  0 8px 20px rgba(23,24,26,0.10);
  --shadow-lg:  0 18px 40px rgba(23,24,26,0.14);
  --shadow-xl:  0 30px 70px rgba(23,24,26,0.20);
  --shadow-glow: 0 8px 30px rgba(47,125,52,0.35);
  --shadow-glow-amber: 0 8px 30px rgba(237,131,35,0.35);

  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --dur-slow: 500ms;

  --container-max: 1200px;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--forest-600); }
a:hover { color: var(--amber-600); }
img { max-width: 100%; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 32px; }

.section { padding: 100px 0; }
.section--cream { background: var(--surface-cream); }
.section--page  { background: var(--surface-page); }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-brand);
}
.eyebrow--amber { color: var(--amber-300); }

.section-title {
  font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 600;
  color: var(--text-strong);
  margin: 14px 0 0; line-height: 1.2;
}

/* ============================================================
   Header
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 50; }

.topbar { background: var(--ink-900); color: #fff; }
.topbar__inner {
  max-width: var(--container-max); margin: 0 auto; padding: 0 32px;
  height: 44px; display: flex; align-items: center;
  justify-content: space-between; font-size: 13.5px;
}
.topbar__contacts { display: inline-flex; align-items: center; gap: 24px; }
.topbar__loc { opacity: .75; }
.topbar__phone {
  font-size: 16px; font-weight: 700; letter-spacing: .02em;
  color: #fff; text-decoration: none; display: inline-flex; align-items: center;
}
.topbar__phone:hover { color: var(--amber-300); }
.topbar__right { display: inline-flex; align-items: center; gap: 16px; }
.topbar__social { color: #fff; opacity: .85; display: inline-flex; align-items: center; }
.topbar__social:hover { color: var(--amber-300); opacity: 1; }

.navbar { position: relative; background: var(--surface-card); box-shadow: var(--shadow-sm); }
.navbar__inner {
  max-width: var(--container-max); margin: 0 auto; padding: 0 32px;
  height: 80px; display: flex; align-items: center; justify-content: space-between;
}
.navbar__logo {
  background: var(--ink-900); border-radius: 4px; padding: 7px 12px; display: inline-flex;
}
.navbar__logo img { height: 50px; border-radius: 3px; }
.navbar__links { display: flex; align-items: center; gap: 36px; }
.ff-navlink {
  position: relative; font-weight: 600; color: var(--text-strong);
  text-decoration: none; transition: color var(--dur-base) var(--ease-standard);
}
.ff-navlink::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--brand); opacity: 0; transform: scaleX(0); transform-origin: left;
  transition: all var(--dur-base) var(--ease-standard);
}
.ff-navlink:hover, .ff-navlink[data-active="true"] { color: var(--text-brand); }
.ff-navlink:hover::after, .ff-navlink[data-active="true"]::after { opacity: 1; transform: scaleX(1); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  color: var(--text-strong); padding: 8px;
}

/* ============================================================
   Buttons
   ============================================================ */
.ff-btn {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  text-transform: uppercase; text-decoration: none; text-align: center;
  border-radius: var(--radius-sm); cursor: pointer; border: 0;
  transition: all var(--dur-base) var(--ease-standard);
  -webkit-tap-highlight-color: transparent;
}
.ff-btn--sm { font-size: 13px; letter-spacing: .08em; padding: 12px 24px; }
.ff-btn--lg { font-size: 14px; letter-spacing: .08em; padding: 18px 40px; }
.ff-btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-glow); }
.ff-btn--primary:hover { background: var(--brand-strong); color: #fff; transform: translateY(-2px); }
.ff-btn--primary:active { transform: translateY(0); }
.ff-btn--white { background: #fff; color: var(--ink-900); }
.ff-btn--white:hover { background: var(--sand-100); color: var(--ink-900); transform: translateY(-2px); }
.ff-btn--outline {
  background: transparent; color: var(--text-brand);
  border: 1.5px solid var(--border-brand); padding: 14px 30px;
  font-size: 13px; letter-spacing: .08em;
}
.ff-btn--outline:hover { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
.ff-btn--block { display: block; width: 100%; }
.ff-btn:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; display: flex; overflow: hidden; background: var(--sky-night);
}
.hero--home { min-height: 640px; align-items: center; }
.hero--page { min-height: 320px; align-items: flex-end; }
.hero--page-tall { min-height: 360px; align-items: flex-end; }
.hero__bg {
  position: absolute; inset: 0; background-size: cover;
  background-position: center 70%; opacity: .72;
}
.hero__overlay-hero { position: absolute; inset: 0; background: var(--overlay-hero); }
.hero__overlay-glow { position: absolute; inset: 0; background: var(--overlay-glow); }
.hero__overlay-mist { position: absolute; inset: 0; background: var(--overlay-mist); }
.hero__content {
  position: relative; z-index: 5; max-width: var(--container-max);
  margin: 0 auto; padding: 64px 32px; width: 100%;
}
.hero--page .hero__content, .hero--page-tall .hero__content { padding: 96px 32px 56px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem); line-height: 1.02; color: #fff;
  margin: 16px 0 0; font-weight: 600; letter-spacing: -0.015em;
}
.hero--page .hero__title, .hero--page-tall .hero__title {
  font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1.08; margin: 14px 0 0;
}
.hero__title em { color: var(--amber-400); font-style: italic; }
.hero__lead {
  font-size: 1.2rem; line-height: 1.7; color: rgba(255,255,255,.85);
  margin: 22px 0 34px; max-width: 520px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stars + fireflies */
@keyframes ffGlow { 0%,100% { opacity:.12; transform:translateY(0);} 50% { opacity:1; transform:translateY(-9px);} }
@keyframes ffDrift { from { transform:translateX(-6%);} to { transform:translateX(6%);} }
@keyframes ffTwinkle { 0%,100% { opacity:.15;} 50% { opacity:1;} }
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
.star { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; }
.star--lg { width: 3px; height: 3px; }
.firefly {
  position: absolute; border-radius: 50%; background: var(--amber-400);
  box-shadow: 0 0 12px 3px rgba(237,154,46,.75);
}
.hero__fog {
  position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
  pointer-events: none; overflow: hidden;
}
.hero__fog-drift {
  position: absolute; left: -30%; width: 160%; height: 100%; bottom: -10%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(228,236,242,.32), rgba(228,236,242,0) 72%);
  filter: blur(3px); animation: ffDrift 22s ease-in-out infinite alternate;
}

/* ============================================================
   Content grids
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--story { grid-template-columns: 1.1fr 1fr; }
.split--contact { grid-template-columns: 1fr 1.3fr; align-items: start; }

.photo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-duo img {
  width: 100%; height: 300px; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.photo-duo img:last-child { margin-top: 34px; }
.photo-duo--tall img { height: 320px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto; }

/* ============================================================
   Room card
   ============================================================ */
.ff-roomcard {
  position: relative; display: block; height: 440px; border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-md);
  transition: transform var(--dur-slow) var(--ease-out);
}
.ff-roomcard__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.ff-roomcard:hover .ff-roomcard__img { transform: scale(1.06); }
.ff-roomcard__scrim { position: absolute; inset: 0; background: var(--overlay-night); }
.ff-roomcard__body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 26px 24px; color: #fff;
  transition: transform var(--dur-slow) var(--ease-out);
}
.ff-roomcard:hover .ff-roomcard__body { transform: translateY(-6px); }
.ff-roomcard__tag {
  display: inline-block; background: var(--amber-500); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-xs); margin-bottom: 12px;
}
.ff-roomcard__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin: 0; }
.ff-roomcard__meta { font-size: .9rem; opacity: .85; margin: 6px 0 12px; }
.ff-roomcard__price { font-size: 1.05rem; font-weight: 700; color: var(--amber-300); }
.ff-roomcard__price small { font-size: .8rem; font-weight: 400; color: rgba(255,255,255,.75); }

/* ============================================================
   Service card
   ============================================================ */
.ff-service {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  padding: 32px 26px; text-align: center;
  transition: background var(--dur-base) var(--ease-standard);
}
.ff-service__icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--surface-cream); color: var(--text-brand);
  display: flex; align-items: center; justify-content: center;
}
.ff-service__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text-strong); margin: 0 0 10px; }
.ff-service__desc { font-size: .95rem; line-height: 1.65; color: var(--text-muted); margin: 0; }
.ff-service:hover { background: var(--brand); }
.ff-service:hover * { color: var(--white); }
.ff-service:hover .ff-service__icon { background: rgba(255,255,255,.14); }

/* ============================================================
   Testimonial card
   ============================================================ */
.ff-testimonial {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: 40px 44px; text-align: center;
}
.ff-testimonial__stars { color: var(--amber-400); display: flex; justify-content: center; gap: 4px; margin-bottom: 18px; }
.ff-testimonial__quote {
  font-family: var(--font-display); font-size: 1.25rem; font-style: italic;
  line-height: 1.65; color: var(--text-body); margin: 0 0 20px;
}
.ff-testimonial__author { font-weight: 700; color: var(--text-strong); }
.ff-testimonial__source { font-size: .85rem; color: var(--text-muted); }
.ff-testimonial__source a { color: var(--text-brand); text-decoration: none; }

/* ============================================================
   Destinations (About)
   ============================================================ */
.dest-figure {
  position: relative; margin: 0; height: 360px; border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.dest-figure img { width: 100%; height: 100%; object-fit: cover; }
.dest-figure__scrim { position: absolute; inset: 0; background: var(--overlay-night); }
.dest-figure figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; color: #fff; }
.dest-figure__name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.dest-figure__meta { font-size: .9rem; opacity: .8; margin-top: 4px; }

/* ============================================================
   Contact
   ============================================================ */
.contact-list { display: flex; flex-direction: column; gap: 26px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item__icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--surface-cream);
  border: 1px solid var(--border-default); display: inline-flex; align-items: center;
  justify-content: center; color: var(--text-brand); flex-shrink: 0;
}
.contact-item strong { display: block; color: var(--text-strong); font-size: .95rem; margin-bottom: 2px; }
.contact-item a, .contact-item span.val { font-size: .95rem; text-decoration: none; }

.contact-form {
  background: var(--surface-card); border: 1px solid var(--border-default);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: 40px; display: flex; flex-direction: column; gap: 20px;
}
.contact-form h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--text-strong); margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.ff-field { display: flex; flex-direction: column; gap: 8px; }
.ff-field label, .ff-field .ff-field__label {
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-muted);
}
.ff-field__label .req { color: var(--danger); }
.ff-field__input {
  font-family: var(--font-body); font-size: 1rem; color: var(--text-body);
  padding: 14px 16px; border: 1px solid var(--border-default);
  border-radius: var(--radius-xs); background: var(--surface-page); width: 100%;
}
.ff-field__input:focus, .ff-field__input:focus-visible {
  border-color: var(--border-brand); box-shadow: 0 0 0 3px var(--focus-ring); outline: none;
}
textarea.ff-field__input { resize: vertical; }
select.ff-field__input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-500) 50%), linear-gradient(135deg, var(--ink-500) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }

.form-success {
  background: var(--surface-cream); border: 1px solid var(--border-brand);
  border-radius: var(--radius-sm); padding: 14px 18px;
  color: var(--text-brand); font-size: .95rem;
}
.form-success[hidden] { display: none; }

.form-error {
  background: #fdecea; border: 1px solid var(--danger);
  border-radius: var(--radius-sm); padding: 14px 18px;
  color: var(--danger); font-size: .95rem;
}
.form-error[hidden] { display: none; }

/* Honeypot: invisible to people, tempting to bots */
.hp-field {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.map-card {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--border-default);
}
.map-card iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ============================================================
   Gallery
   ============================================================ */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.filter-tab {
  background: transparent; color: var(--text-strong); border: 1.5px solid var(--border-default);
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .08em; padding: 11px 22px;
  border-radius: var(--radius-pill); cursor: pointer;
  transition: all var(--dur-base) var(--ease-standard);
}
.filter-tab:hover { border-color: var(--brand); color: var(--text-brand); }
.filter-tab[data-active="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }

.masonry { column-count: 3; column-gap: 20px; }
.masonry__item {
  position: relative; margin: 0 0 20px; border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm); break-inside: avoid; cursor: zoom-in;
  transition: box-shadow var(--dur-base) var(--ease-standard);
}
.masonry__item:hover { box-shadow: var(--shadow-lg); }
.masonry__item img { width: 100%; display: block; transition: transform .5s var(--ease-standard); }
.masonry__item:hover img { transform: scale(1.04); }
.masonry__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 14px;
  background: var(--overlay-night); color: #fff; font-size: .9rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.masonry__item figcaption .cat {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--amber-300);
}
.masonry__item.is-hidden { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(23,24,26,.92);
  display: flex; align-items: center; justify-content: center; padding: 48px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1080px; width: 100%; text-align: center; }
.lightbox img {
  max-width: 100%; max-height: 74vh; object-fit: contain;
  border-radius: var(--radius-md); box-shadow: var(--shadow-xl);
}
.lightbox figcaption { color: #fff; font-size: 1rem; margin-top: 16px; font-family: var(--font-display); }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08);
  color: #fff; cursor: pointer; font-size: 26px; line-height: 1;
}
.lightbox__prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 28px; top: 50%; transform: translateY(-50%); }
.lightbox__close { right: 28px; top: 28px; width: 44px; height: 44px; font-size: 20px; }

/* ============================================================
   Journey — scroll spine (car rides the road as you scroll)
   ============================================================ */
.journey { position: relative; background: var(--sky-night); }

/* Tall scroll track: its height is the "film length" of the animation */
.journey__track { position: relative; height: 420vh; }

/* Sticky stage that stays pinned while the track scrolls through */
.journey__stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column;
}

/* Crossfading location backgrounds */
.journey__bgs { position: absolute; inset: 0; }
.journey__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1s var(--ease-standard), transform 6s var(--ease-out);
  will-change: opacity, transform;
}
.journey__bg.is-active { opacity: .68; transform: scale(1); }
.journey__bg-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,.62) 0%, rgba(11,18,32,.3) 45%, rgba(28,50,38,.66) 100%); }
.journey__glow { position: absolute; inset: 0; background: var(--overlay-glow); pointer-events: none; }

.journey__head { position: relative; z-index: 4; text-align: center; padding: 72px 32px 0; }
.journey__head h2 { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: #fff; margin: 14px 0 0; }
.journey__head p { color: rgba(255,255,255,.8); line-height: 1.7; margin: 14px auto 0; max-width: 560px; }

/* The spine itself */
.journey__spine { position: relative; z-index: 4; flex: 1; min-height: 0; }
.journey__svg { position: absolute; left: 50%; top: 0; transform: translateX(-50%); height: 100%; width: auto; overflow: visible; }

.journey__road-base { stroke: rgba(255,255,255,.18); stroke-width: 34; fill: none; stroke-linecap: round; }
.journey__road-tar  { stroke: rgba(23,24,26,.75);  stroke-width: 30; fill: none; stroke-linecap: round; }
.journey__road-dash { stroke: rgba(255,255,255,.55); stroke-width: 2.5; fill: none; stroke-dasharray: 14 18; stroke-linecap: round; }
.journey__road-done {
  stroke: var(--amber-400); stroke-width: 4; fill: none; stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(237,154,46,.7));
}

.journey__stop-dot { fill: var(--forest-300); stroke: rgba(255,255,255,.6); stroke-width: 2.5; transition: fill var(--dur-base) var(--ease-standard), r var(--dur-base) var(--ease-standard); }
.journey__stop-dot.is-passed { fill: var(--amber-400); }

.journey__car { will-change: transform; }

/* Milestone cards — alternate left/right of the spine */
.journey__stop {
  position: absolute; width: min(330px, 34vw); z-index: 5;
  background: rgba(23,24,26,.66); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md); padding: 20px 22px; color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.journey__stop--left  { right: calc(50% + 90px); text-align: right; transform: translateX(-36px); }
.journey__stop--right { left: calc(50% + 90px); transform: translateX(36px); }
.journey__stop.is-active { opacity: 1; transform: translateX(0); }
.journey__stop .km {
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber-300);
}
.journey__stop h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; margin: 6px 0 6px; }
.journey__stop p { font-size: .9rem; line-height: 1.6; color: rgba(255,255,255,.78); margin: 0; }

.journey__hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 6; color: rgba(255,255,255,.65); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; display: flex; align-items: center; gap: 8px;
  transition: opacity .5s var(--ease-standard);
}
.journey__hint .bounce { animation: jHint 1.6s ease-in-out infinite; display: inline-flex; }
@keyframes jHint { 0%,100% { transform: translateY(0);} 50% { transform: translateY(6px);} }
.journey.is-arrived .journey__hint { opacity: 0; }

/* ============================================================
   Flying fireflies
   Two nested alternate animations (X on the wrapper, Y on the
   inner span) with different durations trace organic wandering
   paths; the ::after dot carries the glow and flicker.
   Per-firefly variation via inline CSS vars:
     --dx / --dy  travel distance, --tx / --ty  travel duration,
     --tf flicker duration, --delay stagger, --size dot size
   ============================================================ */
.ff-flies { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ff-flies--fixed { position: fixed; z-index: 30; }
.ff-fly {
  position: absolute;
  animation: ffFlyX var(--tx, 14s) ease-in-out var(--delay, 0s) infinite alternate;
}
.ff-fly > span {
  display: block;
  animation: ffFlyY var(--ty, 9s) ease-in-out var(--delay, 0s) infinite alternate;
}
.ff-fly > span::after {
  content: ""; display: block;
  width: var(--size, 5px); height: var(--size, 5px); border-radius: 50%;
  background: var(--amber-400);
  box-shadow: 0 0 12px 3px rgba(237,154,46,.75), 0 0 28px 9px rgba(237,154,46,.22);
  animation: ffFlicker var(--tf, 3.4s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes ffFlyX { to { transform: translateX(var(--dx, 30vw)); } }
@keyframes ffFlyY { to { transform: translateY(var(--dy, -24vh)); } }
@keyframes ffFlicker {
  0%, 100% { opacity: .15; transform: scale(.75); }
  18%      { opacity: 1;   transform: scale(1); }
  46%      { opacity: .3; }
  62%      { opacity: .95; }
  80%      { opacity: .45; }
}

/* ============================================================
   CTA band (About)
   ============================================================ */
.cta-band { position: relative; padding: 90px 0; background: var(--sky-night); overflow: hidden; }
.cta-band__glow { position: absolute; inset: 0; background: var(--overlay-glow); }
.cta-band__inner { position: relative; z-index: 3; max-width: 760px; margin: 0 auto; padding: 0 32px; text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: #fff; margin: 0 0 14px; }
.cta-band p { color: rgba(255,255,255,.8); line-height: 1.7; margin: 0 0 32px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.75); }
.site-footer__grid {
  max-width: var(--container-max); margin: 0 auto; padding: 64px 32px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
}
.site-footer__logo { height: 56px; border-radius: 4px; margin-bottom: 16px; }
.site-footer__about { font-size: .95rem; line-height: 1.7; max-width: 300px; margin: 0; }
.site-footer h6 { font-family: var(--font-display); color: #fff; font-size: 1.05rem; margin: 0 0 16px; }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; font-size: .95rem; }
.site-footer__col a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer__col a:hover { color: var(--amber-300); }
.site-footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__bar-inner { max-width: var(--container-max); margin: 0 auto; padding: 20px 32px; font-size: .85rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .journey__stop { width: min(300px, 36vw); }
}

@media (max-width: 900px) {
  .topbar__loc { display: none; }
  .split, .split--story, .split--contact { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .masonry { column-count: 2; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 36px; }

  .navbar__links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface-card); box-shadow: var(--shadow-md);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 0;
  }
  .navbar__links.is-open { display: flex; }
  .navbar__links .ff-navlink { display: block; width: 100%; padding: 14px 32px; }
  .navbar__links .ff-navlink::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .navbar__cta { display: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .topbar__email { display: none; }
  .topbar__phone { font-size: 15px; }
  .navbar__logo img { height: 42px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .masonry { column-count: 1; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .topbar__contacts { gap: 14px; font-size: 12.5px; }
  .hero__content { padding: 48px 20px; }
  .lightbox { padding: 16px; }
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
  .lightbox__close { right: 10px; top: 10px; }

  /* Journey on small screens: cards stack near the spine which hugs the left */
  .journey__track { height: 380vh; }
  .journey__head { padding-top: 56px; }
  .journey__head h2 { font-size: 2rem; }
  .journey__svg { left: 12%; transform: none; }
  .journey__stop { width: min(320px, 72vw); }
  .journey__stop--left {
    right: auto; left: calc(12% + 70px); text-align: left; transform: translateX(-36px);
  }
  .journey__stop--right { left: calc(12% + 70px); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .ff-flies { display: none; }
}
