/* =====================================================================
   ASB GEAR REPAIR — "Look Closer" homepage concept
   Vanilla CSS. Static layout by default; cinematic layout under .motion
   (added only when JS runs and the visitor allows motion).
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* 1. Tokens                                                           */
/* ------------------------------------------------------------------ */
:root {
  --ink: #08080a;
  --ink-2: #0f0f13;
  --ink-3: #17171c;
  --graphite: #232329;
  --bone: #efece6;
  --bone-2: #e4e0d7;
  --steel: #d5dadb;
  --paper: #f7f5f1;
  --heat: #ff5b2e;
  --heat-2: #ff7a3d;
  --heat-deep: #d63d14;
  --violet: #8a5cf6;
  --indigo: #4f6dff;
  --teal: #38d6c4;

  --text-dark: rgba(239, 236, 230, 0.92);
  --muted-dark: rgba(239, 236, 230, 0.56);
  --soft-dark: rgba(239, 236, 230, 0.34);
  --line-dark: rgba(239, 236, 230, 0.12);
  --muted-light: rgba(8, 8, 10, 0.62);
  --line-light: rgba(8, 8, 10, 0.14);

  /* Thermal-camera gradient: the visual signature of diagnostics */
  --thermal: linear-gradient(95deg, #4f6dff 0%, #8a5cf6 30%, #ff3d7f 58%, #ff5b2e 78%, #ffc23d 100%);
  --thermal-conic: conic-gradient(from 0deg, #4f6dff, #8a5cf6, #ff3d7f, #ff5b2e, #ffc23d, #38d6c4, #4f6dff);

  --f-display: "Archivo", "Arial Black", Impact, system-ui, sans-serif;
  --f-body: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --maxw: 1440px;
  --section: clamp(5rem, 11vw, 10rem);
  --header-h: 76px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --r: 22px;
}

/* ------------------------------------------------------------------ */
/* 2. Base                                                             */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-dark);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: normal; }
::selection { background: var(--heat); color: var(--ink); }
:focus-visible { outline: 2px solid var(--heat); outline-offset: 4px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; display: inline-block; }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0.04em; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 1000;
  padding: 0.7rem 1rem; background: var(--heat); color: var(--ink); font-weight: 600;
  transform: translateY(-200%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* Film grain over everything */
.grain {
  position: fixed; inset: -6%; z-index: 900; pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ------------------------------------------------------------------ */
/* 3. Shared type & components                                         */
/* ------------------------------------------------------------------ */
.label {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted-light); margin-bottom: 1.6rem;
}
.label span { color: var(--heat-deep); }
.label--dark { color: var(--muted-dark); }
.label--dark span { color: var(--heat); }
.label--ink { color: rgba(8, 8, 10, 0.7); }
.label--ink span { color: var(--ink); }

.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  text-wrap: balance;
}
.display--dark { color: var(--bone); }
.display em { color: transparent; background: var(--thermal); -webkit-background-clip: text; background-clip: text; }

