/* ==========================================================================
   Star Computers — Aley
   Dark graphite base, one warm amber signal, cool steel neutrals.
   The product photos are all dark and neon, so the chrome stays dark and the
   amber is spent only on price and CTA moments.
   Logical properties throughout so RTL is a direction flip, not a redesign.
   ========================================================================== */

/* ---------------------------------------------------------------- fonts */
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Sans';
  src: url('/assets/fonts/plex-sans-var.woff2') format('woff2-variations');
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Sans';
  src: url('/assets/fonts/plex-sans-arabic-var.woff2') format('woff2-variations');
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011, U+204F, U+2E41;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('/assets/fonts/plex-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('/assets/fonts/plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------- tokens */
:root {
  --ink:        #0E1114;
  --ink-2:      #14191D;
  --ink-3:      #1B2226;
  --line:       #262E33;
  --line-2:     #333D43;
  --steel:      #8B959C;
  --steel-dim:  #616C73;
  --paper:      #EDF1F2;
  --white:      #FFFFFF;
  --amber:      #FFB627;
  --amber-d:    #E09A0A;
  --green:      #45C489;

  --bg:         var(--ink);
  --surface:    var(--ink-2);
  --surface-2:  var(--ink-3);
  --fg:         #E7ECEE;
  --fg-dim:     #A8B2B8;
  --fg-mute:    var(--steel);

  --max-w:      1240px;
  --gutter:     28px;
  --radius:     4px;
  --radius-lg:  6px;

  --sans: 'Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Archivo', 'Plex Sans', system-ui, sans-serif;
  --mono: 'Plex Mono', ui-monospace, SFMono-Regular, monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.018em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }
/* Visually hidden but reachable by keyboard/AT.
   Uses the clip pattern rather than a large negative offset: a negative
   inset-inline-start resolves to the RIGHT edge under RTL and drags the
   document scroll width to ~11,000px. This pattern overflows in neither
   direction. */
.skip {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
  background: var(--amber); color: var(--ink); font-weight: 600;
}
.skip:focus {
  position: fixed; top: 12px; inset-inline-start: 12px;
  width: auto; height: auto; margin: 0; padding: 12px 20px;
  overflow: visible; clip: auto; clip-path: none;
  z-index: 999;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(14,17,20,.88);
  backdrop-filter: blur(14px);
  border-block-end: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo { flex-shrink: 0; object-fit: contain; display: block; }
.brand__logo--full { object-fit: contain; width: auto; height: auto; }
.foot__brand .brand__logo--full { width: 148px; height: auto; }
.brand__name { color: var(--fg); }
.foot__brand-name { display: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.06rem; letter-spacing: -.02em; }
.brand__tag { font-family: var(--mono); font-size: .66rem; color: var(--fg-mute); letter-spacing: .06em; }
.nav__menu {
  display: flex; align-items: center; gap: 4px;
  margin-inline-start: auto;
}
.nav__menu > li > a {
  display: block; padding: 9px 13px; border-radius: var(--radius);
  font-size: .92rem; color: var(--fg-dim); transition: color .16s, background .16s;
}
.nav__menu > li > a:hover { color: var(--fg); background: var(--surface-2); }
.nav__menu > li > a[aria-current="page"] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--amber); }
/* The CTA is a .btn inside a nav <li>; the generic nav link rule above sets
   its colour to --fg-dim, which on the amber fill gives 1.23:1. Restore the
   button's own high-contrast colour. */
