/* One pinned, scroll-directed presentation in MacSplat's existing type and RGB language. */
.gs-presentation { position:relative; z-index:1; }
.gs-scroll-story { position:relative; height:1000vh; height:1000svh; }
.gs-story-sticky { position:sticky; top:0; width:100%; height:100vh; height:100svh; overflow:clip; isolation:isolate; }
.gs-story-atmosphere { position:absolute; inset:0; pointer-events:none; background:radial-gradient(ellipse at 62% 48%,rgba(51,48,63,.32),transparent 62%),radial-gradient(ellipse at 2% 30%,rgba(65,43,198,.20),transparent 56%),radial-gradient(ellipse at 95% 66%,rgba(192,57,47,.14),transparent 51%),radial-gradient(ellipse at 59% 4%,rgba(70,134,68,.10),transparent 47%); }
.gs-story-canvas { position:absolute; inset:0; display:block; width:100%; height:100%; touch-action:pan-y pinch-zoom; filter:brightness(1.18); }
.gs-story-canvas:focus-visible { outline:2px solid #91FF80; outline-offset:-5px; }
.gs-story-canvas.is-explorable { cursor:grab; }
.gs-story-canvas.is-explorable:active { cursor:grabbing; }
.gs-story-vignette { position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,rgba(5,5,5,.08),transparent 38%),linear-gradient(0deg,rgba(5,5,5,.16),transparent 12%,transparent 92%,rgba(5,5,5,.08)); }
.gs-story-intro,.gs-story-approach,.gs-story-outro { position:absolute; left:6vw; top:26%; max-width:46vw; pointer-events:none; will-change:transform,opacity; }
.gs-story-intro > p { margin:0 0 22px; font-size:14px; line-height:1.4; color:rgba(255,255,255,.65); }
.gs-story-intro h1,.gs-story-outro h2 { margin:0; font-size:clamp(46px,6.4vw,98px); font-weight:850; letter-spacing:-.05em; line-height:.96; }
.gs-story-intro h1 span,.gs-story-outro h2 span { background:linear-gradient(100deg,#FF4D42,#7B6BFF 48%,#3FFF42); -webkit-background-clip:text; background-clip:text; color:transparent; }
.gs-story-intro h1 span { display:block; max-width:7em; }
.gs-story-approach { top:36%; opacity:0; visibility:hidden; }
.gs-story-approach h2 { margin:0; font-size:clamp(38px,5.1vw,74px); font-weight:850; letter-spacing:-.045em; line-height:1; }
.gs-story-outro { top:31%; }
.gs-story-outro > p { max-width:27ch; margin:22px 0 0; font-size:16px; line-height:1.6; color:rgba(255,255,255,.68); }
.gs-story-card { position:absolute; top:37%; right:6vw; box-sizing:border-box; width:min(310px,29vw); padding:28px; border:1px solid rgba(255,255,255,.18); border-radius:22px; background:rgba(15,15,19,.6); backdrop-filter:blur(24px) saturate(1.15); -webkit-backdrop-filter:blur(24px) saturate(1.15); box-shadow:0 18px 90px rgba(0,0,0,.2); transform-origin:left center; pointer-events:none; will-change:transform,opacity; }
.gs-story-card::before { content:''; position:absolute; right:100%; top:50%; width:42px; height:1px; background:linear-gradient(90deg,transparent,rgba(255,255,255,.42)); }
.gs-card-eyebrow { margin:0 0 18px; color:rgba(255,255,255,.5); font-size:10px; letter-spacing:.12em; line-height:1.5; font-weight:600; }
.gs-story-card h2 { margin:0; font-size:clamp(26px,2.8vw,40px); font-weight:800; line-height:1.05; letter-spacing:-.035em; }
.gs-card-copy { margin:16px 0 0; font-size:15px; line-height:1.55; color:rgba(255,255,255,.68); }
.gs-variants { position:absolute; inset:0; pointer-events:none; }
.gs-variants-heading { position:absolute; top:13%; left:6vw; }
.gs-variants-heading h2 { margin:0; font-size:clamp(28px,3.4vw,48px); letter-spacing:-.04em; font-weight:800; line-height:1.05; }
.gs-variants-heading h2 strong,.gs-story-lesson h2 span { font-weight:850; background:linear-gradient(100deg,#FF4D42,#9B8CFF 58%,#81F46E); -webkit-background-clip:text; background-clip:text; color:transparent; }
.gs-variants-heading > p { margin:12px 0 0; font-size:13px; line-height:1.5; color:rgba(255,255,255,.78); }
.gs-copy-label { position:absolute; width:24vw; max-width:240px; transform:translateX(-50%); text-align:center; }
.gs-copy-label h3 { margin:0; font-size:15px; font-weight:650; line-height:1.4; }
.gs-copy-label p { margin:5px 0 0; font-size:12px; line-height:1.4; color:rgba(255,255,255,.74); }
.gs-copy-label[data-copy="original"] h3 { color:rgba(255,255,255,.88); }
.gs-story-lesson { position:absolute; left:6vw; top:23%; width:34vw; max-width:470px; pointer-events:none; will-change:transform,opacity; }
.gs-story-lesson h2 { margin:0; font-size:clamp(38px,5.3vw,78px); line-height:.99; letter-spacing:-.05em; font-weight:850; }
.gs-story-lesson p { margin:24px 0 0; font-size:16px; line-height:1.55; color:rgba(255,255,255,.82); max-width:28ch; }
.gs-splatting h2 { font-size:clamp(38px,5.0vw,74px); }
.gs-harmonics { position:absolute; inset:0; pointer-events:none; }
.gs-sh-compare { display:inline-flex; align-items:center; justify-content:center; min-height:44px; margin-top:22px; padding:10px 16px; border:1px solid rgba(255,255,255,.38); border-radius:999px; color:rgba(255,255,255,.9); background:rgba(5,5,5,.45); font:inherit; font-size:12px; line-height:1.35; cursor:pointer; pointer-events:auto; transition:background 160ms ease-out,border-color 160ms ease-out; }
.gs-sh-compare:hover { background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.75); }
.gs-sh-compare:active { background:rgba(255,255,255,.2); }
.gs-sh-compare:focus-visible { outline:2px solid #91FF80; outline-offset:4px; }
.gs-sh-compare[aria-pressed="true"] { background:#F4F4F5; color:#050505; border-color:#F4F4F5; }
.gs-sh-color { display:flex; align-items:center; gap:16px; width:fit-content; max-width:100%; margin:22px 0 0; pointer-events:none; }
.gs-sh-wheel { --sample-value:1; position:relative; flex:none; width:clamp(76px,6.5vw,96px); aspect-ratio:1; border:1px solid rgba(255,255,255,.24); border-radius:50%; }
.gs-sh-wheel-spectrum { position:absolute; inset:3px; border-radius:50%; background:radial-gradient(circle closest-side,#fff,rgba(255,255,255,0)),conic-gradient(from 90deg,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00); filter:brightness(var(--sample-value)); }
.gs-sh-wheel-pointer { position:absolute; left:50%; top:50%; width:11px; height:11px; border:1.5px solid #fff; border-radius:50%; transform:translate(-50%,-50%); box-shadow:0 0 0 1px rgba(0,0,0,.55); }
.gs-sh-color figcaption { font-size:12px; font-weight:500; line-height:1.45; color:rgba(255,255,255,.9); }
.gs-sh-color figcaption span { display:block; max-width:18ch; margin-top:5px; font-size:11px; font-weight:400; color:rgba(255,255,255,.58); }
.gs-sh-surface-point { position:absolute; width:10px; height:10px; border:1px solid rgba(255,255,255,.85); border-radius:50%; transform:translate(-50%,-50%); box-shadow:0 0 0 3px rgba(0,0,0,.22); pointer-events:none; }
.gs-surface-guide { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; overflow:visible; filter:drop-shadow(0 1px 2px rgba(0,0,0,.85)); }
.gs-surface-guide path { fill:none; stroke:rgba(255,255,255,.70); stroke-width:1.25; vector-effect:non-scaling-stroke; }
.gs-story-bottom { position:absolute; left:6vw; right:6vw; bottom:28px; display:flex; align-items:center; justify-content:space-between; gap:24px; pointer-events:none; }
.gs-scroll-cue { margin:0; display:flex; align-items:center; gap:12px; min-width:172px; font-size:12px; line-height:1.4; color:rgba(255,255,255,.7); }
.gs-scroll-cue > span { font-size:24px; color:#91FF80; }
.gs-story-progress { flex:1; max-width:300px; height:2px; background:rgba(255,255,255,.15); overflow:hidden; }
.gs-story-progress > span { display:block; width:100%; height:100%; background:linear-gradient(90deg,#FF4D42,#7B6BFF 48%,#3FFF42); transform:scaleX(0); transform-origin:left; will-change:transform; }
.gs-story-beat { margin:0; min-width:172px; text-align:right; font-size:12px; color:rgba(255,255,255,.78); line-height:1.4; }
.gs-story-loading { position:absolute; inset:0; z-index:3; display:flex; align-items:center; justify-content:center; gap:12px; background:rgba(5,5,5,.95); }
.gs-story-loading p { margin:0; max-width:35ch; font-size:14px; line-height:1.6; color:rgba(255,255,255,.76); }
.gs-loading-dot { width:10px; height:10px; flex-shrink:0; border-radius:50%; background:linear-gradient(135deg,#FF4D42,#7B6BFF,#3FFF42); animation:gs-loading-pulse 1.2s ease-in-out infinite alternate; }
@keyframes gs-loading-pulse { from{opacity:.3} to{opacity:1} }
.gs-presentation .is-hidden { display:none; }
.gs-skip-story { position:absolute; top:90px; left:6vw; z-index:4; padding:10px 14px; background:#F4F4F5; color:#050505; border-radius:999px; opacity:0; pointer-events:none; font-size:12px; }
.gs-skip-story:focus { opacity:1; pointer-events:auto; }
.gs-story-end { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:20px; position:relative; z-index:1; padding:26px 6vw 48px; scroll-margin-top:90px; }
.gs-story-end p { margin:0; max-width:60ch; font-size:11px; line-height:1.7; color:rgba(255,255,255,.42); }
.gs-story-end p a { text-decoration:underline; text-underline-offset:3px; color:rgba(255,255,255,.62); }
.gs-story-end > a { min-height:44px; display:inline-flex; align-items:center; font-size:14px; color:rgba(255,255,255,.8); }
.gs-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(max-width:760px) {
  .gs-scroll-story { height:1100vh; height:1100svh; }
  .gs-story-intro { top:106px; max-width:88vw; }
  .gs-story-intro > p { font-size:12px; margin-bottom:14px; }
  .gs-story-intro h1 { font-size:clamp(44px,10vw,66px); line-height:.95; }
  .gs-story-intro h1 span { max-width:none; }
  .gs-story-approach { top:22%; max-width:88vw; }
  .gs-story-approach h2 { font-size:clamp(38px,9vw,60px); }
  .gs-story-card { left:6vw; right:6vw; top:auto; bottom:12%; width:auto; padding:22px; border-radius:20px; }
  .gs-story-card::before { right:auto; left:50%; top:auto; bottom:100%; width:1px; height:28px; background:linear-gradient(0deg,rgba(255,255,255,.42),transparent); }
  .gs-card-eyebrow { margin-bottom:12px; font-size:9px; }
  .gs-story-card h2 { font-size:32px; }
  .gs-card-copy { font-size:14px; margin-top:12px; max-width:30ch; }
  .gs-variants-heading { top:12%; }
  .gs-variants-heading h2 { font-size:clamp(26px,6.6vw,38px); }
  .gs-variants-heading h2 strong { display:block; margin-top:4px; }
  .gs-variants-heading > p { font-size:11px; margin-top:10px; }
  .gs-copy-label { width:42vw; }
  .gs-copy-label h3 { font-size:12px; }
  .gs-copy-label p { font-size:10px; margin-top:3px; }
  .gs-story-lesson { top:13%; width:88vw; max-width:none; }
  .gs-story-lesson h2,.gs-story-lesson p { text-shadow:0 2px 18px rgba(5,5,5,.9); }
  .gs-story-lesson h2,.gs-splatting h2 { font-size:clamp(38px,10.5vw,60px); line-height:.98; }
  .gs-story-lesson p { margin-top:15px; font-size:13px; line-height:1.5; }
  .gs-harmonics::before { content:''; position:absolute; inset:0 0 auto; height:34%; background:linear-gradient(180deg,rgba(5,5,5,.65),rgba(5,5,5,.3) 60%,transparent); pointer-events:none; }
  .gs-sh-compare { margin-top:15px; min-height:44px; padding:10px 15px; font-size:11px; }
  .gs-harmonics .gs-story-lesson { display:grid; grid-template-columns:72px minmax(0,1fr); column-gap:14px; align-items:center; }
  .gs-harmonics .gs-story-lesson h2,.gs-harmonics .gs-story-lesson p { grid-column:1 / -1; }
  .gs-harmonics .gs-story-lesson p { margin-bottom:18px; }
  .gs-harmonics .gs-sh-compare { grid-column:2; grid-row:3; justify-self:start; margin-top:0; }
  .gs-sh-color { grid-column:1; grid-row:3; margin:0; }
  .gs-sh-wheel { width:72px; }
  .gs-sh-color figcaption { display:none; }
  .gs-story-outro { top:18%; max-width:88vw; }
  .gs-story-outro h2 { font-size:clamp(48px,12vw,72px); }
  .gs-story-outro > p { font-size:14px; max-width:28ch; margin-top:16px; }
  .gs-story-bottom { bottom:22px; gap:14px; }
  .gs-scroll-cue { min-width:0; font-size:10px; gap:7px; }
  .gs-scroll-cue > span { font-size:20px; }
  .gs-story-progress { max-width:100px; }
  .gs-story-beat { min-width:0; font-size:10px; }
  .gs-story-end { padding-top:22px; padding-bottom:24px; }
}
@media(min-width:761px) and (max-height:640px) { .gs-harmonics .gs-story-lesson { top:16%; } .gs-sh-color { margin-top:14px; } .gs-sh-wheel { width:64px; } }
@media(prefers-reduced-motion:reduce) { .gs-loading-dot { animation:none; } .gs-story-intro,.gs-story-approach,.gs-story-outro,.gs-story-card,.gs-story-lesson { will-change:auto; } }
