
.logo-intro {
  --logo-h: min(24vw, 156px);
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  background: var(--color-steel);
  pointer-events: none;
  place-items: center;
  will-change: transform;
  animation: logo-intro-rise 0.9s 2.85s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.intro-playing {
  overflow: hidden;
}

.intro-playing:not(.intro-ready) .logo-intro,
.intro-playing:not(.intro-ready) .logo-intro *,
.intro-playing:not(.intro-ready) .stage {
  animation-play-state: paused !important;
}

.intro-playing .stage {
  position: relative;
  z-index: 1001;
  transform: translateY(100vh);
  will-change: transform;
  animation: logo-stage-rise 0.9s 2.85s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.intro-playing .hero,
.intro-playing .hero *,
.intro-playing .hero::before,
.intro-playing .hero::after,
.intro-playing .hero *::before,
.intro-playing .hero *::after {
  animation-play-state: paused !important;
}

.logo-intro-lockup {
  display: grid;
  place-items: center;
  animation: logo-lockup-settle 0.7s 1.55s var(--ease-out) both;
}

.logo-intro-byto {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.logo-intro-tail {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: calc(var(--logo-h) * 0.045);
}

.logo-intro-to {
  display: flex;
  align-items: flex-start;
}

.logo-part {
  display: block;
  width: auto;
  flex: none;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform, opacity, filter;
}

.logo-part-b {
  height: var(--logo-h);
  margin-right: calc(var(--logo-h) * 0.06);
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(-42px, 0, 0) scale(0.88);
  animation: logo-part-from-left 0.78s 0.12s var(--ease-out) forwards;
}

.logo-part-y {
  height: var(--logo-h);
  margin-right: calc(var(--logo-h) * -0.08);
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, -36px, 0) scale(0.9);
  animation: logo-part-from-top 0.72s 0.34s var(--ease-out) forwards;
}

.logo-part-t {
  height: calc(var(--logo-h) * 0.695);
  margin-right: calc(var(--logo-h) * -0.01);
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 28px, 0) rotate(-8deg) scale(0.9);
  animation: logo-part-from-tilt 0.72s 0.52s var(--ease-out) forwards;
}

.logo-part-o {
  height: calc(var(--logo-h) * 0.682);
  opacity: 0;
  filter: blur(8px);
  transform: scale(0.55);
  animation: logo-part-pop 0.7s 0.7s var(--ease-out) forwards;
}

.logo-part-tech {
  height: calc(var(--logo-h) * 0.313);
  margin-right: calc(var(--logo-h) * 0.02);
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(0, 22px, 0) scale(0.94);
  animation: logo-part-from-bottom 0.68s 0.96s var(--ease-out) forwards;
}

@keyframes logo-part-from-left {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(-42px, 0, 0) scale(0.88);
  }
  68% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(5px, 0, 0) scale(1.03);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes logo-part-from-top {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(0, -36px, 0) scale(0.9);
  }
  68% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 4px, 0) scale(1.03);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes logo-part-from-tilt {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(0, 28px, 0) rotate(-8deg) scale(0.9);
  }
  70% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, -3px, 0) rotate(1.5deg) scale(1.03);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

@keyframes logo-part-pop {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: scale(0.55);
  }
  68% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@keyframes logo-part-from-bottom {
  0% {
    opacity: 0;
    filter: blur(6px);
    transform: translate3d(0, 22px, 0) scale(0.94);
  }
  70% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, -3px, 0) scale(1.02);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes logo-lockup-settle {
  0% { transform: scale(1); }
  45% { transform: scale(1.025); }
  100% { transform: scale(1); }
}

@keyframes logo-intro-rise {
  to { transform: translateY(-100vh); }
}

@keyframes logo-stage-rise {
  to { transform: translateY(0); }
}

a {
  color: inherit;
  text-decoration: none;
}

.stage {
  display: flex;
  flex-direction: column;
  gap: clamp(100px, 12vw, 190px);
  align-items: center;
  min-height: 100svh;
  padding: 0 clamp(14px, 3.4vw, 52px) 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  width: 100vw;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(205, 170, 128, 0.14), transparent 31%),
    radial-gradient(circle at 12% 82%, rgba(205, 170, 128, 0.10), transparent 26%),
    linear-gradient(128deg, #0f1e3f 0%, #162744 53%, #0c1833 100%);
  box-shadow: 0 34px 85px rgba(0, 0, 0, 0.36);
  opacity: 0;
  transform: scale(0.94);
  transform-origin: 50% 50%;
  animation: page-in 1.05s 0.05s var(--ease-out) forwards;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: #0f1e3f;
  content: "";
  pointer-events: none;
  animation: veil-away 0.9s 0.08s var(--ease-out) forwards;
}

.nav {
  position: absolute;
  top: 6.8%;
  right: 5.4%;
  left: 5.3%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
}

.brand,
.waitlist {
  opacity: 0;
  transform: translateY(-12px);
  animation: nav-in 0.8s 0.35s var(--ease-out) forwards;
}

.brand {
  display: flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 28px;
}

.waitlist {
  padding: 8px 12px;
  font-size: 10px;
  letter-spacing: -0.02em;
}

.waitlist::after {
  display: block;
  width: 0;
  height: 1px;
  margin-top: 3px;
  background: currentColor;
  content: "";
  transition: width 0.35s var(--ease-out);
}

.waitlist:hover::after {
  width: 100%;
}

.ambient {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0;
  animation: ambient-in 1.4s 0.9s ease forwards;
}

.ambient-one {
  top: 5%;
  left: 35%;
  width: 32%;
  height: 24%;
  background: rgba(205, 170, 128, 0.16);
}

.ambient-two {
  right: -9%;
  bottom: -5%;
  width: 34%;
  height: 28%;
  background: rgba(205, 170, 128, 0.12);
}

.circuit-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.27;
  background-image:
    linear-gradient(rgba(205, 170, 128, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205, 170, 128, 0.08) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 62% 44%, black, transparent 72%);
}

.circuit-grid::before,
.circuit-grid::after {
  position: absolute;
  border: solid rgba(205, 170, 128, 0.28);
  border-width: 1px 1px 0 0;
  content: "";
}

.circuit-grid::before {
  top: 18%;
  right: 4%;
  width: 41%;
  height: 35%;
  box-shadow:
    74px 74px 0 -73px rgba(205, 170, 128, 0.3),
    -148px 148px 0 -147px rgba(205, 170, 128, 0.28);
}

.circuit-grid::after {
  bottom: 11%;
  left: 8%;
  width: 27%;
  height: 21%;
  transform: rotate(180deg);
}

.outline-card {
  position: absolute;
  top: 11%;
  right: 2.3%;
  width: 17%;
  aspect-ratio: 1.58;
  border: 1px solid rgba(205, 170, 128, 0.08);
  border-radius: 13px;
  transform: rotate(90deg);
}

.outline-card::before,
.outline-card::after {
  position: absolute;
  top: 28%;
  right: -30%;
  width: 65%;
  border-top: 1px solid rgba(205, 170, 128, 0.08);
  content: "";
}

.outline-card::after {
  top: 68%;
  right: -42%;
  width: 90%;
}

.speed-lines {
  position: absolute;
  top: 14%;
  right: -2%;
  width: 12%;
  opacity: 0.16;
  transform: rotate(15deg);
}

.speed-lines i {
  display: block;
  width: 100%;
  margin: 15px 0;
  border-top: 1px solid rgba(205, 170, 128, 0.30);
}

.speed-lines i:nth-child(2) {
  width: 70%;
  margin-left: 30%;
}

.speed-lines i:nth-child(3) {
  width: 85%;
  margin-left: 15%;
}

.speed-lines i:nth-child(4) {
  width: 55%;
  margin-left: 45%;
}

.card-scene {
  position: absolute;
  z-index: 7;
  top: 4.8%;
  left: 23%;
  width: 64%;
  height: 57%;
  filter: drop-shadow(0 24px 22px rgba(15, 30, 63, 0.18));
  pointer-events: none;
}

