/* Dexxtra Studios
   Calm lane. Minimal motion.
   Local only: background, layout, glass, pills, cards
*/

/* =========================================================
   Studios: tokens + base
   ========================================================= */

body.lane-studios{
  --st-gold: #E8C68B;
  --st-ink:  #050509;
  --st-ice:  #AFC7E3;

  --st-card:     rgba(8, 10, 16, 0.55);
  --st-card-2:   rgba(8, 10, 16, 0.40);
  --st-line:     rgba(232, 198, 139, 0.16);
  --st-text:     rgba(245, 245, 247, 0.92);
  --st-text-dim: rgba(245, 245, 247, 0.72);

  --st-radius: 22px;
  --st-shadow: 0 30px 90px rgba(0,0,0,0.55);

  /* Contact pill knobs (lane scoped, not global) */
  --st-pill-left: 660px;
  --st-pill-bottom: 14px;
  --st-left-reserve: 34px;
  --st-card-bottom: 6px;
  --st-context-top: 28px;

  color: var(--st-text);
  background: #000;
}

body.lane-studios a{
  color: inherit;
  text-decoration: none;
}

body.lane-studios a:focus-visible,
body.lane-studios button:focus-visible{
  outline: 2px solid var(--st-gold);
  outline-offset: 3px;
}

body.lane-studios .st-wrap{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* =========================================================
   Background
   ========================================================= */

body.lane-studios .st-bg{
  position: fixed;
  inset: 0;
  z-index: -3;
  background: #000;
  pointer-events: none;
}

body.lane-studios .st-bg-img{
  position: absolute;
  inset: 0;
  background-image: url("./assets/img/studios-bg.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: saturate(1.04) contrast(1.03) brightness(0.92);
}

body.lane-studios .st-bg-vignette{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 30% 20%, rgba(175,199,227,0.14), rgba(0,0,0,0) 55%),
    radial-gradient(900px 520px at 70% 30%, rgba(232,198,139,0.10), rgba(0,0,0,0) 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.82));
}

body.lane-studios .st-bg-grain{
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.02),
      rgba(255,255,255,0.02) 1px,
      rgba(0,0,0,0) 2px,
      rgba(0,0,0,0) 4px
    );
  mix-blend-mode: overlay;
}

/* =========================================================
   Layout
   ========================================================= */

body.lane-studios .st-main{
  padding-bottom: 60px;
}

/* =========================================================
   Hero
   ========================================================= */

body.lane-studios .st-hero{
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: center;
  padding: 90px 0 26px;
}

body.lane-studios .st-hero-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 18px;
  align-items: start;
}

body.lane-studios .st-hero-card{
  width: 100%;
  max-width: 760px;
  padding: 26px;
}

body.lane-studios .st-kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,245,247,0.70);
}

body.lane-studios .st-kicker::before{
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(232,198,139,0.55);
}

body.lane-studios .st-hero h1{
  margin: 14px 0 10px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

body.lane-studios .st-sub{
  margin: 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--st-text-dim);
}

/* =========================================================
   Glass shells (no blur)
   ========================================================= */

body.lane-studios .st-card{
  border-radius: var(--st-radius);
  border: 1px solid var(--st-line);
  background: var(--st-card);
  box-shadow: var(--st-shadow);
  overflow: visible;
}

body.lane-studios .st-define-card{
  padding: 18px 18px 20px;
}

body.lane-studios .st-define-card p{
  max-width: none;
}

body.lane-studios .st-tile,
body.lane-studios .st-list{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(8,10,16,0.40);
  padding: 16px;
}

