/* ==========================================================
   v2 — tabbed full-screen scenes (loaded after style.css)
   ========================================================== */
html, body { height: 100%; overflow: hidden; }

/* ---------- header: brand · tabs · CTA ---------- */
.hdr { justify-content: space-between; gap: 16px; }
.hdr::before { opacity: 1; }
/* every tab is its own glass pill; on hover only the plate behind the label grows,
   so the hover area never changes size and neighbours can't steal the pointer (no jitter) */
.nav { position: relative; left: auto; transform: none; gap: 12px; padding: 0; }
.nav a {
  position: relative; z-index: 1; padding: 16px 21px; border-radius: 999px;
  font: 500 14px/1 var(--f-mono); letter-spacing: .1em; white-space: nowrap; color: var(--ink-2);
  transition: color .35s;
}
.nav a::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 12px 26px -16px rgba(24, 32, 52, .32);
  transition: transform .5s var(--ease), background .35s, box-shadow .35s, opacity .35s;
}
.nav a:hover, .nav a.is-active { background: none; transform: none; box-shadow: none; color: var(--ink); }
.nav a:hover::before { transform: scale(1.08); background: #fff; box-shadow: var(--glow-white); }
.nav a.is-active::before { opacity: 0; }
/* white pill that glides from tab to tab under the active one */
.nav__pill {
  position: absolute; z-index: 0; top: 0; left: 0; height: 100%; width: 0;
  border-radius: 999px; background: #fff;
  box-shadow: 0 0 0 1px #fff, 0 0 18px rgba(255, 255, 255, .9), 0 8px 20px -10px rgba(24, 32, 52, .35);
}

/* brand: larger wordmark */
.brand__mark { width: 66px; }
.brand__name { font-size: 28px; }
.brand__word small { font-size: 10px; }

/* narrower laptops: the brand and the pills tighten up so all eight tabs still fit */
@media (max-width: 1700px) {
  .nav { gap: 7px; }
  .nav a { padding: 15px 14px; font-size: 13px; letter-spacing: .08em; }
  .brand__mark { width: 54px; }
  .brand__name { font-size: 23px; }
  .hdr { gap: 12px; }
}
@media (max-width: 1400px) {
  .nav { gap: 6px; }
  .nav a { padding: 14px 13px; letter-spacing: .06em; }
  .hdr__cta { padding-left: 16px; gap: 10px; }
}

/* tabs give way to the burger when the header gets crowded (body.nav-collapsed is set in app.js) */
.nav-collapsed .nav { display: none; }
.nav-collapsed .hdr__cta { margin-left: auto; }
.nav-collapsed .burger { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); cursor: pointer; position: relative; }
.nav-collapsed .burger i { position: absolute; width: 18px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav-collapsed .burger i:first-child { transform: translateY(-3.5px); }
.nav-collapsed .burger i:last-child { transform: translateY(3.5px); }
.nav-collapsed.menu-open .burger i:first-child { transform: rotate(45deg); }
.nav-collapsed.menu-open .burger i:last-child { transform: rotate(-45deg); }
.nav-collapsed .menu { display: flex; flex-direction: column; justify-content: center; gap: 6px; position: fixed; inset: 0; z-index: 48; padding: 0 28px; background: rgba(236, 238, 242, .75); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.nav-collapsed .menu a { font: 400 clamp(26px, 5vw, 40px)/1.3 var(--f-disp); text-transform: uppercase; letter-spacing: -.02em; }
.nav-collapsed .menu a.is-active { color: var(--gold); }
.nav-collapsed.menu-open .menu { opacity: 1; visibility: visible; }

/* ---------- scenes ---------- */
.scenes { position: fixed; inset: 0; z-index: 1; }
.scene {
  position: absolute; inset: 0; display: none;
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  padding: 104px var(--pad) 104px;
  scrollbar-width: none;
}
.scene::-webkit-scrollbar { display: none; }
.scene.is-shown { display: block; }
.scene__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 0; will-change: transform, opacity, filter; }
.scene .sec-head { margin-bottom: 26px; }
.scene .big { font-size: clamp(30px, 3.6vw, 60px); }

/* home: the hero fills the scene */
.scene--home { padding-top: 96px; padding-bottom: 96px; }
.scene--home .scene__inner.hero { min-height: 100%; padding: 0; flex-direction: row; align-items: center; justify-content: space-between; }
.scene--home .hero__cpu { inset: -96px calc(-1 * var(--pad)); }
/* copy and desk form one band: equal height, top and bottom edges aligned */
.hero__row { width: 100%; display: flex; align-items: stretch; justify-content: space-between; gap: 32px; }

.scene--home .hero__title { font-size: clamp(42px, 6.1vw, 116px); }
.scene--home .hero__copy { width: min(46vw, 700px); }
.scene--home .hero__copy .eyebrow { font-size: 12px; }
.scene--home .hero__copy .lede {
  font-size: clamp(14px, 1.08vw, 16px); line-height: 1.6; letter-spacing: .045em; text-transform: uppercase; color: var(--ink-2); max-width: 46ch;
}
.scene--home .hero__copy .lede--sm { font-size: clamp(12px, .9vw, 13.5px); letter-spacing: .06em; color: var(--ink-3); max-width: 52ch; }
.scene--home .tags li { font-size: 11px; }
.scene--home .tags a { padding: 12px 18px; }
.scene--home .desk { width: 400px; padding: 24px; gap: 16px; transition: transform .6s var(--ease), box-shadow .5s, background .5s; }
.scene--home .desk .eyebrow { font-size: 12px; }
.scene--home .desk .field > span { font-size: 11px; }
.scene--home .desk .field input { padding: 14px 16px; font-size: 15px; }
.scene--home .desk .btn { --h: 56px; font-size: 14px; }
/* the quick-quote desk grows and lights up when you reach for it */
.scene--home .desk:hover { transform: scale(1.025); background: rgba(255, 255, 255, .82); box-shadow: inset 0 1px 0 #fff, var(--glow-white); }

/* desk: part + qty side by side, then e-mail, then the BOM drop that takes the remaining height */
.desk__form { flex: 1; }
.desk__pair { display: grid; grid-template-columns: 1fr 92px; gap: 10px; }
.desk__or { display: flex; align-items: center; gap: 12px; font: 500 10px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.desk__or::before, .desk__or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.drop--desk { flex: 1; min-height: 76px; }
.drop--desk .drop__ui {
  height: 100%; flex-direction: column; justify-content: center; gap: 10px; padding: 14px; text-align: center;
  font: 400 clamp(15px, 1vw, 17px)/1.2 var(--f-disp); letter-spacing: -.01em; text-transform: uppercase; color: var(--ink);
}
.drop--desk .drop__txt { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop__doc { width: clamp(38px, 5vh, 52px); height: auto; overflow: visible; filter: drop-shadow(0 10px 14px rgba(24, 32, 52, .18)); transition: transform .6s var(--ease); }
.drop--desk .drop__ui small { font: 500 9.5px/1.5 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.drop--desk:hover .drop__doc, .drop--desk.is-over .drop__doc { transform: translateY(-4px) rotate(-4deg) scale(1.08); }
.drop.has-file .drop__ui { border-style: solid; border-color: rgba(47, 191, 113, .55); background: rgba(47, 191, 113, .07); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* YouTube plate under the tags: a fan of three thumbnails; click opens the list of links above it */
.expo-wrap { position: relative; z-index: 4; margin-top: auto; width: min(100%, 540px); }
.expo {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 8px;
  border-radius: 24px; cursor: pointer; text-align: left; color: var(--ink); font: inherit;
  transition: transform .6s var(--ease), box-shadow .5s, background .5s;
}
.expo__stack { position: relative; flex: none; width: 168px; aspect-ratio: 16 / 9; }
.expo__stack img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 14px;
  border: 2px solid #fff; box-shadow: 0 10px 20px -10px rgba(14, 16, 19, .55);
  transition: transform .7s var(--ease);
}
.expo__stack img:nth-child(1) { transform: translate(-10px, 2px) rotate(-7deg) scale(.86); filter: brightness(.9); }
.expo__stack img:nth-child(2) { transform: translate(10px, 2px) rotate(6deg) scale(.86); filter: brightness(.9); }
.expo:hover .expo__stack img:nth-child(1), .expo-wrap.is-open .expo__stack img:nth-child(1) { transform: translate(-22px, 0) rotate(-11deg) scale(.86); }
.expo:hover .expo__stack img:nth-child(2), .expo-wrap.is-open .expo__stack img:nth-child(2) { transform: translate(22px, 0) rotate(10deg) scale(.86); }
.expo__play {
  position: absolute; z-index: 1; inset: 0; margin: auto; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 6px rgba(255, 255, 255, .16), 0 8px 18px -6px rgba(0, 0, 0, .6);
  transition: transform .6s var(--ease), box-shadow .5s;
}
.expo__play::after {
  content: ''; position: absolute; inset: 0; margin: auto; translate: 2px 0; width: 0; height: 0;
  border-left: 12px solid #0f1115; border-top: 7.5px solid transparent; border-bottom: 7.5px solid transparent;
}
.expo__txt { flex: 1; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.expo__txt small { font: 500 10px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.expo__txt b { font: 400 clamp(14px, 1vw, 17px)/1.15 var(--f-disp); letter-spacing: -.01em; text-transform: uppercase; }
.expo__txt em { font: 500 10px/1 var(--f-mono); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.expo > .btn__arr { --h: 52px; flex: none; margin-right: 4px; }
.expo:hover { transform: scale(1.03); background: rgba(255, 255, 255, .88); box-shadow: inset 0 1px 0 #fff, var(--glow-white); }
.expo:hover .expo__play { transform: scale(1.12); box-shadow: 0 0 0 9px rgba(255, 255, 255, .2), 0 8px 18px -6px rgba(0, 0, 0, .6); }
.expo:hover > .btn__arr::before { transform: translate(150%, -150%); }
.expo:hover > .btn__arr::after { transform: none; }

/* the list of video links, opening upwards from the plate */
.yt {
  position: absolute; left: 0; bottom: calc(100% + 12px); width: 100%; padding: 10px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(246, 247, 250, .84));
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: 50% 100%;
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility .4s;
}
.expo-wrap.is-open .yt { opacity: 1; visibility: visible; transform: none; }
.yt__list { display: flex; flex-direction: column; gap: 2px; }
.yt__list a {
  display: flex; align-items: center; gap: 14px; padding: 6px 12px 6px 6px; border-radius: 14px;
  transition: background .3s, transform .4s var(--ease);
}
.yt__list a::after {
  content: ''; flex: none; width: 13px; height: 13px; margin-left: auto; background: var(--ink-3);
  -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: background .3s, transform .4s var(--ease);
}
.yt__list a:hover { background: #fff; transform: translateX(3px); box-shadow: 0 8px 20px -14px rgba(24, 32, 52, .5); }
.yt__list a:hover::after { background: var(--ink); transform: translate(2px, -2px); }
.yt__list img { flex: none; width: 80px; height: 45px; object-fit: cover; border-radius: 9px; }
.yt__list span { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.yt__list b { font: 500 13.5px/1.25 var(--f-body); }
.yt__list small { font: 500 9px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.yt__all {
  --h: 44px; display: flex; align-items: center; justify-content: space-between; height: var(--h); margin-top: 8px; padding: 0 4px 0 16px;
  border-radius: 999px; background: #0f1115; color: #fff; font: 500 10px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase;
}
.yt__all .btn__arr { width: 36px; height: 36px; }
.yt__all:hover .btn__arr::before { transform: translate(150%, -150%); }
.yt__all:hover .btn__arr::after { transform: none; }

/* ---------- why us ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.why { border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: transform .6s var(--ease), box-shadow .5s, background .5s; }
.why:hover { transform: translateY(-5px) scale(1.02); background: rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff, var(--glow-white); }
.why small { display: block; font: 500 9px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
/* the fear: a red-tinted plate with its own warning pill, mirroring the dark "our answer" pill */
.why__fear {
  padding: 14px 16px 15px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(232, 72, 72, .1), rgba(232, 72, 72, .04));
  border: 1px solid rgba(214, 64, 64, .22);
}
.why__fear small {
  display: inline-flex; align-items: center; gap: 7px; width: max-content; margin-bottom: 10px;
  padding: 7px 11px 7px 8px; border-radius: 999px; background: #d94040; color: #fff; letter-spacing: .18em;
  box-shadow: 0 6px 16px -8px rgba(217, 64, 64, .8);
}
.why__fear small::before {
  content: '!'; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; color: #d94040; font: 700 10px/1 var(--f-body); letter-spacing: 0;
}
.why__fear p { font-size: 16px; font-weight: 500; color: #8f2f2f; text-decoration: line-through; text-decoration-color: rgba(201, 54, 54, .6); text-decoration-thickness: 1.5px; }
.why__turn { height: 1px; background: var(--line); position: relative; }
.why__turn i { position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: turnRun 3.2s var(--ease) infinite; }
@keyframes turnRun { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
.why__answer {
  position: relative; padding: 16px 16px 16px; border-radius: 18px;
  background: rgba(255, 255, 255, .9); border: 1px solid #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .9), 0 0 26px 4px rgba(255, 255, 255, .85), 0 14px 30px -18px rgba(24, 32, 52, .35);
}
.why__answer small {
  display: inline-flex; align-items: center; gap: 7px; width: max-content; margin-bottom: 12px;
  padding: 7px 11px 7px 8px; border-radius: 999px; background: #0f1115; color: var(--gold-hi); letter-spacing: .18em;
}
.why__answer small::before {
  content: ''; width: 14px; height: 14px; border-radius: 50%; background: #2fbf71 center/9px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5'/%3E%3C/svg%3E");
}
.why__answer h3 { font: 400 clamp(19px, 1.6vw, 24px)/1.15 var(--f-disp); letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 8px; color: var(--ink); }
.why__answer p { font-size: 14px; color: var(--ink-2); }

/* ---------- supply: compact 4-column grid ---------- */
.scene .cards { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.scene .card { padding: 18px 20px 16px; gap: 12px; }
.scene .card__title { min-height: 52px; }
.scene .card h3 { font-size: clamp(15px, 1.2vw, 18px); }
.scene .card__ico { width: 52px; height: 52px; }
.scene .card__ico .ico { width: 24px; height: 24px; }
.scene .card__list li { padding: 7px 0; font-size: 13px; }
.scene .card__more { padding: 9px 12px 9px 14px; }
.card--comp .card__wide-l { display: contents; }
.card--comp .card__note { font-size: 13px; }
.card--comp .card__chips { gap: 5px; }
.card--comp .card__chips li { padding: 7px 10px; font-size: 9px; }

/* the 8th cell sells: a dark "we'll source it" card with the hedgehog sniffing around */
.card--find {
  cursor: pointer; color: #fff; justify-content: flex-end;
  background: radial-gradient(120% 90% at 80% 0%, #2a2e35 0%, #0d0f12 70%);
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.card--find::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .14), transparent 45%); }
.card--find:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 0 30px 2px rgba(255, 255, 255, .55), var(--shadow); }
.find__hog { width: 74px; margin-bottom: auto; }
.find__hog .hog { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.card--find h3 { color: #fff; }
.card--find p { font-size: 13px; color: rgba(255, 255, 255, .62); }
.find__go { --h: 42px; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 0 5px 0 16px; height: var(--h); border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font: 500 10px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; }
.find__go .btn__arr { width: 32px; height: 32px; }
.card--find:hover .find__go .btn__arr::before { transform: translate(150%, -150%); }
.card--find:hover .find__go .btn__arr::after { transform: none; }

/* ---------- quality: 2×2 instrument screens + sample report ---------- */
/* screens take their height from the window, not the width: on wide screens they used to balloon
   and push the bottom row off the screen */
.quality__grid { display: grid; grid-template-columns: 1fr minmax(360px, 30%); gap: 16px; align-items: stretch; }
.quality__grid .qcards { grid-template-columns: 1fr 1fr; gap: 12px; }
.quality__grid .qcard { padding: 8px 8px 16px; }
.quality__grid .qcard__screen { aspect-ratio: auto; height: clamp(84px, 16vh, 190px); margin-bottom: 12px; }
.quality__grid .sample { justify-content: space-between; }
.quality__grid .qcard h3 { margin: 6px 0 4px; font-size: 17px; }
.quality__grid .qcard p { font-size: 13px; }
.quality__grid .sample { max-width: none; margin: 0; }

/* ---------- process ---------- */
.scene .psteps .pstep { cursor: pointer; }
.scene__inner.proc { justify-content: flex-start; }
/* heading sits on the photos' vertical middle; the photo group is centred in the space right of the heading,
   so the gaps on both sides of it are equal */
.proc__top { display: grid; grid-template-columns: auto minmax(24px, 1fr) auto minmax(24px, 1fr); align-items: center; margin-bottom: 4px; }
.proc__head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.scene .proc__title { font-size: clamp(26px, 2.5vw, 44px); }
.proc__head .lede { max-width: 38ch; }
.proc__head .btn { margin-top: 6px; }
.scene .pstep { min-height: 0; padding: 16px 16px 14px; }
.scene .pstep h3 { margin-top: 6px; }
/* lab photos are portraits: each frame takes the photo's own proportions, so nothing is cropped */
.lab { grid-column: 3; display: flex; gap: 16px; height: clamp(200px, 46vh, 480px); }
.lab__shot {
  position: relative; margin: 0; height: 100%; aspect-ratio: 900 / 1613; overflow: hidden; border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow); cursor: pointer;
  transition: transform .6s var(--ease), box-shadow .5s;
}
.lab__shot img { width: 100%; height: 100%; object-fit: cover; transition: filter .6s; filter: saturate(.92); }
.lab__shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 16, 19, 0) 45%, rgba(14, 16, 19, .55)); pointer-events: none; }
.lab__shot figcaption {
  position: absolute; z-index: 1; left: 14px; bottom: 12px; display: flex; flex-direction: column; gap: 5px;
  right: 12px; color: #fff; font: 400 clamp(11px, .75vw, 14px)/1.2 var(--f-disp); letter-spacing: -.01em; text-transform: uppercase;
}
.lab__shot figcaption small { font: 500 9px/1 var(--f-mono); letter-spacing: .2em; color: var(--gold-hi); }
.lab__shot:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 0 0 1px #fff, 0 0 30px 4px rgba(255, 255, 255, .85), var(--shadow); }
.lab__shot:hover img { filter: saturate(1.05) brightness(1.04); }

/* ---------- clients + map ---------- */
.clients__wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: stretch; }
.clients__wrap .clients__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
.clients__wrap .client { padding: 8px 8px 16px; gap: 7px; }
.clients__wrap .client__art { height: clamp(80px, 13vh, 140px); margin-bottom: 4px; grid-template-rows: minmax(0, 1fr); }
/* fit the drawing to the screen's height so nothing is clipped */
.clients__wrap .client__art svg { width: auto; height: 84%; max-width: 90%; }
.clients__wrap .client h3 { font-size: 15px; }
.clients__wrap .client p { font-size: 13px; }
.clients__wrap .map { aspect-ratio: auto; min-height: 340px; height: 100%; }

/* ---------- team: lab passes hanging from a glass rail ---------- */
.team__rail {
  --bw: min(240px, 12.5vw, 26vh);
  position: relative; display: flex; justify-content: center; align-items: flex-start; gap: clamp(24px, 4.2vw, 84px);
  padding-top: 12px;
}
/* the rail the lanyards hang from */
.team__rail::before {
  content: ''; position: absolute; left: 4%; right: 4%; top: 0; height: 12px; border-radius: 999px;
  background: linear-gradient(180deg, #fff, rgba(225, 229, 236, .8));
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 10px 22px -12px rgba(24, 32, 52, .45), inset 0 -2px 3px rgba(14, 16, 19, .08);
}
.badge { position: relative; outline: none; }
.badge__swing { position: relative; padding-top: var(--len); transform-origin: 50% 0; animation: sway 5s ease-in-out infinite; animation-delay: var(--d); }
@keyframes sway { 0%, 100% { rotate: -1.8deg; } 50% { rotate: 1.8deg; } }
.badge:hover .badge__swing, .badge.is-flipped .badge__swing, .badge:focus-visible .badge__swing { animation-play-state: paused; }
.badge__strap {
  position: absolute; left: 50%; top: -12px; width: 22px; height: calc(var(--len) + 18px); translate: -50% 0; overflow: hidden;
  background: linear-gradient(90deg, #07080a, #1b1e24 50%, #07080a); border-radius: 0 0 3px 3px;
  box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .5);
}
.badge__strap i {
  position: absolute; left: 50%; top: 0; translate: -50% 0; writing-mode: vertical-rl; white-space: nowrap;
  font: 700 8px/22px var(--f-disp); font-style: normal; letter-spacing: .3em; color: var(--gold-hi);
}
.badge__clip {
  position: absolute; z-index: 2; left: 50%; top: calc(var(--len) - 2px); width: 30px; height: 20px; translate: -50% 0; border-radius: 6px;
  background: linear-gradient(180deg, #f4f5f7, #a9aeb6 55%, #e3e5e9); box-shadow: 0 4px 8px -3px rgba(0, 0, 0, .45), inset 0 1px 0 #fff;
}
.badge__clip::after { content: ''; position: absolute; left: 50%; bottom: -9px; width: 14px; height: 12px; translate: -50% 0; border: 2px solid #9ca1a9; border-top: 0; border-radius: 0 0 8px 8px; }
.badge__card { position: relative; width: var(--bw); aspect-ratio: 54 / 86; margin-top: 12px; container-type: inline-size; perspective: 1400px; cursor: pointer; }
.badge__flip {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transition: transform 1s var(--ease);
}
.badge:hover .badge__flip, .badge.is-flipped .badge__flip, .badge:focus-visible .badge__flip { transform: rotateY(180deg) scale(1.04); }
.badge__face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 7cqw; padding: 13cqw 8cqw 7cqw; display: flex; flex-direction: column; gap: 4.5cqw;
  background: linear-gradient(150deg, rgba(255, 255, 255, .96), rgba(240, 242, 246, .88) 60%, rgba(255, 255, 255, .94));
  border: 1px solid #fff;
  box-shadow: inset 0 1px 0 #fff, 0 26px 44px -24px rgba(24, 32, 52, .5);
  transition: box-shadow .5s;
}
/* a glassy sheen across the laminate */
.badge__face::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 42%, transparent 54%);
}
.badge:hover .badge__face, .badge.is-flipped .badge__face { box-shadow: inset 0 1px 0 #fff, var(--glow-white); }
.badge__back { transform: rotateY(180deg); background: linear-gradient(150deg, #191c22, #0b0c0f 70%); border-color: rgba(255, 255, 255, .1); color: #fff; }
.badge__back::after { background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .07) 42%, transparent 54%); }
.badge__slot { position: absolute; left: 50%; top: 4.5cqw; width: 22cqw; height: 4.2cqw; translate: -50% 0; border-radius: 99px; background: rgba(14, 16, 19, .14); box-shadow: inset 0 1px 2px rgba(14, 16, 19, .25); }
.badge__back .badge__slot { background: rgba(255, 255, 255, .12); }
.badge__brand { display: flex; align-items: center; gap: 3cqw; }
.badge__brand img { width: 13cqw; }
.badge__brand b { flex: 1; font: 700 5cqw/1 var(--f-disp); letter-spacing: .12em; }
.badge__brand small { padding: 1.8cqw 3cqw; border-radius: 99px; background: #0f1115; color: var(--gold-hi); font: 500 3.6cqw/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; }
/* the photo sits above the laminate sheen, so faces are never washed out */
.badge__photo {
  position: relative; z-index: 1; flex: 1; min-height: 0; border-radius: 5cqw; overflow: hidden; display: grid; place-items: end center;
  background: radial-gradient(90% 80% at 50% 20%, #fff, #dfe3ea 80%); border: 1px solid #fff;
}
.badge__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.badge__photo svg { width: 78%; fill: #c3c9d3; }
.badge__front h3 { font: 400 6.4cqw/1.1 var(--f-disp); letter-spacing: -.01em; text-transform: uppercase; }
.badge__front p { margin-top: -2cqw; font: 500 4.2cqw/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.badge__foot { display: flex; align-items: center; justify-content: space-between; gap: 4cqw; padding-top: 4cqw; border-top: 1px dashed rgba(14, 16, 19, .18); font: 500 3.8cqw/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
/* smart-card contact chip — gold, like the CPU pins */
.badge__chip { width: 13cqw; height: 10cqw; border-radius: 2cqw; background: var(--gold-grad); position: relative; box-shadow: inset 0 0 0 1px rgba(150, 100, 0, .35); }
.badge__chip::after { content: ''; position: absolute; inset: 28% 0; border-top: 1px solid rgba(120, 80, 0, .45); border-bottom: 1px solid rgba(120, 80, 0, .45); }
.badge__back .badge__foot { margin-top: auto; border-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .55); }
.badge__back .badge__foot img { width: 11cqw; filter: invert(1) brightness(1.4); opacity: .8; }
/* back side: who, languages, year — large and calm, no personal contacts */
.badge__back { gap: 7cqw; }
.badge__who { display: flex; flex-direction: column; gap: 2.6cqw; padding-bottom: 5cqw; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.badge__who b { font: 400 9cqw/1 var(--f-disp); letter-spacing: -.01em; text-transform: uppercase; }
.badge__who small { font: 500 4.6cqw/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-hi); }
.badge__row { display: flex; flex-direction: column; gap: 3.4cqw; }
.badge__row small { font: 500 4.4cqw/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.badge__langs { display: flex; flex-wrap: wrap; gap: 2.4cqw; }
.badge__langs li { padding: 2.8cqw 4.4cqw; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .22); font: 500 5.8cqw/1 var(--f-body); }
.badge__year { font: 400 20cqw/1 var(--f-disp); letter-spacing: -.03em; color: var(--gold-hi); }

/* ---------- terms: guarantees + FAQ ---------- */
.terms__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; align-items: center; }
.guar__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guar { border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 10px; min-height: 190px; transition: transform .6s var(--ease), box-shadow .5s, background .5s; }
.guar:hover { transform: translateY(-5px) scale(1.02); background: rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff, var(--glow-white); }
.guar__ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #0f1115; color: var(--gold-hi); margin-bottom: 6px; transition: transform .6s var(--ease); }
.guar:hover .guar__ico { transform: rotate(-12deg) scale(1.08); }
.guar h3 { font: 400 17px/1.15 var(--f-disp); letter-spacing: -.02em; text-transform: uppercase; }
.guar p { font-size: 13.5px; color: var(--ink-2); }
.terms__l { display: flex; flex-direction: column; gap: 12px; }
.terms__l .sec-head__l { margin-bottom: 14px; }
.terms__lede { max-width: 54ch; margin-top: 10px; }
/* claim-report blank form, linked from the "re-supply or refund" guarantee */
.claim__dl { --h: 40px; flex: none; align-self: flex-start; margin-top: auto; width: max-content; font: 500 10px/1 var(--f-mono); text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; height: var(--h); padding: 0 4px 0 14px; border-radius: 999px; background: #0f1115; color: #fff; letter-spacing: .14em; transition: transform .5s var(--ease); }
.claim__dl .btn__arr { width: 32px; height: 32px; }
.claim__dl:hover { transform: scale(1.05); }
.claim__dl:hover .btn__arr::before { transform: translate(150%, -150%); }
.claim__dl:hover .btn__arr::after { transform: none; }

.lico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.terms__grid .faq__list { gap: 8px; }
.terms__grid .qa__q { padding: 16px 20px; font-size: 15px; }
.terms__grid .qa__a > div { padding: 0 20px; }
.terms__grid .qa.is-open .qa__a > div { padding-bottom: 16px; }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.contact__l { display: flex; flex-direction: column; gap: 18px; }
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.chan {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 22px 20px; border-radius: var(--r);
  transition: transform .6s var(--ease), box-shadow .5s, background .5s;
}
.chan:hover { transform: translateY(-4px) scale(1.02); background: rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff, var(--glow-white); }
.ch__ico { width: 46px; height: 46px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; background: #0f1115; color: var(--gold-hi); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .6); transition: transform .6s var(--ease); }
.ch__ico .lico { width: 20px; height: 20px; }
.chan:hover .ch__ico { transform: rotate(-10deg) scale(1.08); }
.ch__k { font: 500 10px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.ch__v { font: 400 clamp(15px, 1.1vw, 18px)/1.3 var(--f-disp); letter-spacing: -.01em; text-transform: uppercase; color: var(--ink); }
/* e-mail addresses: lowercase body type reads better than the display face */
.ch__mails { display: flex; flex-direction: column; gap: 6px; }
.ch__mails a { font: 500 clamp(15px, 1.05vw, 17px)/1.25 var(--f-body); text-transform: none; letter-spacing: 0; color: var(--ink); background: linear-gradient(var(--gold), var(--gold)) 0 100%/0 1px no-repeat; transition: background-size .45s var(--ease); }
.ch__mails a:hover { background-size: 100% 1px; }
.ch__note { margin-top: auto; padding-top: 12px; width: 100%; border-top: 1px solid var(--line); font: 500 9.5px/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.contact__form { border-radius: calc(var(--r) + 6px); padding: clamp(20px, 2.6vw, 34px); }
.ftr--scene { padding: 34px 0 0; overflow: visible; }
/* tall desktop screens: the form block sits lower, the footer settles just above the bottom bar */
@media (min-width: 1101px) and (min-height: 901px) {
  .scene[data-scene="contact"] { padding-top: 150px; }
  .scene[data-scene="contact"] .scene__inner { justify-content: flex-end; }
  .ftr--scene { padding-top: 22px; }
}
.ftr--scene .ftr__run { height: 74px; margin-bottom: 14px; }
.ftr--scene .runner { width: 74px; }

/* ---------- bottom bar ---------- */
.bar {
  position: fixed; z-index: 40; left: var(--pad); right: var(--pad); bottom: 22px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; pointer-events: none;
}
.bar > * { pointer-events: auto; }
.bar__mgr { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px 11px 13px; border-radius: 999px; font: 500 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); transition: transform .5s var(--ease), box-shadow .4s, background .4s; }
.bar__mgr i { width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; animation: ping 2s infinite; }
.bar__mgr:hover { transform: scale(1.05); background: #fff; box-shadow: var(--glow-white); color: var(--ink); }
.bar__next {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 999px; cursor: pointer;
  font: 500 10px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
  transition: transform .5s var(--ease), box-shadow .4s, background .4s;
}
.bar__next b { font-weight: 500; color: var(--ink); }
.bar__next i { width: 34px; height: 34px; border-radius: 50%; background: #0f1115; position: relative; }
.bar__next i::after { content: ''; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; background: #fff; -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transform: rotate(135deg); animation: nudge 1.8s var(--ease) infinite; }
.bar__next.is-up i::after { transform: rotate(-45deg); animation: none; }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 0 3px; } }
.bar__next:hover { transform: scale(1.06); background: #fff; box-shadow: var(--glow-white); }
.pager { justify-self: end; display: flex; align-items: center; gap: 14px; }
.pager__n { font: 500 10px/1 var(--f-mono); letter-spacing: .14em; color: var(--ink-3); }
.pager__n b { font: 400 18px/1 var(--f-disp); color: var(--ink); margin-right: 4px; letter-spacing: -.02em; }
.pager__dots { display: flex; gap: 6px; }
.pager__dots button { width: 8px; height: 8px; padding: 0; border-radius: 999px; border: 0; cursor: pointer; background: rgba(14, 16, 19, .18); transition: width .5s var(--ease), background .4s; }
.pager__dots button.is-on { width: 26px; background: var(--ink); }
.pager__dots button:hover { background: rgba(14, 16, 19, .45); }

/* ---------- transition curtain ---------- */
.wipe {
  position: fixed; inset: 0; z-index: 45; pointer-events: none;
  visibility: hidden; /* position is owned by GSAP (xPercent) */
  background: linear-gradient(120deg, rgba(246, 247, 250, .72), rgba(228, 231, 237, .55));
  -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5);
  will-change: transform;
}
.wipe__edge { position: absolute; top: 0; bottom: 0; right: 0; width: 2px; background: linear-gradient(#ffe082, #e9a600 50%, #ffe082); box-shadow: 0 0 22px 4px rgba(242, 183, 5, .55); }
.wipe[data-dir="-1"] .wipe__edge { right: auto; left: 0; }
.wipe__hog { position: absolute; bottom: 70px; right: -50px; width: 100px; }
.wipe[data-dir="-1"] .wipe__hog { right: auto; left: -50px; }
.wipe__hog .hog { transform: scaleX(var(--dir, 1)); }

/* hide v1 leftovers that have no place in v2 */
.scrollcue { display: none; }

/* ---------- compact desktop: every scene fits laptop heights without scrolling ---------- */
@media (min-width: 1101px) and (max-height: 900px) {
  /* bottom padding keeps clear of the manager / next / pager bar */
  .scene { padding-top: 86px; padding-bottom: 92px; }
  .scene--home { padding-top: 80px; padding-bottom: 96px; }
  .scene--home .desk { padding: 18px 20px; gap: 12px; }
  .scene--home .desk .field input { padding: 11px 14px; }
  .scene--home .desk .btn { --h: 50px; }
  .desk__form { gap: 10px; }
  .expo__stack { width: 140px; }
  .hero__copy { gap: 14px; }
  .scene .sec-head { margin-bottom: 14px; gap: 12px; }
  .scene .sec-head__l { gap: 12px; }
  .scene .big { font-size: clamp(28px, 2.9vw, 46px); }
  .scene .sec-head .lede { font-size: 14px; }
  .why { padding: 16px 18px; gap: 10px; }
  .why__grid { margin-bottom: 12px; }
  .stat { padding: 20px 22px; gap: 8px; }
  .scene .card { padding: 13px 16px 12px; gap: 8px; }
  .scene .card__title { min-height: 44px; }
  .scene .card__ico { width: 44px; height: 44px; }
  .scene .card__ico .ico { width: 21px; height: 21px; }
  .scene .card__list li { padding: 5px 0; }
  .scene .card__more { padding: 8px 11px 8px 13px; }
  .find__hog { width: 58px; }
  .quality__grid .qcard { padding: 7px 7px 12px; }
  .quality__grid .qcard__screen { height: clamp(70px, 14vh, 150px); margin-bottom: 10px; }
  .quality__grid .qcard h3 { font-size: 15px; margin: 4px 0 2px; }
  .quality__grid .qcard p { font-size: 12.5px; }
  .sample { padding: 16px 18px; gap: 11px; }
  .sample__top { padding-bottom: 10px; }
  .sample__meta { gap: 8px 16px; }
  .sample__body { grid-template-columns: 96px 1fr; }
  .sample__xray { min-height: 96px; }
  .sample__checks li { padding: 6px 0; }
  .sample__foot { padding-top: 8px; }
  .sample__sign { height: 30px; }
  .clients__wrap .client { padding: 7px 7px 12px; gap: 5px; }
  .clients__wrap .client__art { height: clamp(58px, 10vh, 96px); }
  .clients__wrap .client p { font-size: 12.5px; }
  .client__tags li { padding: 6px 9px; }
  .clients__wrap .map { min-height: 300px; }
  .guar { min-height: 0; padding: 15px 16px; gap: 7px; }
  .guar__ico { width: 38px; height: 38px; margin-bottom: 2px; }
  .guar h3 { font-size: 15px; }
  .guar p { font-size: 12.5px; }
  .terms__grid .faq__list { gap: 6px; }
  .terms__grid .qa__q { padding: 11px 16px; font-size: 14px; }
  .terms__grid .qa__q i { width: 28px; height: 28px; }
  .terms__grid .qa__a > div { padding: 0 16px; }
  .terms__grid .qa.is-open .qa__a > div { padding-bottom: 12px; }
  .terms__grid .qa__a p { font-size: 13.5px; }
  .contact__l { gap: 12px; }
  .chan { padding: 16px 18px 15px; gap: 8px; }
  .ch__ico { width: 40px; height: 40px; margin-bottom: 4px; }
  .contact__form { padding: 18px 22px; }
  .rfq__form { gap: 10px; }
  .rfq__form .field input, .rfq__form .field textarea { padding: 10px 14px; }
  .rfq__form textarea { height: 64px; }
  .drop__ui { padding: 11px 14px; }
  .ftr--scene { padding-top: 14px; }
  .ftr--scene .ftr__run { height: 56px; margin-bottom: 6px; }
  .ftr--scene .runner { width: 58px; }
  .lab { height: clamp(170px, 40vh, 340px); }
  .scene .proc__title { font-size: clamp(24px, 2.2vw, 38px); }
  .proc__head { gap: 13px; }
  .ptrack { height: 60px; margin: 2px 0 12px; }
  .scene .pstep { padding: 13px 14px 12px; gap: 6px; }
  .scene .pstep p { font-size: 12.5px; }
  .scene .pstep small { padding-top: 7px; }
}

/* desktop home never scrolls: the CPU canvas deliberately bleeds past the scene edges */
@media (min-width: 1101px) { .scene--home { overflow: hidden; } }

/* very short desktop screens (≤ 760px tall): one more notch */
@media (min-width: 1101px) and (max-height: 760px) {
  .scene { padding-top: 80px; padding-bottom: 88px; }
  .scene .big { font-size: clamp(26px, 2.6vw, 40px); }
  .scene .card__title { min-height: 38px; }
  .scene .card__list li { padding: 4px 0; font-size: 12.5px; }
  .scene .card { gap: 6px; }
  .clients__wrap .client__art { height: 52px; }
  .client__tags { padding-top: 4px; }
  .clients__wrap .map { min-height: 260px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .scene .cards { grid-template-columns: repeat(2, 1fr); }
  .quality__grid, .clients__wrap, .terms__grid, .contact__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .proc__top { grid-template-columns: 1fr; gap: 22px; margin-bottom: 18px; }
  .lab { grid-column: auto; height: auto; display: grid; grid-template-columns: repeat(3, 1fr); }
  .lab__shot { height: auto; width: 100%; }
  .hero__row { display: contents; }
  .team__rail { --bw: min(220px, 40vw); flex-wrap: wrap; row-gap: 28px; }
  .expo-wrap { order: 5; margin-top: 18px; }
  .scene--home .hero__copy { width: auto; }
  .scene--home .desk { width: 100%; }
  .scene--home .scene__inner.hero { flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .scene--home .hero__cpu { inset: auto; }
  .psteps { grid-template-columns: repeat(2, 1fr); }
  .ptrack { position: relative; top: auto; margin: 0 0 10px; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ptrack__line { left: 0; right: 0; }
}
@media (max-width: 760px) {
  .scene { padding: 88px 16px 96px; }
  .scene--home { padding-top: 84px; }
  .scene .sec-head { margin-bottom: 18px; }
  .scene .cards, .quality__grid .qcards, .clients__wrap .clients__grid, .guar__grid, .psteps { grid-template-columns: 1fr; }
  .brand__name { font-size: 18px; }
  .brand__mark { width: 46px; }
  .channels { grid-template-columns: 1fr; }
  .bar { left: 12px; right: 12px; bottom: 12px; grid-template-columns: auto 1fr; }
  .bar__mgr { display: none; }
  .bar__next { justify-self: start; }
  .bar__next-t { display: none; }
  .pager__dots { display: none; }
  .wipe__hog { bottom: 120px; }
}
