/* 24DEPi Systems – showroom
   Direction: dark premium built from the logo.
   Neutral black + brushed silver. ONE emotion accent (electric blue, from the logo).
   ONE action colour (WhatsApp green) used only for order buttons. */
:root {
  --bg: #000;
  --surface-1: #0d0e11;
  --surface-2: #16181c;
  --surface-3: #22252b;
  --line: #2a2d33;
  --text: #f2f4f7;
  --text-2: #b9bec7;
  --text-3: #8a909a;
  --silver: #c9ced6;
  --accent: #2f7bff;          /* electric blue from the logo */
  --action: #25d366;          /* WhatsApp: order buttons only */
  --on-action: #04170b;

  --font-display: "Chakra Petch", "Bahnschrift", "Arial Narrow", sans-serif;
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --cut: 14px;                /* chamfered corner, echoes the octagon in the logo */
  --radius-btn: 999px;
  --max: 1200px;
  --gutter: 16px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-1: 120ms; --dur-2: 200ms; --dur-3: 320ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
p, li { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.sample-flag {
  position: relative; z-index: 60;
  background: var(--surface-2); color: var(--text-2);
  font-size: 13px; text-align: center; padding: 8px var(--gutter);
}

/* ---------- Top bar (full width, stays on screen) ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgb(0 0 0 / .86);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); padding: 7px 0; }
.brand span { font: 400 16px/1 var(--font-display); letter-spacing: .06em; white-space: nowrap; }
.brand em { font-style: normal; color: var(--text-3); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; margin-left: 4px; }
.topnav { display: flex; gap: 4px; margin-left: auto; }
.topnav a {
  font: 600 15px/1 var(--font); text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-2); text-decoration: none; padding: 25px 14px 23px;
  border-bottom: 2px solid transparent; transition: color var(--dur-2), border-color var(--dur-2);
}
.topnav a:hover { color: var(--text); border-color: var(--accent); }
.top-cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--action); color: var(--on-action); text-decoration: none; font: 600 15px/1 var(--font);
  transition: filter var(--dur-2), transform var(--dur-1) var(--ease-out);
}
.top-cta:hover { filter: brightness(1.12); }
.top-cta:active { transform: scale(.97); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: var(--radius-btn);
  font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--dur-1) var(--ease-out), background var(--dur-2), border-color var(--dur-2), filter var(--dur-2);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-light { background: var(--text); color: #000; }
.btn-ghost { background: transparent; border-color: rgb(255 255 255 / .35); color: var(--text); }
.btn-ghost:hover { border-color: rgb(255 255 255 / .8); }
.btn-wa { background: var(--action); color: var(--on-action); }
.btn-wa:hover { filter: brightness(1.08); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }

/* ---------- Hero: built around the logo ---------- */
.hero {
  position: relative; min-height: min(100svh, 980px);
  display: grid; align-content: center; justify-items: center;
  padding: 120px var(--gutter) 72px; text-align: center; overflow: hidden;
}
.hero::after { /* one thin blue scan line, like the line under the logo */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  opacity: .7;
}
/* logo is a bit wider than the screen on small widths (its black edges fade out); negative side margins keep it centred */
.logo-stage { --lw: min(760px, 112vw); position: relative; width: var(--lw); margin: -4% calc((100% - var(--lw)) / 2) -7%; }
.hero-logo {
  width: 100%; height: auto;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 62% at 50% 50%, #000 62%, transparent 100%);
}
.hero-text { position: relative; max-width: 760px; }
.hero h1 {
  font-size: clamp(26px, 3.8vw, 42px); line-height: 1.1; letter-spacing: -.01em;
}
.hero h1 span { display: inline-block; }
.hero h1 span { color: var(--text-3); }
.hero-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.hero-stats {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  font-size: 14px; color: var(--text-3);
}
.hero-stats li {
  padding: 10px 16px; background: var(--surface-1);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.hero-stats b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; margin-right: 4px; }

/* ---------- Section heads ---------- */
.sec-head { margin-bottom: 28px; }
.eyebrow {
  font: 600 12px/1 var(--font-display); letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1; letter-spacing: -.01em; }

/* ---------- Catalog ---------- */
.catalog { padding: 112px 0 96px; }

.tabs {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 20px;
}
.tab {
  appearance: none; border: 0; cursor: pointer; text-align: left; padding: 0;
  display: flex; flex-direction: column;
  background: var(--surface-1); color: var(--text-2);
  font: 500 15px/1.2 var(--font);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background var(--dur-2), color var(--dur-2);
}
.tab-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.tab-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 600ms var(--ease-out), opacity var(--dur-2); opacity: .72; }
.tab:hover .tab-img img { transform: scale(1.18); opacity: 1; }
.tab[aria-selected="true"] .tab-img img { opacity: 1; }
.tab-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px; }
.tab-name { min-width: 0; }
.tab:hover { background: var(--surface-2); color: var(--text); }
.tab-num { font: 600 13px/1 var(--font-display); color: var(--text-3); }
.tab-count {
  font: 600 13px/1 var(--font); font-variant-numeric: tabular-nums;
  min-width: 28px; padding: 6px 8px; text-align: center; border-radius: 999px;
  background: var(--surface-3); color: var(--text-2);
}
.tab[aria-selected="true"] .tab-row { background: var(--text); color: #000; }
.tab[aria-selected="true"] .tab-num { color: #1a4fd0; } /* darker logo blue: readable on the light tab */
.tab[aria-selected="true"] .tab-count { background: #000; color: #fff; }

.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px;
}

/* Product card */
.card {
  position: relative; display: flex; flex-direction: column; cursor: pointer;
  background: var(--surface-1);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  opacity: 0; transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out), background var(--dur-2);
  transition-delay: calc(var(--i, 0) * 50ms), calc(var(--i, 0) * 50ms), 0ms;
}
.card.in { opacity: 1; transform: none; }
.card:hover { background: var(--surface-2); }
.card:hover .ph img { transform: scale(1.04); }
.card:focus-visible { outline: none; background: var(--surface-2); box-shadow: inset 0 0 0 2px var(--accent); }

.ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0a0c10; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.ph-tag {
  position: absolute; left: 10px; bottom: 10px;
  font: 500 11px/1 var(--font); color: var(--text-3);
  background: rgb(0 0 0 / .6); padding: 6px 8px; border-radius: 999px;
}
.state {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 12px/1 var(--font); padding: 7px 10px; border-radius: 999px;
  background: rgb(0 0 0 / .7); color: var(--text);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.state i { width: 7px; height: 7px; border-radius: 50%; background: var(--action); }

.c-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.c-body h3 { font-size: 19px; line-height: 1.2; letter-spacing: 0; }
.c-sum { font-size: 14px; color: var(--text-2); line-height: 1.45; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.chips li {
  font: 500 12px/1 var(--font); color: var(--text-2);
  padding: 6px 9px; background: var(--surface-3); border-radius: 6px;
}
.c-foot {
  margin-top: auto; padding-top: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.price { font: 600 22px/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.price.req { font-size: 15px; color: var(--text-2); }
.qty { display: block; font: 500 12px/1 var(--font); color: var(--text-3); margin-top: 6px; }

.ord {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--action); color: var(--on-action);
  font: 600 14px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: transform var(--dur-1) var(--ease-out), filter var(--dur-2);
}
.ord:hover { filter: brightness(1.08); }
.ord:active { transform: scale(.97); }
.ord.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35); }
.ord.ghost:hover { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .8); filter: none; }

/* Sold */
.card.sold .ph img { filter: grayscale(1) brightness(.55); }
.card.sold .state { background: rgb(0 0 0 / .8); color: var(--text-2); }
.card.sold .state i { background: var(--text-3); }
.card.sold h3, .card.sold .c-sum { color: var(--text-3); }
.card.sold .price { color: var(--text-3); text-decoration: line-through; text-decoration-thickness: 1px; }

.empty { color: var(--text-3); padding: 40px 0; }

/* ---------- Part finder ---------- */
.finder { padding: 96px 0; border-top: 1px solid var(--line); }
.finder-in { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px 56px; align-items: start; }
.finder-intro h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1; }
.finder-intro p { color: var(--text-2); margin-top: 18px; max-width: 380px; }
.finder-form { display: grid; gap: 28px; }
.q { border: 0; margin: 0; padding: 0; min-width: 0; }
.q[hidden] { display: none; }
.q legend {
  display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 14px;
  font: 600 19px/1.2 var(--font-display); color: var(--text);
}
.q legend em { font-style: normal; }
.q legend span {
  display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0;
  font: 600 14px/1 var(--font-display); color: var(--accent); background: var(--surface-2);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  appearance: none; border: 0; cursor: pointer; text-align: left;
  display: inline-flex; flex-direction: column; justify-content: center; gap: 3px;
  min-height: 48px; padding: 10px 18px; border-radius: 12px;
  background: var(--surface-2); color: var(--text);
  font: 500 15px/1.15 var(--font);
  transition: background var(--dur-2), color var(--dur-2), transform var(--dur-1) var(--ease-out);
}
.chip small { font-size: 12px; color: var(--text-3); }
.chip:hover { background: var(--surface-3); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--text); color: #000; }
.chip[aria-pressed="true"] small { color: #4a4f57; }
.select {
  width: 100%; max-width: 420px; min-height: 48px; padding: 0 44px 0 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  font: 500 15px/1 var(--font); appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat;
}
.q-hint { font-size: 13px; color: var(--text-3); margin-top: 10px; }

.finder-out { grid-column: 1 / -1; background: var(--surface-1); padding: 28px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  animation: rise var(--dur-3) var(--ease-out); }
.finder-out[hidden] { display: none; }
.fo-head h3 { font-size: 24px; }
.fo-head p { color: var(--text-2); font-size: 15px; margin-top: 6px; }
.fo-head b { color: var(--text); }
.fo-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; }
.fo-row {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.fo-open { padding: 0; border: 0; background: #0a0c10; cursor: pointer; width: 96px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; }
.fo-open img { width: 100%; height: 100%; object-fit: cover; }
.fo-noimg { display: block; width: 100%; height: 100%; }
.fo-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fo-name {
  appearance: none; border: 0; background: none; padding: 0; cursor: pointer; text-align: left;
  font: 600 16px/1.25 var(--font-display); color: var(--text);
}
.fo-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.fo-fact { font-size: 13px; color: var(--text-2); }
.fo-warn { font-size: 12px; color: #f5b14a; }
.fo-buy { display: flex; align-items: center; gap: 14px; }
.fo-price { font: 600 18px/1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.fo-reset {
  appearance: none; border: 0; background: none; cursor: pointer; color: var(--text-2);
  font: 500 14px/1 var(--font); padding: 15px 10px; text-decoration: underline; text-underline-offset: 4px;
}
.fo-reset:hover { color: var(--text); }

/* ---------- How to order ---------- */
.how { padding: 96px 0; background: var(--surface-1); }
.how-in { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.how h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.steps li {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: baseline;
  padding: 22px 0; border-top: 1px solid var(--line);
  color: var(--text-2); font-size: 16px;
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps span { font: 600 28px/1 var(--font-display); color: var(--accent); font-variant-numeric: tabular-nums; }
.steps b { display: block; color: var(--text); font: 600 20px/1.3 var(--font-display); margin-bottom: 4px; }

/* ---------- Ask block (CTA) ---------- */
.ask { padding-top: 72px; padding-bottom: 72px; }
.ask-box {
  background: var(--silver); color: #000;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 32px 40px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.ask-box h2 { font: 700 clamp(24px, 3vw, 34px)/1.1 var(--font-display); }
.ask-box p { font-size: 16px; color: #2b2e33; margin-top: 6px; }
.ask-box .btn { flex-shrink: 0; }

/* ---------- Footer ---------- */
.footer { padding-top: 72px; border-top: 1px solid var(--line); overflow: hidden; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; font-size: 15px; color: var(--text-2); }
.foot-cols a { text-decoration: none; display: inline-block; padding: 12px 0; margin: -12px 0; }
.foot-cols a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.foot-label { font: 600 12px/1 var(--font-display); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.foot-label em { font-style: normal; text-transform: none; letter-spacing: 0; }
.foot-big { display: inline-block; font: 600 32px/1 var(--font-display); color: var(--action) !important; }
.foot-small { font-size: 13px; color: var(--text-3); margin-top: 8px; }
.foot-legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-3);
}
.foot-legal a { text-decoration: none; padding: 14px 0; margin: -14px 0; }
.foot-legal a:hover { color: var(--text); }
.foot-word {
  font: 700 clamp(32px, 9.2vw, 128px)/.8 var(--font-display);
  letter-spacing: -.02em; white-space: nowrap; text-align: center;
  color: var(--surface-2); margin: 8px 0 -.1em; user-select: none;
}

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--action); color: var(--on-action);
  box-shadow: 0 8px 24px rgb(0 0 0 / .45);
  transition: transform var(--dur-2) var(--ease-out);
}
.fab:hover { transform: translateY(-2px); }
.fab:active { transform: scale(.95); }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 16px;
  background: rgb(0 0 0 / .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fade var(--dur-2) var(--ease-out);
}
.modal[hidden] { display: none; }
.m-box {
  position: relative; width: min(960px, 100%); max-height: calc(100svh - 32px); overflow: auto;
  display: grid; grid-template-columns: 1.1fr 1fr;
  background: var(--surface-1);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  animation: rise var(--dur-3) var(--ease-out);
}
.m-box > .ph { aspect-ratio: auto; min-width: 0; min-height: 320px; }
.m-box > .ph img { position: absolute; inset: 0; }
.m-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.m-status { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--font); color: var(--text-2); }
.m-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--action); }
.m-status.no i { background: var(--text-3); }
.m-body h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.1; padding-right: 36px; }
.m-price { font: 600 34px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.m-price.req { font-size: 20px; color: var(--text-2); }
.m-sum { color: var(--text-2); }
.specs { margin: 4px 0 0; display: grid; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 40% 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--text-3); }
.specs dd { margin: 0; color: var(--text); }
.specs div:first-child dd { color: var(--text); font-weight: 600; }
.m-note { font-size: 13px; color: var(--text-3); }
.m-body .ord { align-self: flex-start; min-height: 52px; padding: 0 26px; font-size: 15px; margin-top: 6px; }
.close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgb(0 0 0 / .7); color: var(--text); font: 400 26px/1 var(--font);
  transition: background var(--dur-2);
}
.close:hover { background: var(--surface-3); }

