.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.6rem 0;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease),
              transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav.is-hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }

.nav .container { max-width: none; }
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.nav { --logo-w: 1; --logo-d: 0; }
.nav--on-light { --logo-w: 0; --logo-d: 1; }

.nav__logo {
  justify-self: start;
  position: relative;
  display: block;
  --logo-h: clamp(30px, 3vw, 44px);
  height: var(--logo-h);
  width: calc(var(--logo-h) * 1.09);
}
.nav__logo img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: var(--logo-h);
  width: auto;
  max-width: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.nav__logo .logo-fin {
  left: 0;
  transition: opacity 0.25s var(--ease);
}
.nav__logo .logo-fin.logo-w,
.nav__logo .logo-fin.logo-d { opacity: 0; }

.nav__logo .logo-full {
  left: 0;
  height: var(--logo-h);
  clip-path: inset(-15% 0 -15% 0);
  transition: clip-path var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav__logo .logo-full.logo-w { opacity: var(--logo-w); }
.nav__logo .logo-full.logo-d { opacity: var(--logo-d); }

.nav.is-scrolled .logo-full { clip-path: inset(-15% 100% -15% 0); }
.nav.is-scrolled .logo-fin.logo-w { opacity: var(--logo-w); }
.nav.is-scrolled .logo-fin.logo-d { opacity: var(--logo-d); }

.nav__menu { position: relative; justify-self: center; }
.nav__menu-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0.8rem 0.8rem 1.15rem;
  background: rgba(24, 15, 20, 0.55);
  border: 1px solid rgba(237, 227, 215, 0.14);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav__menu:hover .nav__menu-bar,
.nav__menu.is-pinned .nav__menu-bar { background: rgba(24, 15, 20, 0.78); }
.nav__menu-icon { width: 17px; height: 17px; filter: invert(1); opacity: 0.95; flex: none; }
.nav__menu-label {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--c-light);
  white-space: nowrap;
}
.nav__slots {
  font-family: var(--f-body);
  font-size: 0.88rem;
  color: rgba(237, 227, 215, 0.55);
  white-space: nowrap;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(237, 227, 215, 0.16);
}
.nav__pin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border: none; border-radius: 8px;
  background: transparent; cursor: pointer;
  flex: none;
  transition: background var(--dur) var(--ease);
}
.nav__pin img { width: 15px; height: 15px; filter: invert(1); opacity: 0.55;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.nav__pin:hover img { opacity: 0.9; }
.nav__menu.is-pinned .nav__pin { background: var(--c-primary); }
.nav__menu.is-pinned .nav__pin img { opacity: 1; transform: rotate(-35deg); }

.nav__menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: max(100%, 220px);
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.5rem;
  background: var(--c-dark);
  border: 1px solid rgba(237, 227, 215, 0.14);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(24, 15, 20, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}

.nav__menu-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__menu:hover .nav__menu-panel,
.nav__menu.is-pinned .nav__menu-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav__menu-panel a {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--c-light);
  white-space: nowrap;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__menu-panel a:hover { background: rgba(237, 227, 215, 0.08); color: var(--c-accent-on-dark); }

@media (min-width: 1021px) {
  .nav__menu.is-pinned { display: flex; align-items: center; gap: 0.7rem; }
  .nav__menu.is-pinned .nav__menu-panel {
    position: static;
    transform: none;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    width: auto;
    min-width: 0;
    padding: 0.4rem;
    background: rgba(24, 15, 20, 0.55);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }
  .nav__menu.is-pinned .nav__menu-panel::before { display: none; }
}

.nav__cta {
  justify-self: end;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--c-white);
  background: var(--c-primary);
  border-radius: 10px;
  padding: 1.05rem 1.8rem;
  white-space: nowrap;
  transition: background var(--dur) var(--ease);
}
.nav__cta:hover { background: var(--c-primary-hover); }

/* Homepage contrast: white/dark over dark sections, then invert when the
   nav theme detector reports a light section behind the fixed navigation. */
body:has(.hero#hero) .nav__cta {
  color: var(--c-dark);
  background: var(--c-white);
  border: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
body:has(.hero#hero) .nav__cta:hover {
  color: var(--c-white);
  background: var(--c-dark);
}
body:has(.hero#hero) .nav.nav--on-light .nav__cta {
  color: var(--c-white);
  background: var(--c-dark);
}
body:has(.hero#hero) .nav.nav--on-light .nav__cta:hover {
  color: var(--c-white);
  background: var(--c-medium);
}
body:has(.hero#hero) .nav__cta:focus-visible {
  outline: 3px solid var(--c-accent-1);
  outline-offset: 3px;
}

@media (min-width: 1021px) {
  .nav.is-scrolled .nav__menu-bar { box-shadow: 0 10px 30px rgba(24, 15, 20, 0.28); }
}
@media (max-width: 1020px) {
  .nav.is-scrolled {
    background: var(--c-dark);
    box-shadow: 0 2px 24px rgba(24, 15, 20, 0.35);
    padding: 0.8rem 0;
    --logo-w: 1; --logo-d: 0;
  }
}

@media (max-width: 1160px) and (min-width: 1021px) {
  .nav__menu-bar { gap: 0.6rem; padding: 0.7rem 0.7rem 0.7rem 0.95rem; }
  .nav__slots { padding-left: 0.6rem; }
}

@media (max-width: 1020px) {
  .nav__slots { display: none; }
  .nav__cta { padding: 0.8rem 1.2rem; font-size: 0.9rem; }
}
@media (max-width: 560px) {
  .nav__menu-label { display: none; }
  .nav__cta { padding: 0.7rem 1rem; font-size: 0.85rem; }
  .nav__menu-panel { min-width: 200px; }
}

.nav__burger { display: none; }
.nav__mobile { display: none; }
@media (max-width: 1020px) {
  .nav__inner { display: flex; align-items: center; justify-content: space-between; }
  .nav__inner > .nav__logo { position: relative; z-index: 2; }
  .nav__menu { display: none; }
  .nav__cta { display: none; }

  .nav__burger {
    display: inline-flex; align-items: center; justify-content: center;
    position: relative; z-index: 2;
    width: 44px; height: 44px; padding: 0;
    border: none; background: transparent; cursor: pointer;
  }

  .nav__burger-menu { width: 24px; height: 24px; filter: invert(1); opacity: 0.95; }
  .nav__burger-x { width: 24px; height: 24px; color: var(--c-light); display: none; }
  .nav.is-menu-open {
    --logo-w: 1; --logo-d: 0;
    transform: none; opacity: 1; pointer-events: auto;
  }
  .nav.is-menu-open .logo-fin { opacity: 0; }
  .nav.is-menu-open .logo-full { clip-path: inset(-15% 0 -15% 0); }
  .nav.is-menu-open .nav__burger {
    position: fixed;
    top: calc(1.6rem + env(safe-area-inset-top, 0px));
    right: var(--gutter);
    z-index: 4;
  }
  .nav.is-menu-open .nav__burger-menu { display: none; }
  .nav.is-menu-open .nav__burger-x { display: block; }

  .nav__mobile {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; z-index: 1;
    background: var(--c-dark); color: var(--c-light);
    padding: calc(5.5rem + env(safe-area-inset-top, 0px)) var(--gutter) calc(2.25rem + env(safe-area-inset-bottom, 0px));
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
  }
  .nav__mobile[hidden] { display: flex; }
  .nav.is-menu-open .nav__mobile { opacity: 1; transform: none; pointer-events: auto; }

  .nav__mobile-links { display: flex; flex-direction: column; }
  .nav__mobile-links a {
    font-family: var(--f-body); font-weight: 500;
    font-size: clamp(1.7rem, 7vw, 2.3rem); line-height: 1.1; color: var(--c-light);
    padding: 0.85rem 0; border-bottom: 1px solid rgba(237, 227, 215, 0.14);
    transition: color 0.2s var(--ease);
  }
  .nav__mobile-links a:first-child { border-top: 1px solid rgba(237, 227, 215, 0.14); }
  .nav__mobile-links a:active { color: var(--c-accent-on-dark); }

  .nav__mobile-cta {
    margin-top: auto; align-self: flex-start;
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: var(--f-body); font-weight: 500; font-size: 1rem; letter-spacing: 0.03em;
    color: var(--c-white); background: var(--c-primary);
    border-radius: 10px; padding: 1rem 1.5rem;
  }
  .nav__mobile-cta svg { width: 20px; height: 20px; }
}

.hero {
  position: relative;
  height: 300vh;
  background: var(--c-light);
}
.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  padding: 0;
  background: var(--c-light);
}
.hero__frame {
  position: relative;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: var(--c-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--gutter);
}
.hero__title {
  font-family: var(--f-label);
  font-weight: 500;
  font-size: clamp(1.9rem, 7vw, 6rem);
  line-height: .9;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--c-white);
}

