/* ---------------------------------------------------------------- 1. Tokens
   Locked to the OptaMix Tech brand sheet:
   #11979A teal · #269ED8 blue · #303642 slate · #000000 black · #FFFFFF white

   TYPEFACES — the brand fonts (Avenir LT Pro 95 Black, Noah Bold) are licensed
   desktop faces, so they can't be loaded from a CDN. The stacks below ask for
   real Avenir first (it's installed on macOS/iOS), then fall back to Nunito
   Sans, the closest free web face. If you buy web licences, drop the files in
   assets/fonts/ and uncomment the @font-face rules below — nothing else needs
   to change.

   @font-face { font-family: "Avenir LT Pro"; font-weight: 900;
                src: url("../fonts/AvenirLTPro-Black.woff2") format("woff2"); }
   @font-face { font-family: "Noah"; font-weight: 700;
                src: url("../fonts/Noah-Bold.woff2") format("woff2"); }
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --teal: #11979a;
  --teal-deep: #0c7275;
  --blue: #269ed8;
  --blue-deep: #1b7cab;
  --slate: #303642;
  --black: #000000;
  --white: #ffffff;
  --danger: #d64545;          /* functional only — form errors */

  /* Light surface set (default) */
  --bg: #f4f6f7;
  --bg-alt: #e9eef0;
  --surface: #ffffff;
  --surface-2: #f7fafa;
  --line: #dce3e6;
  --line-strong: #c2cdd2;
  --text: #000000;
  --text-soft: #303642;
  --text-mute: #6b7480;
  --shadow-sm: 0 1px 2px rgba(48, 54, 66, .07), 0 4px 14px rgba(48, 54, 66, .05);
  --shadow-md: 0 10px 30px rgba(48, 54, 66, .12);
  --shadow-lg: 0 30px 70px rgba(48, 54, 66, .18);
  --ring: rgba(17, 151, 154, .34);
  --glass: rgba(255, 255, 255, .8);

  /* Type */
  --font-display: "Avenir LT Pro", "Avenir Next", Avenir, "Nunito Sans", system-ui, sans-serif;
  --font-body: "Noah", "Avenir Next", Avenir, "Nunito Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Scale */
  --step--1: clamp(.78rem, .76rem + .1vw, .84rem);
  --step-0: clamp(.95rem, .92rem + .16vw, 1.03rem);
  --step-1: clamp(1.1rem, 1.02rem + .38vw, 1.32rem);
  --step-2: clamp(1.38rem, 1.2rem + .9vw, 1.85rem);
  --step-3: clamp(1.75rem, 1.35rem + 1.9vw, 2.9rem);
  --step-4: clamp(2.3rem, 1.5rem + 3.6vw, 4.6rem);

  /* Space & shape */
  --gutter: clamp(1.1rem, 4vw, 2.6rem);
  --section-y: clamp(3.6rem, 8vw, 7.5rem);
  --maxw: 1240px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --t-fast: .18s cubic-bezier(.4, 0, .2, 1);
  --t-med: .34s cubic-bezier(.22, .8, .3, 1);
  --header-h: 78px;
}

html[data-theme="dark"] {
  --bg: #080b10;
  --bg-alt: #0d1219;
  --surface: #121821;
  --surface-2: #1a212c;
  --line: #24303f;
  --line-strong: #35435a;
  --text: #ffffff;
  --text-soft: #b7c5d4;
  --text-mute: #7c8b9d;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow-md: 0 16px 38px rgba(0, 0, 0, .55);
  --shadow-lg: 0 36px 90px rgba(0, 0, 0, .68);
  --glass: rgba(10, 15, 21, .74);
  --grid: rgba(120, 210, 215, .07);
  --scan: rgba(255, 255, 255, .022);
  color-scheme: dark;
}

:root { --grid: rgba(17, 151, 154, .09); --scan: rgba(0, 0, 0, .015); }

/* ----------------------------------------------------------- 2. Reset & base */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }

img { height: auto; background: var(--bg-alt); }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--teal); color: #fff; }

.skip-link {
  position: fixed;
  top: .6rem;
  left: .6rem;
  z-index: 999;
  padding: .7rem 1.1rem;
  background: var(--teal);
  color: #fff;
  border-radius: var(--r-sm);
  transform: translateY(-160%);
  transition: transform var(--t-fast);
}
.skip-link:focus { transform: translateY(0); }

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

.wrap--wide { max-width: 1440px; }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }

.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }

.split {
  display: grid;
  gap: clamp(1.8rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

.stack-sm > * + * { margin-top: .7rem; }
.stack > * + * { margin-top: 1.15rem; }

/* --------------------------------------------------------- 4. Type & rails */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.028em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -.018em; }

p { text-wrap: pretty; }

.lede {
  font-size: var(--step-1);
  color: var(--text-soft);
  max-width: 56ch;
  line-height: 1.55;
}

.muted { color: var(--text-mute); }

/* Signature element: the spec rail — monospace metadata with tick marks,
   borrowed from the spec sheets printed on device packaging. */
.rail {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
}

.rail::before {
  content: "";
  width: 34px;
  height: 9px;
  flex: none;
  background-image: repeating-linear-gradient(90deg, currentColor 0 1.5px, transparent 1.5px 6px);
  opacity: .85;
}

.rail--center { justify-content: center; }

.rail--light { color: var(--blue); }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

/* ------------------------------------------------------------ 5. Sections */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.4rem, 5vw, 4rem); }
.section--alt { background: var(--bg-alt); }
.section--ink {
  background:
    radial-gradient(1200px 500px at 82% -10%, rgba(34, 211, 217, .18), transparent 60%),
    linear-gradient(160deg, #1b1f27, #0c5f62);
  color: #e9f8f8;
}
.section--ink .lede, .section--ink p { color: #b6d9dc; }

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}
@media (min-width: 860px) {
  .section-head--row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

.divider { height: 1px; background: var(--line); border: 0; }

/* ------------------------------------------------------ 6. Buttons & chips */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #fff;
  box-shadow: 0 8px 22px rgba(17, 151, 154, .32);
}
.btn--primary:hover { box-shadow: 0 12px 30px rgba(17, 151, 154, .42); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--surface);
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn--quiet { padding-inline: .4rem; color: var(--text-soft); }
.btn--quiet:hover { color: var(--teal); }

.btn--light { background: #fff; color: #06272c; }
.btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); }

.btn--wa { background: #25d366; color: #06301a; }
.btn--sm { padding: .55rem 1rem; font-size: .84rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: all var(--t-fast);
}
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip[aria-pressed="true"], .chip.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tag--best { background: var(--teal); color: #fff; }
.tag--new { background: var(--blue); color: #06222e; }
.tag--hot { background: var(--slate); color: #fff; }
.tag--out { background: var(--line-strong); color: var(--text-soft); }

/* -------------------------------------------------------------- 7. Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}

.card--pad { padding: clamp(1.2rem, 2.4vw, 1.9rem); }

.card--link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

/* Category tile */
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  min-height: 232px;
  isolation: isolate;
  border: 1px solid var(--line);
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1s cubic-bezier(.2, .7, .2, 1);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(190deg, rgba(4, 20, 26, .18) 8%, rgba(4, 20, 26, .88) 92%);
}
.tile:hover img { transform: scale(1.07); }
.tile__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem;
  color: #fff;
  display: grid;
  gap: .3rem;
}
.tile__body h3 { font-size: var(--step-1); }
.tile__body p { font-size: .86rem; color: rgba(232, 248, 248, .78); }
.tile__count {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--blue);
}

/* Product card */
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.pcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.pcard__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}
.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-med);
}
.pcard:hover .pcard__media img { transform: scale(1.05); }

.pcard__flags {
  position: absolute;
  top: .7rem;
  left: .7rem;
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
}