.lead { font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--muted-light); max-width: 34rem; }
.lead--dark { color: var(--muted-dark); }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 52px; padding: 0 1.6rem;
  font-family: var(--f-body); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.005em; line-height: 1;
  white-space: nowrap; border-radius: 999px; overflow: hidden; isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn::before {
  /* liquid fill that rises on hover */
  content: ""; position: absolute; left: -10%; right: -10%; top: 100%; height: 220%; z-index: -1;
  border-radius: 50% 50% 0 0; transition: top 0.6s var(--ease), border-radius 0.6s var(--ease);
}
.btn:hover::before { top: -60%; border-radius: 0; }
.btn .icon { transition: transform 0.5s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--heat { background: var(--heat); color: var(--ink); box-shadow: 0 12px 40px -12px rgba(255, 91, 46, 0.7); }
.btn--heat::before { background: var(--bone); }
.btn--ink { background: var(--ink); color: var(--bone); }
.btn--ink::before { background: var(--heat); }
.btn--ink:hover { color: var(--ink); }
.btn--light { background: var(--bone); color: var(--ink); }
.btn--light::before { background: var(--heat); }
.btn--line { color: var(--bone); border: 1px solid rgba(239, 236, 230, 0.3); }
.btn--line::before { background: var(--bone); }
.btn--line:hover { color: var(--ink); border-color: var(--bone); }
.btn--sm { min-height: 42px; padding: 0 1.15rem; font-size: 0.86rem; }
.btn--lg { min-height: 58px; padding: 0 1.9rem; font-size: 1rem; }
.btn--xl { min-height: 66px; padding: 0 2.3rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.magnetic { will-change: transform; }

.round-link {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid currentColor; transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease);
}
.round-link .icon { width: 1.4rem; height: 1.4rem; }
.round-link:hover { background: var(--ink); color: var(--bone); transform: rotate(45deg); border-color: var(--ink); }
.round-link--heat { color: var(--heat); }
.round-link--heat:hover { background: var(--heat); color: var(--ink); border-color: var(--heat); }

.media { background: radial-gradient(circle at 30% 30%, rgba(138, 92, 246, 0.35), transparent 60%), radial-gradient(circle at 70% 80%, rgba(255, 91, 46, 0.3), transparent 60%), var(--ink-3); }
.media.is-broken img { visibility: hidden; }

/* Split-text 3D reveal */
.split .sw { display: inline-block; white-space: nowrap; perspective: 800px; }
.split .sc { display: inline-block; }
/* gradient words inside split headings: paint per letter, offset so it flows continuously */
.split em { background: none; color: inherit; }
.split em .sc {
  color: transparent;
  background-image: var(--thermal);
  background-repeat: no-repeat;
  background-size: var(--gw, 100%) 100%;
  background-position: var(--gx, 0px) 0;
  -webkit-background-clip: text; background-clip: text;
}
.motion .split .sc {
  opacity: 0;
  transform: translateY(0.45em) rotateX(-95deg);
  transform-origin: 50% 100% -0.3em;
  transition: transform 1s var(--ease), opacity 0.6s ease;
  transition-delay: calc(var(--ci) * 16ms);
}
.motion .split.is-in .sc { opacity: 1; transform: none; }

/* Generic reveal */
.motion .reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s ease, transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.motion .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/* 4. Loader                                                           */
/* ------------------------------------------------------------------ */
.loader { display: none; }
.motion .loader {
  position: fixed; inset: 0; z-index: 950; display: grid; place-items: center;
  background: var(--ink); color: var(--bone);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-io);
}
.motion .loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader__inner { display: grid; justify-items: center; gap: 1rem; }
.loader__mark { width: 56px; height: 56px; border-radius: 14px; animation: spin-in 1.2s var(--ease) both; }
.loader__count { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-size: clamp(3.5rem, 10vw, 7rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.loader__pct { color: var(--heat); }
.loader__label { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-dark); }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line-dark); }
.loader__bar span { display: block; height: 100%; width: var(--load, 0%); background: var(--thermal); }
@keyframes spin-in { from { transform: rotate(-180deg) scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ------------------------------------------------------------------ */
/* 5. Header & menu                                                    */
/* ------------------------------------------------------------------ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 800; height: var(--header-h);
  color: var(--bone);
  transition: color 0.5s ease, transform 0.6s var(--ease);
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.7), rgba(8, 8, 10, 0));
  opacity: 1; transition: opacity 0.5s ease;
}
.header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(8, 8, 10, 0.72);
  border-bottom: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  opacity: 0; transition: opacity 0.4s ease, background-color 0.4s ease;
}
.header.is-solid::after { opacity: 1; }
.header.is-solid::before { opacity: 0; }
.header.is-light { color: var(--ink); }
.header.is-light::before { opacity: 0; }
.header.is-light::after { background: rgba(239, 236, 230, 0.78); border-bottom-color: var(--line-light); }
.header.menu-on::after { opacity: 0; }
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  height: 100%; max-width: none; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.logo { display: inline-flex; align-items: center; gap: 0.7rem; }
.logo__mark { width: 34px; height: 34px; border-radius: 9px; transition: transform 0.7s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-90deg); }
.logo__text { font-family: var(--f-display); font-weight: 800; font-stretch: 118%; font-size: 1.06rem; letter-spacing: -0.01em; text-transform: uppercase; display: flex; gap: 0.4rem; }
.logo__text span { font-weight: 400; opacity: 0.7; }

.nav { display: none; }
.nav__list { display: flex; gap: 0.2rem; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 0.85rem;
  font-size: 0.88rem; font-weight: 500; opacity: 0.72; transition: opacity 0.3s ease;
}
.nav__link::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 6px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav__link:hover, .nav__link.is-active { opacity: 1; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active::before {
  content: ""; position: absolute; left: 0.25rem; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--heat);
}

.header__right { display: flex; align-items: center; gap: 0.9rem; }
.status { display: none; align-items: center; gap: 0.55rem; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; white-space: nowrap; }
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--soft-dark); }
.status.is-open .status__dot { background: #3ee08f; box-shadow: 0 0 0 0 rgba(62, 224, 143, 0.6); animation: ping 2s infinite; }
.header.is-light .status__dot { background: rgba(8, 8, 10, 0.3); }
.header.is-light .status.is-open .status__dot { background: #10a25a; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(62, 224, 143, 0.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(62, 224, 143, 0); } }
.header__cta { display: none; }

/* Menu button: a compact glass pill with a solid "dot" icon */
.menu-btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.75rem;
  height: 46px; padding: 0 5px 0 1.1rem; border-radius: 999px;
  font-family: var(--f-body); font-size: 0.86rem; font-weight: 600; letter-spacing: 0;
  background: rgba(239, 236, 230, 0.08); border: 1px solid rgba(239, 236, 230, 0.18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.menu-btn:hover { background: rgba(239, 236, 230, 0.14); }
.header.is-light .menu-btn { background: rgba(8, 8, 10, 0.06); border-color: rgba(8, 8, 10, 0.16); }
.menu-btn__label { min-width: 2.6em; text-align: left; }
.menu-btn__lines {
  position: relative; width: 36px; height: 36px; border-radius: 50%;
  background: var(--heat); color: var(--ink);
  display: grid; place-content: center; gap: 5px;
  transition: transform 0.5s var(--ease), background-color 0.3s;
}
.menu-btn__lines i { display: block; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.45s var(--ease), width 0.45s var(--ease); }
.menu-btn__lines i:last-child { width: 9px; margin-left: 5px; }
.menu-btn:hover .menu-btn__lines i:last-child { width: 14px; margin-left: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__lines { background: var(--bone); transform: rotate(90deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:last-child { width: 14px; margin-left: 0; transform: translateY(-3.5px) rotate(-45deg); }

/* Menu overlay: scrim + sliding side sheet */
.menu { position: fixed; inset: 0; z-index: 790; color: var(--bone); }
.menu[hidden] { display: none; }
.menu__scrim {
  position: absolute; inset: 0; background: rgba(4, 4, 6, 0.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.5s ease;
}
.menu.is-open .menu__scrim { opacity: 1; }
.menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 100%;
  display: flex; flex-direction: column; gap: 1.6rem;
  padding: calc(var(--header-h) + 0.75rem) var(--gutter) max(1.5rem, env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(255, 91, 46, 0.16), transparent 70%),
    radial-gradient(360px 260px at 0% 100%, rgba(138, 92, 246, 0.12), transparent 70%),
    #0d0d11;
  transform: translateX(100%);
  transition: transform 0.65s var(--ease);
}
.menu.is-open .menu__panel { transform: none; }
.menu__panel::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 91, 46, 0.6), transparent);
}

.menu__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line-dark); }
.menu__eyebrow { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--soft-dark); }
.menu__status { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); }
.menu__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--soft-dark); }
.menu__status.is-open::before { background: #3ee08f; animation: ping 2s infinite; }

.menu__list { display: grid; }
.menu__list li { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.7s var(--ease); }
.menu.is-open .menu__list li { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(1) { transition-delay: 0.12s; }
.menu.is-open .menu__list li:nth-child(2) { transition-delay: 0.16s; }
.menu.is-open .menu__list li:nth-child(3) { transition-delay: 0.2s; }
.menu.is-open .menu__list li:nth-child(4) { transition-delay: 0.24s; }
.menu.is-open .menu__list li:nth-child(5) { transition-delay: 0.28s; }
.menu.is-open .menu__list li:nth-child(6) { transition-delay: 0.32s; }
.menu__list a {
  position: relative; display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: center;
  padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--line-dark);
  transition: padding 0.45s var(--ease), color 0.3s;
}
.menu__num { font-family: var(--f-mono); font-size: 0.7rem; color: var(--soft-dark); transition: color 0.3s; }
.menu__word { font-family: var(--f-display); font-weight: 700; font-stretch: 108%; font-size: clamp(1.6rem, 6.4vw, 2.1rem); line-height: 1.05; letter-spacing: -0.02em; }
.menu__go {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--muted-dark);
  transition: background-color 0.35s, color 0.35s, border-color 0.35s, transform 0.5s var(--ease);
}
.menu__go .icon { width: 0.95rem; height: 0.95rem; }
.menu__list a:hover, .menu__list a:focus-visible { padding-left: 0.75rem; }
.menu__list a:hover .menu__go, .menu__list a:focus-visible .menu__go { background: var(--heat); border-color: var(--heat); color: var(--ink); transform: rotate(-45deg); }
.menu__list a.is-active .menu__num { color: var(--heat); }
.menu__list a.is-active .menu__word::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 0.6rem; vertical-align: middle; border-radius: 50%; background: var(--heat); }

.menu__cards { display: grid; grid-template-columns: 1fr; gap: 0.6rem; opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease 0.34s, transform 0.7s var(--ease) 0.34s; }
.menu.is-open .menu__cards { opacity: 1; transform: none; }
.menu__card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 72px; padding: 0.7rem 0.7rem 0.7rem 1.25rem; border-radius: 18px;
  background: rgba(239, 236, 230, 0.05); border: 1px solid var(--line-dark);
  transition: transform 0.45s var(--ease), background-color 0.3s, border-color 0.3s;
}
.menu__card:hover { transform: translateY(-2px); background: rgba(239, 236, 230, 0.09); border-color: rgba(239, 236, 230, 0.22); }
.menu__card-text { display: grid; gap: 0.35rem; min-width: 0; }
.menu__card .mono { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.65; line-height: 1; }
.menu__card strong { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: 1.2rem; line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; white-space: nowrap; }
.menu__card-arrow {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(239, 236, 230, 0.22);
  transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s;
}
.menu__card-arrow .icon { width: 1.05rem; height: 1.05rem; }
.menu__card:hover .menu__card-arrow { transform: rotate(-45deg); background: var(--bone); color: var(--ink); }
.menu__card--heat { background: var(--heat); color: var(--ink); border-color: var(--heat); box-shadow: 0 16px 36px -18px rgba(255, 91, 46, 0.75); }
.menu__card--heat:hover { background: var(--heat-2); border-color: var(--heat-2); }
.menu__card--heat .menu__card-arrow { background: var(--ink); color: var(--heat); border-color: var(--ink); }
.menu__card--heat:hover .menu__card-arrow { background: var(--ink); color: var(--bone); }

