/* Cursor trail overlay — never intercepts clicks / scroll */
#cursor-follower {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  overflow: hidden;
}

#cursor-follower svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  background: #0a0608;
  scroll-behavior: auto;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
}

html {
  scrollbar-gutter: stable;
}

/* Lenis — keep native scroll height, avoid fighting browser smooth-scroll */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ── Preloader ── */
html.fbs-loading,
html.fbs-loading body {
  overflow: hidden;
}

.fbs-preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(58, 22, 62, 0.55) 0%, rgba(10, 6, 8, 0) 70%),
    #07040a;
  opacity: 1;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.fbs-preloader.is-done {
  opacity: 0;
  pointer-events: none;
}

.fbs-preloader.is-hidden {
  display: none;
}

.fbs-preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(0) scale(1);
  transition:
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s ease;
}

.fbs-preloader.is-done .fbs-preloader-inner {
  transform: translateY(-10px) scale(1.04);
  opacity: 0;
}

.fbs-preloader-line {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  line-height: 1;
  color: #fff8ee;
  text-transform: uppercase;
  opacity: 0;
  animation: fbs-preloader-rise 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.fbs-preloader-line-a {
  margin-top: 40px;
  font-size: clamp(20px, 3.4vw, 30px);
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  animation-delay: 0.34s;
}

.fbs-preloader-line-b {
  margin-top: 8px;
  font-size: clamp(11px, 1.5vw, 14px);
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: rgba(255, 245, 235, 0.8);
  animation-delay: 0.48s;
}

/* luma-spin — dual rotating squares */
.fbs-loader {
  position: relative;
  display: block;
  width: 58px;
  aspect-ratio: 1;
  opacity: 0;
  animation: fbs-preloader-fade 0.9s ease 0.1s forwards;
}

.fbs-loader-box {
  position: absolute;
  border-radius: 50px;
  box-shadow: inset 0 0 0 3px rgba(255, 248, 238, 0.92);
  animation: fbs-loaderAnim 2.5s infinite;
}

.fbs-loader-box-delay {
  animation-delay: -1.25s;
  box-shadow: inset 0 0 0 3px rgba(240, 206, 160, 0.85);
}

@keyframes fbs-loaderAnim {
  0% { inset: 0 30px 30px 0; }
  12.5% { inset: 0 30px 0 0; }
  25% { inset: 30px 30px 0 0; }
  37.5% { inset: 30px 0 0 0; }
  50% { inset: 30px 0 0 30px; }
  62.5% { inset: 0 0 0 30px; }
  75% { inset: 0 0 30px 30px; }
  87.5% { inset: 0 0 30px 0; }
  100% { inset: 0 30px 30px 0; }
}

.fbs-preloader-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 248, 238, 0.08);
  overflow: hidden;
}