.pcard__tools {
  position: absolute;
  top: .6rem;
  right: .6rem;
  display: grid;
  gap: .4rem;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--t-med);
}
.pcard:hover .pcard__tools, .pcard:focus-within .pcard__tools { opacity: 1; transform: none; }

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  color: var(--text);
  transition: all var(--t-fast);
}
.icon-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.icon-btn.is-on { background: var(--teal); border-color: var(--teal); color: #fff; }
.icon-btn svg { width: 17px; height: 17px; }

.pcard__body {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.05rem 1.15rem 1.25rem;
  flex: 1;
}

.pcard__cat {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.pcard__name { font-size: 1.02rem; font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; }

.pcard__specs {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .5rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--text-mute);
}
.pcard__specs li { display: flex; align-items: center; gap: .5rem; }
.pcard__specs li + li::before { content: "·"; }

.pcard__foot {
  margin-top: auto;
  padding-top: .85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  border-top: 1px dashed var(--line-strong);
}

.price { font-family: var(--font-mono); font-size: 1.06rem; font-weight: 600; letter-spacing: -.02em; }
.price small { font-size: .72rem; color: var(--text-mute); font-weight: 500; }
.price s { color: var(--text-mute); font-size: .8rem; font-weight: 400; margin-right: .3rem; }

.stars { display: inline-flex; align-items: center; gap: .28rem; font-family: var(--font-mono); font-size: .78rem; color: var(--text-soft); }
.stars svg { width: 13px; height: 13px; color: var(--teal); }

/* Feature row */
.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature__ic {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  color: var(--teal);
}
.feature__ic svg { width: 21px; height: 21px; }
.feature h4 { margin-bottom: .15rem; }
.feature p { font-size: .9rem; color: var(--text-soft); }

/* Stat block */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); padding: 1.1rem 1.2rem; }
.stat__n { font-family: var(--font-display); font-size: var(--step-2); font-weight: 700; letter-spacing: -.04em; }
.stat__l { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); }

/* ----------------------------------------------------------- 8. Header & nav */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  z-index: 120;
  transition: width .1s linear;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(7, 32, 40, .06);
}

.header__in {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Brand lockup — the supplied artwork, swapped per theme so the wordmark
   stays legible on both light and dark surfaces. */
.brand { display: flex; align-items: center; margin-right: auto; }
.brand__logo { height: 42px; width: auto; }
.brand__logo--light { display: none; }
html[data-theme="dark"] .brand__logo--dark { display: none; }
html[data-theme="dark"] .brand__logo--light { display: block; }
@media (max-width: 460px) { .brand__logo { height: 34px; } }

.brand--stacked .brand__logo { height: 82px; }

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .96rem;
  letter-spacing: .06em;
  line-height: 1.1;
}

.nav { display: none; gap: .3rem; align-items: center; }
@media (min-width: 940px) { .nav { display: flex; } }

.nav a {
  position: relative;
  padding: .5rem .85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text-soft);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav a:hover { color: var(--text); background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--teal); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .18rem;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: translateX(-50%);
}

.header__acts { display: flex; align-items: center; gap: .35rem; }

.count-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  transform: scale(0);
  transition: transform var(--t-fast);
}
.count-badge.is-on { transform: scale(1); }

.header .icon-btn { position: relative; background: transparent; border-color: transparent; }
.header .icon-btn:hover { background: var(--bg-alt); color: var(--teal); }

.header__cta { display: none; }
@media (min-width: 660px) { .header__cta { display: inline-flex; } }

.burger { display: grid; }
@media (min-width: 940px) { .burger { display: none; } }

/* Mobile nav sheet */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--bg);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform var(--t-med), visibility var(--t-med);
}
.mnav.is-open { transform: none; visibility: visible; }
.mnav__head { display: flex; align-items: center; height: var(--header-h); border-bottom: 1px solid var(--line); }
.mnav__list { padding: 1.4rem var(--gutter); display: grid; gap: .2rem; align-content: start; }
.mnav__list a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -.03em;
  padding: .6rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mnav__list a span { font-family: var(--font-mono); font-size: .7rem; color: var(--text-mute); }
