/* ==========================================================================
   DIAL WORKS - styles
   Look: black on white, [ brackets ], // code comments, chamfered corners,
   wide squared headings (Orbitron) + monospace body (JetBrains Mono).
   ========================================================================== */

@font-face { font-family: "Orbitron"; src: url("../fonts/orbitron-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Orbitron"; src: url("../fonts/orbitron-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #050505;          /* text, lines, and the "dark" buttons */
  --paper: #ffffff;        /* page background */
  --surface: #ffffff;      /* cards, header, inputs */
  --on-ink: #ffffff;       /* text that sits on an --ink block */
  --on-ink-soft: #c9ccc2;
  --soft: #f1f2ed;
  --sel: #e1e3dc;          /* the 'selected' grey */
  --lcd: #d3d8cb;
  --lcd-2: #bcc4b0;
  --line: #c9ccc2;
  --muted: #595c55;
  --dot: rgba(5,5,5,.2);
  --header-bg: rgba(255,255,255,.97);
  --strip: #050505;        /* big dark blocks (social band, footer) */
  --strip-text: #ffffff;
  --scrim: rgba(5,5,5,.6);
  --hard-shadow: rgba(5,5,5,.9);
  --ok: #00a650;
  --mto: #e08a00;
  --sold: #d4281a;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --display: "Orbitron", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --cut: 10px;
  color-scheme: light;
}

/* ---------- night mode: the same black-and-white look, swapped over ---------- */
html[data-theme="dark"] {
  --ink: #ecede6;
  --paper: #0a0a0b;
  --surface: #121315;
  --on-ink: #0a0a0b;
  --on-ink-soft: #3d3f3a;
  --soft: #18191b;
  --sel: #2b2d31;
  --lcd: #20261d;
  --lcd-2: #2b3326;
  --line: #34362f;
  --muted: #9b9e95;
  --dot: rgba(236,237,230,.15);
  --header-bg: rgba(10,10,11,.94);
  --strip: #131412;
  --strip-text: #ecede6;
  --scrim: rgba(0,0,0,.72);
  --hard-shadow: rgba(236,237,230,.2);
  --ok: #19c26b;
  --mto: #f0a020;
  --sold: #ff6a58;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--mono);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; text-transform: uppercase; letter-spacing: .02em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--on-ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--on-ink); padding: 10px 14px; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- building blocks ---------- */

/* // comment-style label */
.eyebrow, .label {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 14px; font-weight: 400;
}
.eyebrow::before, .label::before { content: "// "; color: var(--ink); font-weight: 700; }

/* tall [ ] brackets like the logo */
.tb { position: relative; display: inline-block; padding: 0 .46em; }
.tb::before, .tb::after {
  content: ""; position: absolute; top: .02em; bottom: .02em; width: .22em;
  border: .075em solid currentColor;
}
.tb::before { left: 0; border-right: 0; }
.tb::after { right: 0; border-left: 0; }

/* corner crop-marks around an image */
.frame { position: relative; }
.frame::after {
  content: ""; position: absolute; inset: 7px; pointer-events: none; z-index: 2;
  --m: var(--ink);
  background:
    linear-gradient(var(--m), var(--m)) top left / 14px 2px no-repeat,
    linear-gradient(var(--m), var(--m)) top left / 2px 14px no-repeat,
    linear-gradient(var(--m), var(--m)) top right / 14px 2px no-repeat,
    linear-gradient(var(--m), var(--m)) top right / 2px 14px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom left / 14px 2px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom left / 2px 14px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom right / 14px 2px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom right / 2px 14px no-repeat;
}

/* ruler ticks */
.ruler {
  height: 18px; border-bottom: 1px solid var(--ink);
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 8px) left bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 40px) left bottom / 100% 11px no-repeat;
}
.ruler--light {
  border-bottom-color: #3a3b37;
  background:
    repeating-linear-gradient(90deg, #6c6e68 0 1px, transparent 1px 8px) left bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, #6c6e68 0 1px, transparent 1px 40px) left bottom / 100% 11px no-repeat;
}

.dots {
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.4px);
  background-size: 20px 20px;
}

/* buttons: chamfered fill, or [ bracket ] ghost */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 15px 24px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 700; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  background: var(--ink); color: var(--on-ink); border: 0; cursor: pointer;
  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 .15s, color .15s;
}
.btn::after { content: "\2192"; transition: transform .15s; }
.btn:hover { background: var(--lcd); color: var(--ink); }
.btn:hover::after { transform: translateX(5px); }
.btn:focus-visible { clip-path: none; }
.btn--block { display: flex; width: 100%; justify-content: space-between; }
.btn--ghost {
  background: transparent; color: var(--ink); clip-path: none; padding: 15px 28px;
}
.btn--ghost::before, .btn--ghost::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 9px; border: 2px solid var(--ink);
  transform: none; transition: width .18s;
}
.btn--ghost::before { left: 0; border-right: 0; }
.btn--ghost::after { right: 0; border-left: 0; }
.btn--ghost:hover { background: transparent; color: var(--ink); }
.btn--ghost:hover::before, .btn--ghost:hover::after { width: 16px; transform: none; }
.btn--plain:not(.btn--ghost)::after { content: none; }
.btn[aria-disabled="true"], .btn:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; pointer-events: none; }