.fbs-preloader-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #8a4a2a 0%, #e0b87a 55%, #fff3dc 100%);
  box-shadow: 0 0 14px rgba(224, 184, 122, 0.6);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fbs-preloader-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fbs-preloader-fade {
  to {
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .fbs-preloader-line-a {
    margin-top: 32px;
    letter-spacing: 0.16em;
    text-indent: 0.16em;
  }

  .fbs-preloader-line-b {
    letter-spacing: 0.22em;
    text-indent: 0.22em;
  }

  .fbs-loader {
    width: 46px;
  }

  @keyframes fbs-loaderAnim {
    0% { inset: 0 25px 25px 0; }
    12.5% { inset: 0 25px 0 0; }
    25% { inset: 25px 25px 0 0; }
    37.5% { inset: 25px 0 0 0; }
    50% { inset: 25px 0 0 25px; }
    62.5% { inset: 0 0 0 25px; }
    75% { inset: 0 0 25px 25px; }
    87.5% { inset: 0 0 25px 0; }
    100% { inset: 0 25px 25px 0; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .fbs-preloader-line,
  .fbs-loader {
    animation-delay: 0s;
    animation-duration: 0.01s;
    opacity: 1;
  }

  .fbs-loader-box {
    animation-duration: 4s;
  }
}

@keyframes wonder-bobUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── Gold ticket banner ── */
.ticket-banner {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 17px 24px 21px;
  background: #000;
}

.ticket-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.ticket-banner-text {
  margin: 0;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(16px, 2.8vw, 28px);
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

/* Live status pip — signals "in progress", not "done" */
.ticket-banner-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e0b87a;
  box-shadow: 0 0 0 0 rgba(224, 184, 122, 0.6);
  animation: ticket-pulse 2.4s ease-out infinite;
}

@keyframes ticket-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(224, 184, 122, 0.55);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 9px rgba(224, 184, 122, 0);
    opacity: 0.75;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(224, 184, 122, 0);
    opacity: 1;
  }
}

.ticket-banner-sub {
  margin: 0;
  max-width: 60ch;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(11px, 1.4vw, 13px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
}

/* Perforated stub edge — reads as a ticket rather than a notification bar */
.ticket-banner-perf {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  pointer-events: none;
  background-image: radial-gradient(
    circle at 3.5px 3.5px,
    rgba(224, 184, 122, 0.42) 1.6px,
    transparent 2.2px
  );
  background-size: 15px 7px;
  background-repeat: repeat-x;
}

@media (prefers-reduced-motion: reduce) {
  .ticket-banner-dot {
    animation: none;
  }
}

@media (max-width: 767px) {
  .ticket-banner {
    min-height: 0;
    padding: 12px 12px 16px;
  }

  .ticket-banner-inner {
    gap: 5px;
    width: 100%;
    padding: 0 2px;
  }

  .ticket-banner-text {
    gap: 8px;
    font-size: 12.5px;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: nowrap;
    max-width: 100%;
  }

  .ticket-banner-dot {
    width: 6px;
    height: 6px;
  }

  .ticket-banner-sub {
    font-size: 10.5px;
    letter-spacing: 0.01em;
    line-height: 1.25;
    white-space: nowrap;
    max-width: none;
  }

  .ticket-banner-perf {
    height: 6px;
    background-size: 12px 6px;
    background-image: radial-gradient(
      circle at 3px 3px,
      rgba(224, 184, 122, 0.4) 1.4px,
      transparent 2px
    );
  }
}

/* ── Shared sky (fixed) — one continuous world behind portal + cards ── */
.fbs-shared-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #0a0608;
}

/* ── Outer scrollytelling container ── */
#wonder-experience {
  position: relative;
  z-index: 1;
  /* Longer runway — slower portal → cloudy → portfolio scroll */
  height: 280vh;
  width: 100%;
  background: transparent;
}