.mnav__foot { padding: 1.2rem var(--gutter) 2rem; display: grid; gap: .7rem; }

/* --------------------------------------------------------------- 9. Hero */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem) var(--section-y); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -30% 40% 40% -20%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--blue) 22%, transparent), transparent);
  filter: blur(30px);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 3.4rem);
  align-items: center;
}
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.02fr .98fr; } }

.hero h1 { margin-block: .8rem 1.1rem; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(105deg, var(--teal), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.1rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-mute);
  margin-top: 1.4rem;
}
.hero__trust li { display: flex; align-items: center; gap: .4rem; }
.hero__trust svg { width: 14px; height: 14px; color: var(--teal); }

.hero__art { position: relative; }
.hero__art img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.floatcard {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: .75rem .95rem;
  display: grid;
  gap: .12rem;
  animation: bob 6s ease-in-out infinite;
}
.floatcard--a { left: -4%; bottom: 12%; }
.floatcard--b { right: -3%; top: 9%; animation-delay: -3s; }
.floatcard__k { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); }
.floatcard__v { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
@media (max-width: 560px) { .floatcard--a { left: 2%; } .floatcard--b { right: 2%; } }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ------------------------------------------------------------ 10. Marquee */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 1.4rem;
  border-block: 1px solid var(--line);
  background: var(--surface);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 3.2rem; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text-mute);
  opacity: .72;
  transition: color var(--t-fast), opacity var(--t-fast);
}
.marquee__item:hover { color: var(--teal); opacity: 1; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------- 11. Testimonials */
.quotes { position: relative; }
.quotes__view { overflow: hidden; }
.quotes__track { display: flex; transition: transform var(--t-med); }
.quotes__item { flex: 0 0 100%; padding: .4rem; }
.quote {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.025em;
}
.quote__who { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.quote__av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}
.quotes__nav { display: flex; gap: .5rem; justify-content: center; margin-top: 1.4rem; align-items: center; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: all var(--t-fast);
}
.dot.is-on { width: 26px; background: var(--teal); }

/* -------------------------------------------------------------- 12. FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -.02em;
}
.faq__q:hover { color: var(--teal); }
.faq__q svg { flex: none; width: 20px; height: 20px; transition: transform var(--t-med); color: var(--teal); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 1.15rem; color: var(--text-soft); max-width: 68ch; }

/* ------------------------------------------------------------- 13. Forms */
.field { display: grid; gap: .4rem; }
.field > label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: .8rem .95rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 138px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--ring);
}
.field .err { font-size: .78rem; color: var(--danger); min-height: 1em; }
.field.is-bad input, .field.is-bad textarea, .field.is-bad select { border-color: var(--blue); }

.form-note { font-size: .82rem; color: var(--text-mute); }

.newsletter {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.newsletter input {
  flex: 1 1 220px;
  padding: .85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

/* ------------------------------------------------------------ 14. Catalog */
.shop {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}
@media (min-width: 1000px) { .shop { grid-template-columns: 264px minmax(0, 1fr); } }

.filters {
  display: grid;
  gap: 1.5rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
@media (min-width: 1000px) { .filters { position: sticky; top: calc(var(--header-h) + 16px); } }
.filters.is-collapsed { display: none; }
@media (min-width: 1000px) { .filters.is-collapsed { display: grid; } }

.filters__group h4 { font-size: .82rem; font-family: var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); margin-bottom: .8rem; }

.check {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .32rem 0;
  cursor: pointer;
  font-size: .9rem;
  color: var(--text-soft);
}
.check:hover { color: var(--teal); }
.check input { accent-color: var(--teal); width: 16px; height: 16px; }
.check span:last-child { margin-left: auto; font-family: var(--font-mono); font-size: .72rem; color: var(--text-mute); }

.range-row { display: flex; align-items: center; gap: .6rem; }
.range-row input[type="range"] { flex: 1; accent-color: var(--teal); }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
  margin-bottom: 1.3rem;
}
.search {
  position: relative;
  flex: 1 1 240px;
}
.search input {
  width: 100%;
  padding: .72rem 1rem .72rem 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.search svg { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--text-mute); }
.search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--ring); }