body.lane-studios .st-contact{
  border-radius: var(--st-radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(8,10,16,0.42);
  padding: 20px;
}

/* =========================================================
   Buttons + pills
   ========================================================= */

body.lane-studios .st-actions{
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

body.lane-studios .st-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(8,10,16,0.32);
  color: rgba(245,245,247,0.90);
  font-weight: 650;
}

body.lane-studios .st-btn:hover{
  background: rgba(8,10,16,0.42);
}

body.lane-studios .st-btn-gold{
  border-color: rgba(232,198,139,0.35);
  background: rgba(232,198,139,0.12);
}

body.lane-studios .st-btn-gold:hover{
  background: rgba(232,198,139,0.16);
}

body.lane-studios .st-meta{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.lane-studios .st-chip{
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(8,10,16,0.30);
  color: rgba(245,245,247,0.78);
}

/* =========================================================
   Panel
   ========================================================= */

body.lane-studios .st-panel{
  padding: 18px;
  background: var(--st-card-2);
}

body.lane-studios .st-panel-title{
  font-weight: 750;
  letter-spacing: 0.2px;
  margin-bottom: 12px;
}

body.lane-studios .st-panel-row{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

body.lane-studios .st-panel-row:first-of-type{
  border-top: 0;
}

body.lane-studios .st-panel-k{
  font-size: 12px;
  color: rgba(245,245,247,0.62);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

body.lane-studios .st-panel-v{
  font-size: 14px;
  line-height: 1.55;
  color: rgba(245,245,247,0.78);
}

body.lane-studios .st-divider{
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 14px 0;
}

body.lane-studios .st-mini-k{
  font-size: 12px;
  color: rgba(232,198,139,0.82);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

body.lane-studios .st-mini-v{
  margin-top: 8px;
  color: rgba(245,245,247,0.74);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================
   Sections
   ========================================================= */

body.lane-studios .st-section{
  padding: 34px 0;
}

body.lane-studios .st-section-head{
  margin-bottom: 16px;
}

body.lane-studios .st-section h2{
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

body.lane-studios .st-section p{
  margin: 0;
  color: rgba(245,245,247,0.72);
  font-size: 16px;
  line-height: 1.65;
  max-width: 74ch;
}

body.lane-studios .st-grid-3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

body.lane-studios .st-grid-2{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

/* =========================================================
   Definition: scroll reveal
   ========================================================= */

body.lane-studios #definition .st-wrap{
  display: grid;
  justify-items: center;
}

body.lane-studios #definition .st-section-head{
  width: 100%;
  max-width: 680px;
  margin-bottom: 10px;
  text-align: center;

  opacity: 0;
  transform: translateY(10px);
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: 60ms;
}

body.lane-studios.studios-scrolled #definition .st-section-head{
  opacity: 1;
  transform: translateY(0);
}

body.lane-studios #definition .st-define-card{
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 18px;

  box-shadow: none;
  background: rgba(8,10,16,0.38);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;

  opacity: 0;
  transform: translateY(10px);
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: 120ms;

  text-align: center;
}

body.lane-studios #definition .st-define-card p{
  margin: 0 auto;
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(245,245,247,0.78);
}

body.lane-studios.studios-scrolled #definition .st-define-card{
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Proof and handoff
   ========================================================= */

body.lane-studios .st-signal-sub{
  margin: 8px 0 14px;
  color: rgba(245,245,247,0.72);
  line-height: 1.6;
  max-width: 70ch;
}

body.lane-studios .st-proof{
  margin-top: 14px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(245,245,247,0.58);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

body.lane-studios .st-proof-link{
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

body.lane-studios .st-handoff{
  margin-top: 6px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  color: rgba(232,198,139,0.75);
  text-align: center;
}

body.lane-studios .st-proof-wrap{
  margin-top: 14px;
}

body.lane-studios .st-proof-card{
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 16px;
  background: rgba(8,10,16,0.42);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  box-shadow: none;
}

body.lane-studios [data-content-key="studios.proof.backbone"]{
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 62ch;
  justify-self: center;
  align-self: center;
}

body.lane-studios #proof,
body.lane-studios .st-proof,
body.lane-studios .st-proof-card{
  text-align: center;
}

/* =========================================================
   Contact
   ========================================================= */

body.lane-studios .st-contact-shell{
  display: grid;
  place-items: center;
}

body.lane-studios .st-contact-shell .st-contact{
  width: min(960px, 100%);
  border-radius: var(--st-radius);
  border: 1px solid rgba(232,198,139,0.16);
  background: rgba(8,10,16,0.52);
  box-shadow: 0 34px 110px rgba(0,0,0,0.60);
}

body.lane-studios .st-contact{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: start;
}

body.lane-studios .st-contact h2{
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.18;
}

body.lane-studios .st-contact-meta{
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

body.lane-studios .st-contact-meta .k{
  display: inline-block;
  min-width: 88px;
  color: rgba(245,245,247,0.60);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

body.lane-studios .st-contact-meta .v{
  color: rgba(245,245,247,0.78);
  font-size: 14px;
  line-height: 1.55;
}

body.lane-studios .st-contact-right{
  display: grid;
  gap: 10px;
  justify-items: start;
}

body.lane-studios .st-note{
  color: rgba(245,245,247,0.58);
  font-size: 12px;
}

/* Contact CTA: subhead and context */
body.lane-studios #contact [data-content-key="studios.cta.subhead"]{
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(245,245,247,0.78);
  margin-bottom: 10px;
}

body.lane-studios #contact [data-content-key="studios.cta.context"]{
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(245,245,247,0.70);
}

/* Contact pills positioning */
body.lane-studios #contact .st-contact{
  position: relative;
  padding-bottom: var(--st-card-bottom);
}

body.lane-studios #contact .st-work-pills{
  position: absolute;
  left: var(--st-pill-left);
  bottom: var(--st-pill-bottom);
  margin: 0;
}

body.lane-studios #contact .st-work-pills .st-chip{
  white-space: nowrap;
}

body.lane-studios #contact .st-contact-left{
  padding-bottom: var(--st-left-reserve);
}

body.lane-studios #contact .st-cta-context{
  margin-top: var(--st-context-top);
  margin-bottom: 0;
}

body.lane-studios #contact .st-contact-right{
  margin-top: 50px;
  padding-right: 80px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

body.lane-studios #contact .st-contact-right .st-btn{
  white-space: nowrap;
}

/* =========================================================
   Footer
   ========================================================= */

body.lane-studios .st-foot{
  padding: 30px 0 0;
}

body.lane-studios .st-foot-inner{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  padding-bottom: 6px;
  color: rgba(245,245,247,0.62);
  font-size: 12px;
}

/* =========================================================
   Individual injected cards
   ========================================================= */

body.lane-studios .studios-card-item{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(8,10,16,0.40);
  padding: 18px 16px;
  max-width: 360px;
  margin: 0 auto;
}

body.lane-studios .studios-card-item h3{
  margin: 0 0 10px;
  font-weight: 720;
  font-size: 1.1rem;
  line-height: 1.22;
}

body.lane-studios .studios-card-item p{
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(245,245,247,0.72);
}

/* Capabilities grid */
body.lane-studios .st-cap-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  align-items: stretch;
}