@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ---------- Motion (only when motion.js adds .motion-on, i.e. JS on and motion allowed) ---------- */
.motion-on .hero-logo { animation: power-on 1.4s var(--ease-out) both; }
@keyframes power-on { from { opacity: 0; filter: brightness(.2); transform: scale(.97); } 60% { opacity: 1; } }
.motion-on .hero-text { animation: rise 900ms var(--ease-out) .5s both; }
.logo-stage { transition: transform 500ms var(--ease-out); transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* reveal on scroll */
.motion-on .rv { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.motion-on .rv.in { opacity: 1; transform: none; }

/* selected category part floats gently */
.motion-on .tab[aria-selected="true"] .tab-img img { animation: float 4.5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: scale(1.12) translateY(0); } 50% { transform: scale(1.12) translateY(-6px); } }

/* footer letters */
.foot-word .ch { display: inline-block; }
.motion-on .foot-word .ch { transform: translateY(60%); opacity: 0; transition: transform 800ms var(--ease-out), opacity 800ms var(--ease-out); transition-delay: calc(var(--k) * 35ms); }
.motion-on .foot-word.in .ch { transform: none; opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .tabs { grid-template-columns: repeat(5, minmax(140px, 1fr)); overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .tabs::-webkit-scrollbar { display: none; }
  .how-in { grid-template-columns: 1fr; gap: 28px; }
  .finder-in { grid-template-columns: 1fr; gap: 32px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .m-box { grid-template-columns: 1fr; }
  .m-box > .ph { aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 640px) {
  .tabs { grid-template-columns: repeat(5, 164px); }
  .tab-num { display: none; }
  .tab-row { grid-template-columns: 1fr auto; padding: 10px 12px; font-size: 14px; }
  .tab-name { overflow-wrap: anywhere; }
  .grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .c-body { padding: 12px 12px 14px; gap: 8px; }
  .c-body h3 { font-size: 15px; }
  .c-sum, .chips { display: none; }
  .c-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .price { font-size: 19px; }
  .ord { width: 100%; }
  .state { top: 8px; left: 8px; font-size: 11px; padding: 6px 8px; }
  .foot-cols { grid-template-columns: 1fr; gap: 28px; }
  .ask { padding-top: 56px; padding-bottom: 56px; }
  .finder { padding: 64px 0; }
  .chip { flex: 1 1 calc(50% - 4px); }
  .finder-out { padding: 20px 16px; }
  .fo-row { grid-template-columns: 72px 1fr; gap: 12px; }
  .fo-open { width: 72px; }
  .fo-buy { grid-column: 2; justify-content: space-between; }
  .fo-buy .ord { width: auto; }
  .fo-actions .btn { width: 100%; }
  .ask-box { flex-direction: column; align-items: stretch; text-align: left; padding: 24px 20px; gap: 18px; }
  .m-body { padding: 22px 18px 26px; }
}

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

/* ================= v2 (client feedback 2026-11-23) ================= */
:root {
  --blue: #0b5ce6;            /* logo blue (#0848C8 core, #0898F8 glow), readable with white text */
  --accent: #3b9bff;          /* logo glow, for small blue text on black */
  --action: var(--blue);      /* order buttons: logo blue instead of WhatsApp green */
  --on-action: #fff;
  --font-display: "Michroma", "Bahnschrift", "Segoe UI", sans-serif;  /* wide letters like SYSTEMS in the logo */
}
/* wide display font only for big headings; everything small stays in the plain, readable font */
h1, h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; }
h3, .fo-name, .q legend, .q legend span, .foot-label, .foot-big, .price, .m-price, .fo-price, .tab-num, .steps span, .steps b, .eyebrow { font-family: var(--font); }
.price, .m-price, .fo-price { font-weight: 700; }

/* WhatsApp icon on every order / chat button */
.ord::before, .btn-wa::before, .top-cta::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url(images/wa.svg) center / contain no-repeat; mask: url(images/wa.svg) center / contain no-repeat;
}
.ord, .btn-wa { gap: 8px; }
.ord:hover, .btn-wa:hover, .nav-cta:hover { filter: brightness(1.12); }
.fab { background: var(--blue); color: #fff; }

/* hero: no overlap with the logo, no empty screen below */
.hero { min-height: 0; padding: 40px var(--gutter) 72px; }
.logo-stage { margin-top: 0; margin-bottom: 8px; }
.hero h1 { font-size: clamp(20px, 2.6vw, 30px); line-height: 1.35; }
.hero h1 span { display: block; margin-top: 10px; font: 500 clamp(17px, 2vw, 22px)/1.4 var(--font); text-transform: none; letter-spacing: 0; color: var(--text-3); }

/* section headings: smaller, centred */
.sec-head { text-align: center; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(22px, 3vw, 32px); line-height: 1.2; }
.finder-intro h2, .how h2 { font-size: clamp(22px, 3vw, 32px); line-height: 1.3; }

/* category tiles: whole picture visible, name in capitals in the middle, no 01–05 */
.tab-num { display: none; }
.tab-img { aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 55%, #0d1626, #000 72%); }
.tab-img img { object-fit: contain; transform: none; padding: 8%; opacity: .85; mix-blend-mode: screen; } /* screen: the picture's black background disappears on any tile colour */
.state i, .m-status i { background: #25d366; } /* small green "in stock" dot stays green */
.m-status.no i { background: var(--text-3); }
.logo-stage { --lw: min(760px, 100vw); }
.foot-word { font-size: clamp(22px, 6.2vw, 88px); letter-spacing: 0; }
.tab:hover .tab-img img { transform: scale(1.05); opacity: 1; }
.tab-row { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 4px; padding: 12px 8px 14px; min-height: 0; }
.tab-name { font: 600 14px/1.25 var(--font); text-transform: uppercase; letter-spacing: .08em; }
.tab-count { background: none; padding: 0; min-width: 0; border-radius: 0; font: 500 12px/1 var(--font); color: var(--text-3); }
.tab[aria-selected="true"] { background: var(--blue); }
.tab[aria-selected="true"] .tab-img { background: radial-gradient(circle at 50% 55%, #2a8cff, #0b5ce6 45%, #06307a 100%); }
.tab[aria-selected="true"] .tab-row { background: var(--blue); color: #fff; }
.tab[aria-selected="true"] .tab-count { background: none; color: #dbe7ff; }
@keyframes float2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.motion-on .tab[aria-selected="true"] .tab-img img { animation-name: float2; opacity: 1; }

/* how to order: numbers centred between the lines, plain readable titles */
.steps li { align-items: center; }
.steps span { font-weight: 700; color: var(--accent); }
.steps b { font: 600 17px/1.3 var(--font); text-transform: uppercase; letter-spacing: .06em; }

/* "Can't find your part?": brushed metal grey like the logo, not white */
.ask-box { background: linear-gradient(135deg, #7f858d 0%, #b3b9c1 46%, #8a9098 54%, #6f757d 100%); }
.ask-box h2 { font-size: clamp(18px, 2.2vw, 24px); color: #0b0c0f; }
.ask-box p { color: #15181c; }
.ask-box .btn-wa { box-shadow: 0 6px 16px rgb(0 0 0 / .25); }

.foot-big { color: var(--accent) !important; font-weight: 700; }
.foot-label { font-weight: 600; }

@media (max-width: 980px) {
  .tabs { grid-template-columns: repeat(5, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
}
@media (max-width: 760px) {
  .topnav a { font-size: 12px; letter-spacing: .05em; padding: 25px 7px 23px; }
  .brand em { display: none; }
  .topbar-in { gap: 8px; }
}
@media (max-width: 640px) {
  .tabs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tab-row { padding: 10px 6px 12px; }
  .tab-name { font-size: 11px; letter-spacing: .02em; overflow-wrap: normal; word-break: keep-all; }
}
@media (max-width: 420px) {
  .top-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .top-cta { padding: 0 13px; }
  .brand span { display: none; }
}

/* ---------- rows: 5 products per row, an incomplete last row is always centred ---------- */
:root { --max: 1280px; }
.grid { --cols: 5; --g: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--g); }
.grid > .card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--g)) / var(--cols)); min-width: 0; }
.c-body { padding: 14px 14px 16px; }
.c-body h3 { font-size: 17px; overflow-wrap: anywhere; }
.c-foot { flex-wrap: wrap; }
.c-foot .ord { padding: 0 15px; }
@media (max-width: 1079px) { .grid { --cols: 2; } }
@media (max-width: 640px) {
  .grid { --g: 8px; }
  .c-body { padding: 12px 12px 14px; }
  .c-body h3 { font-size: 15px; }
  .c-foot { flex-wrap: nowrap; }
  .tabs { display: flex; flex-wrap: wrap; justify-content: center; }
  .tab { flex: 0 0 calc((100% - 16px) / 3); }
}

/* ================= v3: search first, equal spacing, blue dividers ================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
section[id], footer[id] { scroll-margin-top: 69px; }

/* logo: trim the empty black above and below it, fade the edges into the page */
.logo-stage { margin-bottom: 20px; }
.hero-logo {
  aspect-ratio: 1536 / 710; height: auto; object-fit: cover; object-position: 50% 42%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(transparent, #000 5%, #000 95%, transparent);
          mask-composite: intersect;
}

/* one rhythm: the same space above and below every blue line */
:root { --sec: 64px; }
.hero { padding: 28px var(--gutter) var(--sec); }
.finder, .catalog { padding: var(--sec) 0; border: 0; }
.how { padding: var(--sec) 0; }
.ask { padding-top: var(--sec); padding-bottom: var(--sec); }
.footer { padding-top: var(--sec); border-top: 0; position: relative; }
.finder, .how { position: relative; }
.hero::after, .finder::after, .how::before, .footer::before {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; opacity: .7;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
}
.hero::after, .finder::after { bottom: 0; top: auto; }
.how::before, .footer::before { top: 0; bottom: auto; }

/* search + questions, centred above the products */
.finder-in { display: block; max-width: 860px; }
.finder-intro { text-align: center; }
.finder-intro p { max-width: 520px; margin: 20px auto 0; }
.search { margin-top: 22px; }
.search input {
  width: 100%; min-height: 56px; padding: 0 20px 0 52px; border: 1px solid #4b5563; border-radius: 12px;
  background: var(--surface-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b9bff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") 18px 50% / 22px no-repeat;
  color: var(--text); font: 500 17px/1 var(--font); -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: var(--text-3); opacity: 1; }
.search input:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: transparent; }
.search input::-webkit-search-cancel-button { filter: invert(1); }
#search-out { margin-top: 12px; text-align: left; }
.finder-form { margin-top: 24px; gap: 24px; }
.finder-form .q legend { width: 100%; justify-content: center; }
.finder-form .chips-row { justify-content: center; }
.finder-form .q-hint { text-align: center; }
.finder-form .select { display: block; margin: 0 auto; }
#finder-out { margin-top: 28px; }
.fo-row.sold .fo-name, .fo-row.sold .fo-price { color: var(--text-3); }
.fo-row.sold .fo-price { text-decoration: line-through; }
.sec-head { margin-bottom: 26px; }

@media (max-width: 640px) {
  :root { --sec: 40px; }
  .hero { padding-top: 20px; }
  .hero-btns { margin-top: 22px; }
  .hero-stats { margin-top: 22px; }
  .chip { flex: 1 1 calc(50% - 4px); align-items: center; text-align: center; }
  .fab { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}

/* ---------- all big headings share one size ---------- */
.hero h1, .finder-intro h2, .sec-head h2, .how h2 { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; letter-spacing: .03em; }

/* ================= 6 categories ================= */
.tabs { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1079px) { .tabs { grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }
@media (max-width: 640px) { .tabs { display: flex; flex-wrap: wrap; justify-content: center; } }