.wonder-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: transparent;
  /* Promote sticky stage to its own layer for steadier scroll transforms */
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ── Layers ── */
.wonder-world {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.wonder-world img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wonder-clouds {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.wonder-clouds img {
  width: 100%;
  height: auto;
  display: block;
}

.wonder-portal {
  position: absolute;
  /* Oversized so mouse-parallax never reveals the fixed sky at the edges */
  inset: -18%;
  z-index: 15;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.wonder-portal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Aperture sits near 52% / 38% — keep crop + zoom origin aligned */
  object-position: 52% 38%;
  display: block;
}

@media (max-width: 767px) {
  .wonder-portal {
    /*
      Tall phones crop sides harder with object-fit: cover.
      Extra horizontal bleed keeps the aperture optically centered
      without a JS translate bias that breaks across aspect ratios.
    */
    inset: -22% -42% -22% -42%;
  }

  .wonder-portal img {
    object-position: 52% 38%;
  }

  .fbs-shared-sky .wonder-world img {
    object-position: 52% 42%;
  }

  .wonder-curtain-left img {
    object-position: 85% center;
  }

  .wonder-curtain-right img {
    object-position: 15% center;
  }
}

.wonder-curtain {
  position: absolute;
  inset: -18%;
  z-index: 16;
  will-change: transform;
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.wonder-curtain img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wonder-curtain-left img {
  object-position: right center;
}

.wonder-curtain-right img {
  object-position: left center;
}

/* ── Scene 1 ── */
.wonder-scene1 {
  position: absolute;
  inset: 0;
  z-index: 20;
  /* Opacity driven by rAF — no CSS transition (avoids fighting the lerp) */
  opacity: 1;
  will-change: opacity;
}

.wonder-scene2 {
  opacity: 0;
  will-change: opacity;
}

/* Entrance helpers */
.wonder-enter {
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.wonder-enter[data-enter="heading"] {
  transform: translateY(24px);
  transition-delay: 0.3s;
}

.wonder-s1-desktop .wonder-s1-heading.wonder-enter {
  transform: translateY(calc(-50% + 24px));
}

.wonder-s1-desktop .wonder-s1-cards.wonder-enter {
  transform: translateY(calc(-50% + 32px));
  transition-delay: 0.55s;
}

.wonder-enter[data-enter="dots"] {
  transition: opacity 0.9s ease;
  transition-delay: 0.8s;
}

.wonder-enter[data-enter="cue"] {
  transform: translateX(-50%) translateY(20px);
  transition-delay: 0.9s;
}

.wonder-visible .wonder-enter[data-enter="heading"],
.wonder-visible .wonder-s1-tablet.wonder-enter,
.wonder-visible .wonder-s1-mobile.wonder-enter {
  opacity: 1;
  transform: translateY(0);
}

.wonder-visible .wonder-s1-desktop .wonder-s1-heading.wonder-enter {
  opacity: 1;
  transform: translateY(-50%);
}

.wonder-visible .wonder-s1-desktop .wonder-s1-cards.wonder-enter {
  opacity: 1;
  transform: translateY(-50%);
}

.wonder-visible .wonder-enter[data-enter="dots"] {
  opacity: 1;
}

.wonder-visible .wonder-enter[data-enter="cue"] {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Desktop scene 1 — xl+ */
.wonder-s1-desktop {
  display: none;
}

@media (min-width: 1280px) {
  .wonder-s1-desktop {
    display: block;
  }
}

.wonder-s1-heading {
  position: absolute;
  top: 46%;
  left: 60px;
  max-width: 440px;
}

.wonder-s1-heading h1 {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.9);
}

.wonder-s1-heading .wonder-subhead {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(17px, 1.85vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: rgba(255,245,235,0.95);
  margin: 16px 0 0;
  max-width: 420px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.85);
}

.wonder-s1-heading .wonder-body {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,245,235,0.88);
  margin: 16px 0 0;
  max-width: 400px;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.95),
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 2px 10px rgba(0, 0, 0, 0.85),
    0 4px 22px rgba(0, 0, 0, 0.75),
    0 0 28px rgba(0, 0, 0, 0.55);
}

.wonder-s1-cards {
  position: absolute;
  right: 40px;
  top: 50%;
  display: grid;
  grid-template-columns: repeat(2, 260px);
  gap: 12px;
  align-items: center;
}

/* Hero landscape video cards (desktop / tablet / mobile) */
.wonder-hero-video-card {
  position: relative;
  flex-shrink: 0;
  width: 260px;
  height: 146px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.wonder-hero-video-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

/* Shared card styles (legacy helpers) */
.wonder-card {
  position: relative;
  border: none;
  padding: 0;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  width: 158px;
  height: 158px;
  flex-shrink: 0;
}

.wonder-card-grad {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 60%, transparent 100%);
  pointer-events: none;
}

.wonder-card-grad-simple {
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
}

.wonder-card-blur {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  mask-image: linear-gradient(to top, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 40%, transparent 100%);
  pointer-events: none;
}

.wonder-card-content {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.wonder-card-content-col {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.wonder-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  flex-shrink: 0;
}

.wonder-card-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  color: #fff;
  line-height: 1.3;
  text-align: left;
}

.wonder-card-label-soft {
  color: rgba(255,255,255,0.9);
}

.wonder-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* Tablet scene 1 */
.wonder-s1-tablet {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 80px 32px 96px;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) and (max-width: 1279px) {
  .wonder-s1-tablet {
    display: flex;
  }
}

.wonder-s1-tablet h1 {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 4.2vw, 40px);
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  color: #3b1a0a;
  max-width: 560px;
}

.wonder-s1-tablet .wonder-subhead {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 3.2vw, 28px);
  max-width: 520px;
  color: #3b1a0a;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.wonder-s1-tablet .wonder-body {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  max-width: 480px;
  color: #5c2d0e;
  margin: 0;
  line-height: 1.6;
}