body.lane-studios .st-cap-grid .studios-card-item{
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Relationships grid */
body.lane-studios .st-relations{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.lane-studios .st-relations .studios-card-item{
  width: 100%;
  max-width: none;
  margin: 0;
}

@media (max-width: 900px){
  body.lane-studios .st-relations{
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Signal stack
   ========================================================= */

body.lane-studios #signal-stack{
  position: relative;
  padding: 44px 0;
}

body.lane-studios #signal-stack::before,
body.lane-studios #signal-stack::after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 40px));
  height: 1px;
  background: rgba(255,255,255,0.06);
}

body.lane-studios #signal-stack::before{ top: 0; }
body.lane-studios #signal-stack::after{ bottom: 0; }

/* Signal card (scoped here only) */
body.lane-studios #signal-stack .st-signal-card{
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 10px;
  background: rgba(8,10,16,0.44);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: none;
}



/* Rows */
body.lane-studios #signal-stack .st-panel-rows{
  display: grid;
}

body.lane-studios #signal-stack .st-panel-row{
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  min-height: 72px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* add breathing room between intro copy and the first row */
body.lane-studios #signal-stack .st-panel-rows{
  margin-top: 15px; /* tweak 6px to 14px */
}


body.lane-studios #signal-stack .st-panel-row:last-child{
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 18px;
}

body.lane-studios #signal-stack .st-panel-row:last-child::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(245,245,247,0.18),
    transparent
  );
}

body.lane-studios #signal-stack .st-panel-k{
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(245,245,247,0.55);
}

body.lane-studios #signal-stack .st-panel-v{
  font-size: 14px;
  color: rgba(245,245,247,0.82);
}

/* Footer mini */
body.lane-studios #signal-stack .st-mini{
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Player */
body.lane-studios #signal-stack .st-player{
  position: relative;
  width: 100%;
  max-width: 408px;
  margin-top: 12px;

  display: grid;
  grid-template-columns: 30px 240px 1fr;
  align-items: center;
  column-gap: 10px;

  min-height: 40px;
  padding: 6px 1px 6px 10px;
  border-radius: 999px;

  background: rgba(245,245,247,0.06);
  border: 1px solid rgba(255,255,255,0.14);

  cursor: default;
  transition: max-width 240ms ease;
}

body.lane-studios #signal-stack .st-player:has(.st-vol-btn:hover),
body.lane-studios #signal-stack .st-player:has(.st-vol-pop:hover),
body.lane-studios #signal-stack .st-player[data-vol-open="1"]{
  max-width: 520px;
}

body.lane-studios #signal-stack .st-player-right{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: stretch;
  gap: 28px;
  min-width: 0;
}

body.lane-studios #signal-stack .st-player-right::before{
  content: "";
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: calc(30px - 1px);
  right: -140px;
  pointer-events: none;
  opacity: 0;
  background: transparent;
  z-index: 0;
}

body.lane-studios #signal-stack .st-player-right:has(.st-vol-btn:hover)::before,
body.lane-studios #signal-stack .st-player-right:has(.st-vol-pop:hover)::before{
  pointer-events: auto;
  opacity: 1;
}

body.lane-studios #signal-stack .st-vol-btn,
body.lane-studios #signal-stack .st-vol-pop,
body.lane-studios #signal-stack .st-player-time{
  position: relative;
  z-index: 1;
}

body.lane-studios #signal-stack .st-player-meta,
body.lane-studios #signal-stack .st-player-kicker,
body.lane-studios #signal-stack .st-player-title{
  display: none;
}

/* Play button */
body.lane-studios #signal-stack .st-play-btn{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(8,10,16,0.35);
  color: rgba(245,245,247,0.95);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

body.lane-studios #signal-stack .st-play-btn:hover{
  background: rgba(245,245,247,0.14);
  border-color: rgba(255,255,255,0.28);
}

/* Scrub */
body.lane-studios #signal-stack .st-scrub{
  width: 100%;
  min-width: 0;
  height: 3px;
  border-radius: 3px;
  appearance: none;
  outline: none;
  background: rgba(255,255,255,0.28);
  cursor: pointer;
}

body.lane-studios #signal-stack .st-scrub::-webkit-slider-thumb{
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(245,245,247,0.95);
  cursor: grab;
}

body.lane-studios #signal-stack .st-scrub:active::-webkit-slider-thumb{
  cursor: grabbing;
}

body.lane-studios #signal-stack .st-scrub::-moz-range-thumb{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(245,245,247,0.95);
  border: none;
  cursor: grab;
}

body.lane-studios #signal-stack .st-scrub:active::-moz-range-thumb{
  cursor: grabbing;
}

/* Time */
body.lane-studios #signal-stack .st-player-time{
  margin-left: auto;

  min-width: 12ch;                 /* reserve space for "-0:00 / 0:00" */
  font-variant-numeric: tabular-nums;

  font-size: 10px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0.65;
  text-align: right;
  color: rgba(245,245,247,0.65);
  transform: translateX(-40px);
  cursor: pointer;
}



/* =========================================================
   Time flip — ONLY the moving numbers (left of "/")
   ========================================================= */

body.lane-studios #signal-stack .st-player-time{
  perspective: 700px;
}

/* dynamic time only */
body.lane-studios #signal-stack .st-player-time .st-time-dyn{
  display: inline-block;
  transform-origin: 50% 60%;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

