/* ============================================================
   LULOG — Dynamic homepage theme (loaded only on index.html)
   Navy + white base · orange = attention · pink = detail
   Remaps the warm brown tokens to navy within .home so the
   existing components shift cool automatically.
   ============================================================ */

.home {
  /* Brand palette only — Marrón #49261D · Naranja #FB4D00 · Azul #CAE7F7 · Carne #FFEDE3 (white kept for cards) */
  --brown-950: #2a1610;
  --brown-900: #49261D;   /* Marrón */
  --brown-800: #5c3126;
  --brown-700: #6e4035;   /* muted body text */
  --brown-500: #8a6357;
  --brown-300: #c8b1a8;
  --brown-100: #ecd9cd;

  --cream: #ffffff;        /* white — kept for cards/surfaces */
  --cream-light: #FFEDE3;  /* Carne — warm page paper */
  --cream-warm: #FFE3D2;

  --line: rgba(73, 38, 29, 0.14);
  --line-strong: rgba(73, 38, 29, 0.26);

  --ink: #2A130D;
  --ink-mute: #6e4035;

  /* dark grounds — brown shades (replaces navy) */
  --navy-950: #2a1610;
  --navy-900: #49261D;
  --navy-800: #5c3126;
  --navy-700: #6e4035;

  /* accents — orange + azul (replaces pink / saturated blue) */
  --blue: #CAE7F7;
  --pink: #FB4D00;
  --pink-bright: #FB4D00;
  --pink-soft: #FFD2BD;

  background: var(--brown-900);
}

/* ---------- box shell ---------- */
.shell {
  background: var(--cream-light);
  margin: 11px;
  border-radius: 22px;
  position: relative;
  overflow: clip;            /* round the box; nav uses position:fixed-free sticky still works as body scrolls */
  min-height: calc(100vh - 22px);
}

/* persistent frame drawn over everything */
.viewport-frame {
  display: none;
}
.viewport-frame__corner {
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid var(--pink);
}
.viewport-frame__corner--tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.viewport-frame__corner--tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.viewport-frame__corner--bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.viewport-frame__corner--br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }

/* M4L badge — the logo box tab */
/* M4L badge — top announcement bar */
.m4l-badge {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--navy-900);
  padding: 8px 16px;
  position: relative;
  z-index: 402;
}
.m4l-badge img { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }
.m4l-badge span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
.m4l-badge b { color: var(--pink); }
@media (max-width: 600px) { .m4l-badge span { display: none; } }

/* since shell is overflow:clip, sticky won't stick — make nav static and tidy */
.home .nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
}

/* ============================================================
   Shared section-head helpers
   ============================================================ */
.section-head { margin-bottom: 56px; max-width: 70ch; }
.section-head__title, .section-head h2 { margin-bottom: 22px; color: var(--brown-900); }
.section-head--light h2,
.section-head--light .section-head__title { color: var(--cream); }
.section-head--light .lede { color: var(--brown-300); }

/* pink-detail dots on labels */
.home .section-label::before { background: var(--pink); height: 2px; }
.home .stamp__dot { background: var(--pink); }

/* ============================================================
   HERO
   ============================================================ */