.wonder-s1-cards-tablet {
  display: grid;
  grid-template-columns: repeat(2, 230px);
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.wonder-s1-tablet .wonder-hero-video-card {
  width: 230px;
  height: 130px;
  border-radius: 22px;
}

.wonder-s1-tablet .wonder-play-btn {
  width: 26px;
  height: 26px;
}

.wonder-s1-tablet .wonder-card-label {
  font-size: 14px;
}

.wonder-s1-tablet .wonder-card-num {
  font-size: 28px;
}

/* Mobile scene 1 */
.wonder-s1-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 72px 16px 96px;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .wonder-s1-mobile {
    display: flex;
    padding-top: 14px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 200px;
    justify-content: flex-start;
    gap: 0;
  }

  .wonder-s1-mobile-copy {
    padding: 4px 8px 2px;
    width: min(100%, 360px);
  }

  .wonder-s1-mobile h1 {
    font-size: clamp(14px, 3.8vw, 17px);
    max-width: 260px;
    line-height: 1.2;
    letter-spacing: 0.06em;
    color: #1f0c04;
  }

  .wonder-s1-mobile .wonder-subhead {
    /* 32ch ≈ longer line; wraps after "Website" into 2 lines (no <br>) */
    font-size: 17.5px;
    margin-top: 8px;
    max-width: 32ch;
    width: 100%;
    line-height: 1.22;
    letter-spacing: -0.02em;
    font-weight: 600;
    color: #1f0c04;
  }

  .wonder-s1-mobile .wonder-body {
    font-size: 12px;
    line-height: 1.45;
    margin-top: 6px;
    max-width: 300px;
    color: #3a1a0c;
  }

  .wonder-s1-cards-mobile {
    margin-top: 0;
    gap: 7px;
    max-width: 260px;
    transform: translateY(-22px);
  }

  .wonder-s1-mobile .wonder-hero-video-card {
    height: 62px;
    border-radius: 12px;
  }
}

/* Frosted panel — keeps copy readable over busy portal art */
.wonder-s1-mobile-copy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 18px 16px 16px;
  border-radius: 0;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.012) 0%,
    rgba(255, 248, 238, 0.006) 45%,
    rgba(255, 255, 255, 0.003) 100%
  );
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    0 6px 20px rgba(20, 8, 0, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.wonder-s1-mobile-copy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.012) 0%,
    rgba(255, 255, 255, 0) 50%
  );
  pointer-events: none;
  z-index: 0;
}

.wonder-s1-mobile-copy > * {
  position: relative;
  z-index: 1;
}

.wonder-s1-mobile h1 {
  margin: 0 auto;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(22px, 5.8vw, 30px);
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  color: #1f0c04;
  max-width: 340px;
  text-align: center;
}

.wonder-s1-mobile .wonder-subhead {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 6vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 340px;
  color: #1f0c04;
  margin: 12px auto 0;
  text-align: center;
  font-weight: 600;
}

.wonder-s1-mobile .wonder-body {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  max-width: 300px;
  color: #3a1a0c;
  margin: 10px auto 0;
  text-align: center;
}

.wonder-s1-cards-mobile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 360px;
  margin: 18px auto 0;
}

.wonder-s1-mobile .wonder-hero-video-card {
  width: 100%;
  max-width: none;
  height: 96px;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Dots — desktop/tablet only (scroll cue replaces them on mobile) */
.wonder-dots {
  position: absolute;
  bottom: 40px;
  left: 60px;
  display: flex;
  gap: 7px;
  align-items: center;
}

@media (max-width: 767px) {
  .wonder-dots {
    display: none;
  }
}

.wonder-dot {
  display: block;
  height: 4px;
  width: 14px;
  border-radius: 2px;
  background: rgba(255,255,255,0.35);
}

.wonder-dot-active {
  width: 28px;
  background: rgba(255,255,255,0.9);
}

/* Scroll cue — all breakpoints */
.wonder-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 22;
  pointer-events: none;
}

.wonder-scroll-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(255,255,255,0.7);
  text-align: center;
  max-width: 220px;
  line-height: 1.35;
}

.wonder-scroll-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  animation: wonder-bobUp 1.8s ease-in-out infinite;
}

@media (max-width: 1279px) {
  .wonder-scroll-cue {
    bottom: 96px;
  }

  .wonder-scroll-label {
    font-size: 9px;
    letter-spacing: 0.06em;
    max-width: 200px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  }

  .wonder-scroll-chevron {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 767px) {
  /* Must clear the fixed CTA stack (tall with wrapping title) */
  .wonder-scroll-cue {
    bottom: 178px;
    gap: 6px;
  }

  .wonder-scroll-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    max-width: 260px;
    line-height: 1.35;
    color: #fff;
    background: rgba(8, 4, 12, 0.45);
    padding: 6px 10px;
    border-radius: 8px;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 1),
      0 2px 8px rgba(0, 0, 0, 0.9),
      0 0 18px rgba(0, 0, 0, 0.75);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  }

  .wonder-scroll-chevron {
    width: 26px;
    height: 26px;
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(8, 4, 12, 0.4);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  }
}