/* triggered by JS on the dynamic span only */
body.lane-studios #signal-stack .st-player-time .st-time-dyn.is-flipping{
  animation: stTimeFlip 260ms ease;
}

@keyframes stTimeFlip{
  0%{
    transform: rotateX(0deg);
    opacity: 1;
  }
  45%{
    transform: rotateX(90deg);
    opacity: 0.15;
  }
  55%{
    transform: rotateX(-90deg);
    opacity: 0.15;
  }
  100%{
    transform: rotateX(0deg);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce){
  body.lane-studios #signal-stack .st-player-time .st-time-dyn.is-flipping{
    animation: none;
  }
}
/* Volume */
body.lane-studios #signal-stack .st-vol-btn{
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(8,10,16,0.35);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  position: relative;
  transform: translateX(-4px); /* 👈 subtle left nudge */
}



body.lane-studios #signal-stack .st-vol-btn:hover{
  background: rgba(245,245,247,0.12);
  border-color: rgba(245,245,247,0.35);
  box-shadow:
    inset 0 0 0 1px rgba(245,245,247,0.18),
    inset 0 0 10px rgba(245,245,247,0.22);
}

body.lane-studios #signal-stack .st-vol-btn:hover .st-vol-ico{
  filter: drop-shadow(0 0 6px rgba(245,245,247,0.55));
}

body.lane-studios #signal-stack .st-vol-btn::after{
  content: "";
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: 100%;
  width: 48px;
  background: transparent;
  pointer-events: none;
}

body.lane-studios #signal-stack .st-player-right:has(.st-vol-btn:hover) .st-vol-btn::after,
body.lane-studios #signal-stack .st-player-right:has(.st-vol-pop:hover) .st-vol-btn::after,
body.lane-studios #signal-stack .st-player[data-vol-open="1"] .st-vol-btn::after{
  pointer-events: auto;
}

body.lane-studios #signal-stack .st-vol-pop{
  position: absolute;
  top: 50%;
  left: calc(30px + 8px);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  width: 96px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

body.lane-studios #signal-stack .st-vol-pop::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  bottom: -12px;
}

body.lane-studios #signal-stack .st-vol-pop .st-vol{
  appearance: none;
  width: 96px;
  height: 3px;
  border-radius: 3px;
  background: rgba(245,245,247,0.20);
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

body.lane-studios #signal-stack .st-vol-pop .st-vol::-webkit-slider-thumb{
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(245,245,247,0.98);
  cursor: grab;
}

body.lane-studios #signal-stack .st-vol-pop .st-vol:active::-webkit-slider-thumb{
  cursor: grabbing;
}

body.lane-studios #signal-stack .st-vol-pop .st-vol::-moz-range-thumb{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(245,245,247,0.98);
  border: none;
  cursor: grab;
}

body.lane-studios #signal-stack .st-vol-pop .st-vol:active::-moz-range-thumb{
  cursor: grabbing;
}

body.lane-studios #signal-stack .st-player-right:has(.st-vol-btn:hover) .st-vol-pop,
body.lane-studios #signal-stack .st-player-right:has(.st-vol-pop:hover) .st-vol-pop,
body.lane-studios #signal-stack .st-player[data-vol-open="1"] .st-vol-pop{
  opacity: 1;
  pointer-events: auto;
}

body.lane-studios #signal-stack .st-player-right:has(.st-vol-btn:hover) .st-player-time,
body.lane-studios #signal-stack .st-player-right:has(.st-vol-pop:hover) .st-player-time,
body.lane-studios #signal-stack .st-player[data-vol-open="1"] .st-player-time{
  transform: translateX(-10px);
}

/* Viz */
body.lane-studios #signal-stack .st-viz{
  margin-top: 10px;
  display: grid;
  row-gap: 8px;
}

body.lane-studios #signal-stack .st-viz canvas{
  width: 100%;
  height: 70px;
  display: none;
  background: transparent;
  border: none;
  border-radius: 0;
  pointer-events: none;
}

body.lane-studios #signal-stack .st-viz canvas.is-on{
  display: block;
}

/* =========================================================
   Ethos: unboxed
   ========================================================= */

body.lane-studios #ethos .st-card,
body.lane-studios #ethos .st-define-card,
body.lane-studios #ethos .st-panel{
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.lane-studios #ethos h2{
  margin-bottom: 8px;
}

body.lane-studios #ethos p{
  max-width: 64ch;
  color: rgba(245,245,247,0.78);
}

/* =========================================================
   Work with Studios
   ========================================================= */

body.lane-studios #work-with-studios{
  padding: 28px 0 34px;
}

body.lane-studios #work-with-studios .st-card{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;

  max-width: 960px;
  margin: 0 auto;

  padding: 20px 22px;
  border-radius: 22px;

  background: rgba(8,10,16,0.44);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: none;
}

body.lane-studios #work-with-studios h2{
  margin: 0 0 6px;
  font-size: 22px;
}

body.lane-studios #work-with-studios p{
  margin: 0;
  max-width: 60ch;
  color: rgba(245,245,247,0.72);
}

body.lane-studios #work-with-studios .st-actions{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

body.lane-studios #work-with-studios .st-btn.secondary{
  opacity: 0.75;
}

body.lane-studios #work-with-studios .st-note{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(245,245,247,0.55);
}
/* =========================================================
   Responsive
   ========================================================= */