/* full-bleed ocean backdrop that stays fixed while content scrolls over it */
.hero {
  position: relative;
  min-height: min(100vh, 940px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  text-align: center;
  padding: clamp(48px, 7vh, 92px) var(--gutter) clamp(52px, 8vh, 100px);
  background-image: url('assets/hero-ocean.png');
  background-size: cover;
  background-position: 50% 52%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  isolation: isolate;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(110% 70% at 50% 22%, rgba(42, 22, 16, 0.6), rgba(42, 22, 16, 0.18) 52%, rgba(42, 22, 16, 0) 78%),
    linear-gradient(to bottom, rgba(42, 22, 16, 0.5) 0%, rgba(42, 22, 16, 0.04) 30%, rgba(42, 22, 16, 0) 68%);
}
.hero__inner {
  width: 100%;
  max-width: 1180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.hero__lower {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(24px, 7vh, 84px);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.82);
}
.hero__pulse {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--pink);
  border-radius: 50%;
  margin-right: 9px;
  box-shadow: 0 0 0 0 var(--pink);
  animation: pulsePink 1.8s ease-out infinite;
}
@keyframes pulsePink {
  0% { box-shadow: 0 0 0 0 rgba(251, 77, 0, 0.5); }
  100% { box-shadow: 0 0 0 13px rgba(251, 77, 0, 0); }
}
.hero__title {
  margin-top: clamp(28px, 6vh, 72px);
  color: #fff;
  font-size: clamp(44px, 5.8vw, 84px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 46px rgba(8, 12, 34, 0.5);
  text-wrap: balance;
}

/* rotating word — absolute stack over an invisible sizer (keeps line box honest) */
.rotator {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  text-align: center;
}
.rotator__sizer { visibility: hidden; white-space: nowrap; }
.rotator__word {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  color: var(--orange);
  opacity: 0;
  transform: translateY(0.3em) rotate(2deg);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
  white-space: nowrap;
}
.rotator__word.is-on { opacity: 1; transform: none; pointer-events: auto; }
.rotator__word.is-out { opacity: 0; transform: translateY(-0.3em) rotate(-2deg); }

.hero__lede {
  margin: 0 auto;
  max-width: 54ch;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 22px rgba(8, 12, 34, 0.45);
}
.hero__cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.hero .btn--primary { box-shadow: 0 16px 38px -14px rgba(251, 77, 0, 0.7); }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85), transparent);
  transform-origin: top;
  animation: scrollCue 2s ease-in-out infinite;
}
@keyframes scrollCue {
  0%, 100% { transform: scaleY(0.35); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 820px) {
  .hero { background-attachment: scroll; min-height: 80vh; }
}
@media (max-width: 560px) {
  .hero__title { font-size: clamp(40px, 13vw, 64px); }
  .hero__scroll { display: none; }
}

/* ============================================================
   TICKER + mini-marquee
   ============================================================ */
.ticker {
  background: linear-gradient(180deg, rgba(202, 231, 247, 0) 0%, rgba(202, 231, 247, 0.5) 32%, #CAE7F7 64%);
  color: #2A130D;
  overflow: hidden;
  border: 0;
  margin-top: clamp(-72px, -7vh, -48px);
  padding-top: clamp(60px, 8vh, 88px);
  padding-bottom: 18px;
  position: relative;
  z-index: 2;
}
.ticker__track {
  display: flex; gap: 0; white-space: nowrap;
  animation: ticker 55s linear infinite;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ticker__track span {
  display: inline-flex; align-items: center; gap: 0;
  color: #2A130D;
}
.ticker__track span::after {
  content: "✦";
  color: var(--orange);
  font-size: 0.9em;
  margin-inline: 30px;
  opacity: 0.95;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.mini-marquee {
  margin-top: 56px;
  overflow: hidden;
  border-top: 1px solid rgba(73, 38, 29, 0.18);
  border-bottom: 1px solid rgba(73, 38, 29, 0.18);
  padding-block: 16px;
}
.mini-marquee__track {
  display: flex; gap: 40px; white-space: nowrap;
  animation: ticker 26s linear infinite;
  font-family: var(--f-mono);
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brown-700);
}
.mini-marquee__track span { color: var(--brown-700); }

/* ============================================================
   Reusable SLIDER
   ============================================================ */
.slider { position: relative; }
.slider__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding-bottom: 4px;
  touch-action: pan-y;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider.is-drag .slider__track { cursor: grabbing; scroll-snap-type: none; }
.slide { flex: 0 0 auto; scroll-snap-align: start; }

.slider__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}
.slider__progress {
  flex: 1;
  height: 2px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.slider__progress span {
  position: absolute; left: 0; top: 0; height: 100%;
  width: 30%;
  background: var(--orange);
  transition: transform 0.1s linear, width 0.2s var(--ease);
}
.slider__progress--light { background: rgba(255, 255, 255, 0.2); }
.slider__nav { display: flex; gap: 10px; }
.slider__btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brown-900);
  background: var(--cream);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.slider__btn svg { width: 18px; height: 18px; }
.slider__btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); transform: translateY(-2px); }
.slider__btn--light { color: var(--cream); border-color: rgba(255, 255, 255, 0.28); background: transparent; }
.slider__btn--light:hover { background: var(--pink); border-color: var(--pink); color: #fff; }

/* fleet cards */
.fleet-strip__head {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 36px;
}
.fleet-strip__title { margin-top: 18px; color: var(--brown-900); }
.fleet-strip__note {
  color: var(--brown-700); font-size: 15px; line-height: 1.6; max-width: 42ch;
  padding-left: 28px; border-left: 1px solid var(--line);
}
.fleet-strip__note em { font-family: var(--f-serif); font-style: italic; color: var(--orange); }
.fleet-card { width: clamp(220px, 24vw, 300px); }
.fleet-card__photo { width: 100%; aspect-ratio: 3 / 4; display: block; }
.fleet-card__tag {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
  padding: 12px 14px; background: var(--navy-900); color: var(--cream);
  font-family: var(--f-mono); font-size: 10px; line-height: 1.35; letter-spacing: 0.1em; text-transform: uppercase;
}
.fleet-card__tag span:first-child { flex: 1; }
.fleet-card__tag span:last-child { color: var(--pink); flex-shrink: 0; }
@media (max-width: 880px) { .fleet-strip__head { grid-template-columns: 1fr; gap: 22px; } .fleet-strip__note { padding-left: 0; border-left: 0; } }

/* ============================================================
   PROBLEMS + COMPARE
   ============================================================ */
/* white base band so the brand-coloured boxes pop */
.problems-sec { background: #fff; }
/* tighten the seam between the curtain section and the funnel below it */
.problems-sec { padding-bottom: clamp(40px, 5vw, 80px); }

.problems {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

/* friendly, lively cards */
.problem {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(26px, 2.4vw, 36px);
  border-radius: 20px;
  background: #fff;
  border: 1.5px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
/* bottom row: two wider cards (3 + 2 layout) */
.problem:nth-child(4),
.problem:nth-child(5) { grid-column: span 3; }

.problem:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px -26px rgba(73, 38, 29, 0.45);
  border-color: var(--pink);
}

.problem__num {
  font-family: var(--f-display);
  font-size: clamp(34px, 3vw, 46px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--pink);
}

.problem__title {
  font-family: var(--f-display);
  font-size: clamp(21px, 1.9vw, 28px);
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: 0.03em;
  color: var(--brown-900);
  margin: 0;
}

.problem__body {
  margin: 0;
  color: var(--brown-700);
  font-size: 15.5px;
  line-height: 1.62;
  text-wrap: pretty;
}

/* brand-colour variants for rhythm */
.problem--cream { background: var(--cream-light); border-color: transparent; }
.problem--azul  { background: var(--blue); border-color: transparent; }
.problem--dark  { background: var(--brown-900); border-color: transparent; }
.problem--dark .problem__title { color: var(--cream-light); }
.problem--dark .problem__body  { color: var(--brown-300); }

@media (max-width: 980px) {
  .problems { grid-template-columns: repeat(2, 1fr); }
  .problem,
  .problem:nth-child(4),
  .problem:nth-child(5) { grid-column: span 1; }
  .problem:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .problems { grid-template-columns: 1fr; }
  .problem,
  .problem:nth-child(4),
  .problem:nth-child(5) { grid-column: span 1; }
}

.compare-wrap { margin-top: 72px; }
.compare-wrap__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.compare-wrap__head p { font-family: var(--f-serif); font-style: italic; font-size: clamp(20px, 2.4vw, 32px); color: var(--brown-900); }
.compare {
  position: relative;
  height: clamp(320px, 38vw, 460px);
  background-image: url("assets/compare-planes.png");
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  user-select: none;
  touch-action: pan-y;
}
.compare__layer { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: clamp(24px, 4vw, 48px); }
/* CURTAIN — the dark / hidden old way. Heavy shadow + slight desaturating veil. */
.compare__layer--old {
  background:
    linear-gradient(to top, rgba(14, 9, 7, 0.94) 0%, rgba(14, 9, 7, 0.74) 45%, rgba(14, 9, 7, 0.55) 100%),
    linear-gradient(0deg, rgba(40, 30, 24, 0.4), rgba(40, 30, 24, 0.4));
  z-index: 3;
}
.compare__layer--old .compare__inner { color: var(--cream); }
/* BASE — the luminous LULOG way: brightened photo with an azul wash. Always underneath. */
.compare__layer--new {
  justify-content: flex-end;
  background:
    linear-gradient(to top, rgba(20, 12, 9, 0.55) 0%, rgba(20, 12, 9, 0.08) 45%, transparent 100%),
    linear-gradient(115deg, rgba(202, 231, 247, 0.42) 0%, rgba(202, 231, 247, 0.14) 60%, rgba(255, 255, 255, 0.14) 100%);
  z-index: 1;
}
.compare__layer--new .compare__inner { color: var(--cream); text-align: right; align-items: flex-end; }
.compare__inner { max-width: 28ch; display: flex; flex-direction: column; gap: 14px; transition: opacity 0.15s linear; will-change: opacity; }
.compare__tag {
  align-self: flex-start;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}
.compare__tag--old { background: rgba(255, 237, 227, 0.18); color: var(--cream); backdrop-filter: blur(2px); }
.compare__tag--new { background: var(--orange); color: #fff; }
.compare__layer--new .compare__tag { align-self: flex-end; }
.compare__line { font-family: var(--f-display); font-size: clamp(22px, 2.8vw, 38px); line-height: 1.0; text-transform: uppercase; letter-spacing: 0.03em; color: var(--cream); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55); }
.compare__layer--new .compare__line { color: var(--cream); }
.compare__foot { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brown-300); }
.compare__layer--new .compare__foot { color: var(--brown-300); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: var(--pink);
  transform: translateX(-50%);
  cursor: ew-resize; z-index: 5;
}
.compare__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--pink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(251, 77, 0, 0.5);
}
.compare__grip svg { width: 20px; height: 20px; }

/* ============================================================
   FUNNEL (strategic)
   ============================================================ */
.funnel-sec {
  background: #fff;            /* white band so the panel floats */
  color: var(--cream);
  padding-top: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(36px, 4.5vw, 72px);
  padding-inline: var(--gutter);
}
/* the brown card that sits ON the white band */
.funnel-sec > .wrap {
  background: var(--navy-900);
  border-radius: 30px;
  padding: clamp(44px, 5.5vw, 90px) clamp(28px, 4vw, 72px);
  box-shadow: 0 26px 64px -56px rgba(73, 38, 29, 0.26);
}
.funnel-sec__lede { color: var(--brown-300); }
.funnel {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.funnel__stages { display: flex; flex-direction: column; gap: 10px; }
.funnel__stage {
  width: var(--w);
  min-width: 200px;
  min-height: 66px;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--cream);
  cursor: pointer;
  text-align: left;
  transition: width 0.45s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.funnel__stage:hover { transform: translateX(4px); }
.funnel__stage.is-active { background: var(--orange); border-color: var(--orange); color: #fff; }
.funnel__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; opacity: 0.7; flex-shrink: 0; }
.funnel__stage.is-active .funnel__n { opacity: 0.85; }
.funnel__label { font-family: var(--f-display); font-size: clamp(18px, 2vw, 28px); text-transform: uppercase; letter-spacing: 0.05em; flex: 1; min-width: 0; line-height: 1; }
.funnel__metric { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink); flex-shrink: 0; white-space: nowrap; }
.funnel__stage.is-active .funnel__metric { color: #fff; }

/* narrower bars don't have room for label + metric side by side —
   drop the metric onto its own line so nothing overlaps */
.funnel__stage[data-stage="2"],
.funnel__stage[data-stage="3"],
.funnel__stage[data-stage="4"] {
  flex-wrap: wrap;
  row-gap: 4px;
  align-content: center;
  padding-block: 12px;
}
.funnel__stage[data-stage="2"] .funnel__metric,
.funnel__stage[data-stage="3"] .funnel__metric,
.funnel__stage[data-stage="4"] .funnel__metric {
  flex: 0 0 100%;
}

/* ---- entrance: slide in from the sides, then settle & keep effects ---- */
.funnel__stages--in[data-reveal]  { transform: translateX(-48px); }
.funnel__detail--in[data-reveal]  { transform: translateX(48px); }
.funnel__stages--in[data-reveal].is-in,
.funnel__detail--in[data-reveal].is-in { transform: none; }

/* small cargo-plane cursor while interacting with the funnel */
.funnel,
.funnel__stage {
  cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='34'%20height='34'%20viewBox='0%200%2024%2024'%20fill='%23FFEDE3'%20stroke='%2349261D'%20stroke-width='0.9'%20stroke-linejoin='round'%3E%3Cpath%20d='M21%2016v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10%202.67%2010%203.5V9l-8%205v2l8-2.5V19l-2%201.5V22l3.5-1%203.5%201v-1.5L13%2019v-5.5l8%202.5z'/%3E%3C/svg%3E") 16 4, pointer;
}

.funnel__detail { position: relative; min-height: 280px; }
.funnel__panel {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  border-left: 2px solid var(--pink);
  padding-left: clamp(20px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 14px;
}
.funnel__panel.is-on { opacity: 1; transform: none; pointer-events: auto; }
.funnel__kicker { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); }
.funnel__panel h3 { font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 44px); text-transform: uppercase; line-height: 0.98; letter-spacing: 0.03em; color: var(--cream); }
.funnel__panel p { color: var(--brown-300); font-size: 16px; line-height: 1.6; max-width: 46ch; }
.funnel__panel ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.funnel__panel li {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 12px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; color: var(--cream);
}
@media (max-width: 880px) { .funnel { grid-template-columns: 1fr; gap: 36px; } .funnel__detail { min-height: 0; } .funnel__panel { position: relative; opacity: 1; transform: none; pointer-events: auto; display: none; } .funnel__panel.is-on { display: flex; } }

/* ============================================================
   RESULTS
   ============================================================ */
.results { background: #fff; padding-block: clamp(20px, 2.5vw, 44px) clamp(40px, 6vw, 90px); }
/* same shape as funnel card — fully rounded, centered */
.results__panel {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  background: var(--blue);
  border-radius: 30px;
  box-shadow: 0 34px 80px -48px rgba(73, 38, 29, 0.45);
  overflow: hidden;
}
.results__inner {
  max-width: none;
  padding: clamp(44px, 5.5vw, 90px) clamp(28px, 4vw, 72px);
}
.results__title { color: var(--brown-900); }
.results__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; justify-items: center; }
.metric {
  background: #fff;
  border-radius: 18px;
  padding: clamp(28px, 2.6vw, 40px) clamp(22px, 2.2vw, 32px);
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid rgba(73, 38, 29, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.metric:hover { transform: translateY(-6px); box-shadow: 0 26px 52px -28px rgba(73, 38, 29, 0.4); }
.metric__num { font-family: var(--f-display); font-size: clamp(52px, 6vw, 84px); line-height: 1; letter-spacing: 0.03em; color: var(--orange); }
.metric__num small { font-size: 0.42em; letter-spacing: 0.02em; vertical-align: baseline; }
.metric__label { font-family: var(--f-display); font-size: 22px; text-transform: uppercase; letter-spacing: 0.03em; margin-top: 14px; color: var(--brown-900); }
.metric__sub { color: var(--brown-700); font-size: 14px; margin-top: 4px; line-height: 1.5; }
@media (max-width: 980px) { .results__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .results__grid { grid-template-columns: 1fr; } }

/* ---- Results plane decoration ---- */
.results__head-wrap {
  position: relative;
  margin-bottom: 48px;
}
.results__plane {
  position: absolute;
  right: 0;
  bottom: -10px;
  display: flex;
  align-items: center;
  gap: 0;
  pointer-events: none;
}
.results__trail {
  width: 220px;
  height: 20px;
  animation: trail-draw 3.6s ease-in-out infinite;
}
.results__plane-svg {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  animation: plane-bob 3.6s ease-in-out infinite;
  filter: drop-shadow(0 3px 8px rgba(73,38,29,0.15));
}
@keyframes plane-bob {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  30%       { transform: translateY(-6px) rotate(-3deg); }
  60%       { transform: translateY(3px) rotate(2deg); }
}
@keyframes trail-draw {
  0%        { stroke-dashoffset: 120; opacity: 0; }
  20%       { opacity: 1; }
  80%       { opacity: 1; stroke-dashoffset: 0; }
  100%      { stroke-dashoffset: 0; opacity: 0; }
}
.results__trail path { stroke-dashoffset: 120; }

/* ---- Service cards (3-column vertical) ---- */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  color: var(--brown-900);
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(42,19,13,0.12);
}
.svc-card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.svc-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.svc-card:hover .svc-card__img {
  transform: scale(1.04);
}
.svc-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,19,13,0.78) 0%, rgba(42,19,13,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 22px;
  gap: 4px;
}
.svc-card__num {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
}
.svc-card__name {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}
.svc-card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.svc-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--brown-700);
}
.svc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.svc-card__tags span {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--cream-light);
  color: var(--brown-700);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.svc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: auto;
  transition: gap 0.2s var(--ease);
}
.svc-card:hover .svc-card__cta { gap: 14px; }
.svc-card__cta svg { width: 14px; height: 14px; }