.hero__line {
  display: block;
  width: fit-content;
  margin-inline: auto;
  white-space: nowrap;
  will-change: transform;
}

.hero__sub {
  margin-top: clamp(1rem, 3vh, 2rem);
  font-family: var(--f-label);
  font-weight: 500;
  font-size: clamp(1.5rem, 7vw, 6rem);
  line-height: .9;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--c-light);
}
.hero__sub-inner {
  display: inline-block;
  transform: scale(0.24);
  transform-origin: center;
}
.hero__sub-line {
  display: block;
  width: fit-content;
  margin-inline: auto;
  white-space: nowrap;
  will-change: transform;
}

.hero__sub-line + .hero__sub-line { margin-top: -0.1em; }

.hero__title, .hero__sub-inner { will-change: transform; }

.hero__scroll {
  position: absolute;
  left: clamp(1.25rem, 3vw, 2.75rem);
  bottom: clamp(1.25rem, 3vw, 2.75rem);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--c-light);
  font-family: var(--f-body);
  letter-spacing: 0.02em;
  font-size: 0.72rem;
  opacity: 0.85;
  pointer-events: none;
}
.hero__scroll-icon {
  width: 17px;
  height: 17px;
  flex: none;
  animation: heroScrollBob 1.8s ease-in-out infinite;
}
@keyframes heroScrollBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-icon { animation: none; }
}
@media (max-width: 560px) {
  .hero__scroll span { display: none; }
}
@media (max-width: 1020px) {

  .hero { height: auto; }
  .hero__sticky { position: static; height: 62vh; min-height: 380px; }
  .hero__scroll { display: none; }
  .hero__sub {
    margin-top: 1rem;
    font-family: var(--f-label);
    font-size: clamp(1rem, 4.5vw, 1.25rem);
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-transform: none;
  }
  .hero__sub-inner { transform: none; }
  .hero__sub-line {
    display: inline;
    width: auto;
    margin: 0;
    white-space: normal;
  }
  .hero__sub-line + .hero__sub-line { margin-top: 0; }
  .hero__sub-line + .hero__sub-line::before { content: " "; }
}

.social-proof {
  background: var(--c-light);
  padding: clamp(3rem, 6vh, 5rem) 0;
}
.social-proof__inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;

  padding-left: var(--gutter);
}
.social-proof__label {
  flex: none;
  white-space: nowrap;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.7;
  color: var(--c-medium);
}
.marquee {
  flex: 1;
  overflow: hidden;

  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F7F1E9;
  border-radius: 10px;
  padding: 2rem 2.4rem;
  margin-right: 1.25rem;
  min-width: 200px;
}
.marquee__item img {
  height: 40px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.marquee__item:hover img { filter: none; opacity: 1; }

.marquee__item--text {
  height: 40px; box-sizing: content-box;
  font-family: var(--f-display); font-weight: 600; font-size: 1.35rem;
  letter-spacing: 0.01em; color: var(--c-medium); opacity: 0.6; white-space: nowrap;
  transition: opacity var(--dur) var(--ease);
}
.marquee__item--text:hover { opacity: 1; }

@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}
@media (max-width: 760px) {
  .social-proof__inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .social-proof__label { max-width: none; }
  .marquee { width: 100%; }
}

.aem {
  background: var(--c-light);
  height: 260vh;
}
.aem__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 4vh, 3rem);
  padding-top: 5rem;
  padding-bottom: 6rem;
}
.aem__header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.aem__titles { display: grid; }
.aem__title { grid-area: 1 / 1; margin: 0; }
.aem__title--loop { opacity: 0; }

.aem__intros { display: grid; }
.aem__intro { grid-area: 1 / 1; font-weight: 300; }
.aem__intro--loop { opacity: 0; }
.aem__mobile-phase-head { display: none; }
@media (max-width: 1020px) {

  .aem__titles, .aem__intros { display: block; }
  .aem__title, .aem__intro { grid-area: auto; }
  .aem__title--loop, .aem__intro--loop { opacity: 1; }
  .aem__title--loop { margin-top: 0.5rem; }
  .aem__intro--loop { margin-top: 1.25rem; }
}

.aem__track {
  display: flex;
  width: 200%;
  will-change: transform;
}
.aem__panel { width: 50%; flex: none; }

.aem-rocket {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: auto;
  z-index: 12;
  opacity: 0;
  will-change: transform, opacity;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 18px 42px rgba(24, 15, 20, 0.28));
  pointer-events: none;
}
@media (max-width: 1020px) { .aem-rocket { display: none; } }
.aem-interlude__line {
  max-width: 30ch;
  margin-inline: auto;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.35;
  color: var(--c-dark);
}
.aem-interlude__next {
  margin-top: 1.75rem;
  font-family: var(--f-body);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--c-primary);
}
.aem-interlude .btn--primary { margin-top: 1.5rem; }
.aem__panel-inner {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}

.aem-phase-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-label);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--c-medium);
  white-space: nowrap;
}

.aem-grid {
  display: flex;
  gap: 1.25rem;
  align-items: stretch;
  flex: 1;
  min-width: 0;
}

.aem-card {
  --aem-scroll-progress: 0;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  background: var(--c-white);
  border-radius: 12px;
  padding: 2rem 1.75rem 1.75rem;
  min-height: min(500px, 58vh);
  display: flex;
  flex-direction: column;
  cursor: default;
  overflow: hidden;
  transition: flex-grow 0.62s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s var(--ease);
  will-change: flex-grow;
  outline: none;
}

.aem-card::before,
.aem-card::after {
  content: '';
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  pointer-events: none;
}
.aem-card::before { background: rgba(0, 109, 153, 0.14); }
.aem-card::after {
  background: var(--c-primary);
  box-shadow: 0 0 12px rgba(0, 109, 153, 0.28);
  transform: scaleX(var(--aem-scroll-progress));
  transform-origin: left center;
  will-change: transform;
}

.aem-card.is-open {
  flex-grow: 1.7;
  box-shadow: 0 18px 40px rgba(24, 15, 20, 0.10);
}

.aem-card.is-nudge { animation: aem-nudge 0.7s var(--ease); }
@keyframes aem-nudge {
  0%, 100% { transform: none; }
  20% { transform: translateX(-5px) rotate(-0.4deg); }
  45% { transform: translateX(5px) rotate(0.4deg); }
  70% { transform: translateX(-3px); }
  85% { transform: translateX(2px); }
}
.aem-card__kicker {
  font-family: var(--f-label);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-primary);
  margin-bottom: 0.6rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s var(--ease), transform 0.3s var(--ease);
}
.aem-card__body {
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;

  width: var(--aem-body-w, 466px);
  max-width: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s var(--ease), transform 0.3s var(--ease);
}
@media (max-width: 1020px) { .aem-card__body { width: auto; } }
@media (max-width: 1020px) {
  .aem-card::before,
  .aem-card::after { display: none; }
}
.aem-card.is-open .aem-card__kicker,
.aem-card.is-open .aem-card__body {
  opacity: 1;
  transform: none;
  transition-delay: 0.14s;
}
@media (prefers-reduced-motion: reduce) {
  .aem-card { transition: box-shadow var(--dur) var(--ease); }
  .aem-card.is-open .aem-card__kicker,
  .aem-card.is-open .aem-card__body { opacity: 1; transform: none; }
}

.aem-card__media {
  margin-top: auto;
  height: 180px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1021px) {
  #aem .aem-card__media { height: 230px; }
}
.aem-card__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #F2ECE3, #DDD1C2);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.aem-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.aem-card.is-open .aem-card__media::before,
.aem-card.is-open .aem-card__media img { opacity: 1; }
.aem-card__num {
  position: absolute;
  right: 1rem;
  bottom: 0.65rem;
  font-family: var(--f-comp);
  font-weight: 700;
  font-size: clamp(3rem, 4.5vw, 4.25rem);
  line-height: 1;
  color: var(--c-dark);
  transition: color var(--dur) var(--ease);
}
.aem-card.is-open .aem-card__num { color: var(--c-primary); }

#aem .aem-card.is-open .aem-card__num { color: var(--c-light); }

.aem-infinity-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.aem-map {
  position: relative;
  width: min(840px, 100%);
}
.aem-infinity { width: 100%; height: auto; display: block; }