.menu__info { margin-top: auto; display: grid; gap: 0.35rem; padding-top: 1rem; border-top: 1px solid var(--line-dark); font-size: 0.86rem; color: var(--muted-dark); opacity: 0; transition: opacity 0.5s ease 0.4s; }
.menu.is-open .menu__info { opacity: 1; }
.menu__info a { color: var(--bone); font-weight: 500; }
.menu__info a:hover { color: var(--heat); }

@media (min-width: 600px) {
  .menu__panel { width: 460px; border-radius: 28px 0 0 28px; }
}
/* Small phones: icon-only menu button so it never collides with the logo */
@media (max-width: 479px) {
  .menu-btn { padding: 0 4px; gap: 0; width: 46px; justify-content: center; }
  .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; min-width: 0; }
  .header__inner { gap: 0.75rem; }
  .logo { min-width: 0; }
}
@media (max-width: 359px) {
  .logo__text span { display: none; }
}

/* ------------------------------------------------------------------ */
/* 6. INTRO — hero, lens, HUD                                          */
/* ------------------------------------------------------------------ */
.intro { position: relative; background: var(--ink); color: var(--bone); }
.intro__stage {
  position: relative; overflow: hidden;
  display: grid; grid-template-areas: "hero" "bench";
}

/* Atmosphere */
.atmo { position: absolute; inset: 0; pointer-events: none; }
.atmo__orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.atmo__orb--a { width: 60vmax; height: 60vmax; left: -15vmax; top: -25vmax; background: radial-gradient(circle, rgba(79, 109, 255, 0.55), transparent 60%); animation: drift 18s ease-in-out infinite alternate; }
.atmo__orb--b { width: 50vmax; height: 50vmax; right: -18vmax; bottom: -20vmax; background: radial-gradient(circle, rgba(255, 91, 46, 0.45), transparent 60%); animation: drift 22s ease-in-out -6s infinite alternate-reverse; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.15); } }
.atmo__floor { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%; perspective: 600px; perspective-origin: 50% 0; }
.atmo__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(239, 236, 230, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(239, 236, 230, 0.09) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: rotateX(72deg); transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 60%, transparent 100%);
}
@keyframes grid-run { to { background-position: 0 80px; } }

/* Hero (static default) */
.hero {
  grid-area: hero; position: relative; z-index: 3;
  padding: calc(var(--header-h) + 2.5rem) var(--gutter) 4rem;
  max-width: var(--maxw); width: 100%; margin-inline: auto;
}
.hero__kicker { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted-dark); margin-bottom: 1.6rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--heat); box-shadow: 0 0 0 0 rgba(255, 91, 46, 0.6); animation: heat-ping 2s infinite; }
@keyframes heat-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 91, 46, 0.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 91, 46, 0); } }

/* 3D extruded type */
.type-scene { perspective: 1400px; perspective-origin: 0% 40%; }
.type {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.2em;
  font-family: var(--f-display); font-weight: 900; font-stretch: 112%;
  font-size: clamp(3.4rem, 15vw, 11rem);
  line-height: 0.86; letter-spacing: -0.03em; text-transform: uppercase;
  transform-style: preserve-3d;
  transform-origin: 0% 60%;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, 0deg));
}
.type__br { display: none; }
.w { position: relative; display: inline-block; transform-style: preserve-3d; transform: var(--wt, none); color: var(--bone); }
.w__face {
  position: relative; display: block;
  color: transparent;
  background: linear-gradient(100deg, #cfc9bd 0%, #f6f3ee 35%, #ffffff 48%, #f6f3ee 60%, #c9c3b6 100%);
  background-size: 250% 100%; background-position: 30% 0;
  -webkit-background-clip: text; background-clip: text;
  opacity: var(--o, 1);
}
.w--heat .w__face { background: linear-gradient(100deg, #ff3d7f 0%, #ff5b2e 30%, #ffb13d 48%, #ff5b2e 66%, #8a5cf6 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; }
.w__layer { position: absolute; inset: 0; display: block; opacity: var(--o, 1); pointer-events: none; }
@keyframes shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0% 0; } }

.hero__ui { margin-top: 2.2rem; display: grid; gap: 1.8rem; justify-items: start; }
.hero__lead { max-width: 30rem; font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.6; color: var(--muted-dark); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__prices { display: flex; gap: 0; margin-top: 2.5rem; border-top: 1px solid var(--line-dark); width: fit-content; max-width: 100%; }
.hero__prices div { padding: 0.9rem 1.4rem 0 0; }
.hero__prices div + div { padding-left: 1.4rem; border-left: 1px solid var(--line-dark); }
.hero__prices dt { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--soft-dark); }
.hero__prices dd { font-size: 0.95rem; color: var(--bone); margin-top: 0.2rem; }
.hero__scroll { display: none; }

/* Lens (static default: a framed bench photo) */
.lens { grid-area: bench; position: relative; min-height: 80vh; }
.lens__view { position: absolute; inset: 0; overflow: hidden; }
.lens__view img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.lens__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 10, 0.75), rgba(8, 8, 10, 0.4) 40%, rgba(8, 8, 10, 0.85)); }
.lens__ring { display: none; }

/* HUD (static default: callouts over the photo) */
.hud { grid-area: bench; position: relative; z-index: 2; padding: 4rem var(--gutter); display: grid; align-content: center; gap: 2rem; max-width: var(--maxw); width: 100%; margin-inline: auto; }
.hud__title { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; color: var(--bone); }
.hud__rec { width: 9px; height: 9px; border-radius: 50%; background: var(--heat); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.hud__reticle, .hud__lines { display: none; }
.hud__list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.callout {
  position: relative; padding: 1.3rem 1.3rem 1.4rem;
  background: rgba(8, 8, 10, 0.55); border: 1px solid rgba(239, 236, 230, 0.16); border-radius: 16px;
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}
.callout::before { content: ""; position: absolute; top: -1px; left: 1.3rem; width: 34px; height: 2px; background: var(--heat); }
.callout__id { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--heat); margin-bottom: 0.7rem; }
.callout__title { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; font-size: 1.3rem; line-height: 1.05; text-transform: uppercase; letter-spacing: -0.01em; color: var(--bone); margin-bottom: 0.5rem; }
.callout__text { font-size: 0.92rem; line-height: 1.5; color: var(--muted-dark); }
.intro__progress { display: none; }