.nav__menu > li > a.btn { color: #17130A; }
.nav__menu > li > a.btn:hover { color: #17130A; }
.nav__toggle {
  display: none; margin-inline-start: auto;
  width: 42px; height: 42px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); cursor: pointer; padding: 0;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--fg); transition: transform .2s, opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.langbtn {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 7px 12px; cursor: pointer; font-family: var(--mono); font-size: .74rem;
  color: var(--fg-mute); transition: border-color .16s, color .16s;
  text-decoration: none; line-height: 1;
}
.langbtn:hover { border-color: var(--amber); color: var(--amber); }
/* Always visible in the bar, including on mobile where the menu is collapsed. */
.langbtn--bar { margin-inline-start: auto; flex-shrink: 0; }
.nav__toggle { margin-inline-start: 0; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius);
  font-size: .93rem; font-weight: 600; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer;
  transition: background .18s var(--ease), color .18s, border-color .18s, transform .18s var(--ease);
}
.btn--primary { background: var(--amber); color: #17130A; }
.btn--primary:hover { background: var(--amber-d); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line-2); color: var(--fg); background: transparent; }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn--sm { padding: 7px 13px; font-size: .82rem; }
.btn--lg { padding: 14px 26px; font-size: 1rem; }
.btn--full { width: 100%; }
.linkbtn {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  color: var(--fg-mute); font-size: .84rem; text-decoration: underline;
  text-underline-offset: 3px;
}
.linkbtn:hover { color: var(--fg); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  border-block-end: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(255,182,39,.10), transparent 58%),
    linear-gradient(180deg, #101418 0%, var(--ink) 72%);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(11,14,17,.97) 0%, rgba(11,14,17,.93) 34%,
    rgba(11,14,17,.40) 55%, rgba(11,14,17,.58) 100%);
}
.hero__fallback {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
}
.hero__video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
}
/* Arabic flips the page: the headline moves to the right, which is where the
   PC sits in the footage. Mirror the scrim so the copy keeps its backdrop. */
[dir="rtl"] .hero__bg::after {
  background: linear-gradient(270deg,
    rgba(11,14,17,.97) 0%, rgba(11,14,17,.93) 34%,
    rgba(11,14,17,.40) 55%, rgba(11,14,17,.58) 100%);
}

.hero__grid {
  display: grid; grid-template-columns: 1fr; gap: 56px;
  align-items: center;
  position: relative; z-index: 1;
  max-width: var(--max-w); margin-inline: auto;
  padding: 72px var(--gutter) 80px;
}
.hero__copy { max-width: 36em; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--amber);
  margin-block-end: 20px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255,182,39,.16); }
.hero__h1 {
  font-size: clamp(2.35rem, 5.4vw, 4.05rem);
  font-weight: 800; letter-spacing: -.032em; line-height: 1.04;
}
.hero__h1 em { font-style: normal; color: var(--amber); }
.hero__sub { margin-block-start: 22px; font-size: 1.06rem; color: var(--fg-dim); max-width: 32em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 32px; }
.hero__quick {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-block-start: 34px; padding-block-start: 26px;
  border-block-start: 1px solid var(--line);
}
.hero__quick-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .82rem; color: var(--fg-mute);
  transition: color .16s;
}
.hero__quick-link:hover { color: var(--amber); }
.hero__media { position: relative; }
.hero__badge {
  position: absolute; inset-block-end: 34px; inset-inline-end: 34px; z-index: 3;
  background: var(--amber); color: #17130A;
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 2px;
}
.hero__media img {
  width: 100%; border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  aspect-ratio: 4 / 5; object-fit: cover;
  box-shadow: 0 28px 70px -28px rgba(0,0,0,.9);
}

/* ---------------------------------------------------------------- trust */
.strip { padding-block: 0; border-block-end: 1px solid var(--line); }
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-inline: 1px solid var(--line);
}
.trust__cell {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 26px 24px; border-inline-end: 1px solid var(--line);
}
.trust__cell:last-child { border-inline-end: 0; }
.trust__ico { color: var(--amber); flex-shrink: 0; margin-block-start: 2px; }
.trust__tx { display: flex; flex-direction: column; gap: 3px; }
.trust__tx b { font-size: .92rem; font-weight: 600; }
.trust__tx span { font-size: .82rem; color: var(--fg-mute); }