@media (max-width: 1020px) {

  .aem { height: auto; padding: var(--sec-pad) 0 clamp(2rem, 5vw, 3.5rem); }
  .aem__header { display: none; }
  .aem__sticky { position: static; height: auto; overflow: visible; padding-top: 0; }
  .aem__track { display: block; width: auto; transform: none !important; }
  .aem__panel { width: 100%; }
  .aem__panel + .aem__panel { margin-top: 3rem; }
  .aem__panel-inner { flex-direction: column; }
  .aem__mobile-phase-head { display: block; margin-bottom: clamp(1.25rem, 5vw, 2rem); }
  .aem__mobile-phase-head h2 {
    margin: 0;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(2rem, 10vw, 3.25rem);
    line-height: 1.02;
    color: var(--c-dark);
  }
  .aem__mobile-phase-head p { margin: 1rem 0 0; max-width: 48ch; font-weight: 300; }
  .aem-phase-label { writing-mode: horizontal-tb; transform: none; justify-content: flex-start; }
  .aem-grid { flex-direction: column; }
  .aem-card { min-height: 0; flex: none; }

  .aem-card .aem-card__kicker,
  .aem-card .aem-card__body { opacity: 1 !important; transform: none !important; transition: none; }
  .aem-card .aem-card__media::before,
  .aem-card .aem-card__media img { opacity: 1; }
  .aem-card .aem-card__num { color: var(--c-primary); }
}
@media (max-width: 640px) {
  .aem__header { grid-template-columns: 1fr; align-items: start; }
}

@media (hover: none) {
  .aem-card, .aem-card.is-open { min-height: 0; }
  .aem-card .aem-card__kicker, .aem-card .aem-card__body { opacity: 1 !important; transform: none !important; transition: none; }
}

.portfolio {
  height: 520vh;
  background: var(--c-light);
}
.portfolio__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.5rem, 1.6vh, 1.1rem);
  padding-top: 5.25rem;
}
.portfolio__head { text-align: center; }
.portfolio__name {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  transition: opacity 0.2s var(--ease);
}

.portfolio__body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.portfolio__stagewrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.5rem, 1.4vh, 1rem);
}
.pf-rail {
  position: absolute;
  left: clamp(1.25rem, 4vw, 2.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 250px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pf-aem .btn__icon svg { transform: rotate(90deg); }

.pf-aem:hover .btn__icon--start { width: 52px; margin-right: 1.1rem; opacity: 1; }
.pf-aem:hover .btn__icon--end { width: 0; margin-left: 0; opacity: 0; }

.pf-list {
  height: 19rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}
.pf-list__track {
  list-style: none;
  transition: transform 0.45s var(--ease);
}
.pf-list__track li {
  padding: 0.32rem 0;
  font-size: 0.92rem;
  color: rgba(24, 15, 20, 0.45);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--dur) var(--ease), font-size var(--dur) var(--ease);
}
.pf-list__track li:hover { color: rgba(24, 15, 20, 0.8); }
.pf-list__track li.is-active {
  font-size: 1.14rem;
  font-weight: 500;
  color: var(--c-dark);
}

.pf-aem { align-self: flex-start; }

.pf-cta { align-self: center; display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.pf-explore { height: 52px; min-height: 52px; padding: 0 1.4rem; }

/* Homepage portfolio controls: dark resting labels and a dark hover fill
   preserve AA contrast when the requested hover label turns white. */
body:has(.hero#hero) :is(.pf-aem, .pf-explore, .pf-skip) {
  color: var(--c-dark);
}
body:has(.hero#hero) .pf-explore {
  --liquid-fill: var(--c-dark);
  border-color: var(--c-dark);
}
body:has(.hero#hero) :is(.pf-aem, .pf-skip)::before {
  background: var(--c-dark);
}
body:has(.hero#hero) :is(.pf-aem, .pf-explore, .pf-skip):hover {
  color: var(--c-white);
}
body:has(.hero#hero) :is(.pf-aem, .pf-explore, .pf-skip):focus-visible {
  outline: 3px solid var(--c-medium);
  outline-offset: 3px;
}

.portfolio__stage {
  position: relative;
  width: min(1120px, 92vw);
  flex: none;
  height: min(70vh, calc(100vh - 17rem));
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1021px) {
  .portfolio__stages { display: contents; }
  .portfolio__stage--mobile { display: none; }
  .portfolio.is-mobile .portfolio__stage--desktop { display: none; }
  .portfolio.is-mobile .portfolio__stage--mobile { display: flex; }
  .portfolio__stage--desktop .portfolio__device { max-height: 100%; max-width: 100%; }
  .portfolio__stage--mobile .portfolio__device { max-height: 100%; }
}
.portfolio__frame {
  position: relative;
  display: inline-block;
  line-height: 0;
  height: 100%;
  max-width: 92vw;
}
.portfolio__stage--desktop .portfolio__frame .portfolio__device {
  width: auto;
  height: 100%;
  max-width: 92vw;
}
.portfolio__device { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; position: relative; z-index: 2; }

.portfolio__screen {
  position: absolute;
  z-index: 1;
  left: 14.49%;
  top: 7.09%;
  width: 70.88%;
  height: 64.98%;
  overflow: hidden;
  contain: paint;
  background: var(--c-white);
}

.portfolio__stage--mobile {
  width: auto;
}
.portfolio__stage--mobile .portfolio__device {
  width: auto;
  height: 100%;
  max-height: none;
}
.portfolio__screen--phone {
  left: 7.62%;
  top: 3.44%;
  width: 84.51%;
  height: 92.06%;
  border-radius: clamp(8px, 2vh, 18px);
}
.portfolio__statusbar {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 100%;
  height: 7.5%;
  min-height: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8.5%;
  box-sizing: border-box;
  color: #111;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(24, 15, 20, 0.10);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Arial, sans-serif;
  font-size: clamp(7px, 0.75vw, 11px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
}
.portfolio__status-icons {
  display: flex;
  align-items: center;
  gap: 0.42em;
}
.portfolio__status-icons svg { display: block; width: auto; height: 0.9em; overflow: visible; }
.portfolio__status-icons .portfolio__battery { height: 1em; }
.portfolio__screen--phone .portfolio__shot { top: 7.5%; }

.portfolio__toggle {
  position: relative;
  z-index: 5;
  display: flex;
  padding: 4px;
  background: rgba(24, 15, 20, 0.05);
  border: 1px solid rgba(24, 15, 20, 0.16);
  border-radius: 999px;
  cursor: pointer;
}

.portfolio__toggle::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--c-dark);
  border-radius: 999px;
  transition: transform var(--dur) var(--ease);
}
.portfolio__toggle.is-mobile::before { transform: translateX(100%); }
.portfolio__toggle-opt {
  position: relative;
  width: 6.2rem;
  text-align: center;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--c-body);
  padding: 0.5rem 0;
  border-radius: 999px;
  transition: color var(--dur) var(--ease);
}
.portfolio__toggle-opt.is-on { color: var(--c-light); }
.portfolio__shot {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  transform: translateX(106%);
  opacity: 1;
  transition: opacity 0.18s var(--ease);
}
.portfolio__shot:first-child { transform: none; }

@media (max-width: 1020px) {

  .portfolio__sticky { padding-top: 7rem; }
  .portfolio__body { flex-direction: column; align-items: center; gap: clamp(0.4rem, 1.4vh, 0.9rem); }
  .portfolio__stages { display: contents; }
  .portfolio__stage { position: relative; inset: auto; transform: none; transition: none; height: auto; }
  .portfolio__stage--desktop { display: block; width: 92vw; }
  .portfolio__stage--mobile { display: none; }
  .portfolio.is-mobile .portfolio__stage--desktop { display: none; }

  .portfolio.is-mobile .portfolio__stage--mobile { display: block; width: auto; height: min(44vh, 400px); }
  .portfolio.is-mobile .portfolio__stage--mobile .portfolio__device { width: auto; height: 100%; }

  .pf-rail { display: contents; }
  .pf-aem  { display: none; }
  .pf-list {
    order: 1;
    height: clamp(5.5rem, 18vh, 7.5rem);
    width: clamp(200px, 66vw, 280px);
    text-align: center;
  }
  .portfolio__stagewrap { order: 3; gap: clamp(0.4rem, 1.4vh, 0.9rem); }
  .pf-cta { margin-top: clamp(1rem, 3vh, 1.75rem); }
  .pf-list__track li { font-size: 0.82rem; padding: 0.24rem 0; }
  .pf-list__track li.is-active { font-size: 0.95rem; }
}

.offer {
  background: var(--c-light);
  padding: var(--sec-pad) 0;
}
.offer__grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) 2.6fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.offer__intro p { margin-top: 1.25rem; max-width: 36ch; }
.offer__intro h2 { margin-top: 0.25rem; }

