/* StageGlass suite landing.
   Loaded after homepage.css: homepage.css still owns the geometry of every
   PropPlayer section and of the Remote console, and this sheet re-grounds the
   page on the dark suite field and adds the marquee, the app row, and the
   sliding panel that now carries that content. */

:root {
  --ground: #0a0c12;
  --ground-2: #10131c;
  --suite-ink: #eef1fa;
  --suite-ink-2: #b5bdd4;
  --suite-ink-3: #8891ad;
  --suite-line: rgba(255, 255, 255, 0.11);
  --suite-line-2: rgba(255, 255, 255, 0.22);
  --suite-blue: #3d7bff;
  --suite-blue-2: #7aa8ff;
  --suite-cyan: #2fc1e8;
  --suite-violet: #9b5cf6;
  --suite-amber: #c9834a;
  --suite-panel: rgba(15, 18, 27, 0.86);
  --suite-ease: cubic-bezier(.22, 1, .36, 1);
  --suite-dur: 760ms;
}

html { scroll-behavior: smooth; }
body.suite {
  background: var(--ground);
  color: var(--suite-ink);
  overflow-x: hidden;
}
body.suite main::before { display: none; }
body.suite main { overflow: visible; }
body.suite :focus-visible { outline: 2px solid var(--suite-blue-2); outline-offset: 3px; box-shadow: none; border-radius: 6px; }
body.suite .skip { background: var(--suite-blue); color: #fff; }

/* ---------- the field ---------- */
body.suite #field { position: fixed; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; }
body.suite #grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.9'/></svg>");
}
body.suite .vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(10, 12, 18, .55) 100%);
}

/* ---------- marquee ---------- */
body.suite .stage {
  position: relative; z-index: 2; min-height: 100vh;
  display: grid; grid-template-rows: auto auto; align-content: start;
  transition: min-height var(--suite-dur) var(--suite-ease);
}
body.suite.open .stage { min-height: 0; }
.marquee {
  display: grid; justify-items: center; align-content: center; text-align: center;
  padding: clamp(48px, 11vh, 132px) 24px 20px;
  transition: padding var(--suite-dur) var(--suite-ease);
}
.mark { width: clamp(78px, 11vw, 124px); height: auto; filter: drop-shadow(0 12px 40px rgba(61, 123, 255, .35)); transition: width var(--suite-dur) var(--suite-ease); }
body.suite .wordmark {
  font-family: var(--display); font-weight: 800; letter-spacing: .01em; line-height: 1.08; text-transform: none;
  font-size: clamp(52px, 8.6vw, 108px); margin: 12px 0 0; padding: 0 .06em .12em; text-wrap: balance;
  background: linear-gradient(180deg, #fff 0%, #cfd9ff 70%, #9db6ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: font-size var(--suite-dur) var(--suite-ease), margin var(--suite-dur) var(--suite-ease);
}
.tagline {
  margin: 14px 0 0; font-size: clamp(16px, 1.6vw, 20px); color: var(--suite-ink-2);
  max-width: 34ch; text-wrap: balance; line-height: 1.45; max-height: 120px; overflow: hidden;
  transition: opacity 400ms var(--suite-ease), max-height var(--suite-dur) var(--suite-ease), margin var(--suite-dur) var(--suite-ease);
}

/* ---------- the two families ---------- */
.families {
  display: grid; gap: clamp(20px, 4vh, 42px); justify-items: center; align-content: start;
  padding: clamp(24px, 5vh, 60px) 20px 44px;
  transition: padding var(--suite-dur) var(--suite-ease), gap var(--suite-dur) var(--suite-ease);
}
.family { display: grid; justify-items: center; gap: 14px; }
body.suite .family-label {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .22em; line-height: 1;
  text-transform: uppercase; color: var(--suite-ink-3); display: flex; align-items: center; gap: 12px;
  max-height: 24px; overflow: hidden;
  transition: opacity 400ms var(--suite-ease), max-height var(--suite-dur) var(--suite-ease);
}
body.suite .family-label::before, body.suite .family-label::after { content: ""; width: 40px; height: 1px; background: var(--suite-line-2); }
.families .row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(8px, 2vw, 20px); }

.app {
  display: grid; justify-items: center; gap: 8px; width: 130px; padding: 10px 8px 12px;
  border: 0; border-radius: 16px; background: transparent; cursor: pointer; color: inherit;
  transition: transform 500ms var(--suite-ease), background 300ms var(--suite-ease), width var(--suite-dur) var(--suite-ease), padding var(--suite-dur) var(--suite-ease);
}
.app:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .04); }
.app img { width: 84px; height: 84px; border-radius: 19px; transition: width var(--suite-dur) var(--suite-ease), height var(--suite-dur) var(--suite-ease), opacity 300ms var(--suite-ease); }
.app .name { font-weight: 600; font-size: 15px; }
.app .status { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--suite-ink-3); }
.app[data-state="coming"] img { opacity: .48; }
.app[data-state="coming"] .name { color: var(--suite-ink-2); }
.app[data-state="live"] .status { color: #8fd4a5; }
.app[aria-pressed="true"] { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--suite-line-2); }