/* CONTACT CTA PILLS (JS injected) — default (desktop/tablet) */
body.lane-studios #contact [data-studios-cta-pills]{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
}

/* Position knobs (lane scoped) */
body.lane-studios{
  --st-pill-right: 18px;
  --st-pill-bottom: 14px;
}

/* Default: pin pills to bottom-right inside the contact card */
body.lane-studios #contact .st-work-pills{
  position: absolute;
  left: auto;
  right: var(--st-pill-right);
  bottom: var(--st-pill-bottom);
  margin: 0;
}

/* keep chips tight */
body.lane-studios #contact [data-studios-cta-pills] .st-chip{
  display: inline-flex;
  white-space: nowrap;
}

/* ---- Mobile base (phones + small tablets) ---- */
@media (max-width: 720px){

  /* container */
  body.lane-studios .st-wrap{
    width: calc(100% - 26px);
  }

  /* hero */
  body.lane-studios .st-hero{
    padding-top: 34px;
  }

  body.lane-studios .st-hero-card{
    padding: 20px;
  }

  /* section spacing */
  body.lane-studios #definition{
    padding-bottom: 48px;
  }

  body.lane-studios #role{
    padding-top: 48px;
    padding-bottom: 48px;
  }

  body.lane-studios #role .st-section-head{
    margin-bottom: 50px;
  }

  body.lane-studios #capabilities{
    padding-top: 48px;
    padding-bottom: 48px;
  }

  body.lane-studios #capabilities .st-section-head{
    margin-bottom: 50px;
  }

  /* collapse grids */
  body.lane-studios .st-grid-3,
  body.lane-studios .st-grid-2{
    grid-template-columns: 1fr;
  }

  /* explore cinematics */
  body.lane-studios #explore-cinematics{
    padding-top: 48px;
    padding-bottom: 56px;
  }

  body.lane-studios .st-proof{
    margin-top: 35px;
  }

  body.lane-studios .st-handoff{
    margin-top: 12px;
  }

  body.lane-studios .st-proof-link{
    margin-top: 50px;
  }

  /* relationship */
  body.lane-studios #relationship{
    padding-top: 70px;
    padding-bottom: 48px;
  }

  body.lane-studios #relationship .st-section-head{
    margin-bottom: 35px;
  }

  /* signal stack */
  body.lane-studios #signal-stack{
    padding-top: 48px;
    padding-bottom: 48px;
  }

  body.lane-studios #signal-stack .st-player{
    max-width: 100%;
  }

  /* ethos */
  body.lane-studios #ethos{
    padding-top: 48px;
    padding-bottom: 48px;
  }

  /* work with studios */
  body.lane-studios #work-with-studios .st-card{
    grid-template-columns: 1fr;
    width: 100%;
    gap: 14px;
  }

  body.lane-studios #work-with-studios .st-actions{
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }

  /* contact */
  body.lane-studios .st-contact{
    grid-template-columns: 1fr;
  }

  body.lane-studios #contact .st-contact-right{
    margin-top: 14px;
    padding-right: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  /* Mobile override: pills go back into normal flow */
  body.lane-studios #contact .st-work-pills{
    position: static;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 10px;
  }

  body.lane-studios #contact .st-contact-left{
    padding-bottom: 0;
  }

  /* footer */
  body.lane-studios .st-foot{
    padding-top: 24px;
  }
}

/* ---- Mobile small (phones) ---- */
@media (max-width: 560px){

  body.lane-studios #signal-stack .st-vol-btn,
  body.lane-studios #signal-stack .st-vol-pop{
    display: none;
  }

  body.lane-studios #signal-stack .st-player{
    grid-template-columns: 30px 1fr auto;
    padding-right: 12px;
  }

  body.lane-studios #signal-stack .st-player-time{
    transform: none;
    margin-left: 0;
    text-align: right;
  }

  body.lane-studios #signal-stack .st-player-right{
    gap: 10px;
    justify-content: flex-end;
  }
}


/* iPhone SE-ish landscape edge case */
@media (orientation: landscape) and (max-height: 380px){
  body.lane-studios #signal-stack .st-player{
    grid-template-columns: 30px 1fr auto;
  }
  body.lane-studios #signal-stack .st-player-time{
    margin-left: 0;
    transform: none;
  }
  body.lane-studios #signal-stack .st-player-right{
    justify-content: flex-end;
    gap: 10px;
  }
}

/* =========================================================
   Motion & Animation
   ---------------------------------------------------------
   Studios lane
   Calm, controlled, weighted motion
   ========================================================= */

/* =========================================================
   HERO CARD — Entrance Animation
   ========================================================= */