.offer__table-wrap { overflow-x: auto; }
.offer__table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
}
.offer__table th,
.offer__table td {
  padding: 1rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.98rem;
}
.offer__table thead th {
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-medium);
  padding-top: 1.4rem;
}
.offer__head-remora img { max-height: 1.6rem; max-width: 100%; width: auto; height: auto; object-fit: contain; display: block; }

.offer__table th:last-child,
.offer__table td:last-child {
  background: var(--c-dark);
  border-left: 2px solid var(--c-primary);
  border-bottom-color: rgba(237, 227, 215, 0.15);
  width: 22%;
  color: var(--c-light);
}
.offer__included { color: var(--c-light); font-weight: 500; }
.offer__na { color: rgba(37, 58, 75, 0.45); font-style: italic; }

.offer__cell-price { white-space: nowrap; }
.offer__cell-price span { color: var(--c-body); }
.offer__cell-price input {
  font-family: var(--f-body);
  font-size: 0.98rem;
  color: var(--c-dark);
  width: 5.5rem;
  border: none;
  border-bottom: 1.5px dashed rgba(122, 151, 191, 0.45);
  background: transparent;
  padding: 0.1rem 0.2rem;
  outline: none;
  transition: border-color var(--dur) var(--ease);
}
.offer__cell-price input:focus { border-bottom: 1.5px solid var(--c-primary); }

.offer__cell-price input::-webkit-outer-spin-button,
.offer__cell-price input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.offer__cell-price input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

.offer__table tfoot td {
  border-bottom: none;
  border-top: 2px solid var(--c-medium);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-dark);
}
#offerTotal { color: var(--c-accent-2); }
.offer__total--remora { color: var(--c-white); }

.offer__total-label { display: block; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.05em; opacity: 0.6; margin-bottom: 0.15rem; }
.offer__total-amount { display: block; }

.offer__cta { margin-top: 1.75rem; }

.offer__row-extra { display: none; }
.offer.is-expanded .offer__row-extra { display: table-row; }
.offer__more-row td {
  padding: 0;
  border-bottom: none;
  background: none !important;
  border-left: none !important;
}
.offer__more-row button {
  width: 100%;
  padding: 0.85rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--c-primary);
  transition: background var(--dur) var(--ease);
}
.offer__more-row button:hover { background: rgba(122, 151, 191, 0.05); }
.offer__more-row button::after { content: '  ▾'; }
.offer.is-expanded .offer__more-row button::after { content: '  ▴'; }

.offer.is-expanded .offer__table-wrap { overflow: visible; }
.offer.is-expanded .offer__table { overflow: visible; }
.offer.is-expanded .offer__intro {
  position: sticky;
  top: clamp(6rem, 12vh, 8rem);
  align-self: start;
}
.offer.is-expanded .offer__table thead th {
  position: sticky;
  top: clamp(6rem, 12vh, 8rem);
  z-index: 4;
  background: var(--c-light);
}
.offer.is-expanded .offer__table thead th:last-child { background: var(--c-dark); }

.offer.is-expanded .offer__more-row td {
  position: sticky;
  bottom: var(--offer-total-h, 3.6rem);
  z-index: 3;
  background: var(--c-light) !important;
}

.offer.is-expanded .offer__table tfoot td {
  position: sticky;
  bottom: 0;
  z-index: 4;
  background: var(--c-light);
}
.offer.is-expanded .offer__table tfoot td:last-child { background: var(--c-dark); }