@media (max-width: 880px) { .svc-cards { grid-template-columns: 1fr; } }

/* ---- Who gallery ---- */
.who-tile--more {
  background: var(--brown-900);
  display: flex;
  align-items: center;
  justify-content: center;
}
.who-tile__label--more {
  font-family: var(--f-display);
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  color: var(--cream);
  opacity: 0.55;
  padding: 16px;
}
.who-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
  margin-top: 48px;
}
.who-tile {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}
.who-tile--large {
  grid-column: span 2;
}
.who-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.who-tile:hover img { transform: scale(1.05); }
.who-tile__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(42,19,13,0.75) 0%, transparent 100%);
  font-family: var(--f-display);
  font-size: clamp(16px, 1.8vw, 22px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}
@media (max-width: 880px) {
  .who-gallery { grid-template-columns: repeat(2, 1fr); }
  .who-tile--large { grid-column: span 1; }
}
@media (max-width: 560px) {
  .who-gallery { grid-template-columns: 1fr; }
}
.acc-progress {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}
.acc-progress__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brown-300);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.acc-progress__dot.is-active {
  background: var(--orange);
  transform: scale(1.4);
}

/* ---- Scroll-step services PIN (desktop only) ----
   The shell uses overflow:clip (which kills position:sticky) and <main> can
   carry a transform (which would trap position:fixed). So the pin is done with
   position:absolute relative to the tall section + JS setting `top` each frame —
   immune to both. JS (data-scroll-services) also maps progress -> open card. */