/* ── Floating CTAs (kept, lighter footprint) ── */
.wonder-float-ctas {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: min(280px, calc(100vw - 40px));
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.wonder-offer-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  text-decoration: none;
  text-align: center;
  border-radius: 14px;
  background: linear-gradient(
    160deg,
    #fff1d8 0%,
    #f3e0c4 22%,
    #e0b87a 55%,
    #c9924e 82%,
    #a66f2f 100%
  );
  border: 1px solid rgba(92, 45, 14, 0.28);
  box-shadow:
    0 10px 36px rgba(80, 40, 10, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(92, 45, 14, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, background 0.25s ease;
}

.wonder-offer-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  background: linear-gradient(
    160deg,
    #fff6e6 0%,
    #f7e6cc 22%,
    #e8c48a 55%,
    #d09d55 82%,
    #b57a36 100%
  );
  box-shadow:
    0 14px 40px rgba(80, 40, 10, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(92, 45, 14, 0.1);
}

.wonder-offer-btn-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: #3b1a0a;
  text-align: center;
  width: 100%;
}

.wonder-offer-btn-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: #6b2e0e;
  text-align: center;
  width: 100%;
}

.wonder-ticket-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: #f7e7d2;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(
    160deg,
    #7a3a16 0%,
    #5c2d0e 38%,
    #3b1a0a 72%,
    #2a1207 100%
  );
  border: 1px solid rgba(224, 184, 122, 0.45);
  border-radius: 999px;
  box-shadow:
    0 8px 28px rgba(40, 16, 6, 0.4),
    inset 0 1px 0 rgba(255, 220, 180, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.wonder-ticket-btn:hover {
  background: linear-gradient(
    160deg,
    #8b4519 0%,
    #6b2e0e 38%,
    #46200c 72%,
    #34180a 100%
  );
  border-color: rgba(243, 224, 196, 0.65);
  color: #fff8ee;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .wonder-float-ctas {
    bottom: 10px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(310px, calc(100vw - 24px));
    gap: 6px;
    align-items: stretch;
  }

  .wonder-offer-btn {
    padding: 11px 12px;
    border-radius: 12px;
    gap: 2px;
    width: 100%;
  }

  .wonder-offer-btn-title {
    font-size: 13px;
    line-height: 1.2;
    white-space: normal;
  }

  .wonder-offer-btn-sub {
    font-size: 9.5px;
    letter-spacing: 0.05em;
  }

  .wonder-ticket-btn {
    padding: 9px 12px;
    font-size: 10.5px;
    border-radius: 999px;
    width: 100%;
    white-space: nowrap;
  }
}

/* ── Scene 2 ── */
.wonder-scene2 {
  position: absolute;
  inset: 0;
  z-index: 46;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.wonder-s2-header {
  margin-top: 0;
  text-align: center;
  padding: 0 20px;
}

.wonder-s2-header h2 {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(38px, 6.5vw, 78px);
  color: #ffffff;
  letter-spacing: 0.03em;
  line-height: 1.05;
}

@media (max-width: 767px) {
  .wonder-s2-header h2 {
    font-size: clamp(28px, 8vw, 44px);
  }
}

.wonder-s2-header p {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  margin: 12px auto 0;
  max-width: 480px;
  color: #fff8ee;
  text-align: center;
  text-shadow:
    0 1px 2px rgba(40, 18, 70, 0.45),
    0 2px 10px rgba(40, 18, 70, 0.28),
    0 0 18px rgba(50, 20, 80, 0.18);
}

.wonder-s2-header .wonder-scroll-work {
  margin: 28px auto 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-transform: none;
  color: #ffe8c8;
  max-width: 420px;
  animation: wonder-bobUp 1.8s ease-in-out infinite;
  text-shadow:
    0 1px 2px rgba(40, 18, 70, 0.9),
    0 2px 14px rgba(40, 18, 70, 0.7),
    0 0 24px rgba(50, 20, 80, 0.5);
}

@media (max-width: 767px) {
  .wonder-s2-header p {
    font-size: 14px;
    max-width: 260px;
    color: #fffaf3;
    text-shadow:
      0 1px 2px rgba(35, 14, 60, 0.5),
      0 2px 8px rgba(35, 14, 60, 0.32),
      0 0 16px rgba(45, 18, 75, 0.2);
  }

  .wonder-s2-header .wonder-scroll-work {
    color: #ffedd4;
    text-shadow:
      0 1px 2px rgba(35, 14, 60, 0.95),
      0 2px 12px rgba(35, 14, 60, 0.8),
      0 0 20px rgba(45, 18, 75, 0.55);
  }
}

/* ── Conventional page (post-immersive) ── */
.fbs-page {
  position: relative;
  z-index: 2;
  background: transparent;
  color: rgba(255, 245, 235, 0.9);
}

.fbs-section {
  max-width: 920px;
  margin: 0 auto;
  padding: 96px 32px;
}

/* Portfolio / 2028 looks — transparent; shared sky shows through */
.fbs-portfolio {
  position: relative;
  max-width: none;
  padding: 0;
  overflow: visible;
  background: transparent;
  min-height: 100vh;
  /* Pull portfolio up into the end of the sticky portal beat */
  margin-top: -12vh;
}

.fbs-portfolio-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 48px 32px 40px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 1.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.fbs-portfolio-inner.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.fbs-portfolio h2 {
  max-width: 18ch;
}

.fbs-portfolio h2.fbs-gradient-text {
  max-width: 22ch;
}

/* Soft sky-matched palette for portfolio intro over lavender clouds */
.fbs-portfolio .fbs-eyebrow {
  color: #6b3f8f;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(255, 245, 255, 0.8);
}

.fbs-portfolio .fbs-lead {
  color: #4a2f66;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.95),
    0 1px 3px rgba(255, 240, 255, 0.85);
}

.fbs-gradient-text {
  /* Brand sweep — royal plum → berry → warm bronze, pulled from the cave crystals + gold CTAs */
  background-image: linear-gradient(
    110deg,
    #331a5c 0%,
    #5b2478 22%,
    #8a2f6d 45%,
    #a8562e 68%,
    #6b2452 85%,
    #3a1a52 100%
  );
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: fbs-gradient-move 7s ease-in-out infinite;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.45)) drop-shadow(0 2px 12px rgba(255, 240, 255, 0.35));
}

