/* ============================================================
   Super Vision Trading Company
   Design direction: "spec plate" — the engraved data block on a
   camera body. Anodised graphite and ground-glass grey, industrial
   grotesk for headlines, monospace for anything that is data.
   ============================================================ */

/* ---------- 1. Tokens ---------- */

:root {
  /* Surfaces: cool, instrument-like. Deliberately not warm cream. */
  --ink:        #16181c;
  --ink-2:      #3a4048;
  --muted:      #6e767b;
  --surface:    #eceeec;
  --surface-2:  #e3e6e3;
  --panel:      #ffffff;
  --edge:       #d3d8d4;
  --edge-2:     #b9c0ba;

  /* Anodised teal. Used for actions and emphasis only. */
  --accent:     #0b4f4a;
  --accent-2:   #083b37;
  --accent-pale:#e0eae8;

  /* Record-light red. Used for one thing: stock status. */
  --signal:     #d0342c;
  --amber:      #b06f10;

  --radius:     3px;
  --radius-lg:  6px;

  --font-display: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --cjk-hant: "PingFang HK", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
  --cjk-hans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Heiti SC", sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --maxw: 1240px;
  --header-h: 68px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Chinese text needs looser leading and no negative tracking. */
html[lang="zh-Hant"] body { font-family: var(--font-body), var(--cjk-hant); }
html[lang="zh-Hans"] body { font-family: var(--font-body), var(--cjk-hans); }
html[lang="zh-Hant"] h1, html[lang="zh-Hant"] h2, html[lang="zh-Hant"] h3,
html[lang="zh-Hant"] .hero__title, html[lang="zh-Hant"] .display {
  font-family: var(--font-display), var(--cjk-hant);
  letter-spacing: 0;
}
html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2, html[lang="zh-Hans"] h3,
html[lang="zh-Hans"] .hero__title, html[lang="zh-Hans"] .display {
  font-family: var(--font-display), var(--cjk-hans);
  letter-spacing: 0;
}
html[lang^="zh"] p,
html[lang^="zh"] li { line-height: 1.85; }
html[lang^="zh"] .eyebrow { letter-spacing: 0.06em; }

/* ---------- 2. Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

/* Author display rules (.card is display:flex) outrank the browser's
   [hidden] rule, so state it explicitly or filtered cards stay visible. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

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

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

/* ---------- 3. Layout primitives ---------- */

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

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--panel { background: var(--panel); }
.section--dark { background: var(--ink); color: var(--surface); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- 4. Type utilities ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--edge-2);
  flex: none;
}
.section--dark .eyebrow { color: #8d968f; }
.section--dark .eyebrow::before { background: #3d443f; }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5.6vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); letter-spacing: -0.015em; }

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--ink-2);
  max-width: 56ch;
}
.section--dark .lead { color: #b6beb8; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

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

/* ---------- 5. Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.82rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); }

.btn--outline { border-color: var(--edge-2); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--onDark { background: var(--surface); color: var(--ink); }
.btn--onDark:hover { background: #fff; }

.btn--ghostDark { border-color: #3d443f; color: var(--surface); }
.btn--ghostDark:hover { border-color: var(--surface); background: rgba(255,255,255,0.06); }

.btn--sm { padding: 0.55rem 0.9rem; font-size: 0.82rem; }

/* Text link with an underline that draws itself */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  position: relative;
  padding-bottom: 2px;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.tlink:hover::after { transform: scaleX(1); }
.tlink svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.tlink:hover svg { transform: translateX(3px); }

/* ---------- 6. Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(236, 238, 236, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), height 0.3s var(--ease);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  transition: transform 0.08s linear;
}
.site-header.is-stuck {
  height: 58px;
  border-bottom-color: var(--edge);
  background: rgba(236, 238, 236, 0.94);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
  margin-right: auto;
  flex: none;
}
.brand__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 450;
  color: var(--ink-2);
  position: relative;
  padding-block: 0.35rem;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; flex: none; }

/* Language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid var(--edge-2);
  border-radius: var(--radius);
  padding: 0.44rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.lang__btn:hover { border-color: var(--ink); }
.lang__btn svg { width: 11px; height: 11px; transition: transform 0.25s var(--ease); }
.lang[data-open="true"] .lang__btn svg { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 156px;
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(22, 24, 28, 0.12);
  padding: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.lang[data-open="true"] .lang__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.7rem;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.86rem;
  transition: background-color 0.15s var(--ease);
}
.lang__menu a:hover { background: var(--surface); }
.lang__menu a[aria-current="true"] { color: var(--accent); font-weight: 500; }
.lang__menu a span { font-family: var(--font-mono); font-size: 0.62rem; color: var(--muted); letter-spacing: 0.1em; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--edge-2);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: background-color 0.2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.28s var(--ease);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(5px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */

.hero {
  padding-top: calc(var(--header-h) + clamp(3rem, 9vw, 6.5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}

.hero__title {
  font-size: clamp(2.4rem, 6.4vw, 5.1rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  white-space: pre-line;
  margin-bottom: 1.5rem;
}

.hero__sub { max-width: 46ch; margin-bottom: 2rem; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- 8. Spec plate — the signature element ---------- */

.plate {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.plate__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plate__body { padding: 0.35rem 1rem 0.9rem; }

.plate__row {
  display: grid;
  grid-template-columns: minmax(88px, 33%) 1fr;
  gap: 1rem;
  padding: 0.68rem 0;
  border-bottom: 1px solid var(--edge);
  align-items: baseline;
}
.plate__row:last-child { border-bottom: 0; }

.plate__key {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.plate__val { font-size: 0.9rem; color: var(--ink); }
.plate__val a { color: var(--accent); text-decoration: none; }
.plate__val a:hover { text-decoration: underline; }

.plate__foot { padding: 0.9rem 1rem; border-top: 1px solid var(--edge); background: var(--surface); }

/* Status dot — the only place --signal appears */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.status--in-stock { color: var(--accent); }
.status--limited  { color: var(--amber); }
.status--preorder { color: var(--muted); }
.status--inquire  { color: var(--muted); }
.plate__head .status--in-stock { color: #6fd8b5; }
.plate__head .status--limited  { color: #e5b45f; }
.plate__head .status--preorder,
.plate__head .status--inquire  { color: #9aa39c; }

.status--live::before { animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.82); }
}

/* ---------- 9. Ticker ---------- */

.ticker {
  border-block: 1px solid var(--edge);
  background: var(--panel);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.ticker__label {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0.7rem var(--gutter);
  background: var(--ink);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__viewport { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker__track {
  display: flex;
  gap: 2.5rem;
  padding-inline: 2.5rem;
  white-space: nowrap;
  animation: marquee 44s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.ticker__item b { font-weight: 500; color: var(--ink); }
.ticker__item i { font-style: normal; color: var(--muted); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 10. Product cards ---------- */

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.card:hover {
  border-color: var(--edge-2);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(22, 24, 28, 0.09);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.card__media::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -55%;
  z-index: 1;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.48), transparent);
  transform: skewX(-16deg);
  transition: left 0.75s var(--ease-out);
  pointer-events: none;
}
.card:hover .card__media::after { left: 125%; }
.card__media img,
.card__media svg {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}
.card__media img.is-contain {
  object-fit: contain;
  padding: clamp(0.5rem, 2vw, 1.1rem);
  background: #fff;
}
.card:hover .card__media img,
.card:hover .card__media svg { transform: scale(1.045); }

.card__tag {
  position: absolute;
  top: 0.7rem; left: 0.7rem;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 0.3rem 0.62rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.card__body { padding: 1rem 1.05rem 1.15rem; display: flex; flex-direction: column; flex: 1; gap: 0.5rem; }
.card__brand {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}
.card__foot {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.card__code { font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted); letter-spacing: 0.06em; }

/* ---------- 11. Filters ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.filters__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.35rem;
}
.chip {
  border: 1px solid var(--edge-2);
  background: transparent;
  border-radius: 999px;
  padding: 0.44rem 0.95rem;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.result-count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.empty-state {
  border: 1px dashed var(--edge-2);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--muted);
}

/* ---------- 12. Product detail ---------- */

.detail {
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}
.detail__grid > * { min-width: 0; }
.detail__media {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.detail__media img, .detail__media svg { width: 100%; height: 100%; object-fit: cover; }
.detail__media img.is-contain {
  object-fit: contain;
  padding: clamp(0.75rem, 3vw, 2rem);
  background: #fff;
}

.detail__title { font-size: clamp(1.8rem, 3.6vw, 2.9rem); margin-block: 0.6rem 0.8rem; }
.detail__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-block: 1.6rem; }

/* Product choices use the same instrument-panel language as the spec plates,
   but make the next action unmistakable. */
.configurator {
  min-width: 0;
  margin-block: 1.6rem;
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  background:
    linear-gradient(135deg, rgba(11,79,74,0.055), transparent 42%),
    var(--panel);
  border: 1px solid var(--edge-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 42px rgba(22,24,28,0.07);
}
.configurator__head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(15rem, 1.2fr);
  gap: 1.25rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--edge);
}
.configurator__head h2 { margin-top: 0.35rem; font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
.configurator__head p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.configurator__group {
  min-width: 0;
  margin: 0;
  padding: 1.15rem 0 0;
  border: 0;
}
.configurator__group legend,
.quantity-field > span {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.choice-row,
.colour-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice,
.colour-choice {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.choice input,
.colour-choice input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}
.choice span {
  display: block;
  padding: 0.62rem 0.78rem;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease-out);
}
.choice:hover span { border-color: var(--edge-2); transform: translateY(-1px); }
.choice input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.choice input:focus-visible + span,
.colour-choice input:focus-visible + .colour-choice__swatch {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.colour-choice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 7.4rem;
  padding: 0.48rem 0.62rem;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  font-size: 0.76rem;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), transform 0.22s var(--ease-out);
}
.colour-choice:hover { border-color: var(--edge-2); transform: translateY(-1px); }
.colour-choice:has(input:checked) {
  background: var(--panel);
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.colour-choice__swatch {
  inline-size: 1.05rem;
  block-size: 1.05rem;
  flex: none;
  background: var(--swatch);
  border: 1px solid rgba(22,24,28,0.2);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35);
}
.configurator__footer {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  align-items: end;
  margin-top: 1.15rem;
}
.quantity-field input {
  width: 100%;
  min-height: 2.65rem;
  padding: 0.55rem 0.7rem;
  background: var(--panel);
  border: 1px solid var(--edge-2);
  border-radius: var(--radius);
  font: 500 0.82rem var(--font-mono);
}
.configurator__summary {
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border-left: 2px solid var(--accent);
}
.configurator__summary span {
  display: block;
  font: 0.58rem/1.3 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.configurator__summary strong {
  display: block;
  overflow: hidden;
  margin-top: 0.2rem;
  font: 500 0.75rem/1.4 var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.configurator__cta {
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 1.25rem;
}
.crumb:hover { color: var(--accent); }
.crumb svg { width: 12px; height: 12px; transition: transform 0.25s var(--ease); }
.crumb:hover svg { transform: translateX(-3px); }

/* ---------- 13. Editorial content (privacy / terms / about) ---------- */

.prose { max-width: 68ch; }
.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  margin-block: 2.4rem 0.9rem;
}
.prose h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-block: 1.9rem 0.6rem;
}
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.prose a { color: var(--accent); }

/* ---------- 14. Feature list ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 1px;
  background: var(--edge);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature { background: var(--panel); padding: clamp(1.4rem, 2.6vw, 2.1rem); }
.feature__title { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.6rem; }
.feature p { color: var(--ink-2); font-size: 0.93rem; margin: 0; }

/* ---------- 15. Contact ---------- */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.field { margin-bottom: 1.1rem; }
.field label {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.42rem;
}
.field label em { font-style: normal; color: var(--edge-2); }
.field input,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--edge-2);
  border-radius: var(--radius);
  background: var(--panel);
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-pale);
}
.field textarea { resize: vertical; min-height: 132px; line-height: 1.6; }

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  border-left: 2px solid var(--edge-2);
  padding-left: 0.9rem;
  margin-top: 1.4rem;
}
.form-note strong { color: var(--ink-2); font-weight: 500; display: block; margin-bottom: 0.3rem; }

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--ok  { background: var(--accent-pale); color: var(--accent-2); }
.form-status--err { background: #fbe9e8; color: #9c2620; }

.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.map-embed {
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 16 / 10;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 15b. Sourcing / what we buy ---------- */

.buy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}
.brand-row__item {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 0.85rem 1.15rem;
  border-right: 1px solid var(--edge);
}
.brand-row__item:last-child { border-right: 0; }

@media (max-width: 960px) {
  .buy-grid { grid-template-columns: 1fr; }
}

/* ---------- 16. CTA band ---------- */
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

/* ---------- 17. Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #b6beb8;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #2a2f33;
}
.footer__brand .brand__mark { color: var(--surface); font-size: 1.15rem; }
.footer__brand p { margin-top: 0.9rem; max-width: 34ch; font-size: 0.88rem; }
.footer__title {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7d867f;
  margin-bottom: 1rem;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer__list a {
  text-decoration: none;
  color: #b6beb8;
  font-size: 0.88rem;
  transition: color 0.2s var(--ease);
}
.footer__list a:hover { color: #fff; }
.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: #7d867f;
}

/* ---------- 18. Floating WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(22, 24, 28, 0.28);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), background-color 0.2s var(--ease);
}
.wa-float.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.wa-float:hover { background: var(--accent); }
.wa-float svg { width: 19px; height: 19px; flex: none; }
.wa-float span { display: inline; }

/* ---------- 19. Scroll reveal ---------- */

.reveal {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(24px) scale(0.992);
  transition:
    opacity 0.8s var(--ease-out),
    filter 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in { opacity: 1; filter: none; transform: none; }

/* Page-load stagger on the hero */
.rise { opacity: 0; transform: translateY(16px); animation: rise 0.85s var(--ease-out) forwards; }
.rise--1 { animation-delay: 0.05s; }
.rise--2 { animation-delay: 0.14s; }
.rise--3 { animation-delay: 0.23s; }
.rise--4 { animation-delay: 0.32s; }
.rise--5 { animation-delay: 0.42s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- 20. Responsive ---------- */

@media (max-width: 960px) {
  .hero__grid,
  .detail__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--edge);
    padding: 0.5rem var(--gutter) 1.25rem;
    box-shadow: 0 18px 34px rgba(22,24,28,0.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease), visibility 0.26s;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding-block: 0.85rem; border-bottom: 1px solid var(--edge); font-size: 0.98rem; }
  .nav a::after { display: none; }
  .nav a:last-child { border-bottom: 0; }
  .ticker__label { padding-inline: 1rem; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 0.95rem; }
  .plate__row { grid-template-columns: 1fr; gap: 0.2rem; }
  .brand__sub { display: none; }
  .configurator__head { grid-template-columns: 1fr; gap: 0.7rem; }
  .configurator__footer { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .colour-choice { min-width: calc(50% - 0.25rem); }
}

/* ---------- 21. Reduced motion ---------- */

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

/* ---------- 22. Print ---------- */

@media print {
  .site-header, .wa-float, .ticker, .filters { display: none; }
  body { background: #fff; }
}