@media (min-width: 861px) {
  .services-acc[data-scroll-services] {
    position: relative;
    height: 320vh;            /* pin length: ~one screen of scroll per card */
    padding-top: 0;
    padding-bottom: 0;
  }
  .services-acc[data-scroll-services] .services-acc__sticky {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(20px, 3vw, 44px);
    padding-block: clamp(48px, 7vh, 96px);
    background: var(--cream-light);   /* opaque while pinned */
    will-change: top;
  }
  /* card transitions feel snappier under scroll control */
  .services-acc[data-scroll-services] .acc__item { transition-duration: 0.45s; }
}

/* ============================================================
   WHERE-YOU-APPEAR — tabbed switcher
   ============================================================ */
.switch__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.switch__tab {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  color: var(--brown-700); background: transparent;
  transition: all 0.25s var(--ease);
}
.switch__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brown-300); transition: background 0.25s var(--ease); }
.switch__tab:hover { border-color: var(--brown-900); color: var(--brown-900); }
.switch__tab.is-on { background: var(--navy-900); border-color: var(--navy-900); color: var(--cream); }
.switch__tab.is-on .switch__dot { background: var(--pink); }

.switch__stage { position: relative; }
.switch__panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  opacity: 0; visibility: hidden; position: absolute; inset: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.switch__panel.is-on { opacity: 1; visibility: visible; position: relative; transform: none; }
.switch__mock {
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; min-height: 240px; display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
}
.switch__copy h3 { font-family: var(--f-display); font-size: clamp(28px, 3vw, 40px); text-transform: uppercase; letter-spacing: 0.03em; color: var(--brown-900); margin-bottom: 12px; }
.switch__copy p { color: var(--brown-700); font-size: 16px; line-height: 1.6; max-width: 40ch; }
@media (max-width: 760px) { .switch__panel { grid-template-columns: 1fr; } }