.wallet-card {
  position: absolute;
  width: 47%;
  aspect-ratio: 1.64;
  overflow: hidden;
  border-radius: clamp(12px, 1.45vw, 25px);
  box-shadow:
    0 23px 32px rgba(15, 30, 63, 0.14),
    0 3px 8px rgba(15, 30, 63, 0.10);
  opacity: 0;
  transform: translate3d(55vw, -28vh, 0) rotate(24deg) scale(0.78);
  will-change: transform, filter, opacity;
}

.card-back {
  z-index: 5;
  top: -2%;
  left: 2%;
  color: #0f1e3f;
  background:
    linear-gradient(123deg, transparent 0 69%, rgba(153, 121, 83, 0.85) 69% 72%, transparent 72%),
    linear-gradient(150deg, #f5f0e8 0 37%, #d8b892 37% 45%, #997953 45% 51%, #213a56 51% 56%, #ffffff 56%);
  transform-origin: 40% 50%;
  animation: card-back-in 1.35s 0.28s var(--ease-out) forwards;
}

.back-grid {
  position: absolute;
  inset: 15% 38% 31% 2%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.52) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.52) 2px, transparent 2px);
  background-size: 26% 34%;
  transform: skewY(-1deg);
}

.back-grid::after {
  position: absolute;
  right: -26%;
  bottom: -35%;
  width: 54%;
  height: 65%;
  background: repeating-linear-gradient(90deg, #cdaa80 0 2px, transparent 2px 5px);
  content: "";
  transform: rotate(-16deg);
}

.pearl {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff 0, #e8d5bc 25%, #997953 53%, #f5f0e8 74%, #213a56 100%);
  box-shadow:
    inset -9px -8px 14px rgba(15, 30, 63, 0.22),
    0 7px 10px rgba(15, 30, 63, 0.2);
}

.pearl-a {
  top: 7%;
  right: 19%;
  width: 14%;
  aspect-ratio: 1;
}

.pearl-b {
  top: -8%;
  right: 6%;
  width: 9%;
  aspect-ratio: 1;
}

.card-owner,
.card-kind {
  position: absolute;
  bottom: 8%;
  left: 10%;
  font-size: clamp(7px, 0.72vw, 12px);
  font-weight: 700;
}

.card-kind {
  bottom: 3.5%;
  color: #213a56;
  font-size: clamp(6px, 0.6vw, 10px);
  font-weight: 500;
}

.card-number {
  position: absolute;
  right: 3%;
  bottom: -4%;
  color: rgba(245, 240, 232, 0.2);
  font-size: clamp(45px, 7vw, 110px);
  font-weight: 500;
  letter-spacing: -0.1em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(15, 30, 63, 0.28);
}

.card-purple {
  z-index: 4;
  top: 26%;
  left: 21%;
  background:
    radial-gradient(circle at 70% 25%, #997953 0 5%, transparent 25%),
    linear-gradient(135deg, #0f1e3f, #274563 42%, #0f1e3f 70%, #997953);
  transform-origin: 45% 50%;
  animation: card-purple-in 1.42s 0.42s var(--ease-out) forwards;
}

.mini-label {
  position: absolute;
  z-index: 4;
  top: 6%;
  right: 8%;
  color: white;
  font-size: clamp(5px, 0.44vw, 8px);
  font-weight: 700;
  line-height: 1.05;
  transform: rotate(4deg);
}

.orb {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e0c9a8 0, #997953 25%, #997953 57%, #0f1e3f 79%);
  box-shadow:
    inset -11px -10px 17px rgba(15, 30, 63, 0.45),
    inset 7px 8px 15px rgba(205, 170, 128, 0.35);
}

.orb-one {
  top: 18%;
  left: 48%;
  width: 27%;
  aspect-ratio: 1;
}

.orb-two {
  top: 38%;
  left: 31%;
  width: 34%;
  aspect-ratio: 1;
}

.orb-three {
  top: 18%;
  right: -5%;
  width: 38%;
  aspect-ratio: 1;
}

.purple-wave {
  position: absolute;
  right: -10%;
  bottom: -58%;
  left: -10%;
  height: 100%;
  border: 3px solid rgba(205, 170, 128, 0.45);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.card-white {
  z-index: 3;
  top: 19%;
  left: 36%;
  background:
    radial-gradient(circle at 45% 75%, rgba(205, 170, 128, 0.14), transparent 23%),
    #f5f0e8;
  transform-origin: 50% 50%;
  animation: card-white-in 1.48s 0.51s var(--ease-out) forwards;
}

.vertical-name,
.vertical-kind {
  position: absolute;
  top: 8%;
  right: 10%;
  font-size: clamp(7px, 0.72vw, 12px);
  font-weight: 700;
}

.vertical-kind {
  top: 13%;
  color: #213a56;
  font-size: clamp(6px, 0.58vw, 10px);
  font-weight: 500;
}

.digits {
  position: absolute;
  top: 41%;
  right: 11%;
  font-size: clamp(10px, 1.05vw, 17px);
  font-weight: 500;
  line-height: 1.2;
}

.digits b {
  font-weight: 700;
}

.date {
  position: absolute;
  right: 10%;
  bottom: 8%;
  color: rgba(15, 30, 63, 0.45);
  font-size: clamp(5px, 0.5vw, 9px);
}

.soft-sphere {
  position: absolute;
  bottom: -20%;
  left: 12%;
  width: 35%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 28%, #fff, #e0c9a8 48%, #997953 100%);
  filter: blur(1px);
  opacity: 0.72;
}

.card-color {
  z-index: 2;
  top: 48%;
  left: 37%;
  background:
    linear-gradient(90deg, transparent 0 75%, #997953 75%),
    #f5f0e8;
  transform-origin: 56% 50%;
  animation: card-color-in 1.52s 0.61s var(--ease-out) forwards;
}

.contactless {
  position: absolute;
  top: 13%;
  right: 8%;
  color: rgba(15, 30, 63, 0.40);
  font-size: clamp(7px, 0.8vw, 13px);
  font-weight: 400;
  letter-spacing: -0.2em;
  transform: rotate(90deg);
}

.color-block {
  position: absolute;
  bottom: 0;
}

.block-one {
  left: 0;
  width: 31%;
  height: 41%;
  background: linear-gradient(135deg, #0f1e3f, #274563);
}

.block-two {
  left: 31%;
  width: 28%;
  height: 57%;
  background: linear-gradient(135deg, #997953, #cdaa80);
}

.block-three {
  left: 59%;
  width: 27%;
  height: 49%;
  background: linear-gradient(135deg, #cdaa80, #213a56);
}

.block-four {
  right: 0;
  width: 14%;
  height: 68%;
  background: linear-gradient(#fff 0 45%, #213a56 45%);
}

.color-notch {
  position: absolute;
  bottom: -1%;
  left: 35%;
  width: 16%;
  height: 18%;
  border-radius: 50% 50% 0 0;
  background: #f5f0e8;
}

.card-blue {
  z-index: 1;
  top: 54%;
  left: 55%;
  background: linear-gradient(140deg, #cdaa80, #213a56 51%, #0f1e3f);
  transform-origin: 60% 50%;
  animation: card-blue-in 1.56s 0.69s var(--ease-out) forwards;
}

.blue-plane {
  position: absolute;
  background: linear-gradient(135deg, #cdaa80, #213a56);
  box-shadow: 0 10px 18px rgba(15, 30, 63, 0.30);
  transform: skewX(-28deg) rotate(-12deg);
}

.plane-one {
  top: 9%;
  right: -6%;
  width: 68%;
  height: 28%;
}

.plane-two {
  top: 35%;
  right: 8%;
  width: 78%;
  height: 25%;
}

.plane-three {
  right: -6%;
  bottom: 4%;
  width: 83%;
  height: 24%;
}

.card-blue span {
  position: absolute;
  bottom: 8%;
  left: 8%;
  color: rgba(255, 255, 255, 0.75);
  font-size: 7px;
  letter-spacing: 0.2em;
}

.hero-copy {
  position: absolute;
  z-index: 11;
  top: 58%;
  left: 5.5%;
  width: 56%;
}

.eyebrow {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: clamp(22px, 3vw, 42px);
  color: rgba(245, 240, 232, 0.55);
  font-size: clamp(6px, 0.52vw, 9px);
  font-weight: 500;
}

.spark {
  color: var(--accent);
  font-size: 13px;
}

.eyebrow-rule {
  width: clamp(17px, 2vw, 32px);
  border-top: 1px solid #997953;
}

.reveal-up {
  opacity: 0;
  transform: translateY(16px);
  animation: copy-up 0.7s 1.03s var(--ease-out) forwards;
}

h1 {
  margin: 0;
  font-size: clamp(33px, 3.85vw, 63px);
  font-weight: 400;
  letter-spacing: -0.062em;
  line-height: 1.06;
}

.line-mask {
  display: flex;
  overflow: hidden;
  align-items: center;
  height: 1.15em;
}

.headline-line {
  display: inline-block;
  white-space: nowrap;
  transform: translateY(115%);
  animation: headline-up 0.85s 0.83s var(--ease-out) forwards;
}

.line-mask.second-line .headline-line {
  animation-delay: 0.97s;
}

.line-mask strong {
  font-weight: 700;
}

.accent-dot {
  color: var(--accent);
}

.hero-subtitle {
  width: min(100%, 620px);
  margin: clamp(18px, 2.2vw, 31px) 0 0;
  color: var(--muted);
  font-size: clamp(12px, 1.02vw, 16px);
  line-height: 1.7;
  animation-delay: 1.14s;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: clamp(20px, 2.3vw, 34px);
  animation-delay: 1.25s;
}

.button {
  display: inline-flex;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: clamp(11px, 0.85vw, 14px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.28s var(--ease-out),
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease,
    opacity 0.28s ease;
}

.button:hover {
  transform: scale(1.03);
}

.button:active {
  transform: scale(0.98);
  opacity: 0.92;
}

.button-primary {
  color: var(--btn-primary-text);
  background: var(--btn-primary-bg);
  box-shadow:
    0 1px 0 rgba(245, 240, 232, 0.22) inset,
    0 8px 22px rgba(205, 170, 128, 0.22);
}

.button-primary:hover {
  background: var(--btn-primary-hover);
  box-shadow:
    0 1px 0 rgba(245, 240, 232, 0.18) inset,
    0 10px 26px rgba(153, 121, 83, 0.28);
}

.button-secondary {
  border-color: rgba(205, 170, 128, 0.28);
  color: var(--btn-secondary-text);
  background: rgba(245, 240, 232, 0.06);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(245, 240, 232, 0.08) inset;
}

.button-secondary:hover {
  border-color: var(--border-strong);
  background: rgba(245, 240, 232, 0.12);
}

.asterisk {
  display: inline-block;
  margin: 0 -0.04em;
  color: rgba(245, 240, 232, 0.55);
  font-size: 0.45em;
  font-weight: 400;
  vertical-align: 0.26em;
  animation: star-spin 1.1s 1.4s var(--ease-out) both;
}

.pattern-pill {
  width: clamp(90px, 13vw, 205px);
  height: 0.48em;
  margin: 0 0 0 0.48em;
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 55%, #213a56 0 10%, transparent 11%),
    repeating-linear-gradient(115deg, #cdaa80 0 3px, #fff 3px 7px, #cdaa80 7px 12px);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  animation: pill-in 0.9s 1.18s var(--ease-out) forwards;
}

.features {
  position: absolute;
  z-index: 12;
  bottom: 4.7%;
  left: 5.3%;
  display: flex;
  gap: clamp(28px, 5.2vw, 78px);
  align-items: center;
}

.down-arrow {
  position: relative;
  width: 23px;
  height: 30px;
  opacity: 0;
  transform: translateY(20px);
  animation: feature-in 0.7s 1.16s var(--ease-out) forwards;
}

.down-arrow::before,
.down-arrow::after {
  position: absolute;
  top: 13px;
  width: 10px;
  border-top: 2px solid rgba(205, 170, 128, 0.30);
  content: "";
}

.down-arrow::before {
  left: 3px;
  transform: rotate(45deg);
}

.down-arrow::after {
  right: 3px;
  transform: rotate(-45deg);
}

.down-arrow span {
  position: absolute;
  top: 1px;
  left: 11px;
  height: 15px;
  border-left: 2px solid rgba(205, 170, 128, 0.30);
}

.feature {
  display: flex;
  gap: 13px;
  align-items: center;
  color: rgba(245, 240, 232, 0.50);
  font-size: clamp(7px, 0.71vw, 11px);
  font-weight: 500;
  line-height: 1.18;
  opacity: 0;
  transform: translateY(24px);
  animation: feature-in 0.72s var(--ease-out) forwards;
}

.feature-one {
  animation-delay: 1.25s;
}

.feature-two {
  animation-delay: 1.35s;
}

.feature-three {
  animation-delay: 1.45s;
}

.feature-icon {
  display: block;
  width: clamp(22px, 2.3vw, 35px);
  aspect-ratio: 1;
}

.cut-corner {
  background:
    linear-gradient(135deg, transparent 48%, #cdaa80 49% 52%, transparent 53%),
    linear-gradient(135deg, #213a56 0 50%, #997953 50% 72%, #cdaa80 72%);
  clip-path: polygon(0 0, 76% 0, 100% 24%, 100% 100%, 0 100%);
}

.pinwheel {
  border-radius: 50%;
  background: conic-gradient(#213a56 0 12.5%, #cdaa80 0 25%, #274563 0 37.5%, #997953 0 50%, #274563 0 62.5%, #cdaa80 0 75%, #274563 0 87.5%, #cdaa80 0);
}

.triangles {
  background:
    linear-gradient(45deg, #cdaa80 0 50%, transparent 50%) 0 0 / 50% 50%,
    linear-gradient(135deg, #274563 0 50%, transparent 50%) 100% 0 / 50% 50%,
    linear-gradient(225deg, #cdaa80 0 50%, transparent 50%) 100% 100% / 50% 50%,
    linear-gradient(315deg, #213a56 0 50%, transparent 50%) 0 100% / 50% 50%;
  background-repeat: no-repeat;
}

.foreground-card {
  position: absolute;
  z-index: 15;
  right: -5.5%;
  bottom: -6%;
  width: 28%;
  aspect-ratio: 1.53;
  overflow: hidden;
  border-radius: clamp(10px, 1.2vw, 21px);
  background: #f5f0e8;
  box-shadow: 0 24px 45px rgba(50, 57, 79, 0.2);
  opacity: 0;
  transform: translate3d(19vw, 20vh, 0) rotate(17deg);
  animation: foreground-in 1.1s 1.05s var(--ease-out) forwards;
}

.foreground-dots {
  position: absolute;
  z-index: 4;
  top: 11%;
  right: 14%;
  color: rgba(15, 30, 63, 0.40);
  font-size: 7px;
  letter-spacing: 0.42em;
}

.fg-grid,
.fg-red,
.fg-blue,
.fg-pink,
.fg-fold {
  position: absolute;
}

.fg-grid {
  inset: 0 0 52%;
  background:
    linear-gradient(90deg, rgba(246, 161, 181, 0.22) 1px, transparent 1px),
    linear-gradient(rgba(246, 161, 181, 0.22) 1px, transparent 1px);
  background-size: 9% 25%;
}

.fg-red {
  right: 0;
  bottom: 0;
  width: 49%;
  height: 54%;
  background: linear-gradient(145deg, #997953, #cdaa80);
}

.fg-blue {
  bottom: 0;
  left: 0;
  width: 53%;
  height: 59%;
  background: linear-gradient(135deg, #0f1e3f, #274563);
}

.fg-pink {
  right: 28%;
  bottom: 0;
  width: 34%;
  height: 57%;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.17) 0 1px, transparent 1px 3px),
    linear-gradient(145deg, #274563, #cdaa80);
}

.fg-fold {
  right: 15%;
  bottom: -42%;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 48%;
  background: rgba(250, 251, 253, 0.5);
  transform: rotate(13deg);
}

.portfolio-scene {
  top: 6%;
  left: 4%;
  width: 92%;
  height: 54%;
  filter: none;
}

.website-stack,
.phone-stack {
  position: absolute;
  inset: 0;
}

.website-stack {
  z-index: 2;
}

.phone-stack {
  z-index: 8;
  left: 58%;
  width: 42%;
}

.website-shot {
  position: absolute;
  width: 48%;
  aspect-ratio: 1.78;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(9px, 1.1vw, 18px);
  background: #213a56;
  box-shadow:
    0 25px 45px rgba(0, 0, 0, 0.32),
    0 2px 0 rgba(255, 255, 255, 0.08) inset;
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(-58vw, -12vh, 0) rotate(-18deg) scale(0.8);
  transform-origin: 48% 50%;
  will-change: transform, filter, opacity;
}

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

.browser-bar {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 9px;
  display: flex;
  gap: 3px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(7, 10, 16, 0.52);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.browser-bar i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
}

.website-house {
  z-index: 4;
  top: 2%;
  left: 0;
  animation: website-house-in 1.38s 0.24s var(--ease-out) forwards;
}

.website-tennis {
  z-index: 3;
  top: 2%;
  left: 5%;
  animation: website-tennis-in 1.43s 0.35s var(--ease-out) forwards;
}

.website-studio {
  z-index: 2;
  top: 9%;
  left: 10%;
  animation: website-studio-in 1.48s 0.46s var(--ease-out) forwards;
}

.website-audio {
  z-index: 1;
  top: 16%;
  left: 15%;
  animation: website-audio-in 1.53s 0.57s var(--ease-out) forwards;
}

.phone-shot {
  position: absolute;
  width: auto;
  height: 88%;
  object-fit: contain;
  opacity: 0;
  filter: blur(13px) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.2));
  transform: translate3d(72vw, -24vh, 0) rotate(22deg) scale(0.78);
  transform-origin: 50% 54%;
  will-change: transform, filter, opacity;
}

.shot-health {
  z-index: 5;
  top: 2%;
  left: 0;
  animation: phone-health-in 1.35s 0.27s var(--ease-out) forwards;
}

.shot-fitness {
  z-index: 4;
  top: -1%;
  left: 16%;
  animation: phone-fitness-in 1.42s 0.39s var(--ease-out) forwards;
}

.shot-finance {
  z-index: 3;
  top: 5%;
  left: 32%;
  animation: phone-finance-in 1.48s 0.5s var(--ease-out) forwards;
}

.portfolio-ready .website-shot,
.portfolio-ready .phone-shot {
  animation: none;
  opacity: 1;
  filter: blur(0) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.18));
  transition:
    top 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-ready .website-shot:nth-child(1) {
  z-index: 4;
  top: 2%;
  left: 0;
  opacity: 1;
  transform: rotate(-8deg) scale(1);
}

.portfolio-ready .website-shot:nth-child(2) {
  z-index: 3;
  top: 2%;
  left: 5%;
  opacity: 1;
  transform: rotate(-3deg) scale(0.985);
}

.portfolio-ready .website-shot:nth-child(3) {
  z-index: 2;
  top: 9%;
  left: 10%;
  opacity: 1;
  transform: rotate(3deg) scale(0.97);
}

.portfolio-ready .website-shot:nth-child(4) {
  z-index: 1;
  top: 16%;
  left: 15%;
  opacity: 1;
  filter: blur(0) drop-shadow(0 20px 17px rgba(22, 28, 46, 0.14));
  transform: rotate(8deg) scale(0.955);
}

.portfolio-ready .phone-shot:nth-child(1) {
  z-index: 6;
  top: 2%;
  left: 0;
  opacity: 1;
  transform: rotate(-11deg) scale(1);
}

.portfolio-ready .phone-shot:nth-child(2) {
  z-index: 5;
  top: -1%;
  left: 16%;
  opacity: 1;
  transform: rotate(-5deg) scale(0.975);
}

.portfolio-ready .phone-shot:nth-child(3) {
  z-index: 4;
  top: 5%;
  left: 32%;
  opacity: 1;
  filter: blur(0) drop-shadow(0 20px 17px rgba(22, 28, 46, 0.14));
  transform: rotate(1deg) scale(0.95);
}

.portfolio-ready .phone-shot:nth-child(4) {
  z-index: 3;
  top: 11%;
  left: 48%;
  opacity: 1;
  transform: rotate(7deg) scale(0.925);
}

.portfolio-ready .phone-shot:nth-child(5) {
  z-index: 2;
  top: 17%;
  left: 64%;
  opacity: 1;
  transform: rotate(13deg) scale(0.9);
}

.portfolio-ready .phone-shot:nth-child(6) {
  z-index: 1;
  top: 23%;
  left: 80%;
  opacity: 1;
  filter: blur(0) drop-shadow(0 16px 14px rgba(22, 28, 46, 0.12));
  transform: rotate(19deg) scale(0.875);
}

.portfolio-ready .website-shot.is-lifting {
  z-index: 10;
  opacity: 1;
  filter: blur(0) drop-shadow(0 30px 28px rgba(0, 0, 0, 0.24));
  transform: translate3d(-11%, -13%, 0) rotate(-13deg) scale(0.96);
}

.portfolio-ready .phone-shot.is-lifting {
  z-index: 10;
  opacity: 1;
  filter: blur(0) drop-shadow(0 30px 28px rgba(0, 0, 0, 0.24));
  transform: translate3d(13%, -10%, 0) rotate(8deg) scale(0.94);
}

.shot-swap {
  z-index: 2;
  top: 11%;
  left: 48%;
  animation: phone-swap-in 1.52s 0.6s var(--ease-out) forwards;
}

.shot-report {
  z-index: 1;
  top: 17%;
  left: 64%;
  animation: phone-report-in 1.56s 0.69s var(--ease-out) forwards;
}

.shot-security {
  z-index: 0;
  top: 23%;
  left: 80%;
  animation: phone-security-in 1.6s 0.8s var(--ease-out) forwards;
}

.foreground-card.foreground-phone {
  right: -4%;
  bottom: -16%;
  width: 22%;
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
  filter: drop-shadow(0 24px 24px rgba(28, 34, 51, 0.18));
}

@keyframes website-house-in {
  0% {
    opacity: 0;
    filter: blur(14px);
    transform: translate3d(-58vw, -18vh, 0) rotate(-20deg) scale(0.78);
  }
  66% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(2%, 2%, 0) rotate(-10deg) scale(1.025);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: rotate(-8deg);
  }
}

@keyframes website-tennis-in {
  0% {
    opacity: 0;
    filter: blur(14px);
    transform: translate3d(-61vw, -12vh, 0) rotate(-17deg) scale(0.78);
  }
  66% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(2%, 1%, 0) rotate(-5deg) scale(1.025);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: rotate(-3deg);
  }
}

@keyframes website-studio-in {
  0% {
    opacity: 0;
    filter: blur(14px);
    transform: translate3d(-64vw, -7vh, 0) rotate(-14deg) scale(0.76);
  }
  66% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(2%, 1%, 0) rotate(1deg) scale(1.025);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: rotate(3deg);
  }
}

@keyframes website-audio-in {
  0% {
    opacity: 0;
    filter: blur(14px);
    transform: translate3d(-67vw, -2vh, 0) rotate(-11deg) scale(0.74);
  }
  66% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(2%, 0, 0) rotate(6deg) scale(1.025);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: rotate(8deg);
  }
}

@keyframes phone-health-in {
  0% {
    opacity: 0;
    filter: blur(14px) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.2));
    transform: translate3d(70vw, -29vh, 0) rotate(24deg) scale(0.76);
  }
  66% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.2));
    transform: translate3d(-2%, 2%, 0) rotate(-13deg) scale(1.025);
  }
  100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.2));
    transform: rotate(-11deg);
  }
}

@keyframes phone-fitness-in {
  0% {
    opacity: 0;
    filter: blur(14px) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.19));
    transform: translate3d(68vw, -24vh, 0) rotate(25deg) scale(0.76);
  }
  66% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.19));
    transform: translate3d(-2%, 2%, 0) rotate(-7deg) scale(1.025);
  }
  100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.19));
    transform: rotate(-5deg);
  }
}