/* ---------- the panel ---------- */
.panel-wrap {
  position: relative; z-index: 2; display: grid; justify-items: center; padding: 0 clamp(12px, 2vw, 24px);
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--suite-dur) var(--suite-ease), padding var(--suite-dur) var(--suite-ease);
}
body.suite.open .panel-wrap { grid-template-rows: 1fr; padding-bottom: 72px; }
.panel {
  width: min(1240px, 100%); min-height: 0; overflow: hidden;
  border: 1px solid var(--suite-line); border-radius: 22px; background: var(--suite-panel);
  /* No backdrop-filter: the field behind the panel is a smooth gradient that is
     frozen while a panel is open, so pre-blurring it costs a full-screen filter
     pass every frame and changes nothing you can see. */
  box-shadow: 0 30px 90px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
  opacity: 0; transform: translateY(40px) scale(.985); pointer-events: none;
  transition: opacity 420ms var(--suite-ease), transform var(--suite-dur) var(--suite-ease);
}
body.suite.open .panel { opacity: 1; transform: none; pointer-events: auto; }
.panel-head {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 20px; border-bottom: 1px solid var(--suite-line); background: rgba(13, 16, 24, .97);
}
.crumb { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--suite-ink-3); }
.close {
  min-height: 44px; padding: 8px 16px; border: 1px solid var(--suite-line-2); border-radius: 999px;
  background: transparent; color: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.close:hover { background: rgba(255, 255, 255, .06); }

.pane-stack { position: relative; overflow: hidden; transition: height 520ms var(--suite-ease); }
.pane { display: none; padding: clamp(20px, 3vw, 40px); }
.pane.active { display: block; }
.pane.enter-right { animation: pane-from-right 560ms var(--suite-ease) both; }
.pane.enter-left { animation: pane-from-left 560ms var(--suite-ease) both; }
.pane.leaving { display: block; position: absolute; inset: 0; pointer-events: none; }
.pane.leaving.to-left { animation: pane-to-left 380ms var(--suite-ease) forwards; }
.pane.leaving.to-right { animation: pane-to-right 380ms var(--suite-ease) forwards; }
@keyframes pane-from-right { from { opacity: 0; transform: translateX(6%); } to { opacity: 1; transform: none; } }
@keyframes pane-from-left { from { opacity: 0; transform: translateX(-6%); } to { opacity: 1; transform: none; } }
@keyframes pane-to-left { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-6%); } }
@keyframes pane-to-right { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(6%); } }

/* the header shrinks into a dock once a panel is open */
body.suite.open .marquee { padding: 20px 24px 6px; }
body.suite.open .mark { width: 38px; filter: drop-shadow(0 4px 14px rgba(61, 123, 255, .3)); }
body.suite.open .wordmark { font-size: 25px; margin: 8px 0 0; }
body.suite.open .tagline, body.suite.open .family-label { opacity: 0; max-height: 0; margin: 0; }
body.suite.open .families { padding: 8px 20px 20px; gap: 6px; }
body.suite.open .app { width: 94px; padding: 6px 6px 8px; }
body.suite.open .app img { width: 44px; height: 44px; border-radius: 10px; }
body.suite.open .app .status { display: none; }
body.suite.open .app .name { font-size: 12px; }
body.suite.open .families .row { gap: 6px; }
body.suite.open .family { gap: 0; }