/* mock internals */
.search { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--brown-700); }
.search__icon { width: 14px; height: 14px; color: var(--orange); }
.search-results { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.search-results li { background: #fff; border-radius: 8px; padding: 9px 11px; font-size: 12px; color: var(--brown-700); border-left: 2px solid transparent; }
.search-results li.is-top { border-left-color: var(--orange); background: var(--blue-pale); }
.search-results li.is-top strong { display: block; color: var(--orange); font-family: var(--f-display); text-transform: none; letter-spacing: 0; }
.ai-q { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; }
.ai-mic { width: 28px; height: 28px; background: var(--navy-900); color: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-mic svg { width: 14px; height: 14px; }
.ai-q em { font-family: var(--f-serif); font-style: italic; font-size: 15px; color: var(--brown-900); }
.ai-a { background: #fff; border-radius: 10px; padding: 12px; font-size: 13px; color: var(--brown-700); margin-top: auto; }
.ai-a strong { color: var(--orange); }
.switch__mock--map { padding: 0; }
.switch__mock--map svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.map-pin { position: absolute; inset: auto auto 40% 48%; width: 24px; height: 24px; }
.map-pin span { position: absolute; inset: 0; background: var(--pink); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.map-card { position: absolute; bottom: 14px; left: 14px; right: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; display: flex; flex-direction: column; gap: 2px; font-size: 11px; }
.map-card strong { font-family: var(--f-display); letter-spacing: 0; text-transform: none; color: var(--brown-900); font-size: 13px; }
.map-card span { color: var(--orange); font-family: var(--f-mono); font-size: 10px; }
.switch__mock--img { padding: 14px; }
.img-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; height: 100%; min-height: 200px; }
.img-grid span { background: repeating-linear-gradient(45deg, rgba(73,38,29,0.06) 0 1px, transparent 1px 6px), var(--brown-100); border-radius: 4px; }
.img-grid .is-you { background: var(--orange); display: flex; align-items: center; justify-content: center; }
.img-grid .is-you strong { font-family: var(--f-display); color: #fff; font-size: 15px; }

/* ============================================================
   SERVICES — horizontal accordion
   ============================================================ */
.acc { display: flex; gap: 10px; height: clamp(360px, 36vw, 400px); }
.acc__item {
  /* animate flex-BASIS (a length, which interpolates reliably) — NOT flex-grow,
     which left a stale used size and made the wrong card expand. grow/shrink are
     0, and the open basis = 100% minus the two 92px bars and two 10px gaps, so the
     closing+opening deltas cancel and the row always sums to exactly 100%. */
  flex: 0 0 92px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: flex-basis 1s cubic-bezier(0.62, 0.01, 0.12, 1), background 0.9s var(--ease), border-color 0.9s var(--ease);
  display: flex;
}
.acc__item.is-open { flex-basis: calc(100% - 204px); background: var(--navy-900); border-color: var(--navy-900); }
.acc__bar {
  width: 92px; flex: 0 0 92px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
}
.acc__n { display: flex; flex-direction: column; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 13px; color: var(--brown-700); }
.acc__dot { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--pink); }
.acc__item.is-open .acc__n { color: var(--cream); }
.acc__item.is-open .acc__dot { background: var(--pink); }
.acc__vtitle {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--f-display);
  font-size: clamp(22px, 2.4vw, 30px);
  text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--brown-900);
  white-space: nowrap;
}
.acc__item.is-open .acc__vtitle { color: rgba(255,255,255,0.25); }

.acc__panel {
  /* fixed-ish width so the card's own width clips it like a curtain — content
     is revealed/hidden by a lateral wipe, never fading, never leaving the
     card empty. Kept small enough that one open card + the bars always fit. */
  flex: 1 1 auto;
  min-width: min(440px, 46vw);
  display: grid; grid-template-columns: 1fr 1fr;
  pointer-events: none;
}
.acc__item.is-open .acc__panel { pointer-events: auto; }
.acc__photo { width: 100%; height: 100%; min-height: 300px; display: block; object-fit: cover; }
.acc__body { padding: clamp(20px, 2.2vw, 30px) clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 11px; justify-content: center; color: var(--cream); overflow: hidden; }
.acc__num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--pink); }
.acc__body h3 { font-family: var(--f-display); font-size: clamp(26px, 2.8vw, 42px); text-transform: uppercase; line-height: 0.98; letter-spacing: 0.03em; color: var(--cream); }
.acc__body p { color: var(--brown-300); font-size: 14.5px; line-height: 1.55; max-width: 40ch; }
.acc__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.acc__tags span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; color: var(--cream); }
.acc__cta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-top: 8px; }
.acc__cta svg { width: 15px; transition: transform 0.25s var(--ease); }
.acc__item.is-open:hover .acc__cta svg { transform: translateX(6px); }