.offer__scrollhint {
  position: fixed;
  left: 50%;
  bottom: clamp(5.5rem, 12vh, 7.5rem);
  transform: translateX(-50%) translateY(8px);
  z-index: 85;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: var(--c-dark);
  color: var(--c-light);
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(24, 15, 20, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.offer__scrollhint.is-shown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.offer__scrollhint svg { width: 18px; height: 18px; animation: offer-hint-bob 1.4s ease-in-out infinite; }
@keyframes offer-hint-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .offer__scrollhint svg { animation: none; } }

.offer__note {
  margin-top: 0.9rem;
  text-align: right;
  font-style: italic;
  font-weight: 500;
  color: var(--c-primary);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.offer__note.is-shown { opacity: 1; }

@media (max-width: 1020px) {
  .offer__grid { grid-template-columns: 1fr; }
  .offer__intro p { max-width: 60ch; }
}
@media (max-width: 560px) {
  .offer__table th, .offer__table td { padding: 0.8rem 0.7rem; font-size: 0.88rem; }
  .offer__cell-price input { width: 4rem; }
}

.train-stack { position: relative; }
.rbp {
  position: sticky;
  top: 0;
  padding: 0;
  background: var(--c-medium);
}
.rbp__frame {
  background: transparent;
  border-radius: 0;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}
.rbp__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rbp__serif {
  font-family: var(--f-body);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.rbp__body {
  margin-top: 1.5rem;
  max-width: 52ch;
  font-size: 1.1rem;
  font-weight: 300;
}
.rbp__cta { margin-top: 2.25rem; }
.rbp__mobile-report { display: none; }

@media (max-width: 1020px) {

  .rbp { position: static; }
}

.rbpz {
  position: relative;
  z-index: 1;
  height: 260vh;
  background: var(--c-light);
}
.rbpz__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--c-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rbpz__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;

  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 26%, #000 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 26%, #000 80%, transparent 100%);
}
.rbpz__svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

.rbpz__intro,
.rbpz__love {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  margin: 0;
  padding-inline: var(--gutter);
  text-align: center;
  font-family: var(--f-body);
  font-weight: 500;
}
.rbpz__intro {
  top: clamp(13vh, 16vh, 20vh);
  max-width: 44ch;
  margin-inline: auto;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.2;
  color: var(--c-primary);
}
.rbpz__love {
  bottom: clamp(7vh, 10vh, 13vh);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: var(--c-medium);
}
.rbpz__word {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 620px;
  letter-spacing: -0.02em;
  fill: var(--c-medium);

}

.rbpz__banner {
  position: absolute;
  inset: 0;
  background: var(--c-medium);
  opacity: 0;
  will-change: opacity;
}
.rbpz__paper {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(72vw, 840px);
  opacity: 0;
  pointer-events: none;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  filter: drop-shadow(0 32px 42px rgba(7, 12, 18, .38));
}
.rbpz__paper-surface { display: flex; flex-direction: column; align-items: center; isolation: isolate; transform-style: preserve-3d; }
.rbpz__paper img { display: block; height: auto; user-select: none; -webkit-user-drag: none; will-change: transform; }
.rbpz__paper-head { position: relative; z-index: 1; width: 100%; border-radius: 12px 12px 2px 2px; box-shadow: 0 12px 26px rgba(7, 12, 18, .2); }
.rbpz__paper-head-image { width: 100%; border-radius: inherit; }
.rbpz__paper-turtle { position: absolute; top: 24%; right: 7%; z-index: 3; width: 20.6%; transform-origin: 52% 54%; animation: rbp-turtle-swim 6.4s ease-in-out infinite; filter: drop-shadow(0 8px 9px rgba(0, 12, 22, .2)); }
@keyframes rbp-turtle-swim {
  0%, 100% { transform: translate3d(-3px, 2px, 0) rotate(-.7deg) scale(1); }
  35% { transform: translate3d(3px, -4px, 0) rotate(.8deg) scale(1.008); }
  68% { transform: translate3d(6px, 1px, 0) rotate(-.2deg) scale(1.003); }
}
.rbpz__paper-body { position: relative; z-index: 2; width: 92%; margin-top: calc(-1 * var(--rbp-head-overlap, 0px)); border-radius: 2px 2px 12px 12px; box-shadow: 0 22px 34px rgba(7, 12, 18, .24); }

.train-stack {
  z-index: 2;
  margin-top: 0;
}
@media (prefers-reduced-motion: reduce) {
  .rbpz { height: 100vh; }
  .rbpz__paper {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(.82);
    transform-style: flat;
  }
  .rbpz__paper-head,
  .rbpz__paper-body { transform: none !important; }
  .rbpz__paper-turtle { animation: none; }
  .train-stack { margin-top: 0; }
}

@media (max-width: 767px), (max-width: 1020px) and (pointer: coarse) {
  .rbpz__stage { height: clamp(300px, 88svw, 390px); min-height: 300px; }
  #rbpzPaper.rbpz__paper { display: none !important; visibility: hidden !important; }
  .rbpz__intro { top: clamp(2rem, 8vw, 3rem); font-size: clamp(0.95rem, 4.5vw, 1.1rem); }
  .rbpz__love { bottom: clamp(1.75rem, 7vw, 2.5rem); font-size: clamp(1rem, 4.7vw, 1.15rem); }
  .rbp__frame { padding: clamp(2.75rem, 12vw, 4rem) 0 clamp(4rem, 16vw, 5.5rem); }
  .rbp__mobile-report {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: min(100%, 560px);
    margin: 0 auto clamp(2rem, 9vw, 3rem);
    filter: drop-shadow(0 22px 30px rgba(7, 12, 18, .32));
  }
  .rbp__mobile-report-head { position: relative; z-index: 1; width: 100%; border-radius: 9px 9px 2px 2px; overflow: hidden; }
  .rbp__mobile-report-head-image,
  .rbp__mobile-report-body { display: block; height: auto; user-select: none; -webkit-user-drag: none; }
  .rbp__mobile-report-head-image { width: 100%; }
  .rbp__mobile-report-turtle {
    position: absolute;
    top: 24%;
    right: 7%;
    z-index: 2;
    display: block;
    width: 20.6%;
    height: auto;
    animation: rbp-turtle-swim 6.4s ease-in-out infinite;
    filter: drop-shadow(0 6px 7px rgba(0, 12, 22, .2));
  }
  .rbp__mobile-report-body { position: relative; z-index: 2; width: 92%; margin-top: -2.75%; border-radius: 2px 2px 9px 9px; }
  .rbp__content > h2 { max-width: 9ch; font-size: clamp(2.25rem, 11.5vw, 3.35rem); line-height: 0.96; }
  .rbp__body { margin-top: 1.25rem; max-width: 34ch; font-size: 1rem; line-height: 1.6; }
  .rbp__cta { margin-top: 1.75rem; }
}
@media (max-width: 1020px) {

  .rbpz { height: auto; }
  .rbpz__stage { position: relative; height: clamp(360px, 76vw, 560px); }
  .rbpz__intro { top: 6vh; }
  .rbpz__love { bottom: 6vh; }
  .rbpz__banner { display: none; }
  .rbpz__paper { display: block; width: min(90vw, 620px); opacity: 1; transform: translate(-50%, -50%); transform-style: flat; }
  .rbpz__paper-surface { transform-style: flat; }
  .rbpz__paper-head, .rbpz__paper-body { transform: none !important; }
  .rbpz__paper-body { margin-top: -2.75%; }
  .train-stack { margin-top: 0; }
}

/* Keep the native-phone overrides after the tablet fallback so the old
   absolute report cannot be turned back on by source order. */
@media (max-width: 767px), (max-width: 1020px) and (pointer: coarse) {
  .rbpz__stage { height: clamp(300px, 88svw, 390px); min-height: 300px; }
  #rbpzPaper.rbpz__paper { display: none !important; visibility: hidden !important; }
  .rbpz__word { font-size: 500px; }
  .rbpz__intro { top: clamp(2rem, 8vw, 3rem); }
  .rbpz__love { bottom: clamp(1.75rem, 7vw, 2.5rem); }
}

.pill-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: fit-content;
  max-width: 92vw;
  height: 3.6rem;
  overflow: hidden;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  background: #DAD0C3;
  border-radius: 10px;
  padding: 0 0.6rem 0 1.6rem;
  box-shadow: 0 10px 30px rgba(24, 15, 20, 0.35);
  white-space: nowrap;
  transition: opacity 0.25s var(--ease), transform var(--dur) var(--ease),
              max-width var(--dur) var(--ease), padding var(--dur) var(--ease),
              background var(--dur) var(--ease), border-radius var(--dur) var(--ease);
}
.pill-bar.is-swapping { opacity: 0; transform: translateY(10px); }

.pill-tip {
  position: fixed;
  top: 50%;
  right: 6.2rem;
  transform: translateY(-50%) translateX(8px);
  z-index: 95;
  padding: 0.5rem 0.8rem;
  font-family: var(--f-body);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--c-white);
  background: var(--c-dark);
  border-radius: 8px;
  white-space: nowrap;
  max-width: 60vw;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 8px 24px rgba(24, 15, 20, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.pill-tip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  width: 10px;
  height: 10px;
  background: var(--c-dark);
  transform: translateY(-50%) rotate(45deg);
  border-radius: 2px;
}
.pill-bar.is-collapsed:not(.is-open):hover ~ .pill-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.pill-bar__fin {
  position: absolute;
  inset: 0;
  margin: auto;
  height: 1.8rem;
  width: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.pill-bar.is-collapsed {
  max-width: 3.6rem;
  padding: 0;
  gap: 0;
  border-radius: 50%;
  background: var(--c-white);
  cursor: pointer;

  transform: translateX(calc(50vw - 1.8rem - 2rem))
             translateY(calc(3.3rem - 50vh));

  transition:
    max-width 0.28s var(--ease),
    padding 0.28s var(--ease),
    gap 0.28s var(--ease),
    border-radius 0.28s var(--ease),
    background 0.28s var(--ease),
    transform 0.62s cubic-bezier(0.5, 1.65, 0.55, 1) 0.24s;
}
.pill-bar.is-collapsed .pill-bar__text,
.pill-bar.is-collapsed .pill-bar__btn { opacity: 0; transition: opacity 0.2s var(--ease); }
.pill-bar.is-collapsed .pill-bar__fin { opacity: 1; transition-delay: 0.3s; }

.pill-bar.is-collapsed:not(.is-open) { animation: eisPulse 2.8s var(--ease) infinite; }
.pill-bar.is-collapsed.is-open { animation: none; }
@keyframes eisPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(24, 15, 20, 0.35), 0 0 0 0 rgba(122, 151, 191, 0.5); }
  50%      { box-shadow: 0 10px 30px rgba(24, 15, 20, 0.35), 0 0 0 11px rgba(122, 151, 191, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .pill-bar.is-collapsed:not(.is-open) { animation: none; }
}

.pill-bar.is-collapsed.is-open {
  max-width: 92vw;
  padding: 0 0.6rem 0 1.6rem;
  gap: 1.4rem;
  border-radius: 10px;
  background: #DAD0C3;
  cursor: default;
  transform: translateX(calc(50vw - 50% - 2rem))
             translateY(calc(3.3rem - 50vh));

  transition:
    transform 0.5s var(--ease),
    max-width 0.4s var(--ease) 0.28s,
    padding 0.4s var(--ease) 0.28s,
    gap 0.4s var(--ease) 0.28s,
    border-radius 0.4s var(--ease) 0.28s,
    background 0.4s var(--ease) 0.28s;
}
.pill-bar.is-collapsed.is-open .pill-bar__text,
.pill-bar.is-collapsed.is-open .pill-bar__btn { opacity: 1; transition-delay: 0.25s; }
.pill-bar.is-collapsed.is-open .pill-bar__fin { opacity: 0; transition-delay: 0s; }
.pill-bar__text {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--c-dark);
}
.pill-bar__text strong { color: var(--c-primary); font-weight: 500; }
.pill-bar__btn {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--c-primary);
  background: var(--c-white);
  border: 1px solid rgba(37, 58, 75, 0.25);
  border-radius: 8px;
  padding: 0.55rem 1.2rem;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.pill-bar__btn:hover { background: var(--c-primary); color: var(--c-white); }

@media (max-width: 640px) {
  .pill-bar {
    flex-direction: column;
    gap: 0.6rem;
    padding: 4rem 1.2rem;
    white-space: normal;
    text-align: center;
    width: calc(100% - 2 * var(--gutter));
  }
}
@media (max-width: 1024px), (max-height: 520px) {
  .pill-bar.is-collapsed {
    bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
    transform: translateX(calc(50vw - 1.8rem - 1rem));
  }
  .pill-bar.is-collapsed.is-open {
    transform: translateX(calc(50vw - 50% - 1rem));
  }
}

.eis-modal { position: fixed; inset: 0; z-index: 200; }
.eis-modal[hidden] { display: none; }
.eis-modal__overlay {
  position: absolute; inset: 0; background: rgba(24, 15, 20, 0.5);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.eis-modal__panel {
  position: absolute; left: 50%; bottom: 1.5rem;
  transform: translateX(-50%) translateY(130%);
  width: min(940px, 94vw); max-height: 88vh; overflow-y: auto;
  background: var(--c-light); color: var(--c-dark);
  border-radius: 14px; padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 26px 60px rgba(24, 15, 20, 0.42);
  transition: transform 0.5s var(--ease);
}
.eis-modal.is-open .eis-modal__overlay { opacity: 1; }
.eis-modal.is-open .eis-modal__panel { transform: translateX(-50%) translateY(0); }

.eis-modal__controls { position: absolute; top: 0.9rem; right: 0.9rem; z-index: 3; display: flex; gap: 0.2rem; }
.eis-modal__ctrl {
  width: 2.2rem; height: 2.2rem; display: inline-flex; align-items: center; justify-content: center;
  border: none; background: transparent; color: var(--c-medium); cursor: pointer; border-radius: 8px;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.eis-modal__ctrl:hover { color: var(--c-dark); background: rgba(37, 58, 75, 0.08); }
.eis-modal__ctrl svg { width: 20px; height: 20px; display: block; }
.eis-modal__ctrl .eis-ic-compress { display: none; }
.eis-modal.is-fullscreen .eis-modal__ctrl .eis-ic-expand { display: none; }
.eis-modal.is-fullscreen .eis-modal__ctrl .eis-ic-compress { display: block; }

.eis-modal.is-fullscreen .eis-modal__panel {
  left: 0; bottom: 0; transform: none;
  width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh;
  border-radius: 0;
}
.eis-modal.is-fullscreen.is-open .eis-modal__panel { transform: none; }
.eis-modal.is-fullscreen #eisApp { max-width: 780px; margin: 0 auto; }
.eis-modal__title {
  margin: 0.4rem 0 0; font-family: var(--f-body); font-weight: 500;
  text-transform: none;
  font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.14; color: var(--c-dark);
}
.eis-modal__desc {
  margin: 0.85rem 0 0; max-width: 100%;
  font-family: var(--f-body); font-size: 0.98rem; line-height: 1.6; color: var(--c-body);
}

#eisApp { min-height: 12rem; }
.eis-primary .btn__label { font-family: var(--f-body); }

.eis-step { animation: eisStepIn 0.4s var(--ease) both; }

.eis-question { animation: none; }
.eis-qbody { animation: eisStepIn 0.5s var(--ease) both; }
@keyframes eisStepIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.eis-actions { margin-top: clamp(1.5rem, 3vw, 2rem); display: flex; align-items: center; gap: 1.25rem; }
.eis-actions--nav { justify-content: space-between; }
.eis-intro .eis-actions { justify-content: flex-end; }
.eis-meta { margin: 0.9rem 0 0; font-family: var(--f-body); font-size: 0.85rem; color: var(--c-medium); }
.eis-optional { margin: 0.9rem 0 0; font-family: var(--f-body); font-size: 0.85rem; color: var(--c-medium); }

.eis-nav-back {
  font-family: var(--f-body); font-weight: 500; font-size: 0.95rem;
  color: var(--c-medium); background: none; border: none; cursor: pointer;
  padding: 0.5rem 0; letter-spacing: 0.01em;
  transition: color var(--dur) var(--ease);
}
.eis-nav-back:hover { color: var(--c-dark); }

.eis-status { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 1rem 0; }
.eis-status__msg { margin: 0; font-family: var(--f-body); color: var(--c-body); }
.eis-spinner {
  width: 2rem; height: 2rem; border-radius: 50%;
  border: 3px solid var(--c-line); border-top-color: var(--c-primary);
  animation: eisSpin 0.8s linear infinite; margin-bottom: 0.5rem;
}
@keyframes eisSpin { to { transform: rotate(360deg); } }

.eis-progress { margin-bottom: clamp(1.25rem, 3vw, 1.75rem); }
.eis-progress__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.65rem; }
.eis-progress__count {
  font-family: var(--f-body); font-weight: 500; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--c-accent-2);
}
.eis-progress__group {
  font-family: var(--f-body); font-size: 0.78rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--c-medium);
}

