:root {
  --paper: #ECECEE;
  --paper-hi: #F7F7F8;
  --ink: #11141F;
  --ink-2: #5E6271;
  --night: #0A0E19;
  --night-2: #121829;
  --white: #F4F5F8;
  --mist: rgba(244, 245, 248, .68);
  --hair: rgba(244, 245, 248, .22);
  --hair-ink: rgba(17, 20, 31, .14);
  --orange: #F29A1F;
  --alert: #FF5A64;
  --ok: #57D9A3;
  --serif: 'Figtree', system-ui, sans-serif;
  --sans: 'Figtree', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.sr-defs { position: absolute; }
:focus-visible { outline: 1px solid var(--orange); outline-offset: 4px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: .75;
}
.lead { font-size: clamp(15px, 1.15vw, 18px); color: var(--ink-2); max-width: 30em; }

.cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 0 6px;
  background: none; border: 0; border-bottom: 1px solid currentColor;
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: inherit; text-decoration: none; cursor: pointer;
}
.cta span { transition: transform .4s var(--ease-out); }
.cta:hover span { transform: translateX(6px); }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px clamp(16px, 4vw, 56px);
  color: var(--ink);
  transition: color .5s;
}
body[data-theme="dark"] .topbar { color: var(--white); }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.brand svg { color: currentColor; }
.chapters { display: flex; gap: clamp(10px, 2.2vw, 34px); }
.chapters button {
  position: relative; background: none; border: 0; cursor: pointer;
  padding: 6px 0; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  opacity: .5; transition: opacity .3s;
}
.chapters button i { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; transform: scaleX(var(--p, 0)); }
.chapters button.is-active, .chapters button:hover { opacity: 1; }
.link-contact { color: inherit; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* ---------- studio sections ---------- */
.hero, .slide.slide-unit, .closing {
  background: radial-gradient(ellipse 80% 70% at 62% 42%, var(--paper-hi) 0%, var(--paper) 55%, #DEDEE2 100%);
}
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  padding: 120px clamp(16px, 6vw, 110px) 90px;
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1, .closing h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: .98;
  font-size: clamp(40px, 5.4vw, 88px);
  margin-bottom: 30px;
}
.hero .lead { margin-bottom: 26px; }
.hero-product { margin: 0; position: relative; justify-self: center; width: min(100%, 78vh); aspect-ratio: 1; }
.hero-product img, .closing-product { -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.hero-product img { width: 112%; height: auto; margin: -4% -6% 0; display: block; transition: translate .8s var(--ease-out); }
.coords { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-2); white-space: nowrap; }
.scroll-cue { position: absolute; right: clamp(16px, 4vw, 56px); bottom: 26px; display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); }
.scroll-cue i { width: 1px; height: 44px; background: currentColor; animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- slider ---------- */
.slider { position: relative; }
.slider-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.track { display: flex; height: 100%; will-change: transform; }
.slide { --o: 0; position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; background: var(--night); color: var(--white); }
.slide-unit { color: var(--ink); }
.slide-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hair); z-index: 20; }
.slide-progress i { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* photo frames: always "cover" the viewport while keeping hotspot % aligned to the image */
.frame {
  position: absolute; left: 50%; top: 50%;
  width: calc(max(100vw, 100svh * var(--ar)) * var(--s, 1.1));
  height: calc(max(100svh, 100vw / var(--ar)) * var(--s, 1.1));
  translate: calc(-50% + var(--dx, 0%) + var(--o) * 18vw) calc(-50% + var(--dy, 0%));
  transform-origin: var(--ox) var(--oy);
}
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.72) contrast(1.05) brightness(.9); }
.frame-b { opacity: 0; }
.grade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 11, 20, .86) 0%, rgba(8, 11, 20, .55) 30%, rgba(8, 11, 20, 0) 55%),
    linear-gradient(180deg, rgba(210, 220, 236, .22) 0%, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0) 62%, rgba(8, 11, 20, .6) 100%);
}
.grade::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 50%, rgba(255, 70, 80, .0), rgba(120, 10, 20, .45)); opacity: 0; transition: opacity .6s; }
.is-alert .grade::after { opacity: 1; }

.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.uplink, .route { fill: none; stroke: var(--white); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 3 7; animation: march 1.4s linear infinite; opacity: .85; }
.route { stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: none; animation: none; opacity: .9; filter: drop-shadow(0 0 6px rgba(242, 154, 31, .8)); }
.is-alert .uplink { stroke: var(--alert); }
@keyframes march { to { stroke-dashoffset: -20; } }