.fbs-reaction {
  margin: 10px 0 0;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.15;
  letter-spacing: 0.04em;
}

@keyframes fbs-gradient-move {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fbs-gradient-text {
    animation: none;
    background-position: 40% 50%;
  }
}

.fbs-portfolio-grid {
  margin-top: 56px;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.fbs-look-row {
  display: grid;
  grid-template-columns: repeat(2, 620px);
  column-gap: 28px;
  width: max-content;
  max-width: 100%;
  opacity: 0;
  transform: translate3d(0, 72px, 0);
  transition:
    opacity 1.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fbs-look-row.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.fbs-look-row.is-inview .fbs-look-card:nth-child(1) {
  transition-delay: 0.12s;
}

.fbs-look-row.is-inview .fbs-look-card:nth-child(2) {
  transition-delay: 0.32s;
}

.fbs-look-row .fbs-look-card {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity 1.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.8s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.55s ease,
    box-shadow 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease;
}

.fbs-look-row.is-inview .fbs-look-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Liquid hover — only after row has revealed */
.fbs-look-row.is-inview .fbs-look-card:hover {
  transform: translate3d(0, -10px, 0) scale(1.03);
  border-radius: 28px;
  border-color: rgba(255, 255, 255, 0.72);
  filter: saturate(1.12);
  box-shadow:
    0 22px 50px rgba(20, 8, 30, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(255, 255, 255, 0.14);
  transition:
    transform 0.85s cubic-bezier(0.34, 1.4, 0.64, 1),
    border-radius 0.85s cubic-bezier(0.34, 1.3, 0.64, 1),
    border-color 0.45s ease,
    box-shadow 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease;
}

@media (prefers-reduced-motion: reduce) {
  .fbs-look-row,
  .fbs-look-row .fbs-look-card {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .fbs-look-row.is-inview .fbs-look-card:hover {
    transform: none;
    filter: none;
  }
}

.fbs-look-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0;
  padding: 0;
  width: 620px;
  height: 360px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  content-visibility: auto;
  contain-intrinsic-size: 620px 360px;
  box-sizing: border-box;
  cursor: pointer;
}

@supports (backdrop-filter: blur(1px)) {
  .fbs-look-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
  }
}

.fbs-look-media-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1;
  overflow: hidden;
  border-radius: inherit;
}

.fbs-look-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
  pointer-events: none;
  transform: scale(1);
  opacity: 0;
  transition:
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease;
  background: rgba(20, 10, 16, 0.35);
}

.fbs-look-media.is-ready,
img.fbs-look-media {
  opacity: 1;
}