/* ---------------------------------------------------------------- proof */
.band--tight { padding-block: 46px; }
.proof {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.proof__item {
  background: var(--surface); padding: 24px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.proof__n {
  font-family: var(--display); font-weight: 800; font-size: 1.5rem;
  letter-spacing: -.02em; color: var(--fg); line-height: 1.1;
}
.proof__star { color: var(--amber); font-size: 1rem; margin-inline-start: 3px; }
.proof__t { font-family: var(--mono); font-size: .72rem; color: var(--fg-mute); }

/* ---------------------------------------------------------------- bands */
.band { padding-block: 76px; }
.band--alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.band__head { max-width: 58ch; margin-block-end: 38px; }
.band__h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
.band__sub { margin-block-start: 12px; color: var(--fg-dim); font-size: 1rem; }
.band__more {
  display: inline-block; margin-block-start: 18px;
  font-family: var(--mono); font-size: .82rem; color: var(--amber);
  border-block-end: 1px solid rgba(255,182,39,.4); padding-block-end: 3px;
}
.band__more:hover { border-block-end-color: var(--amber); }

/* ---------------------------------------------------------------- grid + card */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--feature { grid-template-columns: repeat(3, 1fr); }

.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid rgba(255, 182, 39, .30);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 182, 39, .07),
              0 14px 36px -22px rgba(255, 182, 39, .55);
  transition: border-color .22s var(--ease),
              box-shadow .28s var(--ease),
              transform .2s var(--ease);
}
.card:hover {
  border-color: rgba(255, 182, 39, .85);
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(255, 182, 39, .40),
              0 0 26px -6px rgba(255, 182, 39, .55),
              0 20px 48px -20px rgba(255, 182, 39, .60);
}
.card__media {
  position: relative; display: block; background: #0A0D0F;
  aspect-ratio: 4 / 5; overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform .55s var(--ease), filter .35s var(--ease);
}
.card:hover .card__media img { transform: scale(1.04); filter: brightness(1.08); }
.card__video {
  width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  display: block; background: #0A0D0F;
}
.card__play {
  position: absolute; z-index: 4; inset-block-start: 10px; inset-inline-end: 10px;
  width: 30px; height: 30px; display: grid; place-items: center;
  background: rgba(10,13,15,.78); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 50%;
  color: var(--fg); transition: background .18s, color .18s, opacity .18s;
}
.card__play svg { margin-inline-start: 2px; }
.card:hover .card__play, .card:focus-within .card__play { background: var(--amber); color: #17130A; }
.card__cat {
  position: absolute; z-index: 3; inset-block-start: 10px; inset-inline-start: 10px;
  background: rgba(10,13,15,.82); backdrop-filter: blur(6px);
  color: var(--fg-dim); font-family: var(--mono); font-size: .64rem;
  letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 2px;
  border: 1px solid rgba(255,255,255,.09);
}
/* A scrim under the name so the overlaid text stays legible over any photo,
   including the shop's own posts that carry burned-in marketing text. */
.card__scrim {
  position: absolute; z-index: 2; inset: 0;
  background: linear-gradient(to top,
    rgba(8,10,12,.94) 0%, rgba(8,10,12,.82) 22%, rgba(8,10,12,.28) 46%,
    rgba(8,10,12,0) 68%);
}
.card__overlay {
  position: absolute; z-index: 3; inset-block-end: 0; inset-inline: 0;
  padding: 16px 16px 15px; display: flex; flex-direction: column; gap: 4px;
}
.card__title {
  font-family: var(--display); font-weight: 700; font-size: 1.02rem;
  letter-spacing: -.014em; line-height: 1.2; color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,.6);
}
.card__tag {
  font-family: var(--mono); font-size: .74rem; color: var(--amber);
  letter-spacing: .01em;
}
/* the visible name lives on the image; keep an h3 in the flow for SEO + a11y */
.card__sr-title {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.card__price { font-family: var(--mono); font-size: .8rem; color: var(--amber); }
.card--compact .card__media { aspect-ratio: 1 / 1; }
.card--compact .card__media img { aspect-ratio: 1 / 1; }
.card--compact .card__title { font-size: .92rem; }

/* ---------------------------------------------------------------- categories */
.grid--cat { grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.catcard {
  background: var(--surface); padding: 26px 22px 24px;
  display: flex; flex-direction: column; gap: 9px;
  transition: background .2s var(--ease);
}
.catcard:hover { background: var(--surface-2); }
.catcard__name { font-family: var(--display); font-weight: 700; font-size: 1.02rem; }
.catcard:hover .catcard__name { color: var(--amber); }
.catcard__blurb { font-size: .84rem; color: var(--fg-mute); line-height: 1.5; }
.catcard__count { margin-block-start: auto; padding-block-start: 12px; font-family: var(--mono); font-size: .74rem; color: var(--fg-mute); }
.catcard:hover .catcard__count { color: var(--amber); }
.catcard--plain { border: 1px solid var(--line); border-radius: var(--radius-lg); }

/* ---------------------------------------------------------------- services */
.grid--svc { grid-template-columns: repeat(4, 1fr); }
.grid--svc2 { grid-template-columns: repeat(3, 1fr); }
.svc {
  padding: 24px 22px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  border-block-start: 2px solid var(--amber);
}
.svc__title { font-size: 1.05rem; margin-block-end: 9px; }
.svc__body { font-size: .89rem; color: var(--fg-dim); line-height: 1.58; }

/* ---------------------------------------------------------------- cta band */
.band--cta { background: var(--ink-2); border-block: 1px solid var(--line); }
.cta { display: grid; grid-template-columns: 1.2fr auto; gap: 40px; align-items: center; }
.cta__h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta__sub { margin-block-start: 12px; color: var(--fg-dim); max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- visit */
.visit { display: grid; grid-template-columns: .62fr 1fr; gap: 52px; align-items: center; }
.visit--wide { grid-template-columns: .5fr 1fr; }
.visit__media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
}
.visit__media--short img { aspect-ratio: 1 / 1; }
.visit__list { margin-block: 24px; display: flex; flex-direction: column; gap: 11px; }
.visit__list li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--fg-dim); }
.visit__list svg { color: var(--amber); flex-shrink: 0; }