.hotspot { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; opacity: 0; }
.hotspot i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 18px rgba(255, 255, 255, .6); }
.hotspot i::before, .hotspot i::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--white); animation: pulse 2.6s var(--ease-out) infinite; }
.hotspot i::after { animation-delay: 1.3s; }
.hs-dev i { background: var(--orange); box-shadow: 0 0 0 1px rgba(242, 154, 31, .5), 0 0 22px rgba(242, 154, 31, .8); }
.hs-dev i::before, .hs-dev i::after { border-color: var(--orange); }
.is-alert .hs-dev i, .is-alert .hs-truck i { background: var(--alert); box-shadow: 0 0 24px var(--alert); }
.is-alert .hs-dev i::before, .is-alert .hs-dev i::after, .is-alert .hs-truck i::before, .is-alert .hs-truck i::after { border-color: var(--alert); }
.hotspot span {
  position: absolute; left: 40px; top: -13px; white-space: nowrap;
  font-family: var(--mono); font-size: 11px; line-height: 1; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 999px; color: var(--white);
  background: rgba(8, 11, 20, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(244, 245, 248, .14);
}
.hotspot span::before { content: ''; position: absolute; left: -22px; top: 50%; width: 18px; height: 1px; background: rgba(244, 245, 248, .7); }
.hs-fence i { background: transparent; box-shadow: none; }
.hs-fence i::before { inset: -12px; border-style: dashed; animation: none; border-color: var(--ok); }
.hs-fence i::after { display: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4.2); opacity: 0; } }


/* panel */
.panel {
  position: absolute; z-index: 5;
  left: clamp(16px, 6vw, 110px); top: 50%; transform: translateY(-50%);
  width: min(430px, 34vw);
}
.beats { position: relative; min-height: 250px; }
.beat {
  position: absolute; inset: 0 0 auto 0;
  opacity: 0; transform: translateY(14px);
  transition: opacity .2s ease-in, transform .3s ease-in;
  pointer-events: none;
}
.beat.is-active { opacity: 1; transform: none; pointer-events: auto; transition: opacity .6s .18s var(--ease-out), transform .8s .18s var(--ease-out); }
.beat h2 {
  clip-path: inset(0 0 100% 0); transform: translateY(35%);
  transition: clip-path .25s ease-in, transform .25s ease-in;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 2.6vw, 42px); line-height: 1.04; letter-spacing: -.02em;
  margin-bottom: 18px;
}
.beat.is-active h2 { clip-path: inset(-10% 0 -20% 0); transform: none; transition: clip-path 1s .12s var(--ease-out), transform 1s .12s var(--ease-out); }
.beat p { font-size: 15.5px; color: var(--mist); max-width: 26em; }
.slide-unit .beat p { color: var(--ink-2); }
.is-alert-beat h2 { color: #FFC2C6; }

/* HUD */
.hud {
  margin: 14px 0 0; padding: 14px 18px;
  border: 1px solid var(--hair); border-radius: 3px;
  background: rgba(10, 14, 25, .42); backdrop-filter: blur(14px);
  font-family: var(--mono); font-size: 12px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .6s, transform .6s var(--ease-out), border-color .4s;
}
.hud.is-on { opacity: 1; transform: none; }
.hud-head { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px solid var(--hair); }
.live { color: var(--ok); font-weight: 400; }
.live::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-right: 7px; vertical-align: 2px; animation: blink 1.6s infinite; }
.hud-row { display: flex; justify-content: space-between; gap: 14px; padding: 3px 0; transition: color .3s; }
.hud-row dt { color: var(--mist); }
.hud-row dd { margin: 0; font-variant-numeric: tabular-nums; }
.hud-row.is-alert, .hud-row.is-alert dt { color: var(--alert); }
.is-alert .hud { border-color: rgba(255, 90, 100, .55); }
@keyframes blink { 50% { opacity: .25; } }

.toast {
  position: absolute; z-index: 7; top: 88px; left: 50%;
  transform: translate(-50%, -10px); opacity: 0;
  padding: 10px 20px; border: 1px solid rgba(255, 90, 100, .7);
  background: rgba(40, 6, 12, .55); backdrop-filter: blur(10px); color: #FFD9DC;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  transition: opacity .3s, transform .5s var(--ease-out);
}
.is-alert .toast { opacity: 1; transform: translate(-50%, 0); }