@media (max-width: 860px) {
  .acc { flex-direction: column; min-height: 0; height: auto; }
  .acc__item { flex: 0 0 auto; }
  .acc__item.is-open { flex: 0 0 auto; }
  .acc__bar { width: 100%; flex-direction: row; justify-content: flex-start; gap: 18px; padding: 18px 22px; }
  .acc__vtitle { writing-mode: horizontal-tb; transform: none; }
  .acc__panel { grid-template-columns: 1fr; }
  .acc__item.is-open .acc__panel { padding-bottom: 0; }
  .acc__photo { min-height: 220px; }
}

/* ============================================================
   WHO cards — photo tiles on a deep-brown band
   ============================================================ */
.who { background: var(--brown-900); color: var(--cream); }
.who .section-label { color: var(--pink); }
.who .section-head h2 { color: var(--cream); }
.who .lede { color: var(--brown-300); }

.who-card {
  position: relative;
  width: clamp(280px, 32vw, 380px);
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  isolation: isolate;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.who-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.who-card:hover .who-card__img { transform: scale(1.05); }
.who-card__img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.who-card__scrim {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(28, 16, 12, 0.92) 0%, rgba(28, 16, 12, 0.55) 42%, rgba(28, 16, 12, 0.12) 72%, rgba(28, 16, 12, 0.18) 100%);
}
.who-card__body {
  position: relative; z-index: 2;
  margin-top: auto;
  padding: 26px;
  display: flex; flex-direction: column; gap: 10px;
  width: 100%;
}
.who-card__num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--pink); }
.who-card__title { font-family: var(--f-display); font-size: 28px; text-transform: uppercase; line-height: 1; letter-spacing: 0.03em; color: var(--cream); }
.who-card p { color: rgba(255, 237, 227, 0.82); font-size: 14.5px; line-height: 1.5; }
.who-card__tag { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brown-300); padding-top: 12px; margin-top: 2px; border-top: 1px solid rgba(255, 255, 255, 0.16); }