/* ---- Cinematic intro (.motion) ---- */
.motion .intro { height: 300vh; }
.motion .intro__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: block; }
.motion .hero {
  position: absolute; inset: 0; margin: 0; max-width: none;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 1rem) var(--gutter) 2.5rem;
  pointer-events: none;
}
.motion .hero a, .motion .hero button { pointer-events: auto; }
.motion .hero__kicker, .motion [data-hero-ui] { will-change: opacity, transform; }
.motion .lens { position: absolute; inset: 0; min-height: 0; z-index: 1; }
.motion .lens__view {
  inset: auto; left: 50%; top: 50%;
  width: var(--D, 200vmax); height: var(--D, 200vmax);
  margin: calc(var(--D, 200vmax) / -2) 0 0 calc(var(--D, 200vmax) / -2);
  border-radius: 50%; transform: scale(0); will-change: transform;
}
.motion .lens__view img {
  position: absolute; left: 50%; top: 50%; width: 100vw; height: 100vh; height: 100svh; max-width: none;
  margin: -50vh 0 0 -50vw; will-change: transform;
}
.motion .lens__shade { background: rgba(8, 8, 10, 0.6); opacity: 0; }
.motion .lens__ring {
  display: block; position: absolute; left: 50%; top: 50%;
  width: calc(var(--D, 200vmax) + 28px); height: calc(var(--D, 200vmax) + 28px);
  margin: calc((var(--D, 200vmax) + 28px) / -2) 0 0 calc((var(--D, 200vmax) + 28px) / -2);
  transform: scale(0); will-change: transform, opacity;
  border-radius: 50%; opacity: 0;
  background: var(--thermal-conic);
  -webkit-mask: radial-gradient(circle, transparent calc(50% - 28px), #000 calc(50% - 27px), #000 calc(50% - 1px), transparent 50%);
  mask: radial-gradient(circle, transparent calc(50% - 28px), #000 calc(50% - 27px), #000 calc(50% - 1px), transparent 50%);
}
.motion .lens__ticks {
  position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(8, 8, 10, 0.85) 0deg 0.6deg, transparent 0.6deg 6deg);
}
.motion .atmo { will-change: opacity; }
.motion .hud { position: absolute; inset: 0; max-width: none; padding: 0; display: block; opacity: 0; visibility: hidden; }
.motion .hud__title { position: absolute; top: calc(var(--header-h) + 1.4rem); left: 50%; transform: translateX(-50%); white-space: nowrap; }
.motion .hud__reticle {
  display: block; position: absolute; left: 50%; top: 50%; width: 120px; height: 120px;
  transform: translate(-50%, -50%) scale(calc(0.6 + var(--h, 0) * 0.4)) rotate(calc(var(--h, 0) * 90deg));
}
.hud__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(239, 236, 230, 0.6); }
.hud__cross::before, .hud__cross::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--heat); }
.hud__cross::before { width: 2px; height: 26px; margin: -13px 0 0 -1px; }
.hud__cross::after { width: 26px; height: 2px; margin: -1px 0 0 -13px; }
.motion .hud__list { display: block; }
.motion .callout {
  position: absolute; width: min(320px, 28vw);
  opacity: clamp(0, calc((var(--h, 0) - var(--cd)) * 5), 1);
  transform: translateY(calc((1 - clamp(0, calc((var(--h, 0) - var(--cd)) * 5), 1)) * 30px));
}
.motion .callout--tl { --cd: 0.05; left: var(--gutter); top: 22%; }
.motion .callout--tr { --cd: 0.2; right: var(--gutter); top: 22%; }
.motion .callout--bl { --cd: 0.35; left: var(--gutter); bottom: 12%; }
.motion .callout--br { --cd: 0.5; right: var(--gutter); bottom: 12%; }
.motion .hud__lines {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%;
}
.hud__lines path { fill: none; stroke: rgba(239, 236, 230, 0.45); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 4 6; opacity: var(--h, 0); }
.motion .intro__progress { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.2rem; height: 1px; background: var(--line-dark); z-index: 5; }
.intro__progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--thermal); }

/* ------------------------------------------------------------------ */
/* 7. SERVICES REEL                                                    */
/* ------------------------------------------------------------------ */
.services { position: relative; background: var(--ink); color: var(--bone); }
.services__stage { padding: var(--section) 0; }
.reel { display: grid; gap: 1.25rem; padding-inline: var(--gutter); max-width: var(--maxw); margin-inline: auto; }
.reel__progress { display: none; }

.panel--intro { padding-bottom: 2rem; }
.panel--intro .display { color: var(--bone); max-width: 14ch; }
.panel--intro .label { color: var(--muted-dark); }
.panel--intro .label span { color: var(--heat); }
.panel--intro .lead { color: var(--muted-dark); margin-top: 1.6rem; }
.reel-hint { display: none; }

/* 3D text cylinder */
.cylinder { position: relative; height: 150px; margin-top: 2.5rem; perspective: 900px; }
.cylinder__rot { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; transform: rotateX(-14deg) rotateY(var(--cy, 0deg)); }
.cylinder__rot span {
  position: absolute; left: -0.35em; top: -0.5em; width: 0.7em; text-align: center;
  font-family: var(--f-display); font-weight: 800; font-stretch: 100%; font-size: 1.9rem; line-height: 1; color: var(--bone);
  backface-visibility: visible;
}
.cylinder__rot span.is-star { color: var(--heat); }
@media (max-width: 600px) {
  .cylinder { height: 120px; }
  .cylinder__rot { transform: scale(0.72) rotateX(-14deg) rotateY(var(--cy, 0deg)); }
}