@keyframes phone-finance-in {
  0% {
    opacity: 0;
    filter: blur(14px) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.18));
    transform: translate3d(66vw, -18vh, 0) rotate(26deg) scale(0.76);
  }
  66% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.18));
    transform: translate3d(-2%, 1%, 0) rotate(-1deg) scale(1.025);
  }
  100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.18));
    transform: rotate(1deg);
  }
}

@keyframes phone-swap-in {
  0% {
    opacity: 0;
    filter: blur(14px) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.17));
    transform: translate3d(65vw, -12vh, 0) rotate(27deg) scale(0.76);
  }
  66% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.17));
    transform: translate3d(-2%, 1%, 0) rotate(5deg) scale(1.025);
  }
  100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.17));
    transform: rotate(7deg);
  }
}

@keyframes phone-report-in {
  0% {
    opacity: 0;
    filter: blur(14px) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.16));
    transform: translate3d(64vw, -7vh, 0) rotate(29deg) scale(0.74);
  }
  66% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.16));
    transform: translate3d(-2%, 0, 0) rotate(11deg) scale(1.025);
  }
  100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.16));
    transform: rotate(13deg);
  }
}

@keyframes phone-security-in {
  0% {
    opacity: 0;
    filter: blur(14px) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.14));
    transform: translate3d(64vw, -2vh, 0) rotate(31deg) scale(0.72);
  }
  66% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.14));
    transform: translate3d(-2%, 0, 0) rotate(17deg) scale(1.02);
  }
  100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 25px 20px rgba(22, 28, 46, 0.14));
    transform: rotate(19deg);
  }
}