.select-wrap select {
  padding: .72rem 2rem .72rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-mute) 50%), linear-gradient(135deg, var(--text-mute) 50%, transparent 50%);
  background-position: calc(100% - 18px) 51%, calc(100% - 13px) 51%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.viewtoggle { display: flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.viewtoggle button { padding: .55rem .8rem; color: var(--text-mute); }
.viewtoggle button.is-on { background: var(--teal); color: #fff; }
.viewtoggle svg { width: 16px; height: 16px; }

.results-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--text-mute);
  margin-bottom: 1rem;
}

/* List view */
.pgrid.is-list { grid-template-columns: 1fr; }
.pgrid.is-list .pcard { flex-direction: row; }
.pgrid.is-list .pcard__media { width: 200px; flex: none; aspect-ratio: auto; }
@media (max-width: 640px) {
  .pgrid.is-list .pcard { flex-direction: column; }
  .pgrid.is-list .pcard__media { width: 100%; aspect-ratio: 4 / 3; }
}

.empty {
  padding: 3.5rem 1rem;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  display: grid;
  gap: .8rem;
  justify-items: center;
}

/* Compare tray */
.tray {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 95;
  width: min(760px, calc(100% - 2rem));
  transform: translate(-50%, 160%);
  transition: transform var(--t-med);
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem .8rem;
  border-radius: var(--r-lg);
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
}
.tray.is-up { transform: translate(-50%, 0); }
.tray__slots { display: flex; gap: .5rem; flex: 1; overflow-x: auto; }
.tray__slot {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  flex: none;
  border: 1px solid var(--line);
}
.tray__slot img { width: 100%; height: 100%; object-fit: cover; }
.tray__slot button {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(4, 20, 26, .78);
  color: #fff;
  font-size: .62rem;
  display: grid;
  place-items: center;
}
.tray__empty {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  border: 1px dashed var(--line-strong);
  flex: none;
}

.cmp-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.cmp-table th, .cmp-table td { padding: .7rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table th { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); width: 122px; }
.cmp-table img { width: 100%; border-radius: 10px; }

/* Keep the tray clear of the floating action buttons on small screens */
@media (max-width: 720px) {
  .tray { left: 1rem; right: 4.7rem; width: auto; transform: translateY(180%); }
  .tray.is-up { transform: none; }
}

.only-narrow { display: inline-flex; }
@media (min-width: 1000px) { .only-narrow { display: none; } }

/* ------------------------------------------- 15. Drawers, modal, toast */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(4, 16, 22, .55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
}
.scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 150;
  height: 100dvh;
  width: min(430px, 100%);
  background: var(--bg);
  border-left: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(101%);
  transition: transform var(--t-med);
  box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: none; }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.drawer__head h3 { font-size: var(--step-1); }
.drawer__body { overflow-y: auto; padding: 1.1rem 1.2rem; display: grid; gap: .85rem; align-content: start; }
.drawer__foot { padding: 1.1rem 1.2rem; border-top: 1px solid var(--line); display: grid; gap: .7rem; background: var(--surface); }