/* Service panels */
.svc { position: relative; border-radius: var(--r); overflow: hidden; display: grid; }
.svc__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.svc__img { position: absolute; inset: 0; overflow: hidden; }
.svc__img img { width: 118%; max-width: none; height: 100%; object-fit: cover; margin-left: -9%; transform: translate3d(var(--px, 0px), 0, 0) scale(1.02); }
.svc__body { display: flex; flex-direction: column; gap: 1.3rem; padding: clamp(1.5rem, 3.4vw, 3rem); }
.svc__index { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; opacity: 0.7; }
.svc__title { font-family: var(--f-display); font-weight: 900; font-stretch: 115%; font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: 0.9; letter-spacing: -0.02em; text-transform: uppercase; }
.svc__desc { font-size: 0.98rem; line-height: 1.55; opacity: 0.75; max-width: 30rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tags li { padding: 0.5rem 0.9rem; border-radius: 999px; font-size: 0.86rem; font-weight: 500; border: 1px solid currentColor; opacity: 0.85; }
.brands { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; }
.brands li { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; }
.brands li:nth-child(even) { -webkit-text-stroke: 1.3px var(--ink); color: transparent; }
.svc__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-top: 1.3rem; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 18%, transparent); }
.price { display: flex; flex-direction: column; }
.price__from { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; opacity: 0.6; }
.price__num {
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: clamp(3.6rem, 7.5vw, 7rem); line-height: 0.9; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.svc--apple { background: var(--bone); color: var(--ink); }
.svc--apple .price__num { text-shadow: 1px 1px 0 #d8d2c5, 2px 2px 0 #cfc8ba, 3px 3px 0 #c6bfb0, 4px 4px 0 #bcb5a6, 5px 5px 0 #b2ab9b, 6px 6px 0 #a8a191, 12px 14px 22px rgba(0, 0, 0, 0.18); }
.svc--laptop { background: var(--steel); color: var(--ink); }
.svc--laptop .price__num { text-shadow: 1px 1px 0 #bcc3c5, 2px 2px 0 #b2b9bb, 3px 3px 0 #a8afb1, 4px 4px 0 #9ea5a7, 5px 5px 0 #949b9d, 6px 6px 0 #8a9193, 12px 14px 22px rgba(0, 0, 0, 0.2); }
.svc--gpu { background: var(--ink-2); color: var(--bone); border: 1px solid var(--line-dark); }
.svc--gpu .price__num { color: var(--heat); text-shadow: 1px 1px 0 #c8421b, 2px 2px 0 #b13916, 3px 3px 0 #9a3112, 4px 4px 0 #83290e, 5px 5px 0 #6c210b, 6px 6px 0 #551908, 0 0 60px rgba(255, 91, 46, 0.35); }
.tags--dark li { border-color: rgba(239, 236, 230, 0.3); }

/* Hazard tape across the GPU photo */
.tape {
  position: absolute; left: -10%; right: -10%; top: 50%; z-index: 2;
  transform: translateY(-50%) rotate(-7deg);
  background: repeating-linear-gradient(-45deg, var(--heat) 0 22px, var(--ink) 22px 44px);
  padding: 6px 0; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}
.tape__track { display: flex; width: max-content; background: var(--heat); color: var(--ink); animation: marquee 18s linear infinite; }
.tape__track span { display: inline-flex; align-items: center; gap: 1.2rem; padding: 0.55rem 1.2rem; font-family: var(--f-display); font-weight: 900; font-stretch: 120%; font-size: clamp(0.95rem, 1.5vw, 1.25rem); text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; }
.tape__track span::after { content: "⚠"; font-size: 0.9em; }
.limit {
  display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.9rem 1rem;
  border-radius: 12px; background: rgba(255, 91, 46, 0.1); border: 1px solid rgba(255, 91, 46, 0.4);
  font-size: 0.92rem; color: #ffd2c2;
}
.limit .icon { color: var(--heat); width: 1.25rem; height: 1.25rem; }
.limit strong { color: var(--bone); }

.panel--outro { padding: 3rem 0 0; display: grid; gap: 1.5rem; justify-items: start; }
.outro__big { font-family: var(--f-display); font-weight: 900; font-stretch: 120%; font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: 0.9; text-transform: uppercase; letter-spacing: -0.03em; color: var(--bone); }
.outro__big em { color: transparent; -webkit-text-stroke: 1.5px var(--heat); }
.panel--outro .lead { color: var(--muted-dark); }

/* ---- Pinned horizontal reel (desktop + motion) ---- */
@media (min-width: 1024px) {
  .svc { grid-template-columns: 1.05fr 1fr; }
  .svc__media { aspect-ratio: auto; min-height: 100%; }

  .motion .services__stage { position: sticky; top: 0; height: 100vh; padding: 0; overflow: hidden; display: flex; align-items: center; }
  .motion .reel {
    display: flex; align-items: center; gap: 2rem; max-width: none; margin: 0;
    padding-left: var(--gutter); padding-right: 12vw;
    transform: translate3d(var(--rx-reel, 0px), 0, 0); will-change: transform;
  }
  .motion .panel { flex: 0 0 auto; }
  .motion .panel--intro { width: min(46vw, 680px); display: flex; flex-direction: column; justify-content: center; padding: 0 3vw 0 0; }
  .motion .panel--intro .display { font-size: min(4.4vw, 7.4vh); max-width: 15ch; }
  .motion .panel--intro .lead { margin-top: 1.2rem; }
  .motion .cylinder { margin-top: 1.4rem; }
  .motion .svc { --k: 1; width: min(78vw, 1200px); height: min(80vh, 760px); grid-template-columns: 1fr 1fr; }
  .motion .svc__body {
    overflow: hidden;
    gap: calc(min(1.3rem, 2.2vh) * var(--k));
    padding: calc(clamp(1.1rem, 4.2vh, 3rem) * var(--k)) calc(clamp(1.4rem, 2.6vw, 3rem) * var(--k));
  }
  .motion .svc__index { font-size: calc(0.72rem * var(--k)); }
  .motion .svc__title { font-size: calc(min(3.6vw, 6.6vh) * var(--k)); }
  .motion .svc__desc { font-size: calc(min(0.98rem, 2vh) * var(--k)); }
  .motion .tags { gap: calc(0.45rem * var(--k)); }
  .motion .tags li { font-size: calc(min(0.86rem, 1.8vh) * var(--k)); padding: calc(0.45rem * var(--k)) calc(0.85rem * var(--k)); }
  .motion .brands li { font-size: calc(min(2.2vw, 4.2vh) * var(--k)); }
  .motion .limit { font-size: calc(min(0.92rem, 1.9vh) * var(--k)); padding: calc(0.75rem * var(--k)) 1rem; }
  .motion .svc__foot { padding-top: calc(min(1.3rem, 2vh) * var(--k)); }
  .motion .price__num { font-size: calc(min(6.4vw, 11vh) * var(--k)); }
  .motion .round-link { width: calc(min(64px, 8vh) * var(--k)); height: calc(min(64px, 8vh) * var(--k)); }
  .motion .panel--outro { width: min(40vw, 600px); align-content: center; padding: 0 0 0 3vw; }
  .motion .reel-hint { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 2rem; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted-dark); }
  .motion .reel-hint .icon { animation: nudge 1.6s var(--ease) infinite; }
  .motion .reel__progress { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2rem; height: 1px; background: var(--line-dark); }
  .reel__progress span { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--rp, 0)); background: var(--heat); }
  .motion .cylinder { height: 170px; }
}
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* ------------------------------------------------------------------ */
/* 8. PROCESS                                                          */
/* ------------------------------------------------------------------ */
.process {
  position: relative; background: var(--paper); color: var(--ink); padding-block: var(--section);
  background-image: radial-gradient(rgba(8, 8, 10, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.process__head { display: grid; gap: 3rem; align-items: end; margin-bottom: clamp(3rem, 7vw, 6rem); }
.process__photo { position: relative; justify-self: end; width: min(100%, 520px); }
.process__img { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r); overflow: hidden; }
.process__img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: -46px; bottom: -46px; width: 132px; height: 132px; border-radius: 50%; background: var(--ink); color: var(--bone); display: grid; place-items: center; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.5); }
.badge__text { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: rotate 14s linear infinite; }
.badge__text text { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0; fill: currentColor; }
.badge__core { width: 44px; height: 44px; border-radius: 50%; background: var(--heat); color: var(--ink); display: grid; place-items: center; }
.badge__core .icon { transform: rotate(-45deg); }
@keyframes rotate { to { transform: rotate(360deg); } }

.route { position: relative; }
.route__svg { display: none; }
.route__parcel { display: none; }
.steps { display: grid; gap: 2.5rem; position: relative; padding-left: 64px; }
.steps::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--line-light); }
.steps::after { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--heat); transform-origin: top; transform: scaleY(var(--rp, 0)); }
.step { position: relative; }
.step__num {
  position: absolute; left: -64px; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; z-index: 1;
  font-family: var(--f-mono); font-size: 0.8rem; background: var(--paper); border: 1px solid var(--line-light);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s, transform 0.6s var(--ease);
}
.step.is-active .step__num { background: var(--heat); border-color: var(--heat); color: var(--ink); transform: scale(1.1); }
.step__title { font-family: var(--f-display); font-weight: 900; font-stretch: 115%; font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 0.95; text-transform: uppercase; letter-spacing: -0.02em; margin: 0.3rem 0 0.7rem; }
.step__text { color: var(--muted-light); max-width: 22rem; }
.process__cta { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.process__cta p { font-family: var(--f-display); font-weight: 700; font-stretch: 110%; font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.15; text-transform: uppercase; max-width: 32rem; }

@media (min-width: 900px) {
  .process__head { grid-template-columns: 1.3fr 1fr; }
  .route__svg { display: block; width: 100%; height: 200px; overflow: visible; }
  .route__base { fill: none; stroke: var(--line-light); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 2 8; stroke-linecap: round; }
  .route__draw { fill: none; stroke: var(--heat); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; }
  .route__parcel {
    display: block; position: absolute; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px;
    border-radius: 12px; background: var(--ink); z-index: 2;
    transform: translate3d(var(--pxp, 0px), var(--pyp, 0px), 0) rotate(var(--prot, 0deg));
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.5);
  }
  .route__parcel::before { content: ""; position: absolute; inset: 11px; border: 2px solid var(--heat); border-radius: 3px; }
  .route__parcel::after { content: ""; position: absolute; left: 50%; top: 11px; bottom: 11px; width: 2px; margin-left: -1px; background: var(--heat); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; padding-left: 0; margin-top: 1.5rem; }
  .steps::before, .steps::after { display: none; }
  .step__num { position: relative; left: auto; top: auto; margin-bottom: 1rem; }
}