.tag {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 8px; background: var(--surface); color: var(--ink); border: 1px solid var(--ink);
}
.tag--sample { border-style: dashed; color: var(--muted); border-color: var(--muted); }

.status { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--ok); vertical-align: 0; }
.status--mto::before { background: var(--mto); }
.status--sold::before { background: var(--sold); }

/* ---------- announcement bar ---------- */
.announce {
  background: var(--ink); color: var(--on-ink); text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding: 9px var(--gutter);
}
.announce::before { content: "// "; opacity: .6; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 66px; }
.brand { display: block; line-height: 0; }
.brand img { height: 20px; width: auto; }
/* two logos: the black one for day, the white one for night */
.brand .logo-dark { display: none; }
html[data-theme="dark"] .brand .logo-light { display: none; }
html[data-theme="dark"] .brand .logo-dark { display: block; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 10px 15px; font-weight: 400;
}
.nav a::before, .nav a::after { position: absolute; top: 50%; margin-top: -.62em; line-height: 1.25; opacity: 0; transition: opacity .15s, transform .2s; font-weight: 700; }
.nav a::before { content: "["; left: 2px; transform: translateX(6px); }
.nav a::after { content: "]"; right: 2px; transform: translateX(-6px); }
.nav a:hover::before, .nav a:hover::after, .nav a[aria-current="page"]::before, .nav a[aria-current="page"]::after { opacity: 1; transform: none; }
.nav a[aria-current="page"] { font-weight: 700; }
.nav a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1120px) { .nav a { padding: 10px 9px; letter-spacing: .1em; } .theme-toggle { padding: 0 14px; gap: 7px; } }
@media (max-width: 420px) { .site-header .wrap { gap: 10px; } .header-tools { gap: 2px; } .theme-toggle { padding: 0 12px; } }
.nav-toggle { display: none; background: var(--surface); border: 2px solid var(--ink); width: 46px; height: 42px; cursor: pointer; padding: 0; font-weight: 700; font-size: 13px; letter-spacing: .08em; }
.nav-toggle::before { content: "[ ]"; }
.nav-toggle[aria-expanded="true"] { background: var(--ink); color: var(--on-ink); }
.nav-toggle[aria-expanded="true"]::before { content: "[x]"; }

.header-tools { display: flex; align-items: center; gap: 6px; }

