/* Affordable Computers — site styles
   Layout: dark "workbench" site, condensed caps headlines echoing the badge logo,
   one electric-blue accent used for light, links and action buttons. */
:root {
  --ink: #07090d;        /* page background */
  --panel: #0d1118;      /* raised surfaces */
  --panel-2: #121823;
  --line: #1d2533;       /* hairlines on dark */
  --fg: #f2f5fa;         /* text on dark */
  --muted: #98a3b7;      /* secondary text on dark */
  --blue: #3d7bff;       /* the accent */
  --blue-hi: #8fb1ff;    /* accent text on dark */
  --blue-glow: rgba(61, 123, 255, 0.35);
  --paper: #f3f5f9;      /* light band */
  --paper-ink: #0a0c10;
  --paper-muted: #4a5366;
  --ok: #3ad29f;
  --warn: #ffb547;

  --display: "Saira Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --radius: 10px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-hi); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-hi);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

h1, h2, h3 { font-family: var(--display); text-transform: uppercase; font-weight: 700; margin: 0; text-wrap: balance; letter-spacing: 0.005em; }
h2 { font-size: clamp(40px, 5.6vw, 68px); line-height: 0.95; }
h3 { font-size: 26px; line-height: 1.05; letter-spacing: 0.01em; }
p { margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px;
  font-family: var(--body); font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 0 0 0 var(--blue-glow); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 30px -6px var(--blue-glow); }
.btn-ghost { border-color: #344055; color: var(--fg); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { color: #fff; border-color: var(--blue); }
.btn-dark { background: var(--paper-ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #1a2130; }
.btn svg { width: 18px; height: 18px; }

/* ---------- top bar + nav ---------- */
.topbar {
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
}
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 9px; }
.topbar a { color: var(--muted); text-decoration: none; }
.topbar a:hover { color: #fff; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.status-dot.is-open::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(58,210,159,.15); }
.status-dot.is-closed::before { background: var(--warn); }

.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(7, 9, 13, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.brand img { width: 52px; height: 52px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1; }
.brand small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--muted); font-weight: 400; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { color: var(--fg); text-decoration: none; font-weight: 500; font-size: 15.5px; padding: 10px 14px; border-radius: 999px; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { background: var(--panel-2); color: #fff; }
.nav-links .btn { margin-left: 8px; min-height: 44px; }
.menu-btn { display: none; background: none; border: 1px solid #344055; color: var(--fg); width: 46px; height: 46px; border-radius: 50%; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }

@media (max-width: 880px) {
  .menu-btn { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 10px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px));
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 12px; font-size: 18px; }
  .nav-links .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero::after { /* fade the circuit field toward the copy */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 22% 50%, var(--ink) 25%, rgba(7,9,13,.55) 60%, rgba(7,9,13,0) 100%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 96px 104px; }
.hero h1 { font-size: clamp(64px, 10.5vw, 148px); line-height: 0.86; letter-spacing: -0.005em; margin: 22px 0 26px; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--fg); }
.hero h1 .blue { color: var(--blue); text-shadow: 0 0 40px var(--blue-glow); }
.hero-lede { font-size: 19.5px; color: #c4cddd; max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--blue-hi); }

.badge-stage { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 440px; width: 100%; justify-self: center; }
.badge-stage::before { /* soft halo */
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, rgba(61,123,255,0) 68%);
  filter: blur(10px);
}
.badge-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed #2b3547; }
.badge-ring.r2 { display: none; } /* the enlarged logo now fills this space */
.badge-orbit { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.badge-orbit i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 18px 4px var(--blue-glow); }
.badge-stage img { position: absolute; left: 50%; top: 50%; width: 106%; max-width: none; transform: translate(-50%, -50%); filter: drop-shadow(0 20px 50px rgba(0,0,0,.6)); } /* PNG has a transparent margin; this puts the badge edge just inside the dotted ring */
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .badge-orbit { animation: none; } }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 64px 72px; gap: 24px; }
  .badge-stage { max-width: 260px; order: -1; justify-self: start; }
}

/* ---------- marquee ---------- */
.marquee { border-bottom: 1px solid var(--line); overflow: hidden; background: var(--panel); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: 22px; letter-spacing: .06em; color: #6d788d; padding: 16px 0; white-space: nowrap; display: inline-flex; align-items: center; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; margin: 0 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- sections ---------- */
.section { padding-block: 112px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.section-head > div { display: flex; flex-direction: column; gap: 18px; max-width: 46rem; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 36em; }

/* services bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  grid-column: span 2;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
  transition: border-color .25s ease, transform .25s ease;
}
.tile::before { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(61,123,255,.16), transparent 45%);
}
.tile:hover { border-color: #2e3c57; transform: translateY(-2px); }
.tile:hover::before { opacity: 1; }
.tile.wide { grid-column: span 3; }
.tile.feature { grid-column: span 4; grid-row: span 2; background: linear-gradient(160deg, #101827 0%, var(--panel) 55%); }
.tile.feature h3 { font-size: 40px; }
.tile .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(61,123,255,.12); color: var(--blue-hi); border: 1px solid rgba(61,123,255,.25); }
.tile .icon svg { width: 24px; height: 24px; }
.tile p { color: var(--muted); }
.tile .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tile .tags span { font-family: var(--mono); font-size: 12px; color: #c4cddd; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.tile .price { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 13.5px; color: var(--muted); }
.tile .price strong { color: var(--fg); font-weight: 500; font-size: 15px; }
.tile a.more { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile.wide { grid-column: span 1; }
  .tile.feature { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile.feature { grid-column: span 1; }
  .tile { min-height: 0; }
}

/* process */
.process { background: var(--paper); color: var(--paper-ink); }
.process .eyebrow { color: var(--blue); }
.process .section-head p { color: var(--paper-muted); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--paper-ink); counter-reset: step; }
.step { padding: 32px 32px 8px 0; display: flex; flex-direction: column; gap: 12px; position: relative; }
.step + .step { padding-left: 32px; border-left: 1px solid #d3d9e4; }
.step .num { font-family: var(--display); font-weight: 700; font-size: 84px; line-height: .8; color: var(--blue); }
.step p { color: var(--paper-muted); }
@media (max-width: 780px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid #d3d9e4; }
}

/* inventory preview + cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); border-color: #2e3c57; box-shadow: 0 24px 40px -24px rgba(0,0,0,.8); }
.card-media { position: relative; aspect-ratio: 4 / 3; max-width: 100%; background: radial-gradient(circle at 50% 120%, #17233a 0%, var(--panel-2) 60%); display: grid; place-items: center; color: #4f6286; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media svg { width: 34%; height: auto; }
.card-media .chip { position: absolute; top: 12px; left: 12px; }
.chip { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: rgba(7,9,13,.75); border: 1px solid var(--line); color: #c4cddd; }
.chip.ok { color: var(--ok); border-color: rgba(58,210,159,.35); }
.chip.low { color: var(--warn); border-color: rgba(255,181,71,.35); }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--blue-hi); }
.card h3 { font-family: var(--body); text-transform: none; font-weight: 600; font-size: 18px; line-height: 1.3; letter-spacing: 0; }
.card .specs { color: var(--muted); font-size: 14.5px; }
.card .foot { margin-top: auto; padding-top: 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.card .price { font-family: var(--mono); font-size: 21px; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.card .cond { font-size: 13px; color: var(--muted); }

.example-note { font-family: var(--mono); font-size: 12.5px; color: var(--muted); border: 1px dashed #344055; border-radius: 8px; padding: 10px 14px; margin-bottom: 22px; }

/* guarantee band */
.guarantee { position: relative; overflow: hidden; background: var(--blue); color: #fff; }
.guarantee .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 88px; position: relative; z-index: 1; }
.guarantee h2 { font-size: clamp(44px, 6.4vw, 84px); }
.guarantee p { font-size: 19px; color: rgba(255,255,255,.88); max-width: 30em; }
.guarantee .stamp { justify-self: end; width: min(280px, 100%); opacity: .95; transform: rotate(-8deg); }
.guarantee::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 40px 40px; }
@media (max-width: 780px) {
  .guarantee .wrap { grid-template-columns: minmax(0, 1fr); }
  .guarantee .stamp { justify-self: start; width: 180px; }
}

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.about-grid .copy { display: flex; flex-direction: column; gap: 18px; color: #c4cddd; font-size: 18px; max-width: 36em; }
.fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 12px; }
.fact-list div { background: var(--panel); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.fact-list strong { font-family: var(--display); font-size: 30px; text-transform: uppercase; line-height: 1; color: #fff; }
.fact-list span { font-size: 14px; color: var(--muted); }
@media (max-width: 880px) { .about-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* visit */
.visit { border-top: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.visit-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.visit-card h3 { font-size: 24px; }
.visit-card .big { font-family: var(--mono); font-size: 22px; color: #fff; }
.hours { display: flex; flex-direction: column; gap: 0; font-variant-numeric: tabular-nums; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; }
.hours div:last-child { border-bottom: 0; }
.hours div span:last-child { font-family: var(--mono); font-size: 14px; color: #c4cddd; }
.hours div.today span:first-child { color: #fff; font-weight: 600; }
.hours div.today span:first-child::after { content: "Today"; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-hi); margin-left: 10px; }
.holidays { font-size: 13.5px; color: var(--muted); }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.copy-btn { background: none; border: 1px solid #344055; color: var(--muted); border-radius: 999px; font: 500 13px var(--body); padding: 6px 12px; cursor: pointer; min-height: 32px; }
.copy-btn:hover { color: #fff; border-color: var(--blue); }
@media (max-width: 1000px) { .visit-grid { grid-template-columns: minmax(0, 1fr); } }

/* footer */
.footer { border-top: 1px solid var(--line); padding-block: 40px; font-size: 14px; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer .brand img { width: 44px; height: 44px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: #fff; }

/* reveal on scroll: visible at rest, only lifts in when JS marks it */
.reveal.play { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal.play { animation: none; } }

/* ---------- inventory page ---------- */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.page-hero .wrap { position: relative; z-index: 1; padding-block: 72px 64px; display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { font-size: clamp(56px, 9vw, 120px); line-height: .88; }
.page-hero p { color: #c4cddd; font-size: 19px; max-width: 34em; }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--ink) 30%, rgba(7,9,13,.4) 100%); }

.toolbar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 77px); z-index: 40; background: rgba(7,9,13,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.toolbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-block: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 520px; min-width: 0; }
.filter { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #2b3547; background: transparent; color: var(--fg); font: 500 14.5px var(--body); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.filter .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.filter:hover { border-color: var(--blue); }
.filter[aria-pressed="true"] { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.filter[aria-pressed="true"] .n { color: #4a5366; }
.search { position: relative; flex: 0 1 280px; min-width: 0; }
.search input { width: 100%; min-height: 42px; border-radius: 999px; border: 1px solid #2b3547; background: var(--panel); color: var(--fg); font: 15px var(--body); padding: 0 16px 0 40px; }
.search input::placeholder { color: #6d788d; }
.search svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--muted); }
.sort { min-height: 42px; border-radius: 999px; border: 1px solid #2b3547; background: var(--panel); color: var(--fg); font: 14.5px var(--body); padding: 0 14px; }
@media (max-width: 880px) { .toolbar { top: calc(env(safe-area-inset-top, 0px) + 71px); } .search { flex: 1 1 100%; } }

.results-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 32px 0 20px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.empty { border: 1px dashed #344055; border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--muted); }
.empty strong { display: block; color: var(--fg); font-size: 18px; margin-bottom: 6px; }
.hold-strip { margin-top: 56px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.hold-strip h3 { font-size: 30px; }
.hold-strip p { color: var(--muted); }

/* ---------- shared bits added for content pages ---------- */
.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; }
.eyebrow.light { color: #fff; }
.muted-sm { font-size: 13.5px; color: var(--muted); }
.big-addr { font-size: 20px; color: #fff; line-height: 1.4; }
.visit-card h3 { display: flex; align-items: center; gap: 10px; }
.visit-card .vi { width: 22px; height: 22px; color: var(--blue-hi); }
.btn svg { flex: none; }
.tile.tile-green .icon { background: rgba(58,210,159,.1); color: var(--ok); border-color: rgba(58,210,159,.28); }

/* specialists list */
.specialists { background: var(--panel); border-block: 1px solid var(--line); }
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.spec { display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 18px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--fg); transition: background .2s ease, padding .2s ease; }
.spec > svg:first-child { width: 30px; height: 30px; color: var(--blue-hi); }
.spec strong { display: block; font-family: var(--display); text-transform: uppercase; font-size: 24px; font-weight: 700; letter-spacing: .01em; line-height: 1.1; }
.spec em { font-style: normal; color: var(--muted); font-size: 15px; }
.spec .go { width: 20px; height: 20px; color: var(--muted); transition: transform .2s ease, color .2s ease; }
.spec:hover { color: #fff; padding-left: 12px; }
.spec:hover .go { transform: translateX(4px); color: var(--blue-hi); }
@media (max-width: 780px) { .spec-list { grid-template-columns: minmax(0, 1fr); } }

/* page hero extras */
.crumb { font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--blue-hi); }
.crumb::before { content: "← "; }
.page-icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: rgba(61,123,255,.12); border: 1px solid rgba(61,123,255,.3); color: var(--blue-hi); }
.page-icon svg { width: 34px; height: 34px; }
.page-hero h1 { max-width: 15ch; }
.about-hero-grid { display: grid !important; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.about-hero-grid > div { display: flex; flex-direction: column; gap: 18px; }
.about-badge { width: min(320px, 100%); justify-self: end; filter: drop-shadow(0 0 40px var(--blue-glow)); }
@media (max-width: 780px) { .about-hero-grid { grid-template-columns: minmax(0, 1fr); } .about-badge { width: 180px; justify-self: start; order: -1; } }

/* article layout */
.article-wrap { padding-block: 80px 112px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.prose { min-width: 0; max-width: 46rem; font-size: 18px; color: #c4cddd; display: flex; flex-direction: column; gap: 20px; }
.prose p:first-child { font-size: 21px; color: var(--fg); line-height: 1.55; }
.prose h2 { font-size: clamp(30px, 3.6vw, 42px); color: #fff; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.prose strong { color: #fff; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 15.5px; color: var(--fg); line-height: 1.4; }
.ticks svg { width: 18px; height: 18px; flex: none; color: var(--blue-hi); margin-top: 1px; }
@media (max-width: 620px) { .ticks { grid-template-columns: minmax(0, 1fr); } }
.aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 16px; }
.aside-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.aside-card h4 { margin: 0; font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cta-card { background: linear-gradient(165deg, #12203b 0%, var(--panel) 70%); border-color: #24345a; }
.cta-card h3 { font-size: 30px; }
.cta-card p { color: #c4cddd; font-size: 15.5px; }
.cta-card .btn { justify-content: center; }
.cta-card .status-dot { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.toc, .others { display: flex; flex-direction: column; }
.toc a, .others a { color: #c4cddd; text-decoration: none; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; display: flex; gap: 10px; align-items: center; }
.toc a:last-child, .others a:last-child { border-bottom: 0; }
.toc a:hover, .others a:hover { color: #fff; }
.others svg { width: 18px; height: 18px; color: var(--blue-hi); flex: none; }
.fact-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 0; background: var(--line); overflow: hidden; }
.fact-card div { background: var(--panel); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.fact-card strong { font-family: var(--display); font-size: 34px; line-height: 1; color: #fff; }
.fact-card span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
@media (max-width: 980px) { .article-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .aside { position: static; } }

/* services overview */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-card { --mx: 50%; --my: 50%; position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--fg); min-height: 260px; transition: border-color .25s ease, transform .25s ease; }
.svc-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(61,123,255,.16), transparent 45%); }
.svc-card:hover { color: #fff; border-color: #2e3c57; transform: translateY(-2px); }
.svc-card:hover::before { opacity: 1; }
.svc-card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(61,123,255,.12); color: var(--blue-hi); border: 1px solid rgba(61,123,255,.25); }
.svc-card .icon svg { width: 24px; height: 24px; }
.svc-card p { color: var(--muted); }
.svc-card .more { margin-top: auto; color: var(--blue-hi); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.svc-card .more svg, .tile a.more svg { width: 16px; height: 16px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.contact-intro { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.contact-form { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.contact-form h2 { font-size: 36px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: #c4cddd; }
.field input, .field select, .field textarea { width: 100%; background: var(--ink); color: var(--fg); border: 1px solid #2b3547; border-radius: 8px; padding: 12px 14px; font: 16px var(--body); min-height: 48px; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6d788d; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(61,123,255,.2); }
.contact-form .btn { align-self: flex-start; }
.form-status { font-size: 15px; min-height: 1.4em; }
.form-status.ok { color: var(--ok); }
.form-status.warn { color: var(--warn); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } .contact-form { padding: 22px; } }

/* footer grid */
.footer-grid { display: grid !important; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start !important; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 22rem; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { margin: 0 0 4px; font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.process .btn-dark svg { width: 18px; height: 18px; }
.hero-copy { min-width: 0; }

/* ---------- inventory cards: clickable, with details dialog ---------- */
.card { position: relative; }
.card-hit { position: absolute; inset: 0; z-index: 2; background: transparent; border: 0; cursor: pointer; border-radius: var(--radius); }
.card-hit:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cards > .empty { grid-column: 1 / -1; }
.item-dialog { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid #2b3547; border-radius: 16px; background: var(--panel); color: var(--fg); overflow: auto; }
.item-dialog::backdrop { background: rgba(3,5,9,.78); backdrop-filter: blur(4px); }
.item-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.item-photo { background: radial-gradient(circle at 50% 120%, #17233a 0%, var(--panel-2) 60%); display: grid; place-items: center; min-height: 320px; color: #4f6286; grid-row: span 2; }
.item-photo img { width: 100%; height: 100%; max-height: 70vh; object-fit: contain; }
.item-photo svg { width: 40%; }
.thumbs { display: flex; gap: 8px; padding: 12px; flex-wrap: wrap; grid-column: 1; }
.thumbs button { width: 64px; height: 64px; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: none; cursor: pointer; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.item-info { padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 14px; grid-column: 2; grid-row: 1 / span 2; }
.item-info h2 { font-size: 40px; line-height: 1; }
.item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.item-meta .price { font-family: var(--mono); font-size: 26px; color: #fff; }
.item-meta .cond { font-size: 14px; color: var(--muted); }
.item-desc { color: #c4cddd; white-space: pre-line; }
.item-info .btn { align-self: flex-start; margin-top: 8px; }
.dlg-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #344055; background: rgba(7,9,13,.8); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
@media (max-width: 720px) {
  .item-inner { grid-template-columns: minmax(0, 1fr); }
  .item-photo { min-height: 220px; grid-row: auto; }
  .item-info { grid-column: 1; grid-row: auto; padding: 24px 20px; }
  .item-info h2 { font-size: 32px; }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