/* ------------------------------------------------------------------ */
/* 9. BOARD-LEVEL                                                      */
/* ------------------------------------------------------------------ */
.board { position: relative; background: var(--ink); color: var(--bone); padding-block: var(--section); overflow: hidden; }
.board::before { content: ""; position: absolute; width: 70vmax; height: 70vmax; right: -30vmax; top: -20vmax; border-radius: 50%; background: radial-gradient(circle, rgba(138, 92, 246, 0.22), transparent 60%); pointer-events: none; }
.board__grid { position: relative; display: grid; gap: 3.5rem; align-items: center; }
.board__copy .lead { margin-top: 1.6rem; }
.board__copy .display { font-size: clamp(2.3rem, 4.3vw, 4.6rem); }
.specs { margin: 2.4rem 0; border-top: 1px solid var(--line-dark); }
.spec { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line-dark); }
.spec__no { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--heat); color: var(--heat); display: grid; place-items: center; font-size: 0.8rem; }
.spec__title { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: 1.5rem; line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; }
.spec__for { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--heat); margin: 0.5rem 0 0.6rem; }
.spec__text { color: var(--muted-dark); font-size: 0.95rem; }

.inspect { position: relative; }
.inspect__frame { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--r); overflow: hidden; background: var(--ink-3); cursor: crosshair; touch-action: pan-y; }
.inspect__base { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.42) contrast(1.15); }
.inspect__loupe {
  position: absolute; left: 0; top: 0; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%;
  background-image: url("../assets/images/bench-wide.jpg"); background-repeat: no-repeat;
  transform: translate3d(var(--lx, 50%), var(--ly, 50%), 0);
  box-shadow: 0 0 0 2px rgba(239, 236, 230, 0.9), 0 0 0 10px rgba(8, 8, 10, 0.35), 0 0 0 11px rgba(255, 91, 46, 0.8), 0 30px 60px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
.inspect__loupe::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.22), transparent 45%); }
.inspect__zoom { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); font-size: 0.7rem; color: var(--heat); background: var(--ink); padding: 0.2rem 0.5rem; border-radius: 6px; }
.inspect__hud { position: absolute; left: 1rem; right: 1rem; top: 1rem; display: flex; justify-content: space-between; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-dark); pointer-events: none; }
.inspect__hud span:first-child::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--heat); margin-right: 0.5rem; animation: blink 1.4s steps(2) infinite; }
.inspect__hint { margin-top: 1rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--soft-dark); text-align: center; }

@media (min-width: 1024px) {
  .board__grid { grid-template-columns: 1fr 1.05fr; gap: 6vw; }
}