/* day / night switch: [ moon NIGHT ] in the day, [ sun DAY ] at night */
.theme-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 17px;
  background: transparent; border: 0; cursor: pointer; color: var(--ink);
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
}
.theme-toggle::before, .theme-toggle::after {
  content: ""; position: absolute; top: 5px; bottom: 5px; width: 8px; border: 2px solid currentColor; transition: width .18s;
}
.theme-toggle::before { left: 0; border-right: 0; }
.theme-toggle::after { right: 0; border-left: 0; }
.theme-toggle:hover::before, .theme-toggle:hover::after { width: 13px; }
.theme-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.theme-toggle .ico { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .ico-sun { display: none; }
html[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
html[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
.theme-toggle .ico-sun, .theme-toggle .ico-moon { transition: transform .35s cubic-bezier(.3,1.4,.5,1); }
.theme-toggle:active .ico { transform: rotate(40deg) scale(.9); }

/* the pale 'photo coming soon' pictures are a little less glaring at night (real photos are left alone) */
html[data-theme="dark"] img[src*="placeholders/"] { filter: brightness(.8) contrast(1.05); }

/* fade the colours over when switching */
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .32s ease, color .32s ease, border-color .32s ease, fill .32s ease, stroke .32s ease, box-shadow .32s ease !important;
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .theme-toggle .theme-label { display: none; }
  .theme-toggle { padding: 0 14px; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--ink); padding: 4px var(--gutter) 14px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 4px; border-bottom: 1px dashed var(--line); font-size: 13px; }
  .nav a::before, .nav a::after { display: none; }
  .nav a::before { content: "> "; position: static; opacity: .5; display: inline; transform: none; margin: 0; }
}

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--ink); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(36px, 5vw, 64px); }
.hero .wrap > * { min-width: 0; }
.hero-copy { container-type: inline-size; }
.hero h1 { font-weight: 900; font-size: 40px; font-size: clamp(32px, 12.5cqw, 76px); line-height: 1.05; letter-spacing: 0; margin-bottom: 26px; }
.hero h1 > span { display: block; width: fit-content; }
.hero h1 .tb { padding: 0 .42em 0 .42em; }
.cursor { display: inline-block; width: .5em; height: .1em; background: currentColor; margin-left: .08em; animation: blink 1.1s steps(1) infinite; vertical-align: baseline; }
@keyframes blink { 50% { opacity: 0; } }
.lead { max-width: 52ch; color: var(--muted); margin: 0 0 26px; font-size: 14.5px; }
.lead::before { content: "// "; color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.code { width: 100%; border: 1px solid var(--ink); background: var(--surface); padding: 14px 16px 14px 0; font-size: 12.5px; line-height: 1.75; max-width: 470px; justify-self: center; counter-reset: ln; overflow-x: auto; }
.code .line { display: block; white-space: pre; counter-increment: ln; padding-left: 52px; position: relative; }
.code .line::before { content: counter(ln); position: absolute; left: 0; width: 36px; text-align: right; color: #9a9d95; }
.code .c { color: var(--muted); }
.code .k { font-weight: 700; }
.code .s { background: var(--lcd); padding: 0 2px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---------- ticker ---------- */
.ticker { background: var(--ink); color: var(--on-ink); overflow: hidden; border-bottom: 1px solid var(--ink); }
.ticker-inner { display: flex; width: max-content; animation: tick 45s linear infinite; }
.ticker span { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; padding: 12px 0; white-space: nowrap; text-transform: uppercase; }
.ticker span::after { content: "//"; margin: 0 26px; opacity: .4; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(44px, 7vw, 88px) 0; }
.section--soft { background: var(--soft); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(22px, 3.5vw, 36px); flex-wrap: wrap; }
.section-head h2 { font-size: clamp(22px, 3.6vw, 40px); font-weight: 900; }
.link-arrow { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; position: relative; padding: 6px 18px; }
.link-arrow::before, .link-arrow::after { position: absolute; top: 50%; margin-top: -.75em; transition: transform .18s; }
.link-arrow::before { content: "["; left: 0; }
.link-arrow::after { content: "]"; right: 0; }
.link-arrow:hover::before { transform: translateX(-5px); }
.link-arrow:hover::after { transform: translateX(5px); }

/* category tiles */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1px 0 0 1px; }
.cat { text-decoration: none; display: block; background: var(--surface); border: 1px solid var(--ink); margin: -1px 0 0 -1px; position: relative; transition: background .15s; }
.cat:hover { background: var(--lcd); z-index: 1; }
.cat-head { display: flex; justify-content: space-between; padding: 10px 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--ink); }
.cat-head b { font-weight: 700; }
.cat-head span { color: var(--muted); }
.cat-img { background: var(--lcd); }
.cat-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cat-body { padding: 14px 14px 18px; border-top: 1px solid var(--ink); }
.cat h3 { font-size: 16px; font-weight: 700; }
.cat p { margin: 6px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* product grid + cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1px 0 0 1px; }
@media (max-width: 1060px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { text-decoration: none; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--ink); margin: -1px 0 0 -1px; position: relative; transition: background .15s; }
.card:hover { background: var(--lcd); z-index: 1; }
.card-media { position: relative; background: var(--lcd); aspect-ratio: 1; overflow: hidden; border-bottom: 1px solid var(--ink); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-media img { transform: scale(1.04); }
.card.is-sold .card-media img { filter: grayscale(1) contrast(.9); opacity: .65; }
.card-tags { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 3; }
.card-body { padding: 12px 14px 15px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; align-items: center; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card-top .status { color: var(--ink); }
.card h3 { font-family: var(--mono); font-size: 13.5px; font-weight: 700; line-height: 1.4; text-transform: none; letter-spacing: 0; }
.card-meta { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.price { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .02em; }
.models { font-size: 11px; color: var(--muted); text-align: right; letter-spacing: .02em; }
.models::before { content: "// "; }

/* value strip */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); background: var(--surface); }
.trio > div { padding: clamp(20px, 3vw, 34px); border-right: 1px solid var(--ink); }
.trio > div:last-child { border-right: 0; }
.trio .n { font-size: 12px; letter-spacing: .16em; color: var(--muted); }
.trio .n::after { content: " //"; }
.trio h3 { font-size: 19px; margin: 14px 0 10px; font-weight: 900; }
.trio p { color: var(--muted); margin: 0; font-size: 13.5px; }
@media (max-width: 800px) { .trio { grid-template-columns: 1fr; } .trio > div { border-right: 0; border-bottom: 1px solid var(--ink); } .trio > div:last-child { border-bottom: 0; } }

/* social band */
.band { background: var(--strip); color: var(--strip-text); }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 52px; padding-bottom: 52px; }
.band h2 { font-size: clamp(22px, 3.4vw, 36px); font-weight: 900; }
.band .label { color: #8d9086; }
.band .label::before { color: var(--strip-text); }
.band p { color: #aeb2a8; margin: 12px 0 0; max-width: 52ch; }
.band .btn { background: var(--strip-text); color: var(--strip); }
.band .btn:hover { background: var(--lcd); color: var(--ink); }
.band-links { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- shop ---------- */
.page-head { border-bottom: 0; }
.page-head > .wrap { padding-top: clamp(34px, 5vw, 64px); padding-bottom: clamp(22px, 3vw, 34px); }
.page-head h1 { font-size: 28px; font-size: clamp(20px, 5.4vw, 52px); font-weight: 900; display: inline-block; letter-spacing: .01em; }
.page-head h1.tb { padding: .1em .6em; }
.page-head p { color: var(--muted); max-width: 62ch; margin: 18px 0 0; }
.page-head p.eyebrow { margin: 0 0 16px; color: var(--muted); }
.toolbar { display: flex; gap: 14px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 22px 0; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 10px 14px; border: 1px solid var(--ink); background: var(--surface); cursor: pointer;
  --cut: 7px; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.pill:hover { background: var(--lcd); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.pill small { opacity: .6; margin-left: 8px; font-size: 11px; font-weight: 400; }
.controls { display: flex; gap: 10px; flex-wrap: wrap; }
.controls input, .controls select { border: 0; border-bottom: 2px solid var(--ink); background: transparent; padding: 10px 4px; font-size: 14px; min-height: 42px; border-radius: 0; }
.controls input { width: 220px; max-width: 100%; }
.controls input:focus, .controls select:focus { outline: none; background: var(--lcd); }
.controls input::placeholder { color: #8a8d85; }
.notice { border: 1px dashed var(--ink); background: var(--soft); padding: 12px 16px; font-size: 12px; margin-bottom: 20px; color: var(--muted); }
.notice::before { content: "// "; color: var(--ink); font-weight: 700; }
.empty { text-align: center; padding: 80px 0; color: var(--muted); }
.empty h3 { color: var(--ink); font-size: 22px; margin-bottom: 10px; }
.shop-body { padding-bottom: clamp(48px, 8vw, 96px); }

/* ---------- product page ---------- */
.crumbs { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 22px 0 0; }
.crumbs::before { content: "> "; color: var(--ink); font-weight: 700; }
.crumbs a { text-decoration: none; border-bottom: 1px dashed var(--muted); }
.crumbs a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); padding: 24px 0 clamp(40px, 6vw, 80px); align-items: start; }
.gallery-main { position: relative; aspect-ratio: 1; background: var(--lcd); border: 1px solid var(--ink); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 10px; }
.thumbs button { padding: 0; border: 1px solid var(--line); background: var(--lcd); aspect-ratio: 1; cursor: pointer; overflow: hidden; }
.thumbs button[aria-current="true"] { border: 2px solid var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(20px, 2.8vw, 32px); font-weight: 900; line-height: 1.2; }
.pdp-price { font-family: var(--display); font-weight: 700; font-size: 28px; margin: 18px 0 8px; letter-spacing: .02em; }
.pdp-status { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.pdp-short { color: var(--muted); }
.pdp-short::before { content: "// "; color: var(--ink); font-weight: 700; }
.buy { display: grid; gap: 12px; margin: 24px 0 10px; }
.buy small { font-size: 11.5px; color: var(--muted); letter-spacing: .03em; }
.spec { margin: 22px 0 0; border-top: 1px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.spec dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.spec dd { margin: 0; }
.chips { display: flex; gap: 6px 14px; flex-wrap: wrap; }
.chip { font-size: 12.5px; font-weight: 700; }
.chip::before { content: "[ "; color: var(--muted); }
.chip::after { content: " ]"; color: var(--muted); }
.prose { margin-top: 22px; }
.prose h4 { font-size: 12px; letter-spacing: .16em; margin-bottom: 12px; font-family: var(--mono); font-weight: 700; }
.prose h4::before { content: "// "; }
.prose p { max-width: 62ch; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } }

/* ---------- content pages ---------- */
.content { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 8vw, 96px); align-items: start; }
.content--single { grid-template-columns: minmax(0, 760px); }
.content h2 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; margin: 0 0 16px; }
.content h3 { font-size: 15px; margin: 30px 0 10px; font-weight: 700; }
.content h3::before { content: "// "; }
.content ul { padding-left: 0; list-style: none; }
.content li { padding-left: 2.2ch; position: relative; margin: 8px 0; }
.content li::before { content: ">"; position: absolute; left: 0; font-weight: 700; }
.media-frame { border: 1px solid var(--ink); background: var(--lcd); aspect-ratio: 1; overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .content { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.form label > span::before { content: "[ "; color: var(--muted); }
.form label > span::after { content: " ]"; color: var(--muted); }
.form input, .form select, .form textarea { border: 1px solid var(--ink); border-radius: 0; padding: 13px; font-size: 14.5px; background: var(--surface); width: 100%; font-family: var(--mono); text-transform: none; letter-spacing: 0; font-weight: 400; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background: var(--lcd); }
.form textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 12px; color: var(--muted); }
.form-ok { border: 1px solid var(--ink); background: var(--lcd); padding: 16px; font-size: 13px; }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--ink); }
.contact-list li { border-bottom: 1px solid var(--ink); padding: 16px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0; }
.contact-list li::before { content: none; }
.contact-list span { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 700; word-break: break-word; }

/* ---------- footer ---------- */
.site-footer { background: var(--strip); color: var(--strip-text); }
html[data-theme="dark"] .site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: clamp(36px, 5vw, 60px); padding-bottom: 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid img { height: 20px; width: auto; margin-bottom: 18px; }
.foot-grid p { color: #9da196; font-size: 12.5px; max-width: 36ch; }
.foot-grid h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; color: #9da196; margin-bottom: 14px; font-weight: 700; }
.foot-grid h4::before { content: "// "; color: var(--strip-text); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; font-size: 13px; }
.foot-grid a::before { content: "> "; opacity: .4; }
.foot-grid a:hover { text-decoration: underline; }
.foot-grid a:hover::before { opacity: 1; }
.legal { border-top: 1px solid #2c2d2a; margin-top: 38px; padding-top: 20px; font-size: 11.5px; color: #8d9086; display: grid; gap: 8px; }
.legal p { margin: 0; max-width: 92ch; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.lost { text-align: center; padding: clamp(70px, 12vw, 140px) var(--gutter); }
.lost h1 { font-size: clamp(64px, 18vw, 180px); font-weight: 900; }
.lost p { color: var(--muted); margin: 18px 0 28px; }

noscript .wrap { padding: 20px var(--gutter); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-inner { animation: none; }
  .cursor { animation: none; }
  .card, .cat, .btn, .card-media img { transition: none; }
  html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: none !important; }
  .theme-toggle .ico { transition: none; }
}

/* ---------- basket ---------- */
/* header [ bag 2 ] link, styled like the day/night switch */
.basket-link {
  position: relative; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px;
  color: var(--ink); text-decoration: none;
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
}
.basket-link::before, .basket-link::after {
  content: ""; position: absolute; top: 5px; bottom: 5px; width: 8px; border: 2px solid currentColor; transition: width .18s;
}
.basket-link::before { left: 0; border-right: 0; }
.basket-link::after { right: 0; border-left: 0; }
.basket-link:hover::before, .basket-link:hover::after, .basket-link[aria-current="page"]::before, .basket-link[aria-current="page"]::after { width: 13px; }
.basket-link .ico { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.basket-count {
  min-width: 19px; height: 19px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--on-ink); font-size: 10.5px; letter-spacing: 0;
}
.basket-count[hidden] { display: none; }
/* laptops: icon-only Night switch so the menu keeps its room next to the basket */
@media (min-width: 961px) and (max-width: 1279px) {
  .theme-toggle { padding: 0 13px; gap: 6px; }
  .theme-toggle .theme-label { display: none; }
}
@media (max-width: 960px) { .basket-link { padding: 0 13px; gap: 6px; } }
@media (max-width: 420px) { .basket-link { padding: 0 11px; } }
@media (max-width: 370px) { .brand img { height: 16px; } }

/* product page: option picker + added note */
.buy-option { display: grid; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.buy-option > span::before { content: "[ "; color: var(--muted); }
.buy-option > span::after { content: " ]"; color: var(--muted); }
.buy-option select { border: 1px solid var(--ink); border-radius: 0; padding: 13px; font-size: 14.5px; background: var(--surface); width: 100%; font-family: var(--mono); text-transform: none; letter-spacing: 0; font-weight: 400; }
.buy-option select:focus { outline: none; background: var(--lcd); }
.buy-note { margin: -4px 0 0; font-size: 12px; color: var(--muted); min-height: 0; }
.buy-note:empty { display: none; }
.buy-note a, .buy small a { color: var(--ink); font-weight: 700; }

/* basket page */
.basket-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 48px); align-items: start; padding-top: 28px; }
.blines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.bline {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto auto; grid-template-areas: "img info qty total" "img info rm rm";
  gap: 6px 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--ink);
}
.bline-img { grid-area: img; display: block; aspect-ratio: 1; background: var(--lcd); border: 1px solid var(--ink); overflow: hidden; }
.bline-img img { width: 100%; height: 100%; object-fit: cover; }
.bline-img.frame::after { inset: 4px; background-size: 9px 2px, 2px 9px, 9px 2px, 2px 9px, 9px 2px, 2px 9px, 9px 2px, 2px 9px; }
.bline-info { grid-area: info; display: grid; gap: 4px; align-content: center; }
.bline-title { font-weight: 700; text-decoration: none; line-height: 1.4; }
.bline-title:hover { text-decoration: underline; }
.bline-opt, .bline-each { font-size: 12px; color: var(--muted); }
.bline-total { grid-area: total; text-align: right; min-width: 70px; }
.bline-remove { grid-area: rm; justify-self: end; background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: underline; }
.bline-remove:hover { color: var(--sold); }
.qty { grid-area: qty; justify-self: start; display: inline-flex; align-items: stretch; border: 1px solid var(--ink); height: 38px; }
.qty button { width: 36px; border: 0; background: var(--surface); cursor: pointer; font-weight: 700; font-size: 16px; }
.qty button:hover:not(:disabled) { background: var(--lcd); }
.qty button:disabled { color: var(--line); cursor: not-allowed; }
.qty output { min-width: 34px; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); font-weight: 700; }
.bside { border: 1px solid var(--ink); background: var(--surface); padding: 22px; display: grid; gap: 14px; position: sticky; top: 90px; }
.bside h2 { font-size: 16px; }
.bside small { font-size: 11.5px; color: var(--muted); }
.bside .link-arrow { justify-self: start; padding-left: 14px; padding-right: 14px; }
.bsum { margin: 0; border-top: 1px solid var(--ink); }
.bsum > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.bsum dt { color: var(--muted); }
.bsum dd { margin: 0; font-weight: 700; text-align: right; }
.bsum .bsum-total { border-bottom: 1px solid var(--ink); }
.bsum .bsum-total dt { color: var(--ink); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; align-self: center; }
.bsum .bsum-total dd { font-family: var(--display); font-size: 20px; }
.bside .form-note { margin: -4px 0 0; }
.basket-error:empty { display: none; }
.basket-error { border: 1px solid var(--sold); padding: 12px 14px; font-size: 12.5px; }
.basket-error p { margin: 0 0 8px; }
.basket-error p:last-child { margin: 0; }
.basket-error ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 6px; }
.basket-error a { font-weight: 700; }
.basket-done { max-width: 620px; padding: 36px 0 20px; }
.basket-done h2 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; margin-bottom: 16px; }
.basket-done .btn { margin-top: 10px; }
#basket > .notice { margin: 24px 0 0; }
@media (max-width: 900px) {
  .basket-grid { grid-template-columns: 1fr; }
  .bside { position: static; }
}
@media (max-width: 560px) {
  .bline { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img info info" "img qty total" ". rm rm"; gap: 10px 14px; }
  .bline-remove { justify-self: end; }
}