/* ---------------------------------------------------------------- page head */
.pagehead { padding-block: 58px 44px; border-block-end: 1px solid var(--line); background: var(--ink-2); }
.pagehead--slim { padding-block: 44px 34px; }
.pagehead__kicker { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-block-end: 12px; }
.pagehead__h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.pagehead__sub { margin-block-start: 14px; color: var(--fg-dim); max-width: 60ch; }

/* ---------------------------------------------------------------- shop */
.shop { padding-block: 34px 80px; }
.shop__bar {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  justify-content: space-between; margin-block-end: 26px;
}
.shop__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 100px; padding: 7px 15px; cursor: pointer;
  font-size: .85rem; color: var(--fg-dim);
  transition: border-color .16s, color .16s, background .16s;
}
.chip:hover { border-color: var(--line-2); color: var(--fg); }
.chip.is-on { background: var(--amber); border-color: var(--amber); color: #17130A; font-weight: 600; }
.chip__n { font-family: var(--mono); font-size: .7rem; opacity: .62; }
.shop__search {
  display: flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0 13px; min-width: 250px;
}
.shop__search svg { color: var(--fg-mute); flex-shrink: 0; }
.shop__search input {
  background: none; border: 0; outline: none; color: var(--fg);
  padding: 10px 0; font-size: .9rem; width: 100%;
}
.shop__search input::placeholder { color: var(--fg-mute); }
.shop__count { font-family: var(--mono); font-size: .78rem; color: var(--fg-mute); margin-block-end: 20px; }
.shop__none { color: var(--fg-mute); padding-block: 40px; text-align: center; }

/* ---------------------------------------------------------------- pdp */
.pdp { padding-block: 30px 80px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 9px; font-family: var(--mono); font-size: .76rem; color: var(--fg-mute); margin-block-end: 30px; }
.crumbs a:hover { color: var(--amber); }
.pdp__grid { display: grid; grid-template-columns: .78fr 1fr; gap: 54px; align-items: start; }
.pdp__media img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.pdp__video {
  width: 100%; max-height: 640px; display: block;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: #0A0D0F;
}
.pdp__cat { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-block-end: 12px; }
.pdp__h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.pdp__tag { margin-block-start: 9px; font-family: var(--mono); font-size: .88rem; color: var(--fg-dim); }
.pdp__desc { margin-block-start: 20px; color: var(--fg-dim); font-size: 1rem; max-width: 46em; }
.pdp__specs { margin-block-start: 28px; border-block-start: 1px solid var(--line); }
.spec {
  display: grid; grid-template-columns: 150px 1fr; gap: 16px;
  padding: 13px 0; border-block-end: 1px solid var(--line);
}
.spec dt { font-family: var(--mono); font-size: .76rem; color: var(--fg-mute); text-transform: uppercase; letter-spacing: .05em; }
.spec dd { font-size: .92rem; }
.pdp__buy {
  margin-block-start: 30px; padding: 22px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  border-inline-start: 3px solid var(--amber);
}
.pdp__price { display: flex; flex-direction: column; gap: 7px; }
.pdp__price-label { font-family: var(--display); font-weight: 700; font-size: 1.22rem; color: var(--amber); }
.pdp__price-note { font-size: .85rem; color: var(--fg-mute); max-width: 46em; }
.pdp__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 20px; }

