/* Homepage A+B+D and shared nav. Loaded after tokens.css.
   Small gold text on ice uses --brand-dark (5.06:1 on #F4F6F8). */

.nav__cta--bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--ink) !important;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.nav__cta--bar:hover { background: var(--brand-2); color: var(--ink) !important; }
.nav__links .nav__cta { background: var(--brand); color: var(--ink) !important; border-radius: 999px; }
.nav__links .nav__cta:hover { background: var(--ink); color: #fff !important; }
.nav__drop-menu { min-width: 280px; max-width: 340px; padding: 8px; }
.nav__drop-menu a { white-space: normal; border-radius: 8px; line-height: 1.35; }
.nav__drop-menu strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.nav__drop-menu span { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) and (min-width: 1101px) {
  .nav__drop:focus-within > .nav__drop-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}
@media (min-width: 1101px) {
  .nav__cta-item { display: none; }
  .nav__drop-menu { display: none; }
  .nav__drop:focus-within > .nav__drop-menu,
  .nav__drop.is-open > .nav__drop-menu { display: block; }
}
@media (min-width: 1101px) and (max-width: 1360px) {
  .nav__links { gap: 14px; }
  .nav__drop-toggle, .nav__links > li > a { font-size: 13.5px; }
}
@media (max-width: 767px) {
  .nav__cta--bar { display: none; }
}

/* Mobile quote bar. Hidden from 768px up. Parks with .is-parked. */
.mbar {
  display: none;
}
@media (max-width: 767px) {
  .mbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--rule);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 200ms var(--ease);
  }
  .mbar a, .mbar button {
    flex: 1;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
  }
  .mbar a { background: var(--brand); color: var(--ink); }
  .mbar button { background: var(--ink); color: #fff; }
  .mbar.is-parked, .mbar.is-keyboard-hidden, body.nav-open .mbar {
    transform: translateY(110%);
    pointer-events: none;
  }
  body.has-mbar { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  body.has-mbar.keyboard-open { padding-bottom: 0; }
}

.ask-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: 0 10px 30px rgba(7, 22, 43, 0.35), 0 0 0 1px rgba(216, 188, 122, 0.5);
}
.ask-launcher svg { color: var(--brand-2); }
.ask-launcher.is-hidden { display: none; }
@media (max-width: 767px) { .ask-launcher { display: none !important; } }

.ask-chat {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 110;
  width: min(380px, calc(100vw - 24px));
  max-height: min(560px, calc(100svh - 120px));
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(7, 22, 43, 0.35);
  border: 1px solid rgba(11, 31, 58, 0.08);
  overflow: hidden;
}
.ask-chat[hidden] { display: none; }
.ask-chat__head { display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--ink); color: #fff; }
.ask-chat__t { font-family: var(--font-display); font-size: 19px; }
.ask-chat__s { font-size: 12px; color: rgba(255, 255, 255, 0.75); }
.ask-chat__x { width: 44px; height: 44px; color: #fff; font-size: 24px; }
.ask-chat__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); font-size: 14.5px; line-height: 1.5; overflow: auto; }
.ask-chat__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ask-chat__chips a, .ask-chat__chips button {
  font-size: 13px;
  padding: 8px 10px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
}
@media (max-width: 767px) {
  .ask-chat { left: 8px; right: 8px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); width: auto; }
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.turnstile { min-height: 0; }
.turnstile:empty { display: none; }
.form__status.is-error { color: #8a2b2b; }
.form__status.is-success { color: var(--ink); }

/* Homepage */
body.home-redesign { overflow-x: visible; }
body.home-redesign .hero {
  position: relative;
  overflow: visible;
  min-height: 0;
  display: block;
  background-image: none;
  background-color: #07162B;
  color: #fff;
  isolation: isolate;
}
body.home-redesign .hero__bg { position: absolute; inset: 0; z-index: 0; }
body.home-redesign .hero__bg img,
body.home-redesign .hero__bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% 50%;
}
body.home-redesign .hero__bg img { opacity: 0.62; }
body.home-redesign .hero__bg video { opacity: 0; transition: opacity 1s ease; }
body.home-redesign .hero__bg.is-playing video { opacity: 0.62; }
body.home-redesign .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 22, 43, 0.97) 0%, rgba(7, 22, 43, 0.9) 36%, rgba(7, 22, 43, 0.55) 64%, rgba(7, 22, 43, 0.7) 100%),
    linear-gradient(0deg, #07162B 0%, rgba(7, 22, 43, 0) 35%);
}
body.home-redesign .hero .container {
  position: relative;
  z-index: 1;
  max-width: var(--max-content);
  margin-inline: auto;
}
body.home-redesign .hero h1 {
  color: #fff;
  max-width: 100%;
  margin: 16px 0 18px;
  text-shadow: none;
  overflow-wrap: anywhere;
}
body.home-redesign h2 em,
body.home-redesign h3 em { font-style: normal; color: inherit; font-weight: inherit; }
body.home-redesign .hero h1 em,
body.home-redesign .cta-block h2 em { font-style: italic; color: var(--brand-2); font-weight: 500; }
body.home-redesign .hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: start;
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 36px 16px 28px;
  box-sizing: border-box;
}
body.home-redesign .hero__in > * { min-width: 0; max-width: 100%; }
body.home-redesign .hero .lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 100%;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}
body.home-redesign .hero-proof { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; background: transparent; }
body.home-redesign .hero-proof li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, 0.92); }
body.home-redesign .hero-proof li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--brand);
}
body.home-redesign .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
body.home-redesign .duo__c {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 132px;
  padding: 18px 44px 18px 18px;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
body.home-redesign .duo__c::before { content: ""; position: absolute; left: 18px; top: 0; width: 36px; height: 3px; background: var(--brand); z-index: 1; }
body.home-redesign .duo__c--out::before { background: #7FB2E5; }
body.home-redesign .duo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.35; }
body.home-redesign .duo__c::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 22, 43, 0.55), rgba(7, 22, 43, 0.88)); }
body.home-redesign .duo__k { font-family: var(--font-display); font-size: 21px; line-height: 1.2; }
body.home-redesign .duo__t { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.86); }
body.home-redesign .quote-link { display: flex; flex-wrap: nowrap; gap: 10px; margin-top: 16px; align-items: center; }
body.home-redesign .askbar {
  box-sizing: border-box;
  cursor: pointer;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14.5px;
  text-align: left;
}
body.home-redesign .askbar__ph { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.home-redesign .askbar__k { flex: none; padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; }
body.home-redesign .gl { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; justify-self: end; }
body.home-redesign .gl img, body.home-redesign .gl canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
body.home-redesign .gl canvas { opacity: 0; transition: opacity 0.6s ease; }
body.home-redesign .gl.is-live canvas { opacity: 1; }
body.home-redesign .gl.is-live .gl__static { opacity: 0; }
body.home-redesign .gl { overflow: hidden; }
body.home-redesign .gl__key {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 2%;
  transform: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  max-width: calc(100% - 16px);
  white-space: normal;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(7, 22, 43, 0.6);
  padding: 6px 12px;
  border-radius: 999px;
}
body.home-redesign .gl__key i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }

body.home-redesign .strip {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #07162B;
  max-width: 100%;
}
body.home-redesign .strip__row { display: flex; align-items: center; gap: 28px; padding: 16px 16px; max-width: 100%; min-width: 0; box-sizing: border-box; }
body.home-redesign .strip__label { flex: none; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
body.home-redesign .strip__track { flex: 1; min-width: 0; overflow: hidden; }
body.home-redesign .strip__items { display: flex; flex-wrap: wrap; gap: 8px 20px; width: 100%; max-width: 100%; }
body.home-redesign .strip__items [aria-hidden="true"] { display: none; }
body.home-redesign .strip__item { font-family: var(--font-display); font-size: 20px; color: #fff; white-space: normal; }
body.home-redesign .marquee,
body.home-redesign .marquee__viewport { max-width: 100%; overflow: hidden; }
body.home-redesign .marquee__track {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  animation: none;
  transform: none;
  gap: 4px 0;
}
body.home-redesign .marquee__item:nth-child(n+23) { display: none; }
@media (prefers-reduced-motion: reduce) {
  body.home-redesign .box { animation: none !important; }
  body.home-redesign .rvimg__in { transform: none !important; }
}

body.home-redesign .kept { background: #fff; color: var(--ink); padding: 48px 0; }
body.home-redesign .kept .hero__sub { color: var(--ink-2); text-shadow: none; max-width: 78ch; font-size: 17px; }
body.home-redesign .kept .hero__journeys { display: flex; margin-top: 18px; }
body.home-redesign .kept .journey-chip { color: var(--ink); background: #fff; border-color: var(--rule); }
body.home-redesign .kept .journey-chip:hover { color: var(--ink); background: var(--surface); border-color: var(--brand-dark); }
body.home-redesign .hero__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
body.home-redesign .kept .hero__meta {
  background: var(--surface);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--rule);
  color: var(--ink);
}
body.home-redesign .hero__meta__label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-dark); font-weight: 600; }
body.home-redesign .hero__meta__value { margin-top: 4px; color: var(--ink); }

body.home-redesign .tgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 14px; }
body.home-redesign .tc { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
body.home-redesign .tc__card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  transition: transform 0.3s var(--ease);
}
body.home-redesign .tc__card img { width: 100%; height: 100%; object-fit: cover; }
body.home-redesign .tc__shine { position: absolute; inset: 0; background: radial-gradient(circle at var(--px, 50%) var(--py, 30%), rgba(255, 255, 255, 0.45), transparent 50%); opacity: 0; pointer-events: none; }
body.home-redesign .tc:hover .tc__shine { opacity: 1; }
body.home-redesign .tc__n { margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--brand-dark); }
body.home-redesign .tc__t { font-family: var(--font-display); font-size: 18px; line-height: 1.25; }
body.home-redesign .tc__d { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }

body.home-redesign .paths__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
body.home-redesign .path {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 148px;
  padding: 20px 20px 44px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--rule);
  position: relative;
}
body.home-redesign .path__t { font-family: var(--font-display); font-size: 20px; line-height: 1.25; }
body.home-redesign .path__d { font-size: 14.5px; color: var(--ink-2); }
body.home-redesign .path__go { position: absolute; left: 20px; bottom: 16px; color: var(--brand-dark); }
body.home-redesign .audience-strip { padding-top: 8px; }
body.home-redesign .audience-strip__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body.home-redesign .audience-strip__card { display: block; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--rule); color: var(--ink); }
body.home-redesign .audience-strip__go { margin-top: 10px; color: var(--brand-dark); font-weight: 600; }

body.home-redesign .story-scene { background: #07162B; color: #fff; padding: 72px 0 28px; }
body.home-redesign .story-scene h2 { color: #fff; }
/* Do not hide content photos while they decode. A grey or navy card with
   opacity 0 reads as a missing image. */
body.home-redesign img.is-loading { transform: none; opacity: 1; }
body.home-redesign .rvimg { position: relative; margin: 28px 0 0; width: 100%; max-width: 100%; height: min(70vh, 640px); border-radius: 20px; overflow: hidden; }
body.home-redesign .rvimg img { width: 100%; max-width: 100%; height: 100%; object-fit: cover; }
body.home-redesign .rvimg__cap { position: absolute; left: 0; right: 0; bottom: 24px; }
body.home-redesign .capcard { max-width: 460px; padding: 18px 20px; border-radius: 16px; background: rgba(7, 22, 43, 0.72); border: 1px solid rgba(216, 188, 122, 0.35); }
body.home-redesign .capcard p { color: rgba(255, 255, 255, 0.88); font-size: 15px; }
body.home-redesign .story__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
body.home-redesign .scard { border-radius: 18px; overflow: hidden; background: #0B1F3A; border: 1px solid rgba(255, 255, 255, 0.08); }
body.home-redesign .scard__media { aspect-ratio: 16/10; overflow: hidden; }
body.home-redesign .scard__media img { width: 100%; height: 100%; object-fit: cover; object-position: 18% 50%; }
body.home-redesign .scard__body { padding: 20px 22px 24px; }
body.home-redesign .scard__k { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; }
body.home-redesign .scard__body p { color: rgba(255, 255, 255, 0.82); font-size: 15px; margin-bottom: 12px; }
body.home-redesign .story-scene .link-arrow { color: var(--brand-2); border-bottom: 1px solid var(--brand-2); }

body.home-redesign .stats .stat__num { font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) {
  body.home-redesign .tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.home-redesign .hero__in { grid-template-columns: 1fr; }
  body.home-redesign .gl { justify-self: center; max-width: 420px; }
}
@media (max-width: 800px) {
  body.home-redesign .paths__grid,
  body.home-redesign .audience-strip__grid,
  body.home-redesign .story__row,
  body.home-redesign .hero__meta { grid-template-columns: 1fr; }
  body.home-redesign .duo { grid-template-columns: 1fr; }
  body.home-redesign .quote-link { flex-wrap: wrap; }
  body.home-redesign .quote-link .btn,
  body.home-redesign .askbar { flex: 1 1 100%; }
  body.home-redesign .tgrid { grid-template-columns: 1fr 1fr; }
  body.home-redesign .tc__d { display: none; }
  body.home-redesign .rvimg { height: auto; aspect-ratio: 4/5; border-radius: 0; width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
  body.home-redesign .strip__label { display: none; }
}
@media (min-width: 768px) {
  body.home-redesign .hero__in { padding-left: 24px; padding-right: 24px; }
  body.home-redesign .strip__row { padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 1024px) {
  body.home-redesign .source-breadth__head {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(16rem, 0.82fr) minmax(0, 1.18fr);
    column-gap: 48px;
    align-items: start;
  }
  body.home-redesign .source-breadth__title { grid-column: 1; }
  body.home-redesign .source-breadth__copy { grid-column: 2; min-width: 0; }
  body.home-redesign .source-breadth__copy .lead { max-width: 70ch; margin-top: 0; }
}
@media (max-width: 800px) {
  body.home-redesign h1,
  body.home-redesign h2,
  body.home-redesign h3,
  body.home-redesign p,
  body.home-redesign li,
  body.home-redesign .lead,
  body.home-redesign .pillars__head,
  body.home-redesign .source-breadth__head,
  body.home-redesign .sourcemap__head,
  body.home-redesign .feature__copy__inner,
  body.home-redesign .cta-block h2,
  body.home-redesign .promise__lede {
    max-width: 100% !important;
  }
  body.home-redesign .pillar__link { white-space: normal; }
}
@media (max-width: 767px) {
  body.home-redesign .hero__bg img { object-position: 70% 50%; opacity: 0.45; }
  body.home-redesign .hero__in { padding: 24px 16px 20px; }
  body.home-redesign .hero h1 { font-size: clamp(34px, 9vw, 48px); }
  body.home-redesign .quote-link .btn,
  body.home-redesign .askbar { width: 100%; }
}