/* Initial state (before JS hydration) */
body.lane-studios .st-hero-card{
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 600ms ease,
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Reveal state (after Studios JS is ready) */
body.lane-studios.studios-loaded .st-hero-card{
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   ANIMATION
   Role section
   ========================================================= */

/* Base hidden state (section head + cards) */
body.lane-studios .st-anim-role-head,
body.lane-studios [data-studios-role] .studios-card-item{
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 620ms ease;
  will-change: opacity, transform, filter;
}

/* Reveal head */
body.lane-studios .st-inview .st-anim-role-head{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Reveal cards */
body.lane-studios .st-inview [data-studios-role] .studios-card-item{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger cards (same speed) + pause after title */
body.lane-studios .st-inview [data-studios-role] .studios-card-item:nth-child(1){ transition-delay: 160ms; } /* 80 + 80 */
body.lane-studios .st-inview [data-studios-role] .studios-card-item:nth-child(2){ transition-delay: 240ms; } /* 80 + 160 */
body.lane-studios .st-inview [data-studios-role] .studios-card-item:nth-child(3){ transition-delay: 320ms; } /* 80 + 240 */

/* =========================================================
   ANIMATION — CAPABILITIES
   Head + injected cards reveal
   ========================================================= */

/* Base hidden state (head + cards) */
body.lane-studios .st-anim-cap-head,
body.lane-studios [data-studios-capabilities] .studios-card-item{
  opacity: 0;
  transform: translateY(12px);
  filter: blur(5px);
  transition:
    opacity 560ms ease,
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 560ms ease;
  will-change: opacity, transform, filter;
}

/* Reveal head */
body.lane-studios .st-inview .st-anim-cap-head{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Reveal cards */
body.lane-studios .st-inview [data-studios-capabilities] .studios-card-item{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger (pause after title, then cascade) */
body.lane-studios .st-inview [data-studios-capabilities] .studios-card-item:nth-child(1){ transition-delay: 140ms; }
body.lane-studios .st-inview [data-studios-capabilities] .studios-card-item:nth-child(2){ transition-delay: 200ms; }
body.lane-studios .st-inview [data-studios-capabilities] .studios-card-item:nth-child(3){ transition-delay: 260ms; }
body.lane-studios .st-inview [data-studios-capabilities] .studios-card-item:nth-child(4){ transition-delay: 320ms; }
body.lane-studios .st-inview [data-studios-capabilities] .studios-card-item:nth-child(5){ transition-delay: 380ms; }
body.lane-studios .st-inview [data-studios-capabilities] .studios-card-item:nth-child(6){ transition-delay: 440ms; }

/* =========================================================
   ANIMATION — PROOF BLOCK
   Keep layout, animate cluster
   ========================================================= */

/* Base hidden */
body.lane-studios .st-proof,
body.lane-studios .st-handoff,
body.lane-studios .st-proof-link{
  opacity: 0;
  transform: translateY(12px);
  filter: blur(5px);
  transition:
    opacity 560ms ease,
    transform 560ms cubic-bezier(0.22,1,0.36,1),
    filter 560ms ease;
  will-change: opacity, transform, filter;
}

/* Reveal when the proof block itself gets st-inview */
body.lane-studios .st-proof.st-inview{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Reveal its following siblings (same layout, no wrapper) */
body.lane-studios .st-proof.st-inview + .st-handoff{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 70ms;
}

body.lane-studios .st-proof.st-inview + .st-handoff + .st-proof-link{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 140ms;
}

/* =========================================================
   RELATIONSHIP — card stagger first, then signal sweep
   (Sweep waits until card is basically finished)
   ========================================================= */

body.lane-studios #relationship{
  /* tune these */
  --rel-card-dur: 560ms;
  --rel-sweep-wait: 220ms; /* extra wait AFTER the card reveal */
}

/* Card must be relative so sweep sits underneath content */
body.lane-studios #relationship [data-studios-relationships] .studios-card-item{
  position: relative;
  overflow: hidden;
}

/* Sweep behind content */
body.lane-studios #relationship [data-studios-relationships] .studios-card-item::after{
  z-index: 0;
}
body.lane-studios #relationship [data-studios-relationships] .studios-card-item > *{
  position: relative;
  z-index: 1;
}

/* -----------------------------
   Card reveal (stagger)
   ----------------------------- */
body.lane-studios #relationship [data-studios-relationships] .studios-card-item{
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  transition:
    opacity var(--rel-card-dur) ease,
    transform var(--rel-card-dur) cubic-bezier(0.22, 1, 0.36, 1),
    filter var(--rel-card-dur) ease;
  will-change: opacity, transform, filter;
}

body.lane-studios #relationship.st-inview [data-studios-relationships] .studios-card-item{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger timing */
body.lane-studios #relationship.st-inview [data-studios-relationships] .studios-card-item:nth-child(1){ transition-delay: 220ms; }
body.lane-studios #relationship.st-inview [data-studios-relationships] .studios-card-item:nth-child(2){ transition-delay: 300ms; }
body.lane-studios #relationship.st-inview [data-studios-relationships] .studios-card-item:nth-child(3){ transition-delay: 380ms; }

/* -----------------------------
   Signal sweep (delayed until after reveal)
   ----------------------------- */
body.lane-studios #relationship [data-studios-relationships] .studios-card-item::after{
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border-radius: inherit;

  background: linear-gradient(
    90deg,
    rgba(232,198,139,0.0) 0%,
    rgba(232,198,139,0.28) 35%,
    rgba(141,199,255,0.35) 50%,
    rgba(232,198,139,0.28) 65%,
    rgba(232,198,139,0.0) 100%
  );

  transform: translateX(-120%);
  opacity: 0;
}

body.lane-studios #relationship.st-inview [data-studios-relationships] .studios-card-item::after{
  animation: st-rel-signal-pass 900ms cubic-bezier(0.19,1,0.22,1) forwards;
}