@keyframes page-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes veil-away {
  0% {
    opacity: 1;
  }
  99% {
    opacity: 0;
  }
  100% {
    visibility: hidden;
    opacity: 0;
  }
}

@keyframes nav-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ambient-in {
  to {
    opacity: 1;
  }
}

@keyframes card-back-in {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform: translate3d(58vw, -32vh, 0) rotate(21deg) scale(0.82);
  }
  65% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(-2%, 3%, 0) rotate(-11.5deg) scale(1.025);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) rotate(-9.8deg) scale(1);
  }
}

@keyframes card-purple-in {
  0% {
    opacity: 0;
    filter: blur(13px);
    transform: translate3d(56vw, -21vh, 0) rotate(27deg) scale(0.8);
  }
  65% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(-2%, 2%, 0) rotate(-8.5deg) scale(1.02);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: rotate(-6.8deg) scale(1);
  }
}

@keyframes card-white-in {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform: translate3d(55vw, -16vh, 0) rotate(25deg) scale(0.77);
  }
  66% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(-1%, 2%, 0) rotate(-4.5deg) scale(1.02);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: rotate(-2.8deg) scale(1);
  }
}

@keyframes card-color-in {
  0% {
    opacity: 0;
    filter: blur(14px);
    transform: translate3d(58vw, -5vh, 0) rotate(24deg) scale(0.75);
  }
  67% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(-2%, 1%, 0) rotate(2.7deg) scale(1.02);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: rotate(1.2deg) scale(1);
  }
}