/* ---------- unit (studio sequence) ---------- */
.seq { position: absolute; left: 57%; top: 52%; translate: calc(-50% + var(--o) * 18vw) -50%; height: min(92svh, 46vw); aspect-ratio: 1; -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); }
.spec { position: absolute; right: clamp(16px, 5vw, 80px); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; width: 250px; }
.spec-item { display: grid; grid-template-columns: 30px 1fr; row-gap: 2px; opacity: .14; transition: opacity .6s var(--ease-out); }
.spec-item.is-on { opacity: 1; }
.spec-item span { grid-row: span 2; font-family: var(--mono); font-size: 11px; color: var(--orange); padding-top: 4px; }
.spec-item b { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.1; }
.spec-item em { font-style: normal; font-size: 12.5px; color: var(--ink-2); }

/* ---------- platform ---------- */
.slide-platform { background: radial-gradient(ellipse at 70% 30%, var(--night-2), var(--night) 70%); }
.ops-dash { position: absolute; z-index: 4; right: clamp(16px, 5vw, 80px); top: 50%; transform: translateY(-50%); width: min(760px, 54vw); display: grid; gap: 16px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.dash-title { display: flex; align-items: center; gap: 10px; color: var(--white); }
.dash-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: none; color: var(--mist); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card { border: 1px solid var(--hair); background: rgba(255, 255, 255, .03); padding: 0 0 14px; overflow: hidden; }
.card-img { width: 100%; height: 92px; object-fit: cover; display: block; filter: saturate(.7) brightness(.85); margin-bottom: 12px; }
.card > :not(img) { margin-left: 14px; margin-right: 14px; }
.card h3 { font-family: var(--serif); font-size: 20px; margin-top: 8px; line-height: 1.1; }
.card .mono, .card-foot { font-family: var(--mono); font-size: 11px; color: var(--mist); }
.card-foot { margin-top: 6px; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.unit-tag { font-family: var(--mono); font-size: 11px; color: var(--orange); }
.status { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.status.ok { color: var(--ok); }
.status.warn { color: var(--orange); }
.copilot { padding: 20px; border: 1px solid var(--hair); background: rgba(255, 255, 255, .03); display: grid; gap: 12px; }
.copilot-head { display: flex; gap: 12px; align-items: baseline; font-family: var(--mono); font-size: 11px; color: var(--mist); }
.atlas { color: var(--orange); letter-spacing: .3em; }
.bubble { font-size: 15px; min-height: 26px; }
.bubble.q { display: flex; gap: 12px; align-items: center; font-family: var(--serif); font-size: 22px; }
.bubble.a { color: var(--mist); opacity: 0; transition: opacity .4s; padding-left: 22px; border-left: 1px solid var(--orange); }
.bubble.a.is-on { opacity: 1; }
.mic { width: 8px; height: 8px; border-radius: 50%; background: var(--alert); flex: none; box-shadow: 0 0 0 4px rgba(255, 90, 100, .2); }
.caret { width: 1px; height: 22px; background: var(--white); animation: blink 1s steps(1) infinite; }
.voice { display: flex; gap: 3px; height: 22px; align-items: center; opacity: .2; transition: opacity .3s; }
.voice.is-on { opacity: 1; }
.voice i { flex: 1; height: 20%; background: var(--white); }
.voice.is-on i { animation: voice .9s ease-in-out infinite; }
.voice i:nth-child(3n) { animation-delay: -.3s; }
.voice i:nth-child(3n+1) { animation-delay: -.6s; }
@keyframes voice { 50% { height: 100%; } }

/* ---------- specifications ---------- */
.specs { background: var(--paper); padding: 140px clamp(16px, 6vw, 110px) 90px; display: grid; gap: 56px; }
.specs-head { max-width: 720px; }
.specs h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.04; margin-bottom: 22px; }
.io-panel { margin: 0; }
.io-svg { width: 100%; height: auto; display: block; overflow: visible; }
.io-svg :is(rect, circle, path, line) { fill: none; stroke: var(--ink-2); stroke-width: 1.2; vector-effect: non-scaling-stroke; transition: stroke .3s, fill .3s; }
.io-body :is(rect, line) { stroke: rgba(17, 20, 31, .3); }
.io { cursor: pointer; }
.io.is-on :is(rect, circle, path, line) { stroke: var(--orange); stroke-width: 2; }
.io[data-io="led"] circle { fill: var(--orange); stroke: none; }
.io-legend { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.io-legend button { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; background: none; border: 0; cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); transition: color .3s; }
.io-legend i { width: 14px; height: 1px; background: currentColor; transition: width .3s var(--ease-out); }
.io-legend button.is-on { color: var(--ink); }
.io-legend button.is-on i { width: 26px; background: var(--orange); }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 48px; margin: 0; border-top: 1px solid var(--hair-ink); }
.spec-grid div { padding: 20px 0; border-bottom: 1px solid var(--hair-ink); display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.spec-grid dt { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
.spec-grid dd { margin: 0; font-size: 15px; line-height: 1.5; }
.topbar-end { justify-self: end; display: flex; align-items: center; gap: 28px; }
.link-specs { color: inherit; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; padding-bottom: 3px; }
@media (max-width: 760px), (orientation: portrait) and (max-width: 1100px) {
  .spec-grid div { grid-template-columns: 1fr; gap: 4px; }
  .io-legend { gap: 6px 16px; }
}

/* ---------- closing ---------- */
.closing { position: relative; text-align: center; padding: 120px clamp(16px, 6vw, 110px) 60px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.closing-product { width: 220px; height: auto; margin-bottom: -10px; }
.closing h2 { font-size: clamp(32px, 4.2vw, 64px); margin-bottom: 0; }
.sectors { list-style: none; padding: 0; margin: 14px 0 6px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; max-width: 860px; }
.sectors li { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.fineprint { max-width: 740px; font-size: 11.5px; color: var(--ink-2); opacity: .85; }
.closing .cta { margin-bottom: 30px; }

/* ---------- hairline layer: the photo is scanned into a line figure ---------- */
.hl-wrap {
  position: absolute; inset: 0; background: var(--night);
  clip-path: inset(0 calc(100% - var(--wipe, 0) * 100%) 0 0);
  --hairline-plate: #0A0E19; --hairline-stroke: 1.2;
  --hairline-hi: #F29A1F; --hairline-edge: #9AA0B2; --hairline-mid: #626879; --hairline-lo: #3E4354;
}
.hl-stage svg { overflow: visible; }
.hl-stage {
  position: absolute; aspect-ratio: auto;
  top: 10svh; bottom: 9svh;
  left: calc(clamp(16px, 6vw, 110px) + min(430px, 34vw) + 3vw); right: 3vw;
  translate: calc(var(--o) * 10vw) 0;
}
.hl-scan {
  position: absolute; top: 0; bottom: 0; z-index: 3; left: calc(var(--wipe, 0) * 100%); width: 1px;
  background: #D0D6E0; box-shadow: 0 0 22px 4px rgba(208, 214, 224, .35);
  opacity: var(--wipe-o, 0); pointer-events: none;
}

/* mini markers on photo B */
.placed { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; z-index: 2; }
.placed > * { opacity: 0; }
.frame .placed .cube { position: absolute; width: 132px; height: auto; left: -66px; top: -74px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .55)); }
.placed .glow { position: absolute; left: -90px; top: -90px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(rgba(242, 154, 31, .55), rgba(242, 154, 31, 0) 65%); animation: breathe 3s ease-in-out infinite; }
.is-alert .placed .glow { background: radial-gradient(rgba(255, 90, 100, .7), rgba(255, 90, 100, 0) 65%); }
.reticle { position: absolute; left: -64px; top: -64px; width: 128px; height: 128px; }
.reticle i { position: absolute; width: 18px; height: 18px; border: 0 solid var(--white); }
.reticle i:nth-child(1) { left: 0; top: 0; border-width: 1.5px 0 0 1.5px; }
.reticle i:nth-child(2) { right: 0; top: 0; border-width: 1.5px 1.5px 0 0; }
.reticle i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 1.5px 1.5px; }
.reticle i:nth-child(4) { right: 0; bottom: 0; border-width: 0 1.5px 1.5px 0; }
.placed-label { position: absolute; left: 92px; top: -30px; white-space: nowrap; padding-left: 28px; color: var(--white); text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
.placed-label::before { content: ''; position: absolute; left: 0; top: 50%; width: 20px; height: 1px; background: var(--orange); }
.placed-label b { display: block; font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1; }
.placed-label em { display: block; margin-top: 6px; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.frame .placed.mini .cube { width: 72px; left: -36px; top: -40px; }
.placed.mini .glow { left: -50px; top: -50px; width: 100px; height: 100px; }
.placed.mini .reticle { left: -36px; top: -36px; width: 72px; height: 72px; }
.placed.mini .reticle i { width: 10px; height: 10px; }
.placed.mini .placed-label { left: 50px; top: -22px; padding-left: 20px; }
.placed.mini .placed-label::before { width: 14px; }
.placed.mini .placed-label b { font-size: 20px; }
@keyframes breathe { 50% { transform: scale(1.18); opacity: .7; } }

/* ---------- finish switch ---------- */
.finish { display: flex; align-items: center; gap: 8px; margin-top: 34px; }
.finish-label { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); margin-right: 6px; }
.finish button {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: transparent; border: 1px solid var(--hair-ink);
  font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2);
  transition: border-color .3s, color .3s, background .3s;
}
.finish button[aria-checked="true"] { border-color: var(--ink); color: var(--ink); background: rgba(255, 255, 255, .5); }
.sw { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.sw-steel { background: linear-gradient(135deg, #fff 0%, #c9c9ce 45%, #7d7e84 100%); }
.sw-black { background: linear-gradient(135deg, #5a5b60 0%, #18191c 45%, #000 100%); }
.finish-unit { position: absolute; z-index: 6; left: clamp(16px, 6vw, 110px); bottom: 9vh; margin: 0; }
[data-asset] { transition: opacity .35s; }
.is-swapping [data-asset], .is-swapping .seq { opacity: .2; }

/* ---------- film grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: .07;
  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='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-4%, 3%); } 66% { transform: translate(3%, -2%); } 100% { transform: translate(0, 0); } }

/* fallback without anime.js */
.no-anime .hotspot, .no-anime .placed > * { opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .topbar { grid-template-columns: auto 1fr; }
  .brand span, .link-contact, .link-specs { display: none; }
  .chapters { justify-self: end; gap: 14px; }
  .chapters button { font-size: 10px; letter-spacing: .16em; }
}
@media (max-width: 760px), (orientation: portrait) and (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding-top: 90px; }
  .hero-product { order: -1; width: 86%; }
  .hero h1 { font-size: 38px; }
  .frame { translate: calc(-1 * var(--ox) + var(--o) * 18vw) calc(-50% + var(--dy, 0%)); }
  .coords { display: none; }
  .panel { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: auto; padding: 28px 16px 22px; background: linear-gradient(transparent, rgba(8, 11, 20, .9) 26%); }
  .slide-unit .panel { background: linear-gradient(transparent, var(--paper) 26%); }
  .beats { min-height: 170px; }
  .beat h2 { font-size: 30px; }
  .beat p { font-size: 14px; }
  .hud { font-size: 11px; padding: 10px 12px; }
  .hotspot span { display: none; }
  .placed-label b { font-size: 20px; }
  .hl-stage { top: 64px; bottom: 46%; left: 4vw; right: 4vw; translate: 0 0; }
  .placed.mini .placed-label { display: none; }
  .finish-unit { left: 16px; bottom: auto; top: 76px; }
  .toast { top: 150px; white-space: normal; width: calc(100% - 32px); text-align: center; font-size: 10.5px; }
  .seq { left: 50%; top: 34%; height: auto; width: 96vw; }
  .spec { display: none; }
  .ops-dash { left: 16px; right: 16px; width: auto; top: 70px; transform: none; gap: 10px; }
  .cards { grid-template-columns: 1fr; gap: 8px; }
  .card { display: grid; grid-template-columns: 90px 1fr; padding: 0; }
  .card-img { grid-row: span 3; height: 100%; margin: 0; }
  .card > :not(img) { margin: 6px 12px 0; }
  .card .mono, .card-foot { display: none; }
  .card h3 { font-size: 16px; margin-bottom: 8px; }
  .bubble.q { font-size: 17px; }
  .bubble.a { font-size: 13px; }
  .slide-platform .beats { min-height: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* hotspot whose label sits to the left of the dot (near the right edge) */
.hotspot.hs-left span { left: auto; right: 40px; }
.hotspot.hs-left span::before { left: auto; right: -22px; }
