/* Production hero solution 04. Experimental styles are frozen in Lab v1. */
.v3-hero {
  overflow: clip;
}
.v3-hero-copy {
  position: relative;
  z-index: 1;
}
.v3-hero.has-header-handoff {
  position: relative;
  padding-bottom: max(146px,12svh);
}
.v3-hero:is([data-active-intro="studio"],[data-active-intro="spectrum"]) .v3-hero-grid {
  grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr);
  gap: clamp(32px,5vw,80px);
}
.v3-hero:is([data-active-intro="studio"],[data-active-intro="spectrum"]) .v3-hero-copy {
  max-width: 660px;
  margin-inline: 0;
  text-align: left;
  perspective: none;
}
.v3-hero:is([data-active-intro="studio"],[data-active-intro="spectrum"]) .v3-hero-copy h1 {
  max-width: 11.5ch;
  margin-inline: 0;
  font-size: clamp(3.4rem,5.7vw,5.6rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.v3-hero:is([data-active-intro="studio"],[data-active-intro="spectrum"]) .v3-hero-text {
  max-width: 46ch;
  margin-inline: 0;
}
.v3-hero:is([data-active-intro="studio"],[data-active-intro="spectrum"]) .v3-hero-actions {
  justify-content: flex-start;
}
.v3-hero:is([data-active-intro="studio"],[data-active-intro="spectrum"]) .hero-logo-stage {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 430px;
  aspect-ratio: 1 / 1.08;
  transform: none;
  overflow: clip;
}
.hero-logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 500px;
  aspect-ratio: 1 / 1.08;
  isolation: isolate;
  perspective: 1000px;
}
.hero-logo-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  pointer-events: none;
}
.hero-logo-stage.is-cinematic {
  z-index: 2;
}
.hero-logo-halo {
  position: absolute;
  inset: 10% -4%;
  z-index: -1;
  background: radial-gradient(ellipse at 45% 36%,#278fff20,transparent 52%),radial-gradient(ellipse at 58% 70%,#8445fb20,transparent 52%);
  pointer-events: none;
}
.hero-logo-art {
  position: relative;
  width: min(82%,400px);
  transform-style: preserve-3d;
}
.hero-logo-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 24px 32px #424df822);
}
.hero-logo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  filter: none;
}
.hero-logo-ground {
  position: absolute;
  width: 62%;
  height: 13%;
  left: 19%;
  bottom: 7%;
  background: radial-gradient(ellipse,#4936a02a,transparent 68%);
  opacity: 0;
  pointer-events: none;
}
.hero-logo-replay {
  position: absolute;
  right: 20px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-soft);
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}
.hero-logo-replay[hidden] {
  display: none;
}
.hero-logo-replay.is-header-replay {
  position: static;
  margin-top: 24px;
  background: transparent;
}
.hero-logo-replay:hover {
  color: var(--text);
  border-color: var(--border-strong);
}
.hero-logo-replay:focus-visible {
  outline: 2px solid #43d7ff;
  outline-offset: 4px;
}
.hero-logo-sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.hero-logo-sheen-streak {
  position: absolute;
  inset: 0;
  transform: translateX(-70%);
  background: linear-gradient(112deg,transparent 30%,#b2ddff08 39%,#c1eeff2e 47%,#effcff5e 51%,#c7aeff1a 58%,transparent 68%);
}
@media (prefers-reduced-motion:reduce) {
.hero-logo-canvas,
.hero-logo-replay,
.hero-logo-sheen {
    display: none!important;
  }
}
html.light .hero-logo-halo {
  opacity: .6;
}
@media (max-width:980px) {
.v3-hero-grid {
    gap: 30px;
  }
.hero-logo-stage {
    grid-row: 1;
    min-height: 0;
    width: min(100%,440px);
    justify-self: center;
    aspect-ratio: 1.35;
  }
.hero-logo-art {
    width: min(62%,270px);
  }
.v3-hero:is([data-active-intro="studio"],[data-active-intro="spectrum"]) .v3-hero-grid {
    grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
    gap: 24px;
  }
.v3-hero:is([data-active-intro="studio"],[data-active-intro="spectrum"]) .hero-logo-stage {
    grid-row: auto;
    min-height: 300px;
  }
.v3-hero:is([data-active-intro="studio"],[data-active-intro="spectrum"]) .hero-logo-art {
    width: 82%;
  }
.v3-hero:is([data-active-intro="studio"],[data-active-intro="spectrum"]) .v3-hero-copy h1 {
    font-size: clamp(3rem,5.7vw,4rem);
  }
}
@media (max-width:720px) {
.v3-hero {
    padding-top: 32px;
  }
.v3-hero-grid {
    gap: 26px;
  }
.hero-logo-stage {
    width: 100%;
    aspect-ratio: 1.35;
  }
.hero-logo-art {
    width: min(54%,240px);
  }
.v3-hero.has-header-handoff {
    min-height: calc(100svh - 80px);
    padding-block: clamp(72px,14svh,120px);
    padding-bottom: 220px;
  }
.hero-logo-replay.is-header-replay {
    margin-top: 20px;
  }
.v3-hero:is([data-active-intro="studio"],[data-active-intro="spectrum"]) {
    min-height: auto;
    padding-block: 24px 48px;
  }
.v3-hero:is([data-active-intro="studio"],[data-active-intro="spectrum"]) .v3-hero-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 16px;
  }
.v3-hero:is([data-active-intro="studio"],[data-active-intro="spectrum"]) .v3-hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.65rem,10.8vw,4.4rem);
  }