.line-item { display: grid; grid-template-columns: 66px 1fr auto; gap: .8rem; align-items: center; }
.line-item img { width: 66px; height: 66px; object-fit: cover; border-radius: 10px; }
.line-item h4 { font-size: .92rem; }
.line-item .price { font-size: .9rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.qty button { width: 27px; height: 27px; color: var(--text-soft); }
.qty button:hover { background: var(--bg-alt); color: var(--teal); }
.qty span { min-width: 24px; text-align: center; font-family: var(--font-mono); font-size: .82rem; }

.totals { display: grid; gap: .35rem; font-size: .9rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; padding-top: .4rem; border-top: 1px solid var(--line); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__panel {
  width: min(920px, 100%);
  max-height: min(88dvh, 780px);
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(.98);
  transition: transform var(--t-med);
}
.modal.is-open .modal__panel { transform: none; }
.modal__close { position: absolute; top: 1.1rem; right: 1.1rem; z-index: 2; }

.qv { display: grid; }
@media (min-width: 780px) { .qv { grid-template-columns: 1fr 1fr; } }
.qv__media { background: var(--bg-alt); }
.qv__media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.qv__body { padding: clamp(1.3rem, 3vw, 2.2rem); display: grid; gap: .9rem; align-content: start; }
.specs { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.specs div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .85rem; font-size: .86rem; }
.specs div:nth-child(odd) { background: var(--surface-2); }
.specs dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }
.specs dd { text-align: right; }

.toasts {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 200;
  display: grid;
  gap: .5rem;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1rem;
  border-radius: var(--r-md);
  background: var(--text);
  color: var(--bg);
  font-size: .88rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: toastIn .3s cubic-bezier(.2, .9, .3, 1);
}
.toast svg { width: 16px; height: 16px; color: var(--blue); }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }

.totop {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: all var(--t-med);
}
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { width: 19px; height: 19px; }

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 4.3rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #04331b;
  box-shadow: var(--shadow-md);
}
.wa-float svg { width: 22px; height: 22px; }

/* --------------------------------------------------- 16. Footer & utilities */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.6rem, 6vw, 4.5rem) 1.6rem;
}
.footer__grid {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer h4 {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: .9rem;
}
.footer li + li { margin-top: .5rem; }
.footer a:hover { color: var(--teal); }
.footer__links a, .footer__contact li { font-size: .92rem; color: var(--text-soft); }
.footer__bottom {
  margin-top: 2.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--text-mute);
}

.pagehero {
  padding-block: clamp(2.6rem, 6vw, 4.6rem) clamp(1.6rem, 4vw, 2.6rem);
  background:
    radial-gradient(900px 340px at 88% 0%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%),
    var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.crumbs { display: flex; gap: .45rem; font-family: var(--font-mono); font-size: .7rem; color: var(--text-mute); margin-bottom: .9rem; }
.crumbs a:hover { color: var(--teal); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1); }
.reveal.is-in { opacity: 1; transform: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.timeline { display: grid; gap: 0; }
.tl {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 1.2rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}
.tl__y { font-family: var(--font-mono); font-size: .8rem; color: var(--teal); letter-spacing: .06em; }
.tl h4 { margin-bottom: .25rem; }
.tl p { font-size: .92rem; color: var(--text-soft); max-width: 60ch; }

/* ---------------------------------------------- 17. Founder's message */
.fmsg {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
@media (min-width: 820px) { .fmsg { grid-template-columns: 320px 1fr; } }

.fmsg__photo {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center 18%;
}

.fmsg__body {
  padding: clamp(1.6rem, 4vw, 3rem);
  display: grid;
  gap: 1.1rem;
  align-content: center;
}

.fmsg__mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.2rem;
  line-height: .55;
  color: var(--teal);
}

.fmsg__quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-2);
  line-height: 1.32;
  letter-spacing: -.022em;
  color: var(--text);
  max-width: 46ch;
}

.fmsg__sig {
  display: grid;
  gap: .18rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}
.fmsg__name { font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); letter-spacing: -.02em; }
.fmsg__role {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
}


/* ========================================================================
   18. Tech layer
   Ambient grid, HUD detailing, pointer-reactive glow, telemetry type.
   This is the section to trim if you ever want the design calmer.
   ======================================================================== */