.eis-road { position: relative; --pct: 0%; --car: 0%; padding-top: 26px; }
.eis-road__scene { position: absolute; left: 0; right: 0; top: 0; height: 26px; pointer-events: none; }
.eis-scene__item {
  position: absolute; bottom: 0; transform: translateX(-50%);
  width: 20px; height: 22px;
  background: var(--c-line);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: bottom center; mask-position: bottom center;
  -webkit-mask-size: contain; mask-size: contain;
  transition: background 0.5s var(--ease), opacity 0.5s var(--ease);
  opacity: 0.55;
}
.eis-scene__item.is-passed { background: var(--c-primary); opacity: 1; }

@keyframes eisPop {
  0%   { transform: translateX(-50%) scale(1); }
  35%  { transform: translateX(-50%) scale(1.5) translateY(-3px); }
  65%  { transform: translateX(-50%) scale(0.9); }
  100% { transform: translateX(-50%) scale(1); }
}
.eis-scene__item.is-justpassed { animation: eisPop 0.6s var(--ease) 0.28s both; transform-origin: bottom center; }
@media (prefers-reduced-motion: reduce) {
  .eis-scene__item.is-justpassed { animation: none; }
}

.eis-scene__item.eis-scene__stop { width: 27px; height: 30px; background: var(--c-accent-1); opacity: 1; transform: translateX(-100%); }
.eis-scene__item.eis-scene__start { transform: translateX(0); background: var(--c-accent-2); opacity: 1; }

