/* ---------- motion showcase page (showcase.html) ---------- */
.sc-bar { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 64px; display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter); background: rgba(0,0,0,.72); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark); }
.sc-bar .brand img { display: block; width: 92px; height: auto; }
.sc-bar nav { display: flex; gap: 4px; margin: 0 auto; }
.sc-bar nav a { padding: 7px 14px; border-radius: 999px; color: #bdbdbd; text-decoration: none; font-size: var(--t-sm); transition: background .2s, color .2s; }
.sc-bar nav a b { font-weight: 500; color: var(--steel); margin-right: 4px; }
.sc-bar nav a:hover { color: var(--white); }
.sc-bar nav a.is-active { background: var(--white); color: var(--black); }
.sc-bar nav a.is-active b { color: var(--black); }
@media (max-width: 720px) {
  .sc-bar { gap: 10px; }
  .sc-bar .nav-cta { display: none; }
  .sc-bar nav { margin-right: 0; }
  .sc-bar nav a { padding: 6px 10px; }
  .sc-bar nav a:not(.is-active) { font-size: 0; }
  .sc-bar nav a:not(.is-active) b { font-size: var(--t-sm); margin: 0; }
}

.sc-intro { min-height: 88svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--gutter) clamp(48px, 8vh, 96px); background: var(--black); }
.sc-kicker { font-size: var(--t-sm); color: var(--steel); text-transform: uppercase; letter-spacing: .14em; }
.sc-intro h1 { margin-top: 14px; font-size: var(--t-xxl); letter-spacing: -.05em; line-height: .92; }
.sc-intro h1 .amp { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.sc-intro > p:not(.sc-kicker) { margin-top: 24px; max-width: 36em; color: #bdbdbd; font-size: var(--t-md); line-height: 1.45; }
.sc-start { margin-top: 32px; align-self: flex-start; color: var(--white); font-size: var(--t-sm); text-underline-offset: 5px; }

/* each demo fills the screen under the bar; the caption floats on top */
.sc-demo { position: relative; background: var(--black); }
.sc-sticky { position: relative; height: 100vh; height: 100svh; padding-top: 64px; }
.sc-demo .mo-stage { aspect-ratio: auto; height: 100%; }
.sc-demo.mo-summit { height: 220vh; }                 /* extra room to scroll the reveal */
.sc-demo.mo-summit .sc-sticky { position: sticky; top: 0; }
.sc-info { position: absolute; z-index: 6; left: var(--gutter); bottom: clamp(16px, 4vh, 36px); max-width: min(420px, calc(100% - 2 * var(--gutter))); display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: baseline; padding: 16px 18px; border-radius: 14px; background: rgba(0,0,0,.72); backdrop-filter: blur(12px); color: var(--white); }
.sc-num { color: var(--steel); font-size: var(--t-sm); }
.sc-info h2 { font-size: var(--t-md); letter-spacing: -.02em; }
.sc-style { grid-column: 2; justify-self: start; font-size: 12px; border: 1px solid var(--line-dark); border-radius: 999px; padding: 2px 10px; }
.sc-info p { grid-column: 1 / -1; margin-top: 6px; color: #bdbdbd; font-size: var(--t-sm); line-height: 1.45; }
/* keep the caption clear of each demo's own controls */
#prism .sc-info { bottom: auto; top: calc(64px + 70px); }
#spinroom .mo-hint { bottom: auto; top: calc(64px + 16px); }
#spinroom .sc-info { bottom: calc(5% + 40px); }
@media (max-width: 720px) {
  .sc-info p { display: none; }
  #prism .sc-info { top: auto; bottom: auto; top: calc(64px + 64px); }
}

.sc-end { padding: clamp(80px, 14vw, 180px) var(--gutter); background: var(--white); color: var(--black); }
.sc-end h2 { font-size: var(--t-xl); max-width: 14em; }
.sc-end > p:not(.fineprint) { margin-top: 18px; max-width: 34em; color: #4a4a4a; font-size: var(--t-md); line-height: 1.45; }
.sc-cta { display: inline-flex; margin-top: 32px; min-height: 52px; align-items: center; padding: 0 28px; border-radius: 999px; background: var(--black); color: var(--white); font-weight: 600; text-decoration: none; }

/* homepage teaser */
.motion-teaser { list-style: none; padding: 0; margin: clamp(36px, 5vw, 60px) 0 0; border-top: 1px solid var(--line-dark); }
.motion-teaser a { display: flex; align-items: baseline; gap: 18px; padding: clamp(18px, 2.4vw, 28px) 0; border-bottom: 1px solid var(--line-dark); color: var(--white); text-decoration: none; font-size: var(--t-lg); letter-spacing: -.03em; transition: padding .3s, color .2s; }
.motion-teaser a:hover { padding-left: 14px; }
.motion-teaser b { font-size: var(--t-sm); font-weight: 500; color: var(--steel); letter-spacing: 0; }
.motion-teaser span { margin-left: auto; font-size: var(--t-sm); color: var(--steel); letter-spacing: 0; text-align: right; }
.motion-cta { margin-top: 36px; }