/* --- ambient field: fixed grid + brand aurora behind everything --------- */
html { background: var(--bg); }
body { background: transparent; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(130% 88% at 50% -6%, #000 22%, transparent 78%);
  mask-image: radial-gradient(130% 88% at 50% -6%, #000 22%, transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(880px 560px at 8% -8%, color-mix(in srgb, var(--teal) 26%, transparent), transparent 62%),
    radial-gradient(760px 520px at 95% 4%, color-mix(in srgb, var(--blue) 20%, transparent), transparent 62%);
}

/* --- telemetry rail: pulsing status dot on every eyebrow ---------------- */
.rail { position: relative; }
.rail::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: ping 2.6s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 70%, transparent); }
  70%, 100% { box-shadow: 0 0 0 8px transparent; }
}

/* --- section headings get a hairline circuit under them ----------------- */
.section-head { position: relative; }
.circuit {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
  color: var(--line-strong);
}
.circuit::before,
.circuit::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
}
.circuit span {
  width: 7px;
  height: 7px;
  border: 1px solid var(--teal);
  transform: rotate(45deg);
  flex: none;
}

/* --- buttons: light sweep + glow ---------------------------------------- */
.btn { position: relative; overflow: hidden; }
.btn--primary {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 8px 24px color-mix(in srgb, var(--teal) 34%, transparent),
              inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn--primary:hover {
  box-shadow: 0 14px 36px color-mix(in srgb, var(--teal) 48%, transparent),
              inset 0 1px 0 rgba(255, 255, 255, .34);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .32) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform .65s cubic-bezier(.2, .8, .3, 1);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(130%); }

.btn--ghost {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  box-shadow: 0 0 0 1px var(--teal), 0 8px 24px color-mix(in srgb, var(--teal) 22%, transparent);
}

/* --- cards: corner brackets + pointer-tracked border glow --------------- */
.pcard, .card--pad, .tile { position: relative; }

.pcard::before,
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
              color-mix(in srgb, var(--teal) 85%, transparent), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  z-index: 3;
}
.pcard:hover::before,
.tile:hover::before { opacity: 1; }

.pcard::after {
  content: "";
  position: absolute;
  inset: 9px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s, inset .3s;
  z-index: 3;
  background:
    linear-gradient(var(--teal), var(--teal)) 0 0 / 13px 1px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 0 0 / 1px 13px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 100% 0 / 13px 1px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 100% 0 / 1px 13px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 0 100% / 13px 1px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 0 100% / 1px 13px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 100% 100% / 13px 1px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 100% 100% / 1px 13px no-repeat;
}
.pcard:hover::after { opacity: .85; inset: 7px; }

.pcard:hover {
  box-shadow: var(--shadow-md), 0 0 0 1px color-mix(in srgb, var(--teal) 26%, transparent);
}

/* --- product card: full spec sheet slides up over the image ------------- */
.pcard__sheet {
  position: absolute;
  inset: auto 0 0 0;
  padding: .8rem .9rem;
  display: grid;
  gap: .28rem;
  background: linear-gradient(to top, rgba(6, 10, 14, .96), rgba(6, 10, 14, .82));
  backdrop-filter: blur(6px);
  transform: translateY(101%);
  transition: transform var(--t-med);
  z-index: 2;
}
.pcard:hover .pcard__sheet,
.pcard:focus-within .pcard__sheet { transform: none; }
.pcard__sheet div {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .62);
}
.pcard__sheet div b {
  color: #fff;
  font-weight: 500;
  text-align: right;
}
.pcard__sheet div:first-child {
  padding-bottom: .3rem;
  margin-bottom: .1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  color: var(--blue);
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* --- category tiles: scanning sweep ------------------------------------- */
.tile__body h3 { text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.tile::after { background: linear-gradient(190deg, rgba(4, 10, 14, .1) 6%, rgba(4, 10, 14, .92) 94%); }

/* --- header: glass with a live hairline --------------------------------- */
.header {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.5);
}
.header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--teal) 65%, transparent), color-mix(in srgb, var(--blue) 55%, transparent), transparent);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.header.is-stuck::after { opacity: 1; }
.progress { box-shadow: 0 0 12px var(--teal); }