@keyframes card-blue-in {
  0% {
    opacity: 0;
    filter: blur(14px);
    transform: translate3d(59vw, 2vh, 0) rotate(25deg) scale(0.73);
  }
  67% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(-2%, 0, 0) rotate(4.8deg) scale(1.02);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: rotate(3.4deg) scale(1);
  }
}

.content-section {
  position: relative;
  width: min(100%, 1320px);
}

.content-section::before {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(205, 170, 128, 0.06);
  filter: blur(110px);
  content: "";
  pointer-events: none;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(64px, 12vw, 190px);
  align-items: start;
}

.section-label {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 24px;
  color: rgba(245, 240, 232, 0.55);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label i {
  width: 25px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(205, 170, 128, 0.5);
}

.content-section h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(39px, 5.1vw, 74px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.04;
}

.content-section h2 span {
  color: var(--accent);
}

.problem-section::before {
  top: -180px;
  right: -260px;
}

.problem-copy {
  padding-top: 46px;
}

.problem-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.8;
}

.solution-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  column-gap: clamp(40px, 6vw, 96px);
  align-items: end;
}

.solution-intro .section-label {
  grid-column: 1 / -1;
}

.solution-intro p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.75;
}

.solution-lede {
  display: flex;
  gap: clamp(18px, 2.2vw, 30px);
  align-items: flex-end;
}

.solution-lede p {
  flex: 1;
}

.solution-seal {
  position: relative;
  width: clamp(88px, 8vw, 116px);
  margin: 0;
  flex: none;
  text-align: center;
}

.solution-seal video {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(205, 170, 128, 0.2);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 46%, rgba(205, 170, 128, 0.2), transparent 64%),
    linear-gradient(155deg, #213a56, #0f1e3f 74%);
  box-shadow: 0 0 34px rgba(205, 170, 128, 0.1);
  object-fit: contain;
}

.solution-seal figcaption {
  margin-top: 10px;
  color: #f5f0e8;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.solution-grid {
  /* The svh caps keep the tallest card inside the slide on short screens. */
  --card-rest: min(clamp(225px, 23vw, 290px), 31svh);
  --card-open: min(clamp(340px, 33vw, 400px), 47svh);
  display: flex;
  gap: clamp(8px, 0.9vw, 14px);
  align-items: center;
}

.solution-card {
  --accent: var(--color-gold);
  --accent-glow: rgba(205, 170, 128, 0.48);
  --accent-soft: rgba(205, 170, 128, 0.28);
  --card-muted: var(--muted);
  --card-number-color: rgba(245, 240, 232, 0.45);
  position: relative;
  display: flex;
  height: var(--card-rest);
  padding: clamp(18px, 2.6vh, 34px) clamp(22px, 2.5vw, 36px);
  border: 1px solid rgba(205, 170, 128, 0.12);
  border-radius: clamp(16px, 1.7vw, 26px);
  flex: 1 1 0;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  background-color: #213a56;
  background-image: linear-gradient(
    145deg,
    rgba(245, 240, 232, 0.045),
    transparent 54%
  );
  cursor: default;
  opacity: 0;
  transition:
    flex-grow 0.72s var(--ease-out),
    height 0.72s var(--ease-out),
    border-color 0.5s ease,
    box-shadow 0.5s ease,
    color 0.45s ease;
}

.solution-card:focus-visible {
  outline: none;
}

/* Accent fill sits on its own layer so it can cross-fade. */
.solution-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(158deg, #e0c9a8, #cdaa80 52%, #997953);
  content: "";
  opacity: 0;
  transition: opacity 0.55s ease;
}

.solution-card.is-active {
  --accent: var(--color-navy);
  --accent-glow: transparent;
  --accent-soft: rgba(15, 30, 63, 0.4);
  --card-muted: rgba(15, 30, 63, 0.74);
  --card-number-color: rgba(15, 30, 63, 0.66);
  z-index: 2;
  height: var(--card-open);
  border-color: transparent;
  color: var(--color-navy);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.42),
    0 0 46px rgba(205, 170, 128, 0.16);
  flex-grow: 1.55;
}

.solution-card.is-active::before {
  opacity: 1;
}

.card-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.card-topline .card-number {
  position: static;
  color: var(--card-number-color);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  -webkit-text-stroke: 0;
  transition: color 0.45s ease;
}

.card-icon {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid var(--accent-soft);
  border-radius: 10px;
  transition: border-color 0.45s ease;
}

.card-icon i {
  position: absolute;
  display: block;
  background-color: var(--accent);
  box-shadow: 0 0 9px var(--accent-glow);
  transition:
    background-color 0.45s ease,
    box-shadow 0.45s ease;
}