/* ---------- shared pane typography ---------- */
.pane h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; }
.pane .lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--suite-ink-2); line-height: 1.5; max-width: 62ch; margin: 0 0 26px; }
.pane .soon {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px;
  border: 1px dashed var(--suite-line-2); border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--suite-ink-3);
}
.pane .soon i { width: 6px; height: 6px; border-radius: 50%; background: var(--suite-amber); }
.pane .platforms { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.pane .chip { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--suite-line); color: var(--suite-ink-2); }
.pane .pane-more { margin: 0; }
.btn.link-app {
  min-height: 44px; padding: 0 6px; border: 0; background: transparent;
  color: var(--suite-blue-2); font-weight: 650; font-size: 15px; cursor: pointer;
}
.btn.link-app:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- PropPlayer pane: the sections keep their geometry, not their paper ---------- */
.pane > section { max-width: none; background: transparent; border: 0; padding-left: 0; padding-right: 0; }
.pane .hero { padding: 4px 0 clamp(28px, 3vw, 44px); }
.pane .hero h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: .9; }
.pane .eyebrow { color: var(--suite-blue-2); }
.pane .hero-lede, .pane .run-steps p, .pane .module-grid p, .pane .plans p:last-child { color: var(--suite-ink-2); }
.pane .availability-note { color: var(--suite-ink-3); }
.pane .availability-note a { color: var(--suite-blue-2); }
.pane .text-link { color: var(--suite-ink); }
.pane .text-link span { color: var(--suite-blue-2); }
.pane .button-light { background: rgba(255, 255, 255, .92); border-color: transparent; color: #10141a; }
.pane .button-dark { background: rgba(255, 255, 255, .06); border-color: var(--suite-line-2); color: var(--suite-ink); }
.pane .hero-capture > figcaption { border-bottom-color: var(--suite-line-2); color: var(--suite-ink-3); }
.pane .hero-capture > figcaption strong { color: var(--suite-blue-2); }
.pane .hero-capture > p { color: var(--suite-ink-3); }

.pane .highlights { padding: 0 0 clamp(28px, 3vw, 48px); }
.pane .highlight-rail { border-top-color: var(--suite-line-2); }
.pane .highlight-rail li::after { background: var(--suite-amber) !important; }

.pane .run-sheet { padding: 0 0 clamp(32px, 4vw, 56px); }
.pane .run-steps { border-top-color: var(--suite-line-2); }
.pane .run-steps li + li { border-left-color: var(--suite-line); border-top-color: var(--suite-line); }
.pane .run-number { color: var(--suite-blue-2); }

.pane .credits { padding: clamp(24px, 3vw, 36px) 0; background: transparent; color: var(--suite-ink); }
.pane .credits-label p { color: var(--suite-ink-2); }
.pane .credits-label > span { color: var(--suite-ink-3); }
.pane .credit-titles { border-block-color: var(--suite-line-2); }
.pane .credit-titles li { border-right-color: var(--suite-line-2); }
.pane .credit-titles a:hover { color: var(--suite-blue-2); }

.pane .modules { padding: clamp(28px, 3vw, 48px) 0; background: transparent; }
.pane .modules-heading { margin-bottom: 26px; }
.pane .modules-heading > p:not(.eyebrow) { color: var(--suite-ink-2); }
.pane .module-grid li { border-color: var(--suite-line); background: rgba(255, 255, 255, .03); }
.pane .module-grid figure { background: #05070c; }
.pane .motion-pause { border-color: var(--suite-line-2); background: rgba(255, 255, 255, .05); color: var(--suite-ink); }
.pane .motion-pause[aria-pressed="true"] { border-color: var(--suite-blue); background: var(--suite-blue); color: #fff; }
.pane .motion-note { color: var(--suite-ink-3); }

.pane .pricing { padding: clamp(28px, 3vw, 48px) 0; background: transparent; }
.pane .plans li { border-color: var(--suite-line); background: rgba(255, 255, 255, .03); }
.pane .plan-price span, .pane .plan-price em { color: var(--suite-ink-3); }
.pane .plan-featured { border-color: var(--suite-blue); box-shadow: 0 0 0 2px var(--suite-blue) inset; }

.pane .answers { padding: clamp(24px, 3vw, 40px) 0 8px; border-top: 1px solid var(--suite-line); }
.pane .answers-heading { margin-bottom: 20px; }
.pane .answers h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.pane .answer-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--suite-line); border: 1px solid var(--suite-line); }
.pane .answer-list li { display: grid; gap: 6px; padding: 16px 18px; background: rgba(12, 15, 22, .72); }
.pane .answer-list strong { font-weight: 650; font-size: 15px; }
.pane .answer-list a { text-decoration: none; }
.pane .answer-list a:hover { color: var(--suite-blue-2); text-decoration: underline; text-underline-offset: 4px; }
.pane .answer-list span { color: var(--suite-ink-2); font-size: 14px; line-height: 1.45; }
.pane .answers-more { margin: 18px 0 0; }

/* ---------- Remote pane: the real console, on the panel ground ---------- */
.pane .remote-proof { padding: 0; border-top: 0; background: transparent; color: var(--suite-ink); }
.pane .remote-heading { padding-top: 0; }
.pane .remote-heading h2 { font-size: clamp(2.1rem, 3vw, 3.2rem); }
.pane .remote-heading > p { color: var(--suite-ink-2); }
.pane .remote-crosslink { grid-column: 1 / -1; margin: 0; }
.pane .try-line { color: var(--suite-ink-2); }
.pane .remote-facts { border-top-color: var(--suite-line-2); color: var(--suite-ink-2); }
.pane .remote-facts li { border-left-color: var(--suite-blue); }
.pane .remote-facts strong { color: var(--suite-blue-2); }
/* The console itself keeps the shipping app's own colours, including its green GO. */
.pane .remote { box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.pane .cue[data-state="active"] { box-shadow: inset 3px 0 0 #0a84ff; }

/* ---------- Scenic panes ---------- */
.pane .scenic-doorway { padding: 0; background: transparent; color: var(--suite-ink); }
.pane .scenic-tagline { color: #c0aeff; }
.pane .scenic-description { color: var(--suite-ink-2); }
.pane .scenic-expanded { border-top-color: var(--suite-line); }
.pane .scenic-workflow p, .pane .scenic-apps p, .pane .scenic-plan span { color: var(--suite-ink-2); }
.pane .scenic-apps, .pane .scenic-apps article, .pane .scenic-capabilities { border-color: var(--suite-line); background-color: transparent; }
.pane .scenic-capabilities { background: var(--suite-line); }
.pane .scenic-capabilities li { background: rgba(12, 15, 22, .78); color: var(--suite-ink-2); }
.pane .scenic-carousel-track { border-color: var(--suite-line); box-shadow: 18px 18px 0 rgba(255, 255, 255, .04); }
.pane .scenic-carousel figure { background: #05070c; }
.pane .scenic-carousel figcaption { color: var(--suite-ink-2); }
.pane .scenic-carousel-controls button { border-color: var(--suite-line-2); background: rgba(255, 255, 255, .06); color: #fff; }
.pane .scenic-carousel-controls p { color: var(--suite-ink-3); }
.pane .scenic-expand > summary::after { color: var(--suite-blue-2); }

/* ---------- suite-level contact strip + footer ---------- */
body.suite .productions {
  position: relative; z-index: 2; max-width: 1240px; margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) clamp(20px, 3vw, 32px);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px);
  align-items: start; background: transparent;
}
body.suite .productions h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
body.suite .production-copy { padding-top: 24px; border-top: 2px solid var(--suite-amber); }
body.suite .production-copy p { color: var(--suite-ink-2); font-size: clamp(16px, 1.4vw, 19px); }

.foot {
  position: relative; z-index: 2; max-width: 1240px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
  padding: 26px clamp(20px, 3vw, 32px) 44px; border-top: 1px solid var(--suite-line);
  color: var(--suite-ink-3); font-size: 13px;
}
.foot .brand { color: var(--suite-ink); }
.foot p { margin: 0; font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot a:hover { color: var(--suite-ink); }
.foot-mail { margin-left: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }

/* ---------- widths ---------- */
@media (min-width: 1100px) {
  .families { grid-template-columns: auto auto; justify-content: center; align-items: start; column-gap: clamp(24px, 4vw, 60px); }
  .family + .family { border-left: 1px solid var(--suite-line); padding-left: clamp(24px, 4vw, 60px); }
  body.suite.open .family + .family { border-left-color: transparent; }
}
@media (max-width: 980px) {
  .pane .answer-list { grid-template-columns: 1fr; }
  body.suite .productions { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .pane .hero { grid-template-columns: minmax(0, 1fr); }
  .foot-mail { margin-left: 0; }
}
@media (max-width: 640px) {
  /* The label wraps on a phone, so it needs the room for a second line. */
  body.suite .family-label { max-height: 44px; text-align: center; justify-content: center; }
  body.suite .family-label::before, body.suite .family-label::after { width: 18px; }
  body.suite.open .family-label { max-height: 0; }
}
@media (max-width: 560px) {
  .app { width: 100px; }
  .app img { width: 66px; height: 66px; }
  body.suite.open .app { width: 76px; }
  .marquee { padding-top: clamp(32px, 8vh, 64px); }
  .pane { padding: 16px 14px 24px; }
  .panel { border-radius: 16px; }
  .pane .credits, .pane .remote-proof, .pane .scenic-doorway { padding-left: 0; padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  body.suite *, body.suite *::before, body.suite *::after { transition: none !important; animation: none !important; }
  .pane-stack { height: auto !important; }
}

/* The console title wraps on a phone instead of pushing past the panel edge. */
@media (max-width: 700px) {
  .pane .remote-title-lockup h2 { white-space: normal; }
}

/* The console title wraps on a phone instead of pushing past the panel edge. */
@media (max-width: 700px) {
  .pane .remote-title-lockup h2 { white-space: normal; }
}
/* Icons keep one baseline across a family even when a status wraps. */
.families .row { align-items: start; }
.pane > h2, .pane > .lede + * { margin-top: 0; }
.pane h2 { margin: 0 0 14px; }