.fbs-look-row.is-inview .fbs-look-card:hover .fbs-look-media {
  transform: scale(1.1);
}

.fbs-look-media-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.02) 45%,
    rgba(0, 0, 0, 0.1) 100%
  );
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.7s ease;
}

/* Liquid blob / sheen */
.fbs-look-card::after {
  content: '';
  position: absolute;
  left: 18%;
  top: 12%;
  width: 58%;
  height: 42%;
  border-radius: 60% 40% 55% 45% / 45% 50% 50% 55%;
  background:
    radial-gradient(
      circle at 35% 35%,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 220, 255, 0.18) 35%,
      rgba(255, 255, 255, 0) 70%
    );
  filter: blur(18px);
  opacity: 0;
  transform: translate3d(-12%, -8%, 0) scale(0.75);
  pointer-events: none;
  z-index: 2;
  transition:
    opacity 0.7s ease,
    transform 1s cubic-bezier(0.34, 1.4, 0.64, 1),
    border-radius 1.1s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.fbs-look-row.is-inview .fbs-look-card:hover::after {
  opacity: 0.85;
  border-radius: 45% 55% 40% 60% / 55% 40% 60% 45%;
  transform: translate3d(18%, 22%, 0) scale(1.25);
}

.fbs-look-row.is-inview .fbs-look-card:hover .fbs-look-media-wrap::after {
  opacity: 0.65;
}

@media (max-width: 1360px) {
  .fbs-portfolio-inner {
    max-width: 100%;
  }

  .fbs-portfolio-grid {
    width: 100%;
    gap: 28px;
  }

  .fbs-look-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    column-gap: 20px;
  }

  .fbs-look-card {
    width: 100%;
    height: auto;
  }

  .fbs-look-media-wrap {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* ── Closing shift pitch (after video cards) ── */
.fbs-shift {
  position: relative;
  margin: 220px auto 180px;
  max-width: 1080px;
  padding: 76px 72px 84px;
}

/* Light glass slab — sky reads through, content stays crisp */
.fbs-shift-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: 34px;
  background: linear-gradient(
    162deg,
    rgba(255, 255, 255, 0.74) 0%,
    rgba(253, 246, 255, 0.6) 42%,
    rgba(255, 244, 248, 0.68) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 34px 90px rgba(58, 28, 90, 0.22),
    0 2px 10px rgba(58, 28, 90, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
}

.fbs-shift > *:not(.fbs-shift-veil) {
  position: relative;
  z-index: 1;
}

/* Asymmetric editorial header */
.fbs-shift-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  column-gap: 64px;
  align-items: start;
}

.fbs-shift-kicker {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(107, 63, 143, 0.9);
}

.fbs-shift-kicker-mark {
  color: #b4593f;
}

.fbs-shift-title {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(34px, 5.4vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.015em;
  background-image: linear-gradient(
    110deg,
    #331a5c 0%,
    #5b2478 22%,
    #8a2f6d 45%,
    #a8562e 68%,
    #6b2452 85%,
    #3a1a52 100%
  );
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: fbs-gradient-move 7s ease-in-out infinite;
  text-wrap: balance;
}

.fbs-shift-title em {
  display: block;
  font-style: italic;
}

.fbs-shift-note {
  padding-top: 12px;
}

.fbs-shift-note-rule {
  display: block;
  width: 56px;
  height: 1px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, rgba(138, 63, 109, 0.85) 0%, rgba(107, 63, 143, 0.1) 100%);
}

.fbs-shift-body {
  margin: 0 0 16px;
  max-width: 40ch;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.72;
  color: rgba(58, 38, 78, 0.86);
}

.fbs-shift-body:last-child {
  margin-bottom: 0;
}

/* Numbered index — reads like a codex, not a feature grid */
.fbs-shift-index {
  margin-top: 76px;
}

.fbs-shift-index-label {
  margin: 0 0 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(107, 63, 143, 0.7);
}

.fbs-shift-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fbs-shift-list li {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 4px 20px;
  border-bottom: 1px solid rgba(74, 47, 102, 0.16);
  transition: border-color 0.5s ease;
}

.fbs-shift-list li:first-child {
  border-top: 1px solid rgba(74, 47, 102, 0.16);
}

.fbs-shift-num {
  flex-shrink: 0;
  width: 2.5ch;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(138, 63, 109, 0.7);
  transition: color 0.4s ease;
}

.fbs-shift-item {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: #2b1640;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), color 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .fbs-shift-list li:hover {
    border-color: rgba(138, 63, 109, 0.5);
  }

  .fbs-shift-list li:hover .fbs-shift-num {
    color: #8a3f6d;
  }

  .fbs-shift-list li:hover .fbs-shift-item {
    transform: translateX(10px);
    color: #6b2f57;
  }
}