/* ============================================================
   CASES (Buzzworthy) — staggered cards + pink pills
   ============================================================ */
.cases { background: var(--navy-900); color: var(--cream); }
.cases__lede { color: var(--brown-300); }
.case-card {
  width: clamp(240px, 26vw, 300px);
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 20px;
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.case-card--lift { transform: translateY(28px); }
.case-card__photo { width: 100%; aspect-ratio: 4 / 3; display: block; }
.case-card__name { font-family: var(--f-display); font-size: 22px; text-transform: uppercase; letter-spacing: 0.01em; color: var(--cream); margin-top: 4px; }
.case-card__pill {
  font-family: var(--f-display); font-size: 30px; letter-spacing: 0.01em;
  background: var(--pink); color: #fff;
  padding: 8px 26px; border-radius: 999px;
  box-shadow: 0 10px 26px -10px rgba(251, 77, 0, 0.55);
}
.case-card__pill small { font-size: 0.5em; }
.case-card__metric { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brown-300); }
@media (max-width: 860px) { .case-card--lift { transform: none; } }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { background: var(--cream); color: var(--ink); border-top: 1px solid var(--line); }
.cta-band__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.cta-band h2 { color: var(--brown-900); margin-bottom: 22px; }
.cta-band__lede { color: var(--brown-700); margin-bottom: 32px; }
.cta-lead { margin-bottom: 10px !important; }
.cta-bullets { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 9px; }
.cta-bullets li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; line-height: 1.5; color: var(--brown-700); }
.cta-bullets li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); flex-shrink: 0; margin-top: 8px; }
.cta-band__eye { color: var(--pink); }
.cta-band__card { background: var(--navy-800); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.cta-band__line {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 13px; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--f-display); font-size: 22px; letter-spacing: 0.03em; color: var(--cream);
  transition: color 0.2s var(--ease);
}
.cta-band__line svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.cta-band__line:hover { color: var(--pink); }
.cta-band__line:hover svg { transform: translateX(4px); }
.cta-band__addr p { color: var(--brown-300); margin-top: 6px; font-size: 14px; }
@media (max-width: 980px) { .cta-band__inner { grid-template-columns: 1fr; gap: 36px; } }

/* ============================================================
   FOOTER recolor (homepage)
   ============================================================ */
.home .footer { background: var(--navy-950); }
.home .footer__col h4 { color: var(--pink); }
.home .footer__col a:hover { color: var(--pink); }

/* ============================================================
   Buttons — orange = attention (keep), ghost cools to navy
   ============================================================ */
.home .btn--primary { background: var(--orange); color: #fff; }
.home .btn--primary:hover { background: var(--navy-900); }