/* Sweep delay = card delay + card duration + extra wait */
body.lane-studios #relationship.st-inview [data-studios-relationships] .studios-card-item:nth-child(1)::after{
  animation-delay: calc(220ms + var(--rel-card-dur) + var(--rel-sweep-wait));
}
body.lane-studios #relationship.st-inview [data-studios-relationships] .studios-card-item:nth-child(2)::after{
  animation-delay: calc(300ms + var(--rel-card-dur) + var(--rel-sweep-wait));
}
body.lane-studios #relationship.st-inview [data-studios-relationships] .studios-card-item:nth-child(3)::after{
  animation-delay: calc(380ms + var(--rel-card-dur) + var(--rel-sweep-wait));
}

@keyframes st-rel-signal-pass{
  0%   { transform: translateX(-120%); opacity: 0; }
  20%  { opacity: 0.55; }
  100% { transform: translateX(120%); opacity: 0; }
}




/* =========================================================
   ANIMATION — SIGNAL STACK
   Vertical system cascade
   ========================================================= */

/* Base card state */
body.lane-studios .st-signal-card{
  opacity: 0;
  transition: opacity 600ms ease;
}

/* Base row state: target whatever JS injects */
body.lane-studios [data-studios-signal-rows] > *{
  position: relative;
  opacity: 0;
  filter: blur(4px);
  transition: opacity 520ms ease, filter 520ms ease;
  will-change: opacity, filter;
}

/* Left-edge signal line */
body.lane-studios [data-studios-signal-rows] > *::before{
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 2px;
  height: 0;
  transform: translateY(-50%);
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(232,198,139,0.0),
    rgba(141,199,255,0.35),
    rgba(232,198,139,0.0)
  );
  opacity: 0;
}

/* Card reveal */
body.lane-studios .st-inview .st-signal-card{
  opacity: 1;
}

/* Row reveal */
body.lane-studios .st-inview [data-studios-signal-rows] > *{
  opacity: 1;
  filter: blur(0);
}

/* Signal line animation */
body.lane-studios .st-inview [data-studios-signal-rows] > *::before{
  opacity: 1;
  animation: signal-line 420ms cubic-bezier(0.22,1,0.36,1) forwards;
}

/* Stagger down the stack */
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(1){ transition-delay: 120ms; }
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(2){ transition-delay: 180ms; }
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(3){ transition-delay: 240ms; }
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(4){ transition-delay: 300ms; }
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(5){ transition-delay: 360ms; }

body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(1)::before{ animation-delay: 120ms; }
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(2)::before{ animation-delay: 180ms; }
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(3)::before{ animation-delay: 240ms; }
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(4)::before{ animation-delay: 300ms; }
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(5)::before{ animation-delay: 360ms; }

@keyframes signal-line{
  0%   { height: 0; opacity: 0; }
  25%  { opacity: 1; }
  100% { height: 70%; opacity: 0; }
}

/* =========================================================
   ANIMATION — ETHOS
   Calm reveal + signal underline + text wipe
   ========================================================= */

/* Head + body base */
body.lane-studios .st-anim-ethos-head,
body.lane-studios .st-anim-ethos-body{
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  transition:
    opacity 560ms ease,
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 560ms ease;
  will-change: opacity, transform, filter;
}

/* Add a signal underline that draws under the H2 */
body.lane-studios .st-anim-ethos-head h2{
  position: relative;
  display: inline-block;
}

body.lane-studios .st-anim-ethos-head h2::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;

  background: linear-gradient(
    90deg,
    rgba(232,198,139,0.0) 0%,
    rgba(232,198,139,0.55) 35%,
    rgba(141,199,255,0.55) 50%,
    rgba(232,198,139,0.55) 65%,
    rgba(232,198,139,0.0) 100%
  );

  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;

  transition:
    transform 900ms cubic-bezier(0.19, 1, 0.22, 1),
    opacity 700ms ease;
}

/* Text wipe for the paragraph (soft mask) */
body.lane-studios .st-anim-ethos-body p{
  display: block;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 75%);
  -webkit-mask-size: 180% 100%;
  -webkit-mask-position: 120% 0%;
  mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 75%);
  mask-size: 180% 100%;
  mask-position: 120% 0%;
  transition: mask-position 900ms cubic-bezier(0.19, 1, 0.22, 1);
}

/* Reveal */
body.lane-studios .st-inview .st-anim-ethos-head{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Underline draws after title shows */
body.lane-studios .st-inview .st-anim-ethos-head h2::after{
  opacity: 1;
  transform: scaleX(1);
  transition-delay: 140ms;
}

/* Body comes in after the underline starts */
body.lane-studios .st-inview .st-anim-ethos-body{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 220ms;
}

body.lane-studios .st-inview .st-anim-ethos-body p{
  -webkit-mask-position: 0% 0%;
  mask-position: 0% 0%;
  transition-delay: 260ms;
}
/* Ethos: constrain width so it never becomes a giant single line */
body.lane-studios #ethos .st-wrap{
  display: grid;
  justify-items: start;
}

body.lane-studios #ethos .st-section-head,
body.lane-studios #ethos .st-ethos-card{
  max-width: 720px; /* adjust: 640, 680, 720 */
  width: 100%;
}

body.lane-studios #ethos .st-ethos-card p{
  max-width: 720px;
  line-height: 1.55;
  margin: 0;
  text-wrap: balance;
}

/* =========================================================
   CONTACT CTA
   Single system: flex columns, buttons row, pills pinned by flex
   No absolute positioning
   ========================================================= */

body.lane-studios #contact .st-contact-shell{
  display: grid;
  place-items: center;
}