/* --- hero: canvas node field + HUD readouts ----------------------------- */
.hero { position: relative; isolation: isolate; }
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: .9;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 30%, #000 45%, transparent 88%);
  mask-image: radial-gradient(120% 100% at 50% 30%, #000 45%, transparent 88%);
}
.hero::before { display: none; }

.hero__art::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--teal) 34%, transparent), transparent 72%);
  filter: blur(22px);
  z-index: -1;
}
.hero__art img { border: 1px solid var(--line-strong); }

.hud {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .9rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: .6rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  color: var(--text-mute);
  width: fit-content;
  max-width: 100%;
}
.hud b { color: var(--text); font-weight: 500; }
.hud__led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #33e0a1;
  box-shadow: 0 0 10px #33e0a1;
  animation: blink 2s steps(1) infinite;
  flex: none;
}
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .35; } }
.hud__sep { color: var(--line-strong); }

.floatcard {
  border-color: color-mix(in srgb, var(--teal) 34%, var(--line));
  box-shadow: var(--shadow-md), 0 0 26px color-mix(in srgb, var(--teal) 18%, transparent);
}

/* --- stats: console readout -------------------------------------------- */
.stats { border-color: var(--line-strong); background: var(--line-strong); }
.stat { position: relative; background: var(--surface); overflow: hidden; }
.stat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(var(--teal), var(--blue));
  opacity: .55;
}
.stat__n {
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--text), color-mix(in srgb, var(--teal) 72%, var(--text)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- ticker ------------------------------------------------------------- */
.marquee {
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  backdrop-filter: blur(8px);
}
.marquee__item {
  font-family: var(--font-mono);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 3.2rem;
}
.marquee__item::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--teal);
  transform: rotate(45deg);
}

/* --- ink section: scanlines + mesh -------------------------------------- */
.section--ink {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 80% -20%, color-mix(in srgb, var(--blue) 30%, transparent), transparent 62%),
    linear-gradient(155deg, #070b10, #0a4a4d 70%, #0d3d55);
}
.section--ink::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 4px);
  opacity: .5;
}
.section--ink::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 220, 225, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 220, 225, .09) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent 75%);
}
.section--ink > * { position: relative; z-index: 1; }

/* --- filters / toolbar as a control panel ------------------------------- */
.filters, .toolbar .search input, .select-wrap select {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(8px);
}
.filters { border-color: var(--line-strong); }
.filters__group h4 { color: var(--blue); }

/* --- founder message: framed like a terminal window --------------------- */
.fmsg { position: relative; border-color: var(--line-strong); }
.fmsg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--teal) 55%, transparent), transparent 45%, color-mix(in srgb, var(--blue) 45%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* --- drawers / modal on the dark scale ---------------------------------- */
.drawer, .modal__panel { border-color: var(--line-strong); }
.modal__panel { box-shadow: var(--shadow-lg), 0 0 0 1px color-mix(in srgb, var(--teal) 20%, transparent); }

/* --- misc glow ---------------------------------------------------------- */
.icon-btn:hover { box-shadow: 0 0 18px color-mix(in srgb, var(--teal) 45%, transparent); }
.totop { box-shadow: var(--shadow-md), 0 0 22px color-mix(in srgb, var(--teal) 45%, transparent); }
.tag--new, .tag--best { box-shadow: 0 0 14px color-mix(in srgb, var(--teal) 34%, transparent); }

@media (prefers-reduced-motion: reduce) {
  .rail::after, .hud__led { animation: none; }
  .btn::after { display: none; }
}

@media print {
  .header, .footer, .totop, .wa-float, .tray, .drawer, .scrim { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