/* Outro — the emotional beat gets full width and air */
.fbs-shift-outro {
  margin-top: 84px;
  max-width: 680px;
}

.fbs-shift-close {
  margin: 0;
  max-width: 34ch;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  color: rgba(58, 38, 78, 0.78);
}

.fbs-shift-close-em {
  margin: 14px 0 0;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 20ch;
  color: #2b1640;
}

.fbs-shift-close-em::after {
  content: '';
  display: block;
  width: 92px;
  height: 1px;
  margin-top: 26px;
  background: linear-gradient(90deg, rgba(138, 63, 109, 0.75) 0%, rgba(107, 63, 143, 0.08) 100%);
}

.fbs-shift-actions {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}

.fbs-shift-offer {
  width: auto;
  min-width: 320px;
}

.fbs-shift-ticket {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(74, 47, 102, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(74, 47, 102, 0.28);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.fbs-shift-ticket-arrow {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.fbs-shift-ticket:hover {
  color: #2b1640;
  border-color: rgba(43, 22, 64, 0.7);
}

.fbs-shift-ticket:hover .fbs-shift-ticket-arrow {
  transform: translateX(6px);
}

@media (max-width: 1024px) {
  .fbs-shift {
    padding: 56px 44px 62px;
  }

  .fbs-shift-top {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 34px;
  }

  .fbs-shift-note {
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .fbs-shift {
    margin: 120px auto 150px;
    padding: 40px 22px 46px;
  }

  .fbs-shift-veil {
    border-radius: 24px;
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
  }

  .fbs-shift-kicker {
    margin-bottom: 14px;
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .fbs-shift-index {
    margin-top: 48px;
  }

  .fbs-shift-list li {
    gap: 16px;
    padding: 16px 2px 15px;
  }

  .fbs-shift-num {
    font-size: 10px;
  }

  .fbs-shift-outro {
    margin-top: 52px;
    max-width: none;
  }

  .fbs-shift-actions {
    margin-top: 40px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .fbs-shift-offer {
    min-width: 0;
    width: 100%;
  }

  .fbs-shift-ticket {
    align-self: flex-start;
  }

  .fbs-portfolio-inner {
    padding: 28px 16px 24px;
  }

  .fbs-portfolio {
    margin-top: -8vh;
  }

  .fbs-portfolio-grid {
    gap: 18px;
    width: 100%;
  }

  .fbs-look-row {
    grid-template-columns: 1fr;
    width: 100%;
    column-gap: 0;
    row-gap: 18px;
  }

  .fbs-look-card {
    width: 100%;
    height: auto;
  }

  .fbs-look-media-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

.fbs-eyebrow {
  margin: 0 0 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(224, 184, 122, 0.9);
}

.fbs-section h2 {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #fff8ee;
  max-width: 16ch;
}

.fbs-lead {
  margin: 22px 0 0;
  max-width: 54ch;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 245, 235, 0.78);
}

.fbs-lead strong {
  color: #f3e0c4;
  font-weight: normal;
}

.fbs-list {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.fbs-list h3,
.fbs-steps h3 {
  margin: 0 0 8px;
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  line-height: 1.2;
  color: #f3e0c4;
}

.fbs-list p,
.fbs-steps p {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 245, 235, 0.72);
}

.fbs-process {
  border-top: 1px solid rgba(224, 184, 122, 0.18);
  border-bottom: 1px solid rgba(224, 184, 122, 0.18);
}

.fbs-steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.fbs-steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.fbs-step-num {
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(224, 184, 122, 0.85);
  padding-top: 6px;
}

.fbs-final {
  text-align: center;
  padding-bottom: 140px;
}

.fbs-final h2,
.fbs-final .fbs-lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 22ch;
}

.fbs-final .fbs-lead {
  max-width: 46ch;
}

.fbs-final-actions {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .fbs-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* included/process sit on the dark page surface */
.fbs-included,
.fbs-process,
.fbs-final {
  position: relative;
}

@media (max-width: 767px) {
  .fbs-section {
    padding: 72px 24px;
  }

  .fbs-final {
    padding-bottom: 120px;
  }

  .fbs-lead {
    font-size: 16px;
  }
}
