/* Myri Arms website. White / light-grey studio, Myri orange as the only accent.
   Copy: Archivo (semi-expanded for display, normal for text). Labels: IBM Plex Mono, uppercase, tracked .2em. */
:root {
  --bg0: #ffffff; --bg1: #f6f7f8; --ink: #121417; --ink2: #464c54; --ink3: #737a83; --rule: #e3e6ea;
  --orange: #ff8a1f; --orange-ink: #b35a00; --card: #ffffff; --plant: #e6e5e1;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font: 400 17px/1.5 var(--sans); background: #ffffff; overflow-x: hidden; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; gap: 28px; padding: 18px var(--gutter); pointer-events: none; }
.top > * { pointer-events: auto; }
.top::before { content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, .76); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid rgba(21, 23, 26, .06); opacity: 0; transition: opacity .3s ease; z-index: -1; pointer-events: none; }
.top.solid::before { opacity: 1; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -.01em; font-stretch: 112%; color: var(--ink); }
.top nav { margin-left: auto; display: flex; gap: 26px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink2); }
.top nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-line { border: 1px solid rgba(21, 23, 26, .22); color: var(--ink); background: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-line:hover { border-color: var(--ink); background: #fff; }
.btn-orange { background: var(--orange); color: #1b1004; font-weight: 600; }
.btn-orange:hover { background: #ff9a3c; }

/* canvas + labels */
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; display: block; z-index: 0; }
#labels { position: fixed; inset: 0; z-index: 5; pointer-events: none; opacity: 0; transition: opacity .35s ease; }
#labels.on { opacity: 1; }
#leaders { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#leaders line { stroke: var(--ink); stroke-width: 1; opacity: .55; }
#leaders circle { fill: var(--orange); }
.lbl { position: absolute; left: 0; top: 0; transform: translate(-9999px, 0); white-space: nowrap; }
.lbl b { display: block; font: 600 14px/1.25 var(--sans); color: var(--ink); }
.lbl span { display: block; font: 400 12.5px/1.35 var(--sans); color: var(--ink2); max-width: 230px; white-space: normal; }
.lbl.r { text-align: left; } .lbl.l { text-align: right; }
.lbl .k { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--orange-ink); display: block; margin-bottom: 2px; }

/* loader */
#loader { position: fixed; inset: 0; z-index: 40; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--ink3); background: linear-gradient(180deg, var(--bg0), var(--bg1)); transition: opacity .6s ease, visibility .6s; }
body:not(.loading) #loader { opacity: 0; visibility: hidden; }
#loader .ring { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--rule); border-top-color: var(--orange); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* hero loop video: placeholder (desktop, until the real-time scene is ready), the hero itself on phones / low power */
.hero-video { position: absolute; inset: 0; z-index: 0; opacity: 1; transition: opacity .9s ease; background: linear-gradient(180deg, var(--bg0), var(--bg1)); }
.hero-video video { width: 100%; height: 100%; object-fit: cover; object-position: 88% 50%; display: block; }
.hero-video::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .86) 26%, rgba(255, 255, 255, .5) 38%, rgba(255, 255, 255, 0) 52%); }
html[data-hero-video="placeholder"] body.gl-ready .hero-video { opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
#hero .copy { z-index: 1; }

/* scroll scenes: each pins its copy while the camera move plays */
main { position: relative; z-index: 2; }
.scene { position: relative; height: var(--h, 250vh); }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; pointer-events: none; }
.pin a, .pin .btn { pointer-events: auto; }
.copy { position: absolute; max-width: 470px; opacity: var(--o, 1); transform: translateY(calc((1 - var(--o, 1)) * 18px)); will-change: opacity, transform; }
.copy-left { left: var(--gutter); top: 50%; margin-top: -120px; }
.copy h2 { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.04; letter-spacing: -.028em; font-weight: 600; margin: 14px 0 16px; text-wrap: balance; }
.copy p { font-size: 18px; line-height: 1.5; color: var(--ink2); margin: 0; max-width: 420px; text-wrap: pretty; }
.eyebrow { color: var(--orange-ink); margin: 0; }
.copy-hero { left: var(--gutter); top: calc(50% - 46px); transform: translateY(calc(-50% + (1 - var(--o, 1)) * -18px)); max-width: 640px; }
.copy-hero h1 { font-size: clamp(46px, min(5.4vw, 9.4vh), 86px); line-height: .92; letter-spacing: -.045em; font-weight: 600; margin: 18px 0 22px; }
.copy-hero .lede { font-size: clamp(17px, 1.45vw, 21px); color: var(--ink2); margin: 0; max-width: 430px; }
.cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: var(--ink3); margin: 0; opacity: var(--o, 1); }
.scroll-hint::after { content: ''; display: block; width: 1px; height: 28px; margin: 10px auto 0; background: linear-gradient(var(--ink3), transparent); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

.counter { position: absolute; right: var(--gutter); bottom: 7vh; display: flex; align-items: flex-end; gap: 16px; opacity: var(--o2, 0); padding: 18px 22px 18px 24px; border-radius: 18px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 40px rgba(20, 22, 26, .08); }
.counter-n { font: 600 clamp(48px, 5vw, 76px)/.9 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; min-width: 2.2ch; text-align: right; }
.counter-l { color: var(--ink2); line-height: 1.7; padding-bottom: 4px; }
.muted { color: var(--ink3); }
.specs { margin: 30px 0 0; display: grid; grid-template-columns: repeat(4, auto); gap: 10px 26px; justify-content: start; }
.specs dt { color: var(--ink3); }
.specs dt { font-size: 9.5px; letter-spacing: .16em; }
.specs dd { margin: 6px 0 0; font: 600 24px/1 var(--sans); letter-spacing: -.02em; text-transform: none; color: var(--ink); }
.steps { display: flex; gap: 6px; margin-top: 24px; }
.steps span { padding: 7px 11px; border-radius: 999px; border: 1px solid var(--rule); color: var(--ink3); background: rgba(255, 255, 255, .5); transition: all .3s ease; }
.steps span.on { color: #1b1004; background: var(--orange); border-color: var(--orange); }

/* panels (results, research, contact): solid ground over the canvas */
.panel { position: relative; z-index: 3; background: var(--bg0); padding: clamp(80px, 12vh, 140px) var(--gutter); }
.panel-alt { background: #fff; }
.panel-contact { background: var(--ink); color: #f3f2ef; }
.panel-contact .sub { color: #b9bcc1; }
.panel-contact .btn-line { color: #f3f2ef; border-color: rgba(255, 255, 255, .3); background: transparent; }
.panel-contact .eyebrow { color: var(--orange); }
.panel-contact .cta { justify-content: flex-start; }
.wrap { max-width: 1160px; margin: 0 auto; }
.panel h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.04; letter-spacing: -.03em; font-weight: 600; margin: 14px 0 16px; max-width: 820px; text-wrap: balance; }
.sub { font-size: 19px; color: var(--ink2); max-width: 640px; margin: 0; text-wrap: pretty; }

.bars { margin: 56px 0 0; position: relative; --lab: 300px; }
.bars ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bars li { display: grid; grid-template-columns: var(--lab) 1fr 74px; grid-template-rows: auto auto; column-gap: 22px; align-items: center; }
.bars .name { grid-column: 1; grid-row: 1; font-weight: 600; font-size: 17px; }
.bars .how { grid-column: 1; grid-row: 2; color: var(--ink3); font-size: 10px; letter-spacing: .14em; line-height: 1.5; }
.bars .track { grid-column: 2; grid-row: 1 / 3; position: relative; height: 30px; }
.bars .track i { position: absolute; top: 0; bottom: 0; left: calc(var(--lo) * 1%); width: calc(max(var(--w), .8) * 1%); background: #c7c9cc; border-radius: 4px; transform-origin: left; transform: scaleX(var(--grow, 0)); transition: transform 1.1s cubic-bezier(.2, .7, .1, 1); }
.bars li:not(.myri) .track i { left: 0; width: calc(var(--hi) * 1%); background: linear-gradient(90deg, #d6d7d9 calc(var(--lo) / var(--hi) * 100%), #a9adb2 calc(var(--lo) / var(--hi) * 100%)); }
.bars li.est .track i { background: repeating-linear-gradient(135deg, #d6d7d9 0 6px, #c4c7ca 6px 12px); }
.bars li.myri .track i { left: 0; width: calc(var(--hi) * 1%); background: var(--orange); }
.bars .val { grid-column: 3; grid-row: 1 / 3; font: 600 22px/1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bars li.myri .val { color: var(--orange-ink); }
.bar-axis { display: grid; grid-template-columns: repeat(6, 1fr) 0; margin-left: calc(var(--lab) + 22px); margin-right: calc(74px + 22px); color: var(--ink3); font-size: 10px; letter-spacing: .1em; border-bottom: 1px solid var(--rule); padding-bottom: 8px; margin-bottom: 18px; }
.bar-axis span:last-child { white-space: nowrap; transform: translateX(-100%); }
.fed { position: absolute; top: 18px; bottom: 0; right: calc(74px + 22px); width: 0; border-left: 1.5px dashed var(--orange-ink); opacity: .6; }
.in .bars .track i { --grow: 1; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.facts div, .grid3 article { background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 8px; }
.panel-alt .grid3 article { background: var(--bg0); border-color: transparent; }
.facts b, .grid3 b { font: 600 clamp(36px, 3.6vw, 50px)/1 var(--sans); letter-spacing: -.035em; }
.facts span, .grid3 span { color: var(--ink2); font-size: 16px; }
.facts em, .grid3 em { font-style: normal; color: var(--orange-ink); margin-top: auto; padding-top: 8px; font-size: 10px; }
.source { margin: 34px 0 0; font-size: 13px; color: var(--ink3); max-width: 900px; line-height: 1.6; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 48px; }
.foot { position: relative; z-index: 3; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px var(--gutter) 28px; background: var(--ink); color: #8d9197; font-size: 13px; border-top: 1px solid #2a2d31; }
.foot .mono { font-size: 10px; letter-spacing: .14em; }

/* no WebGL: each scene shows its poster */
.no-webgl #gl, .no-webgl #labels { display: none; }
.no-webgl #hero .pin { background: none; }
.no-webgl .scene { height: auto; }
.no-webgl .pin { position: relative; height: auto; min-height: 92vh; background: var(--poster) center / cover no-repeat; }
.no-webgl .copy, .no-webgl .counter, .no-webgl .specs { --o: 1; --o2: 1; }
.no-webgl .counter { display: none; }
.no-webgl .copy-left { top: 14vh; margin-top: 0; }
.no-webgl .copy-left { background: rgba(255, 255, 255, .82); padding: 18px 22px; border-radius: 16px; backdrop-filter: blur(6px); }

/* phones */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top { padding: 12px 16px; gap: 12px; }
  .top nav { display: none; }
  .top .btn { margin-left: auto; height: 38px; padding: 0 16px; font-size: 14px; }
  .brand { font-size: 16px; }
  .copy-hero { top: 84px; left: 16px; right: 16px; transform: translateY(calc((1 - var(--o, 1)) * -18px)); }
  .hero-video { inset: auto 0 0 0; height: 50svh; background: none; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%); mask-image: linear-gradient(180deg, transparent 0, #000 16%); }
  .hero-video::after { display: none; }
  .hero-video video { object-position: 50% 45%; }
  .scene:not(#hero) .pin::before { display: none; }
  .copy-hero h1 { font-size: clamp(36px, 10.2vw, 52px); margin: 12px 0 14px; }
  .copy-hero .lede { font-size: 16px; max-width: 320px; }
  .cta { margin-top: 18px; }
  .btn { height: 44px; padding: 0 18px; }
  .copy-left { left: 16px; right: 16px; top: auto; bottom: 5.5vh; margin-top: 0; max-width: none; background: rgba(255, 255, 255, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 16px 18px 18px; border-radius: 18px; }
  .copy h2 { font-size: 27px; margin: 8px 0 8px; }
  .copy p { font-size: 15px; }
  .counter { right: 16px; top: 70px; bottom: auto; gap: 8px; }
  .counter-n { font-size: 40px; }
  .counter-l { font-size: 9px; }
  .specs { grid-template-columns: repeat(4, auto); gap: 6px 14px; margin-top: 12px; }
  .specs dd { font-size: 16px; }
  .specs dt { font-size: 8px; letter-spacing: .1em; }
  .steps { margin-top: 12px; }
  .steps span { padding: 5px 9px; font-size: 10px; }
  .scroll-hint { display: none; }
  #labels .lbl span { display: none; }
  #labels .lbl b { font-size: 12px; }
  .bars { --lab: 1fr; margin-top: 36px; }
  .bars li { grid-template-columns: 1fr 58px; grid-template-rows: auto auto auto; row-gap: 4px; }
  .bars .name { grid-column: 1; grid-row: 1; font-size: 15px; }
  .bars .how { grid-column: 1 / 3; grid-row: 2; font-size: 9px; }
  .bars .track { grid-column: 1; grid-row: 3; height: 18px; }
  .bars .val { grid-column: 2; grid-row: 1; font-size: 18px; text-align: right; }
  .bars ol { gap: 20px; }
  .bar-axis, .fed { display: none; }
  .facts, .grid3 { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
      .panel { padding: 72px 16px; }
  .panel h2 { font-size: 32px; }
  .sub { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint::after, #loader .ring { animation: none; }
  .bars .track i { transition: none; }
  .btn { transition: none; }
}

/* with the hero video the page is readable at once: the loader shrinks to a corner pill */
html[data-hero-video] #loader { inset: auto 24px 24px auto; padding: 10px 14px; border-radius: 999px; grid-auto-flow: column; gap: 10px; background: rgba(255, 255, 255, .8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 6px 24px rgba(20, 22, 26, .08); }
html[data-hero-video] #loader .ring { width: 16px; height: 16px; }
html[data-hero-video="low"] .top::before { opacity: 1; }


/* ======================================================================= white + glass (round 4) */
:root { --glass: rgba(255, 255, 255, .62); --glass-strong: rgba(255, 255, 255, .72); --glass-line: rgba(255, 255, 255, .7);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 1px rgba(18, 20, 23, .04), 0 12px 40px rgba(18, 24, 32, .10);
  --glass-blur: blur(22px) saturate(1.4); }
.glass, .top::before, .scene:not(#hero) .copy-left, .counter, .steps span, .facts div, .grid3 article, .line-facts > div {
  background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .top::before, .scene:not(#hero) .copy-left, .counter, .steps span, .facts div, .grid3 article, .line-facts > div { background: rgba(255, 255, 255, .93); }
}
/* nav: always a glass bar */
.top::before { opacity: 1; border-width: 0 0 1px 0; border-radius: 0; }
/* copy panels over the 3D scene */
.scene:not(#hero) .copy-left { padding: 26px 28px 28px; border-radius: 22px; max-width: 500px; margin-top: -150px; }
.scene:not(#hero) .copy-left p { color: #3d434a; }
.counter { border-radius: 20px; background: var(--glass-strong); }
.steps span { border-radius: 999px; color: var(--ink2); background: rgba(255, 255, 255, .5); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 1px rgba(18, 20, 23, .06); }
.steps span.on { color: #1b1004; background: var(--orange); border-color: rgba(255, 255, 255, .5); }
/* panels: white with faint cool and orange light behind the glass cards so the glass reads */
.panel { background: #ffffff; overflow: hidden; }
.panel-alt { background: #f6f7f8; }
.panel::before { content: ''; position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -20vw; top: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(170, 190, 215, .32), rgba(170, 190, 215, 0)); pointer-events: none; }
.panel::after { content: ''; position: absolute; z-index: -1; width: 50vw; height: 50vw; left: -15vw; bottom: -10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 138, 31, .10), rgba(255, 138, 31, 0)); pointer-events: none; }
.panel > .wrap { position: relative; z-index: 1; }
.panel { isolation: isolate; }
.facts div, .grid3 article, .panel-alt .grid3 article { border-radius: 20px; }
.panel-contact { background: #121417; }
.panel-contact::before { background: radial-gradient(closest-side, rgba(120, 140, 170, .18), rgba(120, 140, 170, 0)); }
.foot { background: #121417; border-top-color: #22262b; }
#loader { background: #ffffff; }
.hero-video { background: #ffffff; }
.hero-video::after { background: linear-gradient(90deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .6) 30%, rgba(255, 255, 255, 0) 50%); }
/* Line loop (Scale): pre-rendered stations, under the glass copy panel */
.line-video { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity .9s ease; background: #fff; }
.line-video.on { opacity: 1; }
.line-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
#scale .copy { z-index: 1; }
.line-facts { display: none; margin: 18px 0 0; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.is-line .line-facts { display: grid; }
.line-facts > div { margin: 0; padding: 12px 12px 10px; border-radius: 14px; background: rgba(255, 255, 255, .5); display: flex; flex-direction: column; gap: 3px; }
.line-facts dd { margin: 0; font: 600 22px/1.05 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.line-facts dt { font-size: 12.5px; line-height: 1.3; color: var(--ink2); }
.line-facts em { font-style: normal; font-size: 8.5px; letter-spacing: .14em; color: var(--orange-ink); margin-top: 2px; }
@media (max-width: 760px) {
  .scene:not(#hero) .copy-left { padding: 16px 18px 18px; border-radius: 18px; margin-top: 0; }
  .line-facts { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
  .line-facts dd { font-size: 16px; } .line-facts dt { font-size: 10.5px; } .line-facts em { display: none; }
  .line-video video { object-position: 50% 35%; }
}

/* Archivo: semi-expanded cut for display type, normal width for reading text */
h1, h2, h3, .counter-n, .facts b, .grid3 b, .specs dd, .bars .val, .line-facts dd { font-stretch: 112%; }


/* ======================================================================= round 5: contributors, units, comparison, service */
/* contributors marquee (under the hero headline) */
.contrib { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2; opacity: var(--o, 1); pointer-events: auto; }
.contrib .eyebrow { color: var(--ink3); padding: 0 var(--gutter); margin-bottom: 10px; font-size: 10px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; margin: 0; padding: 4px 0 8px; list-style: none; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: 0 0 auto; width: 168px; height: 64px; display: grid; place-items: center; border-radius: 16px;
  background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); }
.marquee-track img { max-height: 34px; max-width: 120px; width: auto; height: auto; filter: brightness(0) opacity(.5); transition: filter .25s ease; }
.marquee-track li:hover img { filter: brightness(0) opacity(.8); }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .marquee-track li { background: rgba(255, 255, 255, .93); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; padding: 0 var(--gutter); }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; }
  .marquee-track li[aria-hidden="true"] { display: none; }
}
/* platform units (Scale) */
#scale .copy { max-width: 520px; }
#scale-p { font-size: 15.5px; line-height: 1.5; }
.units { margin-top: 14px; position: relative; }
.unit { display: none; }
.unit.on { display: block; animation: unitin .45s ease both; }
@keyframes unitin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.unit p { margin: 0; font-size: 15.5px; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.tags li { font-size: 9.5px; letter-spacing: .14em; padding: 5px 9px; border-radius: 999px; color: var(--orange-ink); background: rgba(255, 138, 31, .09); }
.uspecs { display: flex; gap: 22px; margin: 14px 0 0; }
.uspecs dt { font-size: 9px; letter-spacing: .16em; color: var(--ink3); }
.uspecs dd { margin: 4px 0 0; font: 600 20px/1 var(--sans); letter-spacing: -.02em; }
.is-line .units { display: none; }
/* comparison */
.vs { margin-top: 44px; display: grid; gap: 0; border-radius: 22px; overflow: hidden; background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); }
.vs-head, .vs-row { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; }
.vs-head > span, .vs-row > span { padding: 16px 22px; }
.vs-row { border-top: 1px solid rgba(18, 20, 23, .07); }
.vs-row > span:first-child { color: var(--ink3); font-size: 10px; letter-spacing: .16em; align-self: center; }
.vs-row > span:not(:first-child) { font-size: 16px; color: var(--ink2); }
.vs-row > span:last-child { color: var(--ink); background: rgba(255, 138, 31, .05); }
.vs-h b { display: block; font: 600 22px/1.1 var(--sans); letter-spacing: -.02em; }
.vs-h em { font-style: normal; font-size: 9.5px; letter-spacing: .14em; color: var(--ink3); }
.vs-m { background: rgba(255, 138, 31, .08); }
.vs-m em { color: var(--orange-ink); }
/* service */
.steps3 { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps3 li { padding: 26px 26px 24px; border-radius: 20px; background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); }
.steps3 .mono { color: var(--orange-ink); font-size: 10px; }
.steps3 b { display: block; font: 600 28px/1.1 var(--sans); letter-spacing: -.025em; margin: 10px 0 10px; }
.steps3 p { margin: 0; color: var(--ink2); font-size: 16px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .vs, .steps3 li { background: rgba(255, 255, 255, .93); } }
@media (max-width: 760px) {
  .contrib { bottom: 14px; }
  .contrib .eyebrow { padding: 0 16px; margin-bottom: 6px; font-size: 9px; }
  .marquee-track li { width: 128px; height: 52px; border-radius: 14px; }
  .marquee-track img { max-height: 26px; max-width: 92px; }
  #scale-p { display: none; }
  .is-line #scale-p { display: block; }
  .unit p { font-size: 14px; }
  .uspecs { gap: 16px; margin-top: 10px; } .uspecs dd { font-size: 16px; }
  .tags { margin-top: 8px; }
  .vs-head, .vs-row { grid-template-columns: 1fr 1fr; }
  .vs-head > span:first-child { display: none; }
  .vs-row > span:first-child { grid-column: 1 / -1; padding: 14px 16px 2px; }
  .vs-row > span:not(:first-child) { padding: 4px 16px 14px; font-size: 14.5px; }
  .vs-head > span { padding: 14px 16px; }
  .vs-h b { font-size: 18px; }
  .steps3 { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .steps3 b { font-size: 24px; }
}

/* round 5 fixes */
.scene#scale .copy-left { top: 104px; margin-top: 0; }
#scale .copy[data-st="1"] #scale-p, #scale .copy[data-st="2"] #scale-p { display: none; }
.marquee-track li { width: 180px; }
.marquee-track img { max-width: 136px; filter: brightness(0) opacity(.55); }
@media (max-width: 760px) {
  #scale .copy-left { top: auto; }
  html[data-hero-video] .hero-video { bottom: 100px; height: 44svh; }
  .contrib { bottom: 0; padding: 8px 0 12px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 34%); }
  .marquee-track li { width: 132px; }
}