/* ---------------------------------------------------------------- contact */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact__cards { display: grid; gap: 12px; }
.ccard {
  display: flex; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 18px 20px;
  transition: border-color .18s, background .18s;
}
.ccard:hover { border-color: var(--amber); background: var(--surface-2); }
.ccard__ico { color: var(--amber); flex-shrink: 0; }
.ccard__tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ccard__tx b { font-size: .95rem; font-weight: 600; }
.ccard__tx span { font-size: .85rem; color: var(--fg-mute); overflow-wrap: anywhere; }
.cform {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px;
}
.cform__h { font-size: 1.2rem; margin-block-end: 22px; }
.field { margin-block-end: 17px; }
.field label { display: block; font-size: .82rem; color: var(--fg-dim); margin-block-end: 7px; }
.field input, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 11px 13px; color: var(--fg);
  font-family: var(--sans); font-size: .94rem; resize: vertical;
  transition: border-color .16s;
}
.field input:focus, .field textarea:focus { border-color: var(--amber); outline: none; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #D0574A; }
/* Honeypot: a real input, visually hidden and out of the tab order.
   The clip pattern keeps it out of the layout in both text directions. */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.cform__note, .cart__note { margin-block-start: 14px; font-size: .8rem; color: var(--fg-mute); }
.hours { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; max-width: 520px; }
.hours li { display: flex; justify-content: space-between; gap: 20px; background: var(--surface); padding: 14px 20px; font-size: .92rem; }
.hours li span:last-child { color: var(--fg-mute); font-family: var(--mono); font-size: .85rem; }

/* ---------------------------------------------------------------- cart */
.cart { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: start; }
.cart__list { display: grid; gap: 12px; }
.cart__item {
  display: grid; grid-template-columns: 78px 1fr auto; gap: 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 14px 18px 14px 14px;
}
.cart__item img { width: 78px; height: 96px; object-fit: cover; border-radius: var(--radius); background: #0A0D0F; }
.cart__item-name { font-weight: 600; font-size: .97rem; }
.cart__item-tag { font-family: var(--mono); font-size: .75rem; color: var(--fg-mute); margin-block-start: 3px; }
.cart__qty { display: inline-flex; align-items: center; gap: 3px; margin-block-start: 10px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); }
.cart__qty button { width: 28px; height: 28px; background: none; border: 0; cursor: pointer; color: var(--fg-dim); display: grid; place-items: center; }
.cart__qty button:hover { color: var(--amber); }
.cart__qty span { min-width: 26px; text-align: center; font-family: var(--mono); font-size: .84rem; }
.cart__rm { background: none; border: 0; color: var(--fg-mute); cursor: pointer; font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; }
.cart__rm:hover { color: #E9705F; }
.cart__empty { text-align: center; padding-block: 60px; color: var(--fg-mute); }
.cart__empty h2 { font-size: 1.25rem; margin-block-end: 8px; color: var(--fg); }
.cart__empty p { margin-block-end: 22px; }
.cart__form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 24px;
  position: sticky; top: 92px;
}
.cart__h { font-size: 1.15rem; margin-block-end: 20px; }

/* ---------------------------------------------------------------- how to */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; counter-reset: s; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; background: var(--surface); padding: 22px 26px; align-items: start; }
.step__n {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--amber); border-radius: 50%;
  font-family: var(--mono); font-size: .84rem; color: var(--amber);
}
.step__tx { display: flex; flex-direction: column; gap: 5px; }
.step__tx b { font-family: var(--display); font-size: 1.02rem; }
.step__tx span { font-size: .9rem; color: var(--fg-dim); }
.prose { max-width: 68ch; }
.prose p { margin-block-end: 16px; color: var(--fg-dim); }
.prose a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--ink-2); border-block-start: 1px solid var(--line); margin-block-start: 40px; }
.foot__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 58px 44px; }
.foot__brand { display: flex; align-items: center; gap: 10px; margin-block-end: 16px; }
.foot__brand svg { color: var(--amber); }
.foot__brand-name { font-family: var(--display); font-weight: 800; font-size: 1rem; }
.foot__blurb { font-size: .87rem; color: var(--fg-mute); line-height: 1.6; max-width: 34ch; }
.foot__social { display: flex; gap: 9px; margin-block-start: 18px; }
.foot__social a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--fg-dim);
  transition: border-color .16s, color .16s;
}
.foot__social a:hover { border-color: var(--amber); color: var(--amber); }
.foot__h { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-mute); margin-block-end: 14px; }
.foot__h--spaced { margin-block-start: 26px; }
.foot__list { display: grid; gap: 9px; }
.foot__list a, .foot__list li { font-size: .89rem; color: var(--fg-dim); display: flex; align-items: center; gap: 8px; }
.foot__list a:hover { color: var(--amber); }
.foot__list svg { color: var(--fg-mute); flex-shrink: 0; }
.foot__list--sub { margin-block-start: 16px; }
.foot__hours li { justify-content: space-between; gap: 12px; }
.foot__hours li span:last-child { font-family: var(--mono); font-size: .78rem; color: var(--fg-mute); }
.foot__bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding-block: 20px; border-block-start: 1px solid var(--line);
  font-size: .82rem; color: var(--fg-mute);
}
.foot-signature {
  max-width: var(--max-w);
  margin: 28px auto 0;
  padding: 22px var(--gutter) 0;
  border-block-start: 1px solid rgba(233,237,242,.04);
  text-align: center;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .02em;
  color: #6E787F;
}
.foot-signature a { color: #AFB8BD; font-weight: 500; transition: color .15s; }
.foot-signature a:hover { color: var(--paper); }

/* ---------------------------------------------------------------- toast */
.toast {
  position: fixed; inset-block-end: 26px; inset-inline-end: 26px; z-index: 200;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-2); border: 1px solid var(--line-2);
  border-inline-start: 3px solid var(--amber);
  border-radius: var(--radius); padding: 13px 20px;
  font-size: .9rem; box-shadow: 0 18px 44px -18px rgba(0,0,0,.9);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.toast.is-on { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------- rtl */
html[dir="rtl"] .card__foot { flex-direction: row; }
html[dir="rtl"] .brand__mark { transform: none; }
html[dir="rtl"] .hero__quick-link svg,
html[dir="rtl"] .visit__list svg { transform: scaleX(-1); }
html[dir="rtl"] .foot__list svg,
html[dir="rtl"] .ccard__ico svg { transform: scaleX(-1); }
html[dir="rtl"] .spec dd { text-align: start; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .grid--feature { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .grid--cat { grid-template-columns: repeat(3, 1fr); }
  .grid--svc { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust__cell:nth-child(2n) { border-inline-end: 0; }
  .trust__cell:nth-child(-n+2) { border-block-end: 1px solid var(--line); }
  .foot__inner { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; inset-block-start: 100%; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); border-block-end: 1px solid var(--line);
    padding: 10px var(--gutter) 20px;
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu > li > a { padding: 13px 4px; font-size: 1rem; border-block-end: 1px solid var(--line); border-radius: 0; }
  .nav__menu > li > a[aria-current="page"] { box-shadow: none; color: var(--amber); }
  .nav__menu > li > a.btn { color: #17130A; }
  .nav__lang { padding-block: 14px; }
  .nav__cta { padding-block-start: 4px; }
  .nav__cta .btn { width: 100%; }
  .hero__grid { grid-template-columns: 1fr; gap: 38px; padding-block: 52px 60px; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 16 / 10; }
  .pdp__grid { grid-template-columns: 1fr; gap: 34px; }
  .pdp__media img { max-width: 420px; }
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .cart { grid-template-columns: 1fr; gap: 30px; }
  .cart__form { position: static; }
  .visit, .visit--wide { grid-template-columns: 1fr; gap: 30px; }
  .visit__media img { max-width: 420px; aspect-ratio: 16 / 10; }
  .cta { grid-template-columns: 1fr; gap: 26px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--svc2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .grid--cat { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .band { padding-block: 52px; }
  .grid--4, .grid--3, .grid--svc, .grid--svc2, .grid--feature { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; }
  .grid--cat { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .trust__cell { border-inline-end: 0; border-block-end: 1px solid var(--line); }
  .trust__cell:last-child { border-block-end: 0; }
  .foot__inner { grid-template-columns: 1fr; gap: 30px; padding-block: 44px 34px; }
  .foot__bottom { flex-direction: column; gap: 6px; }
  .shop__bar { flex-direction: column; align-items: stretch; }
  .shop__search { min-width: 0; }
  .cart__item { grid-template-columns: 62px 1fr; }
  .cart__item img { width: 62px; height: 78px; }
  .cart__item > :last-child { grid-column: 2; }
  .spec { grid-template-columns: 1fr; gap: 4px; }
  .hero__quick { flex-direction: column; gap: 11px; }
  .toast { inset-inline: 18px; inset-block-end: 18px; }
}

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  /* Do not auto-play video for someone who asked for less motion. */
  .card__video { display: none; }
  .card__play { display: none; }
}

/* ---------------------------------------------------------------- print */
@media print {
  .nav, .foot, .toast, .btn, .hero__cta, .cart__form { display: none !important; }
  body { background: #fff; color: #111; }
}

/* ---------------------------------------------------- published prices */
.card__price--set { color: var(--amber); font-weight: 600; }
.price__now {
  color: var(--amber);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.pdp__price-label .price__now { font-size: 1.5rem; }
.pdp__price .price__now { display: inline-block; }

/* The poster frame sits behind the video on every screen, so the hero always
   has a real image - before the clip arrives, or if it never does. The video
   is NOT hidden on small screens: it is the same 2.3 MB everywhere and it is
   the point of the hero. */
@media (max-width: 900px) {
  .hero__bg::after {
    background: linear-gradient(180deg,
      rgba(11,14,17,.72) 0%, rgba(11,14,17,.88) 32%,
      rgba(11,14,17,.94) 62%, rgba(11,14,17,.97) 100%);
  }
  /* the PC internals are high-frequency and busy behind body copy - a light
     blur keeps the shape and colour but stops it fighting the text */
  .hero__video { filter: blur(2px) saturate(1.05); transform: scale(1.02); }
  .hero__badge { inset-block-end: 22px; inset-inline-end: 22px; }
}