.card-icon-ai i {
  top: 19px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.card-icon-ai i:nth-child(1) {
  left: 8px;
}

.card-icon-ai i:nth-child(2) {
  left: 18px;
}

.card-icon-ai i:nth-child(3) {
  left: 28px;
}

.card-icon-engineering i {
  left: 9px;
  width: 22px;
  height: 1px;
}

.card-icon-engineering i:nth-child(1) {
  top: 11px;
}

.card-icon-engineering i:nth-child(2) {
  top: 20px;
}

.card-icon-engineering i:nth-child(3) {
  top: 29px;
}

.card-icon-security i:nth-child(1) {
  top: 9px;
  left: 11px;
  width: 18px;
  height: 22px;
  border-radius: 10px 10px 12px 12px;
  background-color: transparent;
  box-shadow: inset 0 0 0 1px var(--accent);
}

.card-icon-security i:nth-child(2) {
  top: 15px;
  left: 19px;
  width: 3px;
  height: 9px;
  border-radius: 3px;
}

.card-icon-security i:nth-child(3) {
  display: none;
}

.card-body {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.solution-card h3 {
  margin: 0;
  font-size: clamp(19px, 1.6vw, 26px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.card-reveal {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition:
    max-height 0.7s var(--ease-out),
    opacity 0.4s ease,
    transform 0.65s var(--ease-out);
}

.solution-card.is-active .card-reveal {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.08s;
}

.solution-card p {
  max-width: 42ch;
  margin: 16px 0 0;
  color: var(--card-muted);
  font-size: clamp(12px, 0.95vw, 15px);
  line-height: 1.75;
  transition: color 0.45s ease;
}

.card-outcome {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: clamp(18px, 2vw, 26px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.card-outcome b {
  font-weight: 500;
}

@keyframes copy-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headline-up {
  to {
    transform: translateY(0);
  }
}

@keyframes pill-in {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes star-spin {
  from {
    opacity: 0;
    transform: rotate(-90deg) scale(0.3);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes feature-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes foreground-in {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(20vw, 23vh, 0) rotate(25deg) scale(0.84);
  }
  68% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(-1.5%, -1.5%, 0) rotate(14deg) scale(1.02);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: rotate(15.5deg) scale(1);
  }
}

@media (max-width: 800px) {
  .stage {
    display: block;
    min-height: 100svh;
    padding: 0;
  }

  .hero {
    min-height: max(100svh, 1000px);
    box-shadow: none;
  }

  .nav {
    top: 4.5%;
    right: 7%;
    left: 7%;
  }

  .card-scene {
    top: 12%;
    left: 4%;
    width: 96%;
    height: 43%;
  }

  .website-shot {
    width: 61%;
  }

  .website-house {
    left: -8%;
  }

  .website-tennis {
    left: -2%;
  }

  .website-studio {
    left: 4%;
  }

  .website-audio {
    left: 10%;
  }

  .phone-stack {
    left: 58%;
    width: 42%;
  }

  .phone-shot {
    height: 72%;
  }

  .shot-fitness {
    left: 14%;
  }

  .shot-finance {
    left: 28%;
  }

  .shot-swap {
    left: 42%;
  }

  .shot-report {
    left: 56%;
  }

  .shot-security {
    left: 70%;
  }

  .portfolio-ready .website-shot:nth-child(1) {
    left: -8%;
  }

  .portfolio-ready .website-shot:nth-child(2) {
    left: -2%;
  }

  .portfolio-ready .website-shot:nth-child(3) {
    left: 4%;
  }

  .portfolio-ready .website-shot:nth-child(4) {
    left: 10%;
  }

  .portfolio-ready .phone-shot:nth-child(2) {
    left: 14%;
  }

  .portfolio-ready .phone-shot:nth-child(3) {
    left: 28%;
  }

  .portfolio-ready .phone-shot:nth-child(4) {
    left: 42%;
  }

  .portfolio-ready .phone-shot:nth-child(5) {
    left: 56%;
  }

  .portfolio-ready .phone-shot:nth-child(6) {
    left: 70%;
  }

  .wallet-card {
    width: 54%;
  }

  .hero-copy {
    top: 58%;
    left: 7%;
    width: 86%;
  }

  .hero-subtitle {
    width: calc(100vw - 56px);
    max-width: calc(100vw - 56px);
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .eyebrow {
    margin-bottom: 17px;
  }

  h1 {
    font-size: clamp(32px, 8.8vw, 52px);
  }

  .pattern-pill {
    width: 24vw;
  }

  .features {
    bottom: 5%;
    left: 7%;
    gap: 5.3vw;
  }

  .feature {
    gap: 6px;
    font-size: 7px;
  }

  .feature-icon {
    width: 20px;
  }

  .down-arrow {
    display: none;
  }

  .foreground-card {
    right: -15%;
    bottom: 11%;
    width: 34%;
    opacity: 0.35;
  }

  .content-section {
    width: 100%;
    padding-right: 7%;
    padding-left: 7%;
  }

  .section-grid,
  .solution-intro {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .problem-copy {
    max-width: 620px;
    padding-top: 0;
  }

  .solution-intro .section-label {
    grid-column: auto;
  }

  .solution-intro p {
    max-width: 600px;
  }

  .solution-grid {
    gap: 12px;
    align-items: stretch;
    flex-direction: column;
  }

  /* No hover on touch, so every card shows its detail. */
  .solution-card,
  .solution-card.is-active {
    height: auto;
    min-height: 0;
    flex-grow: 0;
  }

  .card-reveal,
  .solution-card.is-active .card-reveal {
    max-height: none;
    opacity: 1;
    transform: none;
  }

  .card-body {
    margin-top: 54px;
  }
}

@media (max-width: 500px) {
  .card-scene {
    top: 12%;
    left: -2%;
    width: 108%;
  }

  .website-shot {
    width: 64%;
  }

  .browser-bar {
    top: 4px;
    left: 5px;
    gap: 2px;
    padding: 3px 5px;
  }

  .browser-bar i {
    width: 3px;
    height: 3px;
  }

  .phone-stack {
    left: 57%;
    width: 43%;
  }

  .phone-shot {
    height: 67%;
  }

  .shot-fitness {
    left: 11%;
  }

  .shot-finance {
    left: 22%;
  }

  .shot-swap {
    left: 33%;
  }

  .shot-report {
    left: 44%;
  }

  .shot-security {
    left: 55%;
  }

  .portfolio-ready .phone-shot:nth-child(2) {
    left: 11%;
  }

  .portfolio-ready .phone-shot:nth-child(3) {
    left: 22%;
  }

  .portfolio-ready .phone-shot:nth-child(4) {
    left: 33%;
  }

  .portfolio-ready .phone-shot:nth-child(5) {
    left: 44%;
  }

  .portfolio-ready .phone-shot:nth-child(6) {
    left: 55%;
  }

  .hero-copy {
    top: 58%;
  }

  h1 {
    font-size: clamp(30px, 9.2vw, 44px);
  }

  .line-mask.second-line {
    flex-wrap: wrap;
    height: auto;
  }

  .line-mask.second-line .headline-line:last-child {
    width: 100%;
    margin-top: 2px;
  }

  .features {
    right: 5%;
    bottom: 4.2%;
    display: grid;
    width: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .feature {
    gap: 5px;
    min-width: 0;
    font-size: 5.5px;
  }

  .feature-icon {
    width: 17px;
  }

  .foreground-card {
    display: none;
  }

  .content-section h2 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .solution-lede {
    gap: 22px;
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .solution-seal {
    width: 78px;
  }

  .solution-card {
    padding: 25px;
  }

  .card-body {
    margin-top: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Cinematic challenge reveal */
.problem-section {
  z-index: 12;
  width: 100vw;
  min-height: 100svh;
  margin-top: calc(clamp(100px, 12vw, 190px) * -1);
  background: #0f1e3f;
  scroll-margin-top: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.problem-section::before {
  display: none;
}

.problem-panel {
  position: relative;
  display: flex;
  height: 100svh;
  min-height: 0;
  padding: clamp(32px, 4vh, 54px) clamp(26px, 6vw, 92px);
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 15% 75%, rgba(205, 170, 128, 0.11), transparent 31%),
    radial-gradient(circle at 86% 16%, rgba(205, 170, 128, 0.10), transparent 34%),
    linear-gradient(145deg, #213a56, #142438 65%, #0f1e3f);
  box-shadow: none;
  clip-path: inset(100% 0 0 0);
  opacity: 0.2;
  transform: translateY(14vh) scale(0.985);
  transform-origin: 50% 100%;
  transition:
    clip-path 1.15s cubic-bezier(0.77, 0, 0.18, 1),
    opacity 0.4s ease,
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path, transform;
}

.problem-section.is-presented .problem-panel {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translateY(0) scale(1);
}

.problem-panel::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(205, 170, 128, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205, 170, 128, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  content: "";
  pointer-events: none;
}

.problem-intro {
  position: relative;
  z-index: 2;
  text-align: center;
}

.problem-chip {
  margin-bottom: 24px;
  padding: 9px 14px;
  border: 1px solid rgba(205, 170, 128, 0.24);
  border-radius: 999px;
  background: rgba(15, 30, 63, 0.72);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateX(100px) scaleX(0.7);
  transform-origin: 100% 50%;
  transition:
    opacity 0.45s 0.48s ease,
    transform 0.9s 0.42s var(--ease-out);
}

.problem-section.is-presented .problem-chip {
  opacity: 1;
  transform: translateX(0) scaleX(1);
}

.problem-section h2 {
  max-width: none;
  font-size: clamp(34px, 3.7vw, 58px);
  line-height: 1.03;
}

.problem-section h2 .problem-title-line {
  display: block;
  overflow: hidden;
  color: var(--ink);
  opacity: 0;
  filter: blur(8px);
  transform: translateY(80%);
  transition:
    opacity 0.55s ease,
    filter 0.75s ease,
    transform 0.95s var(--ease-out);
}

.problem-title-line:nth-child(1) {
  transition-delay: 0.5s;
}

.problem-title-line:nth-child(2) {
  transition-delay: 0.62s;
}

.problem-section.is-presented .problem-title-line {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.problem-title-line em {
  color: var(--accent);
  font-style: normal;
}

.problem-showcase {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(34px, 5vw, 78px);
  align-items: stretch;
  min-height: 0;
  margin-top: clamp(24px, 3.5vh, 38px);
  flex: 1;
  grid-template-columns: minmax(260px, 0.72fr) minmax(390px, 1.28fr);
}

.problem-visual {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(205, 170, 128, 0.12);
  border-radius: clamp(20px, 2vw, 30px);
  /* Keep this clear so the padlock WebM alpha shows the panel/page behind it */
  background: transparent;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.34);
  opacity: 0;
  filter: blur(12px);
  transform: translateY(120px) scale(0.9);
  transition:
    opacity 0.6s 0.68s ease,
    filter 0.9s 0.68s ease,
    transform 1.05s 0.62s var(--ease-out);
}

.problem-section.is-presented .problem-visual {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.problem-visual video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92%;
  height: 92%;
  background: transparent;
  object-fit: contain;
  transform: translate(-50%, -54%);
}

.problem-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(153, 121, 83, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(153, 121, 83, 0.04),
    0 0 70px rgba(153, 121, 83, 0.14);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.45);
  transition:
    opacity 0.7s 1.05s ease,
    transform 1.25s 0.9s var(--ease-out);
}

.problem-section.is-presented .problem-orbit {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.problem-visual figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  color: rgba(245, 240, 232, 0.55);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.problem-visual figcaption strong {
  color: #d8b892;
  font-weight: 600;
}

.problem-alert {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(153, 121, 83, 0.36);
  border-radius: 999px;
  color: #d8b892;
  background: rgba(15, 30, 63, 0.74);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 0.5s 1.05s ease,
    transform 0.75s 1s var(--ease-out);
}

.problem-alert i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 10px var(--warn);
  animation: alert-pulse 1.7s infinite ease-in-out;
}

.problem-section.is-presented .problem-alert {
  opacity: 1;
  transform: translateY(0);
}

@keyframes alert-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

.problem-copy {
  display: flex;
  min-height: 0;
  padding-top: clamp(4px, 1.2vh, 14px);
  flex-direction: column;
  justify-content: center;
}

.problem-copy > p {
  max-width: 720px;
  opacity: 0;
  filter: blur(7px);
  transform: translateY(38px);
  transition:
    opacity 0.6s ease,
    filter 0.75s ease,
    transform 0.85s var(--ease-out);
}

.problem-copy > p:nth-child(1) {
  transition-delay: 0.78s;
}

.problem-copy > p:nth-child(2) {
  transition-delay: 0.9s;
}

.problem-copy > p:nth-child(3) {
  transition-delay: 1.02s;
}

.problem-section.is-presented .problem-copy > p {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.problem-copy .problem-lead {
  margin-bottom: 12px;
  color: #f5f0e8;
  font-size: clamp(19px, 1.7vw, 28px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.problem-stat {
  color: #d8b892;
  font-weight: 700;
}

.problem-copy .problem-kicker {
  color: #f5f0e8;
  font-weight: 600;
}

.risk-cloud {
  display: flex;
  gap: clamp(10px, 1.4vh, 14px);
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: clamp(26px, 5vh, 58px);
  flex-direction: column;
}

.risk-cloud span {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 11px 14px;
  border: 1px solid rgba(205, 170, 128, 0.12);
  border-radius: 999px;
  color: rgba(245, 240, 232, 0.72);
  background: rgba(33, 58, 86, 0.84);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  font-size: clamp(9px, 0.78vw, 12px);
  opacity: 0;
  transform: translate3d(110px, 28px, 0) scale(0.78);
  transition:
    opacity 0.45s ease,
    transform 0.85s var(--ease-out);
}

.risk-cloud span b {
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.risk-caption {
  color: rgba(245, 240, 232, 0.45);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.5s 1.06s ease;
}

.problem-section.is-presented .risk-caption {
  opacity: 1;
}

.risk-cloud .risk-primary {
  padding: 14px 20px;
  border-color: rgba(153, 121, 83, 0.40);
  color: #e8d5bc;
  background: rgba(15, 30, 63, 0.86);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(153, 121, 83, 0.14);
  font-size: clamp(12px, 1.05vw, 17px);
  font-weight: 600;
  letter-spacing: -0.02em;
  transition-delay: 1.14s;
}

.risk-cloud .risk-primary b {
  color: var(--warn);
  font-size: 10px;
}

.risk-minor {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.risk-cloud .risk-minor span {
  padding: 9px 12px;
  color: rgba(245, 240, 232, 0.50);
  font-size: clamp(8px, 0.68vw, 10px);
}

.risk-cloud .risk-minor span b {
  color: rgba(245, 240, 232, 0.40);
}

.risk-cloud .risk-minor span:nth-child(1) { transition-delay: 1.26s; }
.risk-cloud .risk-minor span:nth-child(2) { transition-delay: 1.34s; }

.problem-section.is-presented .risk-cloud span {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (max-width: 800px) {
  .problem-section {
    width: 100%;
    margin-top: 0;
  }

  .problem-panel {
    height: auto;
    min-height: 100svh;
    padding: 72px 6.5% 34px;
  }

  .problem-showcase {
    grid-template-columns: 1fr;
  }

  .problem-visual {
    min-height: min(110vw, 480px);
  }

  .problem-copy {
    padding-top: 0;
  }

  .risk-cloud {
    align-items: flex-start;
    margin-top: 30px;
  }

  .risk-minor {
    justify-content: flex-start;
  }
}

@media (max-width: 500px) {
  .problem-section {
    margin-top: 0;
  }

  .problem-section h2 {
    font-size: clamp(34px, 10.5vw, 50px);
  }

  .problem-showcase {
    margin-top: 38px;
  }

  .problem-visual {
    min-height: 390px;
  }

  .problem-visual figcaption {
    right: 17px;
    left: 17px;
    flex-direction: column;
  }

  .risk-cloud span {
    padding: 10px 12px;
  }
}

/* Cinematic approach reveal — same slide transition as the challenge slide */
.solution-section {
  z-index: 13;
  width: 100vw;
  min-height: 100svh;
  margin-top: calc(clamp(100px, 12vw, 190px) * -1);
  margin-bottom: 0;
  background: #0f1e3f;
  scroll-margin-top: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.solution-section::before {
  display: none;
}

.solution-panel {
  position: relative;
  display: flex;
  height: 100svh;
  min-height: 0;
  padding: clamp(32px, 4vh, 54px) clamp(26px, 6vw, 92px);
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 15% 75%, rgba(205, 170, 128, 0.11), transparent 31%),
    radial-gradient(circle at 86% 16%, rgba(205, 170, 128, 0.10), transparent 34%),
    linear-gradient(145deg, #213a56, #142438 65%, #0f1e3f);
  box-shadow: none;
  clip-path: inset(100% 0 0 0);
  opacity: 0.2;
  transform: translateY(14vh) scale(0.985);
  transform-origin: 50% 100%;
  transition:
    clip-path 1.15s cubic-bezier(0.77, 0, 0.18, 1),
    opacity 0.4s ease,
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path, transform;
}

.solution-section.is-presented .solution-panel {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translateY(0) scale(1);
}

.solution-panel::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(205, 170, 128, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205, 170, 128, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  content: "";
  pointer-events: none;
}

.solution-intro {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(26px, 4.2vh, 62px);
  flex: none;
}

.solution-chip {
  margin-bottom: 24px;
  padding: 9px 14px;
  border: 1px solid rgba(205, 170, 128, 0.24);
  border-radius: 999px;
  background: rgba(15, 30, 63, 0.72);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateX(100px) scaleX(0.7);
  transform-origin: 100% 50%;
  transition:
    opacity 0.45s 0.48s ease,
    transform 0.9s 0.42s var(--ease-out);
}

.solution-section.is-presented .solution-chip {
  opacity: 1;
  transform: translateX(0) scaleX(1);
}

.solution-section h2 {
  max-width: none;
  font-size: clamp(34px, 3.9vw, 62px);
  line-height: 1.03;
}

.solution-section h2 .solution-title-line {
  display: block;
  overflow: hidden;
  color: var(--ink);
  opacity: 0;
  filter: blur(8px);
  transform: translateY(80%);
  transition:
    opacity 0.55s 0.5s ease,
    filter 0.75s 0.5s ease,
    transform 0.95s 0.5s var(--ease-out);
}

.solution-section.is-presented .solution-title-line {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.solution-lede {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(38px);
  transition:
    opacity 0.6s 0.72s ease,
    filter 0.75s 0.72s ease,
    transform 0.85s 0.68s var(--ease-out);
}

.solution-section.is-presented .solution-lede {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.solution-grid {
  position: relative;
  z-index: 2;
  min-height: 0;
  flex: 1;
  align-items: center;
}

.solution-section.is-presented .solution-card {
  animation: card-rise 0.85s var(--ease-out) 0.86s forwards;
}

.solution-section.is-presented .solution-card:nth-child(2) {
  animation-delay: 0.96s;
}

.solution-section.is-presented .solution-card:nth-child(3) {
  animation-delay: 1.06s;
}

@keyframes card-rise {
  from {
    opacity: 0;
    filter: blur(7px);
    transform: translateY(46px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .solution-section {
    width: 100%;
    margin-top: 0;
  }

  .solution-panel {
    height: auto;
    min-height: 100svh;
    padding: 72px 6.5% 34px;
  }

  .solution-card,
  .solution-section.is-presented .solution-card {
    opacity: 1;
    animation: none;
  }
}

@media (max-width: 500px) {
  .solution-section {
    margin-top: 0;
  }
}

/* Services — tall scroll track + sticky pin + scroll-driven card stack */
.services-section {
  --stage-pad: clamp(14px, 3.4vw, 52px);
  position: relative;
  z-index: 14;
  align-self: stretch;
  /* Break out of .stage horizontal padding so no body-black strip shows */
  width: calc(100% + (var(--stage-pad) * 2));
  height: 300vh;
  margin-top: calc(clamp(100px, 12vw, 190px) * -1);
  margin-right: calc(var(--stage-pad) * -1);
  margin-bottom: 0;
  margin-left: calc(var(--stage-pad) * -1);
  background:
    radial-gradient(circle at 15% 75%, rgba(205, 170, 128, 0.11), transparent 31%),
    radial-gradient(circle at 86% 16%, rgba(205, 170, 128, 0.10), transparent 34%),
    linear-gradient(145deg, #213a56, #142438 65%, #0f1e3f);
  scroll-margin-top: 0;
  flex: none;
}

.services-section::before {
  display: none;
}

.services-track {
  height: 100%;
}

.services-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.services-panel {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 0;
  padding: clamp(28px, 4vh, 48px) clamp(20px, 4vw, 48px);
  flex-direction: column;
  background:
    radial-gradient(circle at 15% 75%, rgba(205, 170, 128, 0.11), transparent 31%),
    radial-gradient(circle at 86% 16%, rgba(205, 170, 128, 0.10), transparent 34%),
    linear-gradient(145deg, #213a56, #142438 65%, #0f1e3f);
  clip-path: inset(100% 0 0 0);
  opacity: 0.2;
  transform: translateY(14vh) scale(0.985);
  transform-origin: 50% 100%;
  transition:
    clip-path 1.15s cubic-bezier(0.77, 0, 0.18, 1),
    opacity 0.4s ease,
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path, transform;
}

.services-panel::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(205, 170, 128, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205, 170, 128, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  content: "";
  pointer-events: none;
}

.services-section.is-presented .services-panel {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translateY(0) scale(1);
}

.services-intro {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  margin-bottom: clamp(14px, 2vh, 24px);
  flex: none;
  pointer-events: none;
}

.services-chip {
  margin-bottom: 0;
  padding: 9px 14px;
  border: 1px solid rgba(205, 170, 128, 0.24);
  border-radius: 999px;
  background: rgba(15, 30, 63, 0.72);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateX(100px) scaleX(0.7);
  transform-origin: 100% 50%;
  transition:
    opacity 0.45s 0.48s ease,
    transform 0.9s 0.42s var(--ease-out);
}

.services-section.is-presented .services-chip {
  opacity: 1;
  transform: translateX(0) scaleX(1);
}

.services-stack {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  margin: 0 auto;
  flex: 1;
  min-height: 0;
}

.service-card {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  z-index: calc(1 + var(--stack-i));
  display: flex;
  height: min(56vh, 480px);
  padding: clamp(22px, 3.4vh, 40px) clamp(24px, 3.4vw, 48px);
  border: 1px solid rgba(205, 170, 128, 0.12);
  border-radius: clamp(22px, 2.4vw, 36px);
  color: var(--ink);
  background:
    linear-gradient(165deg, rgba(245, 240, 232, 0.04), transparent 42%),
    linear-gradient(155deg, #213a56, #0f1e3f 70%);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(245, 240, 232, 0.06);
  /* -50% keeps the card centered; --card-y drives the stack rise */
  transform: translate3d(0, calc(-50% + var(--card-y, 110%)), 0);
  will-change: transform;
}

.service-card-body {
  display: flex;
  width: 100%;
  min-height: 0;
  flex-direction: column;
}

.service-card h3 {
  margin: 0;
  font-size: clamp(34px, 5.2vw, 68px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.service-title-lead,
.service-title-rest {
  display: block;
}

.service-title-lead {
  color: #fff;
}

.service-title-rest {
  color: rgba(245, 240, 232, 0.42);
  font-weight: 500;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: clamp(22px, 3.2vh, 36px) 0 0;
  padding: 0;
  list-style: none;
  color: rgba(245, 240, 232, 0.72);
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.service-copy {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 34em;
  margin: auto 0 0;
  padding-top: clamp(18px, 3vh, 40px);
  color: rgba(245, 240, 232, 0.88);
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.65;
}

.service-star {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  margin-top: 5px;
  flex: none;
  background: var(--accent);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

@media (max-width: 800px) {
  .services-section {
    width: 100%;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
  }

  .services-panel {
    padding: 72px 5% 28px;
  }

  .service-card {
    height: min(52vh, 420px);
    padding: 24px 20px;
  }

  .service-card h3 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .service-tags {
    gap: 8px 14px;
  }

  .service-copy {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-section {
    height: auto;
  }

  .services-pin {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .services-panel {
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .services-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .service-card {
    position: relative;
    height: auto;
    min-height: 280px;
    transform: none !important;
  }
}