body.lane-studios #contact .st-contact{
  width: min(960px, 100%);
  display: flex;
  gap: 28px;
  align-items: stretch; /* allows pills to pin to bottom via margin-top:auto */
}

/* left column */
body.lane-studios #contact .st-contact-left{
  flex: 1 1 auto;
  min-width: 0;
}

/* right column */
body.lane-studios #contact .st-contact-right{
  flex: 0 0 320px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

/* buttons row */
body.lane-studios #contact .st-contact-actions{
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

body.lane-studios #contact .st-contact-actions .st-btn{
  white-space: nowrap;
}

/* pills (hard reset of legacy absolute without !important) */
body.lane-studios #contact .st-work-pills{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  width: 100%;

  /* kill any old absolute pinning */
  position: static;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  inset: auto;

  /* bottom pin inside the flex column */
  margin-top: auto;
  padding-top: 10px;
}

/* =========================================================
   MOBILE (<= 720)
   ========================================================= */
@media (max-width: 720px){
  body.lane-studios #contact .st-contact{
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  body.lane-studios #contact .st-contact-right{
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    align-items: flex-start;
  }

  body.lane-studios #contact .st-contact-actions{
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  body.lane-studios #contact .st-work-pills{
    justify-content: flex-start;
    margin-top: 10px; /* no bottom pin on mobile */
    padding-top: 6px;
  }
}

/* =========================================================
   TABLET (721 - 1024)
   ========================================================= */
@media (min-width: 721px) and (max-width: 1024px){
  body.lane-studios #contact .st-contact-right{
    flex: 0 0 320px;
    min-width: 320px;
    align-items: flex-end;
  }

  body.lane-studios #contact .st-contact-actions{
    justify-content: flex-end;
  }

  body.lane-studios #contact .st-work-pills{
    justify-content: flex-end;
    margin-top: auto;
  }
}

/* =========================================================
   FOLD OVERRIDE (660 - 720)
   Buttons right, pills tucked
   ========================================================= */
@media (min-width: 660px) and (max-width: 720px){
  body.lane-studios #contact .st-contact-right{
    align-items: stretch; /* don't drag pills right */
  }

  body.lane-studios #contact .st-contact-actions{
    width: 100%;
    justify-content: flex-end;
  }

  body.lane-studios #contact .st-work-pills{
    justify-content: flex-start;
    margin-top: 10px;
  }
}

/* =========================================================
   DESKTOP (>= 1025)
   ========================================================= */
@media (min-width: 1025px){
  body.lane-studios #contact .st-contact-right{
    min-width: 320px;
  }

  body.lane-studios #contact .st-work-pills{
    margin-top: auto;
  }
}

/* =========================================================
   ANIMATION (unchanged)
   ========================================================= */
body.lane-studios #contact .st-anim-contact-shell,
body.lane-studios #contact .st-anim-contact-left,
body.lane-studios #contact .st-anim-contact-right,
body.lane-studios #contact .st-anim-contact-pills{
  opacity: 0;
  transform: translateY(10px);
  filter: blur(5px);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 620ms ease;
  will-change: opacity, transform, filter;
}

body.lane-studios #contact.st-inview .st-anim-contact-shell{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

body.lane-studios #contact.st-inview .st-anim-contact-left{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 80ms;
}

body.lane-studios #contact.st-inview .st-anim-contact-right{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 140ms;
}

body.lane-studios #contact.st-inview .st-anim-contact-pills{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 220ms;
}

/* =========================================================
   ANIMATION — SIGNAL STACK
   Vertical system cascade
   ========================================================= */

/* Base card state */
body.lane-studios .st-signal-card{
  opacity: 0;
  transition: opacity 600ms ease;
}

/* Base row state: target whatever JS injects */
body.lane-studios [data-studios-signal-rows] > *{
  position: relative;
  opacity: 0;
  filter: blur(4px);
  transition: opacity 520ms ease, filter 520ms ease;
  will-change: opacity, filter;
}

/* Left-edge signal line */
body.lane-studios [data-studios-signal-rows] > *::before{
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 2px;
  height: 0;
  transform: translateY(-50%);
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(232,198,139,0.0),
    rgba(141,199,255,0.35),
    rgba(232,198,139,0.0)
  );
  opacity: 0;
}

/* Card reveal */
body.lane-studios .st-inview .st-signal-card{
  opacity: 1;
}

/* Row reveal */
body.lane-studios .st-inview [data-studios-signal-rows] > *{
  opacity: 1;
  filter: blur(0);
}

/* Signal line animation */
body.lane-studios .st-inview [data-studios-signal-rows] > *::before{
  opacity: 1;
  animation: signal-line 420ms cubic-bezier(0.22,1,0.36,1) forwards;
}

/* Stagger down the stack */
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(1){ transition-delay: 120ms; }
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(2){ transition-delay: 180ms; }
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(3){ transition-delay: 240ms; }
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(4){ transition-delay: 300ms; }
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(5){ transition-delay: 360ms; }

body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(1)::before{ animation-delay: 120ms; }
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(2)::before{ animation-delay: 180ms; }
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(3)::before{ animation-delay: 240ms; }
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(4)::before{ animation-delay: 300ms; }
body.lane-studios .st-inview [data-studios-signal-rows] > *:nth-child(5)::before{ animation-delay: 360ms; }

@keyframes signal-line{
  0%   { height: 0; opacity: 0; }
  25%  { opacity: 1; }
  100% { height: 70%; opacity: 0; }
}