/* ------------------------------------------------------------------ */
/* 10. SHOP                                                            */
/* ------------------------------------------------------------------ */
.shop {
  position: relative; overflow: hidden; color: var(--bone);
  padding-block: var(--section);
  background:
    radial-gradient(60vmax 40vmax at 85% 40%, rgba(255, 91, 46, 0.16), transparent 60%),
    radial-gradient(40vmax 30vmax at 10% 100%, rgba(138, 92, 246, 0.12), transparent 60%),
    #111115;
  border-top: 1px solid var(--line-dark);
}
.shop::before {
  /* workbench pegboard */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(239, 236, 230, 0.07) 1.5px, transparent 1.6px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 20%, #000 70%);
}
@keyframes marquee { to { transform: translateX(-33.333%); } }
.shop__grid { position: relative; display: grid; gap: 4rem; align-items: center; }
.shop__copy .display { font-size: clamp(2.4rem, 5vw, 5rem); max-width: 13ch; }
.shop__copy .lead { margin-top: 1.6rem; }
.shop__points { margin: 2rem 0 2.4rem; display: grid; gap: 0; border-top: 1px solid var(--line-dark); max-width: 30rem; }
.shop__points li { display: flex; align-items: center; gap: 0.9rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line-dark); font-size: 0.98rem; }
.shop__points .mono { font-size: 0.7rem; color: var(--heat); letter-spacing: 0.12em; min-width: 2rem; }
.shop__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---- 3D hanging inspection tags ---- */
.tags3d {
  position: relative; height: clamp(440px, 46vw, 600px);
  perspective: 1200px; display: grid; place-items: start center;
}
.tags3d__peg {
  position: absolute; top: 0; left: 50%; width: 46px; height: 46px; margin-left: -23px; z-index: 3;
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5a5a64, #1c1c22 70%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.qtag-wrap {
  position: absolute; top: 23px; left: 50%;
  transform-style: preserve-3d;
  transform-origin: 50% 0;
}
.qtag-wrap--front { transform: translateX(-50%) rotateZ(var(--sw, 0deg)) rotateY(var(--ty, 0deg)) rotateX(var(--tx, 0deg)); z-index: 2; }
.qtag-wrap--back { transform: translateX(-50%) rotateZ(calc(14deg + var(--sw2, 0deg))) translateZ(-60px); z-index: 1; }
.qtag__string { display: block; width: 2px; height: 70px; margin: 0 auto; background: linear-gradient(#cfc9bd, #8f897d); }
.qtag {
  position: relative; width: min(330px, 74vw); aspect-ratio: 0.6;
  padding: 3.6rem 1.6rem 1.4rem;
  clip-path: polygon(22% 0, 78% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
  display: flex; flex-direction: column;
  transform-style: preserve-3d;
}
.qtag-wrap { filter: drop-shadow(0 40px 40px rgba(0, 0, 0, 0.55)); }
.qtag__hole {
  position: absolute; top: 1.2rem; left: 50%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%;
  background: #111115; box-shadow: 0 0 0 5px #c9c2b3, inset 0 2px 3px rgba(0, 0, 0, 0.6);
}
.qtag--front { background: linear-gradient(160deg, #f6f3ee 0%, #e7e2d8 100%); color: var(--ink); }
.qtag--back { background: linear-gradient(160deg, #ff6a3d, #e8461a); color: var(--ink); width: min(300px, 66vw); }
.qtag--back .qtag__hole { background: #111115; box-shadow: 0 0 0 5px #b8370f, inset 0 2px 3px rgba(0, 0, 0, 0.6); }
.qtag__head { display: flex; justify-content: space-between; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.16em; padding-bottom: 0.8rem; border-bottom: 1.5px solid currentColor; }
.qtag__brand {
  margin-top: 1rem; font-family: var(--f-display); font-weight: 900; font-stretch: 108%;
  font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 0.88; text-transform: uppercase; letter-spacing: -0.02em;
}
.qtag__sub { margin-top: 0.6rem; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.65; }
.qtag__rows { margin-top: auto; display: grid; gap: 0.35rem; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; }
.qtag__rows div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.35rem; border-bottom: 1px dashed rgba(8, 8, 10, 0.25); }
.qtag__rows dt { opacity: 0.55; }
.qtag__rows dd { font-weight: 500; text-align: right; }
.qtag__barcode {
  margin-top: 1rem; height: 38px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 8px, var(--ink) 8px 9px, transparent 9px 12px, var(--ink) 12px 15px, transparent 15px 17px);
}
.qtag__stamp {
  position: absolute; right: 1.1rem; top: 46%;
  padding: 0.35rem 0.8rem; border: 3px solid var(--heat); border-radius: 6px;
  font-family: var(--f-display); font-weight: 900; font-stretch: 120%; font-size: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--heat);
  transform: rotate(-14deg) translateZ(20px);
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 55%, rgba(0, 0, 0, 0.55) 56%, #000 75%);
  mask-image: radial-gradient(circle at 30% 40%, #000 55%, rgba(0, 0, 0, 0.55) 56%, #000 75%);
}
.qtag__holo {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: 0.55;
  background: linear-gradient(115deg, transparent 20%, rgba(79, 109, 255, 0.55) 35%, rgba(255, 61, 127, 0.5) 45%, rgba(255, 194, 61, 0.55) 55%, transparent 70%);
  background-size: 300% 300%;
  background-position: var(--hx, 50%) var(--hy, 50%);
}
.qtag__vertical {
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: 4.6rem; line-height: 0.85; text-transform: uppercase; letter-spacing: -0.03em;
  writing-mode: vertical-rl; transform: rotate(180deg); margin: auto 0 0; opacity: 0.92;
}
.qtag--back .qtag__head { border-color: rgba(8, 8, 10, 0.6); }
.tags3d__hint { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--soft-dark); white-space: nowrap; }

@media (min-width: 900px) {
  .shop__grid { grid-template-columns: 1fr 1fr; gap: 5vw; }
}
@media (max-width: 599px) {
  .tags3d { height: 500px; }
  .qtag { padding: 3.2rem 1.3rem 1.2rem; }
  .qtag-wrap--back { transform: translateX(-30%) rotateZ(calc(12deg + var(--sw2, 0deg))) translateZ(-60px); }
}

/* ------------------------------------------------------------------ */
/* 11. FACTS / ABOUT                                                   */
/* ------------------------------------------------------------------ */
.facts { background: var(--bone); color: var(--ink); padding-block: var(--section); }
.facts__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
.facts__grid > * { min-width: 0; }
@media (max-width: 420px) {
  .geo { grid-template-columns: 56px minmax(0, 1fr); gap: 0.9rem; padding: 0.85rem 1rem 0.85rem 0.85rem; align-items: start; }
  .geo__map { border-radius: 10px; }
  .geo__coords { font-size: 0.62rem; letter-spacing: 0.04em; }
  .geo__city { font-size: 1.15rem; }
  .geo__clock { font-size: 0.7rem; }
}
.facts__intro .lead { margin-top: 1.6rem; }
.geo { margin-top: 2.5rem; display: grid; grid-template-columns: 120px 1fr; gap: 1.25rem; align-items: center; padding: 1rem; border-radius: 18px; background: var(--ink); color: var(--bone); max-width: 30rem; }
.geo__map {
  position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  background: linear-gradient(rgba(239, 236, 230, 0.08) 1px, transparent 1px) 0 0 / 14px 14px, linear-gradient(90deg, rgba(239, 236, 230, 0.08) 1px, transparent 1px) 0 0 / 14px 14px, radial-gradient(circle at 50% 50%, rgba(255, 91, 46, 0.25), transparent 60%), var(--ink-3);
}
.geo__ping { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--heat); animation: heat-ping 2s infinite; }
.geo__coords { font-size: 0.7rem; letter-spacing: 0.14em; color: var(--heat); }
.geo__city { font-family: var(--f-display); font-weight: 900; font-stretch: 115%; font-size: 1.5rem; line-height: 1; text-transform: uppercase; margin: 0.35rem 0; }
.geo__clock { font-size: 0.75rem; color: var(--muted-dark); }

.sheet { border-top: 2px solid var(--ink); }
.sheet__row { display: grid; grid-template-columns: 1fr; gap: 0.3rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line-light); transition: padding 0.5s var(--ease), background-color 0.4s; }
.sheet__row dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted-light); }
.sheet__row dd { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; font-size: clamp(1.25rem, 2.2vw, 1.9rem); line-height: 1.1; text-transform: uppercase; letter-spacing: -0.01em; }
.sheet__row .sep { color: var(--heat-deep); }
.sheet__row:hover { background: rgba(255, 91, 46, 0.08); padding-left: 0.8rem; }
.sheet__note { margin-top: 1.4rem; font-size: 0.75rem; line-height: 1.7; color: var(--muted-light); }
.sheet__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 640px) {
  .sheet__row { grid-template-columns: 170px 1fr; align-items: baseline; gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .facts__grid { grid-template-columns: 1fr 1.25fr; gap: 6vw; }
  .facts__intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* ------------------------------------------------------------------ */
/* 12. FINALE                                                          */
/* ------------------------------------------------------------------ */
.finale { position: relative; background: var(--ink); color: var(--bone); padding-block: var(--section) calc(var(--section) * 0.8); overflow: hidden; }
.finale__glow { position: absolute; left: 50%; top: 40%; width: 90vmax; height: 60vmax; transform: translate(-50%, -50%); background: radial-gradient(ellipse at center, rgba(255, 91, 46, 0.35), rgba(138, 92, 246, 0.2) 40%, transparent 70%); filter: blur(30px); pointer-events: none; }
.finale__inner { position: relative; }
.finale__title {
  display: grid; font-family: var(--f-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(2.4rem, 8.4vw, 9.5rem); line-height: 0.88; letter-spacing: -0.035em; text-transform: uppercase;
}
.finale__title span { display: block; white-space: nowrap; }
.finale__title span:nth-child(2) { text-align: center; }
.finale__title span:nth-child(3) { text-align: right; }
.finale__title em { color: transparent; background: var(--thermal); -webkit-background-clip: text; background-clip: text; }
.finale__row { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 2rem; align-items: end; }
.finale__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }
@media (min-width: 900px) {
  .finale__row { grid-template-columns: 1fr auto; }
}

/* ------------------------------------------------------------------ */
/* 13. FOOTER                                                          */
/* ------------------------------------------------------------------ */
.footer { background: var(--ink); color: var(--muted-dark); border-top: 1px solid var(--line-dark); padding-top: clamp(3.5rem, 7vw, 6rem); font-size: 0.95rem; overflow: hidden; }
.footer__grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: 1fr 1fr; }
.footer__about { grid-column: 1 / -1; display: grid; gap: 1.2rem; max-width: 24rem; }
.footer__about .logo { color: var(--bone); }
.footer__h { font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--soft-dark); margin-bottom: 1rem; }
.footer ul { display: grid; gap: 0.6rem; }
.footer a { transition: color 0.3s; }
.footer a:hover { color: var(--heat); }
.footer__grid > div:last-child { grid-column: 1 / -1; }
.footer__mail { color: var(--bone); overflow-wrap: anywhere; }