.eis-fw { position: absolute; inset: 0; pointer-events: none; z-index: 4; overflow: visible; }
.eis-fw__burst { position: absolute; width: 0; height: 0; }
.eis-fw__ray { position: absolute; top: 0; left: 0; }
.eis-fw__dot {
  position: absolute; top: -2.5px; left: -2.5px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--fw, var(--c-accent-1));
  opacity: 0; animation: eisFw 0.9s ease-out var(--d, 0s) both;
}
@keyframes eisFw {
  0%   { transform: translateY(0) scale(1); opacity: 1; }
  75%  { opacity: 1; }
  100% { transform: translateY(-30px) scale(0.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .eis-fw { display: none; } }
.eis-road__track { position: relative; height: 6px; border-radius: 999px; background: var(--c-line); }
.eis-road__fill {
  position: absolute; left: 0; top: 0; height: 100%; width: var(--pct);
  background: var(--c-primary); border-radius: 999px; transition: width 0.6s var(--ease);
}
.eis-road__car {
  position: absolute; left: var(--car); top: 50%;

  transform: translate(-50%, -78%);
  width: 30px; height: 30px; color: var(--c-primary);
  background: currentColor;
  -webkit-mask: url('https://r.remora.inc/w/img/eis-form/car-suv.svg') center / contain no-repeat;
          mask: url('https://r.remora.inc/w/img/eis-form/car-suv.svg') center / contain no-repeat;
  transition: left 0.6s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .eis-road__fill, .eis-road__car { transition: none; }
}

.eis-question__text {
  margin: 0 0 clamp(1.1rem, 2.6vw, 1.5rem); font-family: var(--f-body); font-weight: 500;
  text-transform: none;
  font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.3; color: var(--c-dark);
  min-height: 3.9em;
  display: flex; align-items: flex-end;
}

.eis-bool { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.eis-bool__btn {
  font-family: var(--f-body); font-weight: 500; font-size: 1.05rem; color: var(--c-dark);
  background: var(--c-white); border: 1.5px solid var(--c-line); border-radius: 12px;
  padding: 1.4rem 1rem; cursor: pointer; text-align: center;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.eis-bool__btn[data-bool="true"]:hover { border-color: var(--c-primary); }
.eis-bool__btn[data-bool="false"]:hover { border-color: var(--c-accent-2); }
.eis-bool__btn[data-bool="true"].is-selected { border-color: var(--c-primary); background: var(--c-primary); color: var(--c-white); }
.eis-bool__btn[data-bool="false"].is-selected { border-color: var(--c-accent-2); background: var(--c-accent-2); color: var(--c-white); }

.eis-options { display: flex; flex-direction: column; gap: 0.75rem; }
.eis-option {
  display: flex; align-items: center; gap: 0.9rem; width: 100%; text-align: left;
  font-family: var(--f-body); font-size: 1rem; color: var(--c-dark);
  background: var(--c-white); border: 1.5px solid var(--c-line); border-radius: 12px;
  padding: 1rem 1.15rem; cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.eis-option:hover { border-color: var(--c-primary); }
.eis-option.is-selected { border-color: var(--c-primary); background: rgba(122, 151, 191, 0.12); }
.eis-option__mark {
  flex: none; width: 1.25rem; height: 1.25rem; border: 1.5px solid var(--c-line);
  border-radius: 50%; position: relative; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.eis-options--multi .eis-option__mark { border-radius: 5px; }
.eis-option.is-selected .eis-option__mark { border-color: var(--c-primary); background: var(--c-primary); }
.eis-option.is-selected .eis-option__mark::after {
  content: ''; position: absolute; left: 50%; top: 46%; width: 0.32rem; height: 0.6rem;
  border: solid var(--c-white); border-width: 0 2px 2px 0; transform: translate(-50%, -50%) rotate(45deg);
}
.eis-option__label { min-width: 0; }

.eis-form { margin-top: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1.3rem; }
.eis-field { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.eis-field label {
  font-family: var(--f-body); font-weight: 500; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--c-medium);
}
.eis-field input,
.eis-textarea {
  width: 100%; appearance: none; -webkit-appearance: none;
  border: none; border-bottom: 1.5px solid var(--c-line); border-radius: 0;
  background: transparent; padding: 0.55rem 0;
  font-family: var(--f-body); font-size: 1rem; color: var(--c-dark);
  transition: border-color var(--dur) var(--ease);
}
.eis-textarea { resize: vertical; line-height: 1.5; }
.eis-field input::placeholder, .eis-textarea::placeholder { color: rgba(24, 15, 20, 0.36); }
.eis-field input:focus, .eis-textarea:focus { outline: none; border-bottom-color: var(--c-primary); }
.eis-field input:user-invalid { border-bottom-color: var(--c-accent-2); }
.eis-error { margin: 0.25rem 0 0; font-family: var(--f-body); font-size: 0.9rem; color: var(--c-accent-2); }
.eis-error[hidden] { display: none; }

@media (max-width: 560px) {
  .eis-modal__panel { bottom: 0; width: 100%; border-radius: 14px 14px 0 0; }
  .eis-bool { grid-template-columns: 1fr; }
  .eis-bool__btn[data-bool="true"] { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .eis-step { animation: none; }
  .eis-progress__bar { transition: none; }
  .eis-bool__btn:hover, .eis-option:hover { transform: none; }
}

.footer {
  position: relative;
  z-index: 1;
  background: var(--c-dark);
  padding: 0;
  overflow: hidden;
}
.footer__panel {
  width: 100%;
  background: var(--c-medium);
  color: var(--c-body-dark);
  border-radius: 0;
  padding: clamp(4rem, 7vw, 7rem) clamp(1.75rem, 5vw, 5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: space-evenly;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.footer__col h4 {
  font-family: var(--f-label);
  font-weight: 700;
  font-size: var(--fs-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-light);
  margin-bottom: 1.3rem;
}
.footer__col li { margin-bottom: 0.45rem; }
.footer__col a { font-size: 0.95rem; line-height: 1.35; transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: var(--c-light); }

.footer__contact { font-style: normal; }
.footer__contact p { margin-bottom: 0.6rem; font-size: 0.95rem; line-height: 1.4; }
.footer__contact a { display: block; margin-bottom: 0.35rem; font-size: 0.95rem; }

.footer__bbb {
  display: inline-block;
  border-radius: 6px;
  overflow: hidden;
  transition: transform var(--dur) var(--ease);
}
.footer__bbb:hover { transform: translateY(-2px); }
.footer__bbb img { display: block; height: 48px; width: auto; }

.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line-dark);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.footer__bbb--bottom { justify-self: end; margin-right: clamp(2rem, 6vw, 6rem); }
.footer__copy {
  font-size: 0.85rem;
  text-align: center;
}
.footer__bottom-spacer { width: 1px; }
@media (max-width: 640px) {
  .footer__bottom { display: flex; flex-direction: column; gap: 1rem; }
  .footer__bbb--bottom { margin-right: 0; }
  .footer__bbb img { height: 42px; }
  .footer__bottom-spacer { display: none; }
}

/* Keep page content above the fixed footer wordmark without relying on a
   negative z-index, which Safari can place behind the document canvas. */
body > section,
body > #hub-below-top,
body > footer {
  position: relative;
  z-index: 1;
}
.footer-reveal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0 !important;
  background: var(--c-white);
  padding: clamp(1rem, 2vw, 2rem) 0 14px;
  overflow: hidden;
}
.footer-reveal__inner {
  background: var(--c-white);
  overflow: hidden;
}
.footer-reveal__inner img { width: 100%; height: auto; display: block; opacity: 1; }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; } }

.phero { background: var(--c-light); padding: 0; }
.phero__frame {
  position: relative;
  min-height: clamp(28rem, 56svh, 36rem);
  border-radius: 0;
  overflow: hidden;
  background: var(--c-dark);
  display: flex;
  align-items: center;
}
.phero__morph { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.phero__morph span {
  position: absolute; display: block; width: 48vw; height: 48vw;
  filter: blur(70px); opacity: 0.55; will-change: transform, border-radius;
}
.phero__morph span:nth-child(1) {
  left: -10vw; top: -14vw;
  background: radial-gradient(circle at 50% 50%, var(--c-primary), transparent 68%);
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  animation: pMorph1 19s ease-in-out infinite;
}
.phero__morph span:nth-child(2) {
  right: -12vw; top: 8%;
  background: radial-gradient(circle at 50% 50%, var(--c-accent-on-dark), transparent 68%);
  border-radius: 60% 40% 33% 67% / 55% 58% 42% 45%;
  opacity: 0.35;
  animation: pMorph2 25s ease-in-out infinite;
}
.phero__morph span:nth-child(3) {
  left: 32%; bottom: -20vw; width: 40vw; height: 40vw;
  background: radial-gradient(circle at 50% 50%, var(--c-medium), transparent 66%);
  border-radius: 50% 50% 40% 60% / 55% 45% 55% 45%;
  opacity: 0.6;
  animation: pMorph3 22s ease-in-out infinite;
}
@keyframes pMorph1 {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: translate(0, 0) rotate(0deg) scale(1); }
  50%      { border-radius: 63% 37% 44% 56% / 58% 62% 38% 42%; transform: translate(5vw, 4vw) rotate(18deg) scale(1.15); }
}
@keyframes pMorph2 {
  0%, 100% { border-radius: 60% 40% 33% 67% / 55% 58% 42% 45%; transform: translate(0, 0) rotate(0deg) scale(1); }
  50%      { border-radius: 38% 62% 58% 42% / 42% 45% 55% 58%; transform: translate(-4vw, 5vw) rotate(-22deg) scale(1.1); }
}
@keyframes pMorph3 {
  0%, 100% { border-radius: 50% 50% 40% 60% / 55% 45% 55% 45%; transform: translate(0, 0) rotate(0deg) scale(1); }
  50%      { border-radius: 40% 60% 55% 45% / 45% 55% 45% 55%; transform: translate(6vw, -4vw) rotate(24deg) scale(1.18); }
}

.phero__cursor {
  position: absolute; width: 26vw; height: 26vw; left: 50%; top: 50%;
  translate: -50% -50%;
  pointer-events: none; opacity: 0;
  transition: opacity 0.35s ease;
  will-change: left, top, transform;
}
.phero__cursor > i {
  display: block; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 50%, var(--c-accent-on-dark), transparent 66%);
  filter: blur(58px);
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  mix-blend-mode: screen;
  animation: pMorphCursor 6s ease-in-out infinite;
}
@keyframes pMorphCursor {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: rotate(0deg) scale(1);    opacity: 0.8; }
  50%      { border-radius: 63% 37% 44% 56% / 58% 62% 38% 42%; transform: rotate(20deg) scale(1.12); opacity: 1; }
}

.phero__drop {
  position: absolute; width: 380px; height: 380px; margin: -190px 0 0 -190px;
  background: radial-gradient(circle at 50% 50%, var(--c-accent-on-dark), transparent 72%);
  filter: blur(64px); pointer-events: none; opacity: 0;
  animation: pDrop 2.2s ease-out forwards;
}
@keyframes pDrop {
  0%   { transform: scale(0.45) rotate(0deg);  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; opacity: 0.42; }
  55%  { transform: scale(1.2) rotate(18deg);  border-radius: 63% 37% 44% 56% / 58% 62% 38% 42%; opacity: 0.3; }
  100% { transform: scale(2) rotate(40deg);    border-radius: 40% 60% 55% 45% / 45% 55% 45% 60%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .phero__morph span { animation: none; }
  .phero__drop { display: none; }
}
.phero__grid {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: clamp(2rem, 6vh, 4rem); width: 100%; text-align: left;
}
.phero__title {
  margin: 0;
  font-family: var(--f-label); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.02em; line-height: 0.96;
  font-size: clamp(1.9rem, 4vw, 3.6rem); color: var(--c-white);
}
.phero__col { max-width: 48ch; align-self: flex-end; }
.phero__lead {
  margin: 0;
  font-family: var(--f-body); font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.6;
  color: var(--c-body-dark);
  text-transform: none; letter-spacing: normal;
}
.phero__body {
  margin: 0.9rem 0 0;
  font-family: var(--f-body); font-weight: 300;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem); line-height: 1.6;
  color: var(--c-body-dark);
  opacity: 0.8;
}
.phero__cta { margin-top: 2rem; }
@media (max-width: 640px) {
  .phero__frame { min-height: clamp(24rem, 50svh, 28rem); }
  .phero__grid { gap: clamp(1.5rem, 4svh, 2.5rem); }
}

.joinbp {
  background: var(--c-dark);
  color: var(--c-body-dark);
  padding: clamp(4rem, 12vh, 9rem) 0;
}
.joinbp__inner { display: block; text-align: center; }
.joinbp__intro { max-width: 52rem; margin-inline: auto; }
.joinbp__title {
  margin: 1rem 0 0;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.12;
  color: var(--c-white);
}
.joinbp__lead {
  margin: 1.25rem auto 0;
  max-width: 68ch;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: var(--c-body-dark);
}
.joinbp__form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem 1.75rem;
  max-width: 62rem;
  margin: clamp(2.25rem, 5vw, 3.5rem) auto 0;
}
.joinbp__field { display: flex; flex-direction: column; }
.joinbp__field input {
  text-align: left;
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.joinbp__field input::placeholder { color: rgba(255, 255, 255, 0.35); }
.joinbp__field input:focus {
  outline: none;
  border-color: var(--c-accent-on-dark);
  background: rgba(255, 255, 255, 0.08);
}
.joinbp__field input:user-invalid { border-color: var(--c-accent-2); }
.joinbp__submit { grid-column: 1 / -1; justify-self: center; margin-top: 1.5rem; }
.joinbp__submit .btn__label { font-family: var(--f-body); }
.joinbp__note {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--f-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}
.joinbp__done-title {
  margin: 0.75rem 0 0;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--c-white);
}
.joinbp__done-body {
  margin: 0.75rem auto 0;
  max-width: 40ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--c-body-dark);
}
@media (max-width: 860px) { .joinbp__form { grid-template-columns: 1fr; } }

.rbpsheet { position: fixed; inset: 0; z-index: 210; }
.rbpsheet[hidden] { display: none; }
.rbpsheet__overlay {
  position: absolute; inset: 0; background: rgba(24, 15, 20, 0.55);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.rbpsheet__panel {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -46%) scale(0.98);
  width: min(520px, 92vw); max-height: 92vh; overflow-y: auto;
  background: var(--c-light); color: var(--c-dark);
  border-radius: 18px; box-shadow: 0 30px 80px rgba(24, 15, 20, 0.45);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  opacity: 0; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.rbpsheet.is-open .rbpsheet__overlay { opacity: 1; }
.rbpsheet.is-open .rbpsheet__panel { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.rbpsheet__close {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2;
  width: 2.2rem; height: 2.2rem; display: inline-flex; align-items: center; justify-content: center;
  border: none; background: transparent; color: var(--c-medium); cursor: pointer; border-radius: 8px;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.rbpsheet__close:hover { color: var(--c-dark); background: rgba(37, 58, 75, 0.08); }
.rbpsheet__close svg { width: 20px; height: 20px; }
.rbpsheet__title {
  margin: 0.3rem 0 0; font-family: var(--f-body); font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.12; color: var(--c-dark);
}
.rbpsheet__lead { margin: 0.7rem 0 0; font-family: var(--f-body); font-size: 0.98rem; line-height: 1.6; color: var(--c-body); }
.rbpsheet__form { margin-top: clamp(1.25rem, 3vw, 1.75rem); display: flex; flex-direction: column; gap: 1.15rem; }
.rbpsheet__form[hidden] { display: none; }
.rbpsheet__field { display: flex; flex-direction: column; gap: 0.5rem; }
.rbpsheet__field label {
  font-family: var(--f-body); font-weight: 500; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--c-medium);
}
.rbpsheet__field input {
  width: 100%; appearance: none; -webkit-appearance: none;
  border: none; border-bottom: 1.5px solid var(--c-line); border-radius: 0;
  background: transparent; padding: 0.55rem 0;
  font-family: var(--f-body); font-size: 1rem; color: var(--c-dark);
  transition: border-color var(--dur) var(--ease);
}
.rbpsheet__field input::placeholder { color: rgba(24, 15, 20, 0.36); }
.rbpsheet__field input:focus { outline: none; border-bottom-color: var(--c-primary); }
.rbpsheet__field input:user-invalid { border-bottom-color: var(--c-accent-2); }
.rbpsheet__submit { align-self: start; margin-top: 0.4rem; }
.rbpsheet__submit .btn__label { font-family: var(--f-body); }
.rbpsheet__done[hidden] { display: none; }
.rbpsheet__done-title { margin: 0.3rem 0 0; font-family: var(--f-body); font-weight: 500; text-transform: none; font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--c-dark); }
.rbpsheet__done-body { margin: 0.7rem 0 0; font-family: var(--f-body); line-height: 1.6; color: var(--c-body); }

.nl {
  position: relative;
  z-index: 3;
  background: var(--c-dark);
  padding: var(--sec-pad) 0;
}
.nl__inner { max-width: 1120px; margin-inline: auto; }
.nl__pitch { text-align: center; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.nl__title { margin: 0.4rem 0 0; font-family: var(--f-body); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.1; color: var(--c-light); }
.nl__lead { margin: 1rem auto 0; max-width: 46ch; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; color: var(--c-body-dark); }

.nl__formwrap { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); }
.nl__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.nl__field { display: flex; flex-direction: column; }
.nl__field--full { grid-column: 1 / -1; }
.nl__label { font-family: var(--f-body); font-size: 0.8rem; color: var(--c-body-dark); margin-bottom: 0.35rem; }
.nl__input { background: transparent; border: none; border-bottom: 1px solid rgba(237,227,215,0.28); color: var(--c-light); font-family: var(--f-body); font-size: 1rem; padding: 0.5rem 0; transition: border-color var(--dur) var(--ease); }
.nl__input::placeholder { color: rgba(237,227,215,0.4); }
.nl__input:focus { outline: none; border-bottom-color: var(--c-primary); }
.nl__radio { grid-column: 1 / -1; border: none; margin: 0.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; }
.nl__radio legend { float: left; width: auto; padding: 0; margin: 0 0.5rem 0 0; font-family: var(--f-body); font-size: 0.8rem; color: var(--c-body-dark); }
.nl__radioopt { display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; color: var(--c-light); font-family: var(--f-body); font-size: 0.92rem; }
.nl__radioopt input { accent-color: var(--c-primary); }
.nl__submit { grid-column: 1 / -1; justify-self: end; margin-top: 0.5rem; }
.nl__fine { margin: 0.9rem 0 0; font-size: 0.72rem; color: var(--c-body-dark); text-align: right; }
.nl__done { padding: 0.5rem 0; }
.nl__done-title { margin: 0.3rem 0 0.5rem; font-family: var(--f-body); font-weight: 500; text-transform: none; font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--c-light); }
.nl__done-body { margin: 0; line-height: 1.6; color: var(--c-body-dark); }
@media (max-width: 860px) { .nl__inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .nl__form { grid-template-columns: 1fr; } }

/* Final native-phone RBP guard. */
@media (max-width: 767px), (max-width: 1020px) and (pointer: coarse) {
  #rbpzPaper.rbpz__paper { display: none !important; visibility: hidden !important; }
  .rbp .rbp__mobile-report { display: flex !important; flex-direction: column !important; align-items: center !important; width: calc(100vw - 40px) !important; max-width: 560px !important; margin: 0 auto clamp(2rem, 9vw, 3rem) !important; padding: 0 !important; overflow: visible !important; isolation: isolate; }
  .rbp .rbp__mobile-report-head { position: relative !important; z-index: 1; display: block !important; width: 100% !important; margin: 0 !important; line-height: 0; overflow: hidden; border-radius: 9px 9px 2px 2px; }
  .rbp .rbp__mobile-report-head-image { display: block !important; width: 100% !important; max-width: none !important; height: auto !important; margin: 0 !important; transform: none !important; }
  .rbp .rbp__mobile-report-body { position: relative !important; z-index: 2; display: block !important; width: 92% !important; max-width: none !important; height: auto !important; margin: -2.75% auto 0 !important; transform: none !important; border-radius: 2px 2px 9px 9px; }
  .rbp .rbp__mobile-report-turtle { position: absolute !important; top: 24% !important; right: 7% !important; z-index: 3; display: block !important; width: 20.6% !important; height: auto !important; margin: 0 !important; animation: none !important; transform: none !important; }
}
