/* Packaging Studio · Studio page (SB-P07 v3). Brand tokens only (tokens.css); positions from the board, 2x at 1920. */
.page-studio { background: var(--ebony); }
.page-studio .stage { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.page-studio .stage.is-on { opacity: 1; }
.page-studio main > section { position: relative; z-index: 1; }

/* frame 1: giant title over the corridor (board x 70, y 110, 190 px of 960) */
.st-hero { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding: calc(var(--nav-h) + var(--nav-top)) var(--m) 10vh; }
.st-hero__giant { margin: 0 0 0 calc(-.04em + 3vw); font: 300 clamp(96px, 19.8vw, 400px)/.82 var(--f-display); letter-spacing: -.02em; color: rgba(243, 237, 224, .9); display: flex; }
.st-hero__giant span { display: inline-block; }
.js .st-hero__giant span { opacity: 0; transform: translate3d(0, var(--rise-y, 18px), 0); animation: st-rise var(--t-reveal) var(--ease) forwards; animation-delay: calc(.25s + var(--i) * 60ms); }
@keyframes st-rise { to { opacity: 1; transform: none; } }
.st-hero__place { margin: calc(34 * var(--u)) 0 0 calc(40vw - var(--m)); font: 500 max(11px, calc(14 * var(--u)))/1 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.st-hero__by { margin: 14px 0 0 calc(38vw - var(--m)); font: 500 max(10px, calc(12 * var(--u)))/1 var(--f-ui); letter-spacing: .42em; text-transform: uppercase; color: var(--gold); }
.st-hero__cue { position: absolute; left: var(--m); bottom: 5vh; font: 500 max(10px, calc(12 * var(--u)))/1 var(--f-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }

/* frame 2: the statement over the Forêt corridor (words light Stone -> Ivory with the scroll; the last line stays Stone) */
.st-statement { min-height: 100vh; display: grid; align-content: center; padding: 18vh var(--m); }
.st-statement__rail { top: 46vh; }
.st-statement__p { display: grid; max-width: calc(1360 * var(--u)); margin: 0 0 0 calc(120 * var(--u)); font: 300 var(--fs-statement)/1.2 var(--f-display); letter-spacing: -.005em; color: var(--ivory); }
.st-statement__line { display: block; }
.st-statement .w { color: var(--stone); transition: color var(--t-text) linear; }
.st-statement .w.is-lit { color: var(--ivory); }
.st-statement__last .w.is-lit { color: var(--stone); }

/* frame 3: Pratham (portrait card left, his words right; board card 300 x 400 at x 60 of 960) */
.st-founder { background: var(--ebony); display: grid; grid-template-columns: minmax(0, 32vw) minmax(0, 1fr); gap: calc(120 * var(--u)); align-items: center; padding: 16vh var(--m) 14vh; scroll-margin-top: calc(var(--nav-h) + var(--nav-top)); }
.st-founder__card { margin: 0; border-radius: max(6px, calc(8 * var(--u))); overflow: hidden; box-shadow: 0 0 0 1px rgba(212, 180, 124, .28), 0 40px 90px rgba(0, 0, 0, .55); background: #0E1A17; aspect-ratio: 3 / 4; }
.st-founder__card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-founder__words { max-width: 46rem; }
.st-founder__name { margin: 18px 0 26px; font: 300 clamp(44px, 5.4vw, 96px)/.98 var(--f-display); letter-spacing: -.01em; color: var(--ivory); }
.st-founder__story { margin: 0; }
.st-founder__story p { font: italic 400 clamp(18px, 1.55vw, 27px)/1.55 var(--f-accent); color: var(--ivory); }
.st-founder__role { margin-top: 26px; font: 500 max(11px, calc(13 * var(--u)))/1.6 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.st-founder__go { margin-top: 30px; }

/* frame 4: numbers with thin lines (count up once, 1.2 s) */
.st-stats { background: var(--ebony); padding: 6vh var(--m) 16vh; }
.st-stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 auto; max-width: calc(1600 * var(--u)); border-top: 1px solid rgba(243, 237, 224, .14); }
.st-stats__cell { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 14px; padding: 34px 28px 0 0; border-right: 1px solid rgba(243, 237, 224, .1); }
.st-stats__cell:last-child { border-right: 0; }
.st-stats__cell + .st-stats__cell { padding-left: 28px; }
.st-stats dd { margin: 0; font: 300 clamp(48px, 5.2vw, 92px)/1 var(--f-display); color: var(--ivory); font-variant-numeric: lining-nums tabular-nums; }
.st-stats dt { font: 500 max(11px, calc(13 * var(--u)))/1.5 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); max-width: 22ch; }

/* frame 7: call to action over the corridor */
.st-cta { min-height: 80vh; display: grid; align-content: center; justify-items: start; padding: 14vh var(--m); }
.st-cta__h2 { margin: 0 0 0 calc(120 * var(--u)); font: 300 clamp(44px, 6vw, 110px)/1 var(--f-display); letter-spacing: -.01em; color: var(--ivory); }
.st-cta__p { margin: 22px 0 0 calc(120 * var(--u)); color: var(--ink-2); max-width: 34em; }
.st-cta__go { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0 calc(120 * var(--u)); }

@media (max-width: 767px), (max-aspect-ratio: 23/20) {
  /* phones: the corridor's bright core fills the middle of the screen, so the words sit in the darker lower third */
  .st-hero { align-content: end; padding-bottom: 14vh; }
  .st-statement { align-content: end; padding: 12vh var(--m) 10vh; }
  .st-cta { min-height: 100vh; min-height: 100svh; align-content: end; padding-bottom: 10vh; }
  .st-statement__line { display: inline; }                    /* one flowing paragraph, not the desktop's broken lines */
  .st-hero__giant { font-size: clamp(72px, 24vw, 140px); margin-left: 0; }
  .st-hero__place, .st-hero__by { margin-left: 0; }
  .st-statement__p { margin-left: 0; font-size: clamp(26px, 7vw, 34px); }
  .st-statement__rail { display: none; }
  .st-founder { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 12vh var(--m) 10vh; }
  .st-founder__card { max-width: 520px; }
  .st-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-stats__cell { padding: 26px 16px 26px 0; border-bottom: 1px solid rgba(243, 237, 224, .1); }
  .st-stats__cell + .st-stats__cell { padding-left: 0; }
  .st-stats__cell:nth-child(odd) { padding-right: 16px; }
  .st-stats__cell:nth-child(even) { padding-left: 16px; border-right: 0; }
  .st-cta__h2, .st-cta__p, .st-cta__go { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .st-hero__giant span { opacity: 1; transform: none; animation: none; }
}