.wordmark {
  position: relative; display: flex; justify-content: space-between; gap: 0.15em;
  margin: clamp(3rem, 7vw, 6rem) 0 0;
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%;
  font-size: 13vw; line-height: 0.8; letter-spacing: -0.04em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(239, 236, 230, 0.22);
  background: radial-gradient(circle 22vw at var(--wx, 50%) var(--wy, 50%), #ff5b2e, #8a5cf6 45%, transparent 70%);
  -webkit-background-clip: text; background-clip: text;
  user-select: none;
}
.footer__bottom { display: flex; flex-direction: column; gap: 1rem; padding: 2rem 0 2.2rem; margin-top: 2rem; border-top: 1px solid var(--line-dark); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--soft-dark); }
.footer__copy { display: grid; gap: 0.2rem; line-height: 1.55; }
.footer__copy > span:first-child { color: var(--muted-dark); }
.footer__end { display: flex; align-items: center; }
.footer .footer__legal { display: flex; gap: 1.5rem; }

/* "Powered by" credit badge */
.credit {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.4rem 0.45rem 0.4rem 0.9rem; border-radius: 999px;
  border: 1px solid var(--line-dark); background: rgba(239, 236, 230, 0.03);
  white-space: nowrap; transition: border-color 0.4s ease, background-color 0.4s ease;
}
.credit:hover { border-color: rgba(255, 91, 46, 0.45); background: rgba(255, 91, 46, 0.06); }
.credit__label { font-family: var(--f-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--soft-dark); }
.credit__mark {
  position: relative; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.38rem 0.8rem 0.38rem 0.6rem; border-radius: 999px; overflow: hidden;
  background: #16161b; border: 1px solid rgba(239, 236, 230, 0.1);
  font-family: var(--f-display); font-weight: 800; font-stretch: 118%; font-size: 0.8rem; letter-spacing: 0.08em; line-height: 1;
  color: var(--bone);
}
.credit__mark::after {
  /* light sweep on hover */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease);
}
.credit:hover .credit__mark::after { transform: translateX(120%); }
.credit__icon { width: 0.85rem; height: 0.85rem; color: var(--heat); filter: drop-shadow(0 0 6px rgba(255, 91, 46, 0.6)); }

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
  .footer__about { grid-column: auto; }
  .footer__grid > div:last-child { grid-column: auto; }
  /* three columns: copyright left · legal centre · credit right */
  .footer__bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
  .footer .footer__legal { justify-self: center; }
  .footer__end { justify-self: end; }
}
/* comfortable tap targets for footer links on touch screens */
@media (max-width: 767px) {
  .footer ul { gap: 0.1rem; }
  .footer ul a, .footer .footer__legal a { display: inline-flex; align-items: center; min-height: 40px; }
  .footer .footer__legal { gap: 1.8rem; }
}
/* lift the floating back-to-top button off the credit at the very bottom */
.to-top.is-visible.is-lifted { transform: translateY(-74px); }

/* ------------------------------------------------------------------ */
/* 14. Back to top                                                     */
/* ------------------------------------------------------------------ */
.to-top {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 700;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(8, 8, 10, 0.85); color: var(--bone);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.9);
  transition: opacity 0.4s, transform 0.5s var(--ease), visibility 0s linear 0.5s, background-color 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--heat); color: var(--ink); }
.to-top > .icon { transform: rotate(-90deg); width: 1.2rem; height: 1.2rem; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 2; }
.to-top__ring circle:first-child { stroke: rgba(239, 236, 230, 0.15); }
.to-top__ring circle:last-child { stroke: var(--heat); stroke-dasharray: 138.2; stroke-dashoffset: calc(138.2 * (1 - var(--sp, 0))); }

/* ------------------------------------------------------------------ */
/* 15. Responsive                                                      */
/* ------------------------------------------------------------------ */
@media (min-width: 768px) {
  .type { font-size: min(8.8vw, 15.5vh); }
  .type__br { display: block; flex-basis: 100%; height: 0; }
  .status { display: inline-flex; }
}

@media (min-width: 1100px) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .header__cta { display: inline-flex; }
  .motion .hero { padding-bottom: 6.5rem; }
  .motion .hero__prices { position: absolute; left: var(--gutter); bottom: 2.2rem; margin: 0; border-top: 0; }
  .motion .hero__prices div { padding: 0 1.6rem 0 0; display: flex; gap: 0.6rem; align-items: baseline; }
  .motion .hero__prices div + div { padding-left: 1.6rem; }
  .motion .hero__prices dd { margin: 0; }
  .motion .hero__scroll {
    position: absolute; right: var(--gutter); bottom: 2.6rem; display: flex; align-items: center; gap: 1rem;
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-dark);
  }
  .hero__scroll-line { position: relative; width: 70px; height: 1px; background: var(--line-dark); overflow: hidden; }
  .hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--heat); animation: scan 2s var(--ease-io) infinite; }
  .motion .hero__ui { grid-template-columns: auto auto; align-items: end; gap: 3rem; }
}
@media (max-width: 1099px) and (min-width: 768px) {
  .status { display: none; }
}
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* Mobile cinematic HUD: callouts become a compact grid at the bottom */
@media (max-width: 767px) {
  .motion .intro { height: 280vh; }
  .motion .hud__title { top: calc(var(--header-h) + 0.6rem); }
  .motion .hud__lines { display: none; }
  .motion .hud__reticle { top: 34%; width: 90px; height: 90px; }
  .motion .hud__list { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .motion .callout { position: relative; inset: auto; width: auto; padding: 0.9rem; }
  .callout__title { font-size: 1.02rem; }
  .callout__text { font-size: 0.8rem; }
  .callout__id { font-size: 0.6rem; margin-bottom: 0.5rem; }
  .motion .hero { justify-content: safe center; padding: calc(var(--header-h) + 0.25rem) var(--gutter) 1.6rem; }
  .type { font-size: min(15.5vw, 9.4vh); }
  .hero__kicker { margin-bottom: 1.1rem; }
  .hero__lead { font-size: 0.97rem; line-height: 1.55; }
  .hero__ui { margin-top: 1.4rem; gap: 1.2rem; }
  .motion .hero__ui { margin-top: 1.4rem; gap: 1.2rem; }
  .hero__ctas { width: 100%; display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
  .hero__ctas .btn { width: 100%; min-height: 52px; font-size: 0.95rem; }
  .hero__prices { margin-top: 1.4rem; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero__prices dt { font-size: 0.6rem; letter-spacing: 0.08em; white-space: nowrap; }
  .hero__prices div { padding-right: 0.9rem; }
  .hero__prices div + div { padding-left: 0.9rem; }
  .badge { left: auto; right: 12px; bottom: -40px; width: 110px; height: 110px; }
  .inspect__loupe { width: 160px; height: 160px; margin: -80px 0 0 -80px; }
}
@media (max-width: 479px) {
  .logo__text { font-size: 0.92rem; white-space: nowrap; }
  .logo__mark { width: 30px; height: 30px; }
  .hero__kicker { font-size: 0.64rem; letter-spacing: 0.1em; }
  .motion .callout__text { font-size: 0.74rem; line-height: 1.4; }
}
@media (max-width: 380px) {
  .hero__prices dd { font-size: 0.82rem; }
}
@media (max-height: 700px) and (max-width: 767px) {
  .motion .callout__text { display: none; }
  .motion .hero__prices { display: none; }
  .hero__lead { font-size: 0.9rem; }
  .hero__ctas .btn { min-height: 46px; }
}
@media (max-height: 600px) and (max-width: 767px) {
  .motion .hero__lead { display: none; }
}

/* ------------------------------------------------------------------ */
/* 16. Reduced motion safety net                                       */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .grain { display: none; }
}