.v3-hero:is([data-active-intro="studio"],[data-active-intro="spectrum"]) .v3-hero-text {
    max-width: 38ch;
  }
.v3-hero:is([data-active-intro="studio"],[data-active-intro="spectrum"]) .hero-logo-stage {
    grid-row: 1;
    width: min(100%,480px);
    min-height: 0;
    height: auto;
    aspect-ratio: 1 / 1.05;
  }
.v3-hero:is([data-active-intro="studio"],[data-active-intro="spectrum"]) .hero-logo-art {
    width: min(66%,260px);
  }
}
.v3-hero h1 .reveal-line {
  overflow: clip;
  overflow-clip-margin: .15em;
}
.v3-work-card {
  perspective: 900px;
}
.v3-work-visual img {
  transition: none;
}
.v3-process article::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg,#38bdf8,#8b5cf6);
  width: var(--step-progress,100%);
}
.v3-process article.is-active > span {
  color: #38bdf8;
}
@media (prefers-reduced-motion:reduce) {
.v3-service-item,
.v3-work-card,
.v3-work-visual img {
    transition: none!important;
  }
}
.v3-brand-moment .brand-reveal {
  width: 96px;
  height: 96px;
  margin-inline: auto;
  display: block;
}
@media (max-width:360px) {
.header .nav {
    gap: 4px;
  }
.header .brand {
    gap: 6px;
  }
.header .brand-wordmark span {
    font-size: 1.05rem;
  }
.header .nav-actions {
    gap: 6px;
    margin-right: 0;
  }
.header .nav-cta {
    font-size: .75rem;
    gap: 4px;
  }
.header .nav-mobile-toggle {
    width: 36px;
    height: 36px;
  }
.header .nav-account-login,
.header .nav-account-toggle {
    width: 32px;
    height: 32px;
  }
}

/* Mobile solution 05 shares the lab's larger landscape ribbon frame. */
@media(max-width:720px) {
  .v3-hero[data-active-intro="spectrum"] .hero-logo-stage { aspect-ratio:1.15; }
  .v3-hero[data-active-intro="spectrum"] .hero-logo-art { width:min(58%,220px); }
  .v3-hero[data-active-intro="spectrum"] .hero-logo-ground { width:90%; left:5%; height:14%; bottom:9%; background:radial-gradient(ellipse,#378ee744,#8545fb22 38%,transparent 70%); }
}

/* Give the mobile ribbon almost the full viewport width. */
@media(max-width:720px) {
  .v3-hero[data-active-intro="spectrum"] { padding-inline:0; }
  .v3-hero[data-active-intro="spectrum"] .v3-hero-grid {
    box-sizing:border-box;
    width:calc(100% - 12px);
    max-width:none;
    margin-inline:6px;
    padding-inline:0;
  }
  .v3-hero[data-active-intro="spectrum"] .hero-logo-stage {
    width:100%;
    max-width:none;
    margin-inline:0;
    padding-inline:0;
  }
}

/* Center the copy beneath the mobile ribbon without changing desktop layout. */
@media(max-width:720px) {
  .v3-hero[data-active-intro="spectrum"] .v3-hero-copy {
    box-sizing:border-box;
    width:100%;
    margin-inline:auto;
    padding-inline:10px;
    text-align:center;
  }
  .v3-hero[data-active-intro="spectrum"] .v3-hero-copy h1 {
    margin-inline:auto;
  }
  .v3-hero[data-active-intro="spectrum"] .v3-hero-text {
    max-width:32ch;
    margin-inline:auto;
  }
  .v3-hero[data-active-intro="spectrum"] .v3-hero-actions {
    justify-content:center;
  }
}
