/* ==========================================================================
   DOM'S MOTORCYCLE SPEED SHOP - shared stylesheet            /assets/site.css
   Black, electric blue, heavy wide italic type. Everything leans at 14 degrees.
   Used by the homepage, the store (/shop), the Shop Manager (/admin) and 404.

   HOW TO USE IT ON A PAGE
   -----------------------
   <meta name="color-scheme" content="dark">
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600&family=Saira:ital,wdth,wght@1,75..125,600..900&display=swap" rel="stylesheet">
   <link rel="stylesheet" href="/assets/site.css">
   <script>document.documentElement.className += ' js';</script>      (in <head>)

   Saira is loaded ITALIC ONLY. Display type is always italic; never set
   font-style:normal on it. Body copy is Barlow 400 / 500 / 600.
   Breakpoints: phone < 600px, tablet 600 - 999px, desktop >= 1000px.
   Write media queries as  @media screen and (max-width:599.98px)  /
   @media screen and (min-width:600px)  /  (max-width:999.98px)  /  (min-width:1000px).
   Icons are inline SVG with class="ico" (1.15em, fill currentColor). No emoji.
   Anything from the database goes through DMS.esc() or textContent.

   STYLE GUIDE (every component and its class names)
   -------------------------------------------------
    1. TOKENS          custom properties on :root. Colours: --black --ink --panel --panel-2 --panel-3
                       --line --line-2 --blue --blue-a --blue-b --blue-hot --led --ice --text --text-2
                       --muted --danger --warn --ok.  Shape: --skew --unskew.  Layout: --wrap --pad --hdr.
                       Type: --f-display --f-body.  Light: --glow --shadow.  Motion: --ease.
    2. BASE            reset, body, links, :focus-visible (white 3px ring), ::selection.
    3. UTILITIES       .wrap (page container)  .wrap--narrow (760px)  .stack (children spaced by --gap,
                       default 16px)  .row (flex row, wraps, --gap)  .sr-only  .nb (no wrap)  .muted
                       .small  .center  [hidden] always wins.  .skip (skip link, first thing in <body>).
    4. TYPE            .d  display face: wide, heavy, italic, caps. Sizes: .h1 .h2 .h3 .h4
                       <h2 class="d h2">Dom's <span class="accent">gear.</span></h2>
                       .accent  light blue word inside a heading (#a8d0ff, passes contrast on black)
                       .lede  intro paragraph   .kicker  small blue label with an LED rule after it
                       .eyebrow  small caps label with a short rule on each side
                       .prose  readable text block (paragraph spacing, link colour)
    5. WORDMARK        <a class="logo" href="/" aria-label="Dom's Motorcycle Speed Shop, home">
                         <span class="logo__name" aria-hidden="true">DOM&rsquo;S</span>
                         <span class="logo__bar" aria-hidden="true">Motorcycle Speed Shop</span></a>
                       .logo--lg  big version (footer, 404).
    6. HEADER + NAV    .hdr  .hdr__in  .nav  .nav__toggle  .nav__list  .nav__quick  .hdr__cart
                       .hdr__cart-n  .hdr__call  .hdr__num  .hdr__short.  Copy the block between
                       SHARED HEADER START / END in index.html, script included. State: .hdr[data-open="true"].
    7. FOOTER          .ftr  .ftr__top  .ftr__col  .ftr__nav  .ftr__legal  .ftr__base.  Copy the block
                       between SHARED FOOTER START / END in index.html.
    8. BUTTONS         <a class="btn" href>Label</a>  or  <button class="btn" type="button">
                       .btn (blue)  .btn--ghost (outline)  .btn--white  .btn--danger  .btn--sm (46px)
                       .btn--block (full width)   .btn--wrap (a long label may wrap to two lines)
                       disabled: [disabled] or aria-disabled="true"
                       busy: .is-busy (the label is hidden, a spinner shows, clicks are blocked; the button
                       keeps its width).  Put an <svg class="ico"> inside
                       for an icon; class="ico ico--go" on an arrow makes it nudge on hover.
                       .link  inline text button / link in LED blue.
                       .icon-btn  44px square icon button (close X, remove):
                       <button class="icon-btn" type="button" aria-label="Close"><svg class="ico">..</svg></button>
    9. BAR, TAG, CHIP, PILL, BADGE
                       .bar   solid blue parallelogram label:  <p class="bar">Performance Specialists</p>
                       .tag   small outlined skewed label:     <span class="tag">M8 specialty</span>
                              .tag--solid (blue fill)  .tag--mute (grey)
                       .chip  filter button or link: <button class="chip" aria-pressed="true">Apparel</button>
                              active when aria-pressed="true", aria-current, or .is-active
                              wrap several in <div class="chips">
                       .pill  small status text, data-tone="blue | ok | warn | danger | mute"
                              <span class="pill" data-tone="ok">Paid</span>
                       .badge open / closed badge with a dot: <span class="badge" data-state="open">Open now</span>
                              data-state="open" (blue) or "closed" (grey). Empty badges are hidden.
                       .stamp tilted "Sold out" stamp, sits inside a positioned photo frame.
   10. LED DIVIDER     <hr class="led">  thin glowing strip.  .led--soft is dimmer.
   11. CARDS + TILES   .card  panel.  .card--lit  brighter border, LED corner, blue under-glow.
                       .card__title  heading inside a card.
                       .tile  skewed service tile (li or div):
                         <li class="tile"><span class="hatch" aria-hidden="true"></span><h3>Title</h3><p>Text</p></li>
                         wrap in <ul class="tiles"> for the 1 / 2 / 3 column grid.
                       .ftile the flyer's striped tile, a link:
                         <a class="ftile" href="#x"><span class="hatch" aria-hidden="true"></span>Cam Jobs</a>
                       .hatch the "///" stripes (slides on hover inside .tile and .ftile).
   12. PRODUCT CARDS   <ul class="pgrid">  2 columns on phones, 4 on desktop (.pgrid--3 for 3)
                         <li><a class="pcard" href="/shop?p=ID">
                           <span class="pcard__img"><img src alt loading="lazy" width height>
                             <span class="stamp">Sold out</span></span>            (stamp only if sold out)
                           <span class="pcard__body"><span class="pcard__name">Name</span>
                             <span class="pcard__meta">Apparel</span>              (optional)
                             <span class="pcard__price">$25</span></span></a></li>
                       .pcard.is-out dims the photo.  .pcard__img is a 1:1 frame; the photo covers it.
   13. FORMS           <div class="field">  (add .is-invalid to show the error state)
                         <label class="field__label" for="x">Name <span class="field__opt">optional</span></label>
                         <input class="input" id="x">   |  <textarea class="textarea">  |  <select class="select">
                         <p class="field__help">Help text.</p>
                         <p class="field__error" role="alert">Error text.</p>   (hidden while empty)
                       </div>
                       .form  vertical form (20px gaps).  .form__row  two fields side by side from 600px.
                       .fieldset + .fieldset__legend  group with a legend.
                       Checkbox / radio:  <label class="check"><input type="checkbox"><span>Text</span></label>
                       Segmented choice (radios that look like buttons):
                         <div class="seg" role="radiogroup" aria-label="Payment">
                           <label class="seg__opt"><input type="radio" name="pay" value="a" checked><span>Cash App</span></label>
                           <label class="seg__opt"><input type="radio" name="pay" value="b"><span>Pay at pickup</span></label></div>
                         .seg--stack stacks the options (one per row).
                       Quantity stepper:
                         <div class="qty"><button class="qty__btn" type="button" aria-label="One fewer">-</button>
                           <input class="qty__n" inputmode="numeric" value="1" aria-label="Quantity">
                           <button class="qty__btn" type="button" aria-label="One more">+</button></div>
   14. FEEDBACK        .notice  inline message box, data-tone="ok | warn | danger" (default blue).
                       .toasts  fixed stack (one per page, put it at the end of <body>, aria-live="polite")
                         <div class="toasts" aria-live="polite"></div>; append <div class="toast">Saved</div>,
                         data-tone="ok | error"; add .is-leaving before removing it for the exit motion.
                       .skel  skeleton block (set a height); .skel--text (one line)  .skel--img (1:1).
                       .spinner  small spinning ring.   .empty  centred empty-state block.
   15. MODAL           <dialog class="modal" aria-labelledby="t">        open with dialog.showModal()
                         <div class="modal__head"><h2 class="modal__title" id="t">Title</h2>
                           <button class="icon-btn" type="button" aria-label="Close">..</button></div>
                         <div class="modal__body">..</div>
                         <div class="modal__foot">buttons</div></dialog>
                       .modal--wide (860px).  The body scrolls; head and foot stay put.
   16. DRAWER          <dialog class="drawer" aria-labelledby="t">        slide-over from the right, showModal()
                         <div class="drawer__head">..</div><div class="drawer__body">..</div>
                         <div class="drawer__foot">..</div></dialog>
   17. TABLE + TABS    <div class="table-wrap"><table class="table">..</table></div>
                       .table--wide  for five or more columns: the table keeps a 780px minimum and the wrap
                       scrolls sideways on phones. Without it a wide table squeezes its cells. Put class="nb"
                       on a cell that must stay on one line.
                       <div class="tabs" role="tablist"><button class="tab" role="tab" aria-selected="true">Orders</button>..</div>
   18. ACTION BAR      phones only: fixed Call / Directions bar. <nav class="actionbar" aria-label="Quick actions">
                       two <a> links. Add class="has-actionbar" to <body> so nothing hides behind it.
                       .actionbar.is-away slides it out of view.
   19. REVEAL          .reveal fades and rises into place when it gets .is-in. Nothing is hidden unless
                       <html> has the class "anim" (added by script, never under reduced motion).
                       style="--d:120ms" delays one item; .reveal-group staggers its .reveal children.
                       The page script must add .is-in (IntersectionObserver) and keep a timed failsafe.
   20. PRINT           @media print block at the end.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: dark;
  --black: #04060a;
  --ink: #070b13;
  --panel: #0a101c;
  --panel-2: #0e1626;
  --panel-3: #131d31;
  --line: rgba(122, 170, 255, .16);
  --line-2: rgba(122, 170, 255, .36);
  --blue: #1463ff;          /* electric blue: fills, stripes, borders */
  --blue-a: #1f69ff;        /* button gradient, white text passes AA on both stops */
  --blue-b: #0f4fe0;
  --blue-hot: #3d86ff;      /* large type, glows */
  --led: #6fb1ff;           /* small blue text on black */
  --ice: #a8d0ff;           /* accent words in headings */
  --text: #e8edf6;
  --text-2: #c5cddc;
  --muted: #a3afc4;
  --danger: #ff8080;
  --warn: #ffc65c;
  --ok: #5fe3a1;
  --skew: -14deg;
  --unskew: 14deg;
  --wrap: 1240px;
  --pad: 20px;
  --hdr: 64px;
  --f-display: "Saira", "Saira Fallback", "Arial Black", Arial, sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --glow: 0 0 12px 1px rgba(61, 134, 255, .8), 0 0 40px 4px rgba(20, 99, 255, .4);
  --shadow: 0 30px 70px -28px rgba(0, 0, 0, .95);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media screen and (min-width: 1000px) {
  :root { --pad: 32px; --hdr: 78px; }
}

/* Stand-in while Saira loads, sized so the swap does not make headings jump. */
@font-face {
  font-family: "Saira Fallback";
  src: local("Arial Black"), local("Arial-Black"), local("Arial Bold Italic"), local("Arial");
  font-style: italic; font-weight: 600 900;
  size-adjust: 88%; ascent-override: 118%; descent-override: 30%;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 18px);
  background: var(--black);
}
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--black); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, address, fieldset, legend, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
fieldset { border: 0; min-width: 0; }
h1, h2, h3 { text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 1px; }

/* ---------- 3. Utilities ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
@supports (padding: max(0px, env(safe-area-inset-left, 0px))) {      /* a phone held sideways: keep clear of the notch and rounded corners */
  .wrap { padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); }
}
.wrap--narrow { max-width: calc(760px + var(--pad) * 2); }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, 14px); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nb { white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.center { text-align: center; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.skip {
  position: absolute; left: 12px; top: -90px; z-index: 400;
  background: #fff; color: #04060a; padding: 12px 18px; font-weight: 600; text-decoration: none;
  transition: top .15s;
}
.skip:focus { top: 12px; }

/* ---------- 4. Type ---------- */
.d {
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 100%;
  text-transform: uppercase; line-height: .94; letter-spacing: .002em; color: #fff;
}
.h1 { font-size: clamp(38px, 7.6vw, 86px); }
.h2 { font-size: clamp(34px, 6.2vw, 78px); }
.h3 { font-size: clamp(23px, 2.5vw, 31px); line-height: 1; }
.h4 { font-size: 18px; line-height: 1.05; font-weight: 800; letter-spacing: .03em; }
.accent { color: var(--ice); }
.lede { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; color: #d7deeb; }
.lede strong { color: #fff; font-weight: 600; }
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-display); font-style: italic; font-weight: 700; font-stretch: 110%;
  font-size: 13px; line-height: 1.3; letter-spacing: .22em; text-transform: uppercase; color: var(--led);
}
.kicker::before {
  content: ""; flex: none; width: 34px; height: 10px; transform: skewX(-30deg);
  background: linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 14px, var(--blue) 14px 20px, transparent 20px 24px, var(--blue) 24px 27px, transparent 27px);
}
.kicker::after { content: ""; flex: 1; min-width: 24px; height: 1px; background: linear-gradient(90deg, rgba(111, 177, 255, .5), rgba(111, 177, 255, 0)); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-style: italic; font-weight: 700; font-stretch: 112%;
  font-size: 13px; line-height: 1.3; letter-spacing: .3em; text-transform: uppercase; color: #dbe7ff;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 30px; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff); }
.eyebrow::after { background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.prose > * + * { margin-top: 1em; }
.prose a, .link { color: var(--led); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.prose a:hover, .link:hover { color: #fff; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; font-weight: 500; }
button.link, a.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }

/* ---------- 5. Wordmark ---------- */
.logo {
  display: inline-flex; flex-direction: column; align-items: stretch; flex: none;
  color: #fff; text-decoration: none; line-height: 1; padding: 4px 0;
}
.logo__name {
  display: flex; align-items: center; gap: .3em;
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 122%;
  font-size: 25px; line-height: .86; letter-spacing: .02em; white-space: nowrap;
}
.logo__name::before, .logo__name::after { content: ""; flex: 1; min-width: .42em; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff); }
.logo__name::after { background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.logo__bar {
  position: relative; isolation: isolate; display: block; margin-top: 5px; padding: 3px 10px 2.5px;
  font-family: var(--f-display); font-style: italic; font-weight: 700; font-stretch: 112%;
  font-size: 7px; line-height: 1.25; letter-spacing: .15em; text-transform: uppercase;
  white-space: nowrap; text-align: center;
}
.logo__bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(-18deg);
  background: linear-gradient(180deg, #2366ff, #0f44dc); box-shadow: 0 0 16px -2px rgba(20, 99, 255, .9);
}
.logo--lg { align-items: flex-start; }
.logo--lg .logo__name { font-size: clamp(50px, 6vw, 70px); align-self: stretch; }
.logo--lg .logo__bar { align-self: stretch; margin-top: 9px; padding: 6px 16px 5px; font-size: clamp(12px, 1.2vw, 13.5px); }
@media screen and (min-width: 1000px) {
  .logo__name { font-size: 31px; }
  .logo__bar { font-size: 8.6px; padding: 3.5px 12px 3px; }
}
/* In the header the strip is set larger and a little tighter, so "Motorcycle Speed Shop" can be read:
   10px on phones, 11px on desktop. */
.hdr .logo__bar { font-size: 10px; letter-spacing: .05em; font-stretch: 96%; padding: 3px 8px 2.5px; }
@media screen and (max-width: 359.98px) {
  .hdr .logo__bar { letter-spacing: .02em; font-stretch: 84%; padding-inline: 6px; }
}
@media screen and (min-width: 1000px) {
  .hdr .logo__bar { font-size: 11px; letter-spacing: .1em; font-stretch: 106%; padding: 3.5px 12px 3px; }
}

/* ---------- 6. Header + nav ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100; height: var(--hdr);
  background: rgba(4, 6, 10, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
}
.hdr::after {                        /* LED strip under the header */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(61, 134, 255, 0), rgba(111, 177, 255, .95) 18%, #cfe4ff 50%, rgba(111, 177, 255, .95) 82%, rgba(61, 134, 255, 0));
  box-shadow: 0 0 14px 1px rgba(61, 134, 255, .75);
}
.hdr__in { height: 100%; display: flex; align-items: center; gap: 8px; }
.nav { margin-left: auto; display: flex; align-items: center; }
.nav__list { display: flex; flex-wrap: wrap; gap: 0 4px; }
.nav__list a {
  position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px;
  color: #dfe6f1; text-decoration: none;
  font-family: var(--f-display); font-style: italic; font-weight: 700; font-stretch: 108%;
  font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; transition: color .2s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 7px; height: 3px; background: var(--blue-hot);
  transform: skewX(-30deg) scaleX(0); transform-origin: 0 50%; transition: transform .25s var(--ease);
}
.nav__list a:hover, .nav__list a[aria-current="page"] { color: #fff; }
.nav__list a:hover::after, .nav__list a:focus-visible::after, .nav__list a[aria-current="page"]::after { transform: skewX(-30deg) scaleX(1); }
.nav__quick { display: none; }
.nav__toggle {
  flex: none; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 46px; height: 46px; padding: 0; border: 0; background: none; color: #fff;
}
.nav__toggle span { display: block; width: 24px; height: 2.5px; background: currentColor; transform: skewX(-24deg); transition: transform .25s ease, opacity .2s ease; }
.hdr[data-open="true"] .nav__toggle span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hdr[data-open="true"] .nav__toggle span:nth-child(2) { opacity: 0; }
.hdr[data-open="true"] .nav__toggle span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

.hdr__cart {
  position: relative; flex: none; display: inline-grid; place-items: center; width: 46px; height: 46px;
  color: #fff; text-decoration: none;
}
.hdr__cart .ico { width: 24px; height: 24px; }
.hdr__cart-n {
  position: absolute; right: 0; top: 2px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; background: var(--blue-a); color: #fff; border-radius: 10px;
  box-shadow: 0 0 0 2px var(--black), 0 0 12px rgba(20, 99, 255, .9);
  font-family: var(--f-body); font-size: 12.5px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums;
}
.hdr__cart:hover { color: var(--ice); }
.hdr__call { flex: none; }
.hdr__short { display: none; }

/* Below desktop the nav is a drop panel (only when JS is running; without JS the links wrap under the header row). */
@media screen and (max-width: 999.98px) {
  .js .nav__toggle { display: flex; }
  .js .nav__list {
    position: absolute; left: 0; right: 0; top: 100%; display: block;
    max-height: calc(100vh - var(--hdr)); max-height: calc(100dvh - var(--hdr)); overflow-y: auto; overscroll-behavior: contain;
    padding: 6px var(--pad) 22px; background: #04060a;      /* solid: page text must not show through the open menu */
    padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px));
    border-bottom: 2px solid var(--blue); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .js .hdr[data-open="true"] .nav__list { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .js .nav__list a { display: flex; min-height: 58px; padding: 0 4px; font-size: 19px; font-weight: 800; font-stretch: 100%; letter-spacing: .06em; border-bottom: 1px solid var(--line); }
  .js .nav__list a::after { display: none; }
  .js .nav__list li:not(.nav__quick) a::before { content: ""; flex: none; width: 10px; height: 22px; background: var(--blue); transform: skewX(var(--skew)); }
  .js .nav__quick { display: block; }
  .js .nav__quick a { color: var(--ice); font-size: 17px; letter-spacing: .05em; }
  .js .nav__quick .ico { width: 22px; height: 22px; margin-left: -4px; }
  html:not(.js) .hdr { height: auto; position: static; }
  html:not(.js) .hdr__in { flex-wrap: wrap; padding-block: 8px; }
  html:not(.js) .nav { order: 9; width: 100%; margin-left: 0; }
}
@media screen and (max-width: 599.98px) {
  .hdr__in { gap: 4px; }
  .hdr__num { display: none; }
  .hdr__short { display: inline; }
  .hdr__call.btn { min-height: 44px; padding: 0 1em; font-size: 15px; margin-left: 6px; }
}
@media screen and (max-width: 429.98px) {         /* cart showing on a phone: the call button drops its word, so the wordmark keeps its room */
  .hdr__cart:not([hidden]) ~ .hdr__call .hdr__short { display: none; }
  .hdr__cart:not([hidden]) ~ .hdr__call.btn { padding: 0 .95em; }
}
@media screen and (max-width: 359.98px) {
  .logo__name { font-size: 22px; }
  .logo__bar { padding-inline: 7px; font-size: 6.4px; letter-spacing: .1em; }
  .hdr__short { display: none; }
  .hdr__call.btn { padding: 0 .95em; }
}
@media screen and (min-width: 1000px) {
  .hdr__in { gap: 20px; }
  .hdr__call { margin-left: 4px; }
}

/* ---------- 7. Footer ---------- */
.ftr { position: relative; background: linear-gradient(180deg, #060a12, var(--black)); }
.ftr::before {                       /* LED strip on the top edge */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, rgba(61, 134, 255, 0), #3d86ff 14%, #cfe4ff 50%, #3d86ff 86%, rgba(61, 134, 255, 0));
  box-shadow: var(--glow);
}
.ftr__top { display: grid; gap: 34px; padding: clamp(48px, 6vw, 84px) 0 40px; }
.ftr__h {
  margin-bottom: 10px; font-family: var(--f-display); font-style: italic; font-weight: 700; font-stretch: 110%;
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--led);
}
.ftr__col a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; font-weight: 500; }
.ftr__col a:hover { text-decoration: underline; text-decoration-color: var(--blue-hot); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ftr__col p { color: #dfe6f1; }
.ftr__nav { display: grid; justify-items: start; }
.ftr__nav a { min-width: 44px; }
.ftr__legal { padding: 26px 0 34px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; color: var(--muted); display: grid; gap: 12px; }
.ftr__legal a { color: #dfe6f1; text-underline-offset: 3px; }
.ftr__legal p > a { display: inline-flex; align-items: center; min-height: 44px; }      /* a full-size tap target for a link inside the small print */
.ftr__legal a:hover { color: #fff; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px; color: var(--text-2); }
.ftr__base a { display: inline-flex; align-items: center; min-height: 44px; }
.ftr__top > .logo { justify-self: start; }
@media screen and (min-width: 360px) and (max-width: 599.98px) {
  /* Phones: Shop and Call side by side, the site links in one wrapping row, so the footer is not a long single column. */
  .ftr__top { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 26px 14px; padding-bottom: 30px; }
  .ftr__top > .logo, .ftr__top > nav.ftr__col { grid-column: 1 / -1; }
  .ftr__col p { font-size: 16px; }
  .ftr__nav { display: flex; flex-wrap: wrap; gap: 0 14px; }
}
@media screen and (min-width: 600px) {
  .ftr__top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 40px; align-items: start; }
  .ftr__top > .logo { grid-column: 1 / -1; }
}
@media screen and (min-width: 1000px) {
  .ftr__top { grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 40px 64px; }
  .ftr__top > .logo { grid-column: auto; }
  .ftr__col { padding-top: 10px; }
}

/* ---------- 8. Buttons: leaning parallelograms ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: 0 1.7em; border: 0; background: none; color: #fff;
  text-decoration: none; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-stretch: 104%;
  font-size: 16.5px; line-height: 1; letter-spacing: .07em; text-transform: uppercase;
  transition: transform .2s var(--ease);
}
.btn::before {                       /* the skewed plate */
  content: ""; position: absolute; inset: 0; z-index: -2; transform: skewX(var(--skew));
  background: linear-gradient(180deg, var(--blue-a), var(--blue-b));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(0, 0, 0, .25), 0 0 0 1px rgba(111, 177, 255, .35), 0 14px 34px -14px rgba(20, 99, 255, .9);
}
.btn::after {                        /* the sheen that crosses the plate on hover */
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 24%; z-index: -1; pointer-events: none;
  transform: skewX(var(--skew)); opacity: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .42), rgba(255, 255, 255, 0));
}
.btn--ghost::before { background: rgba(6, 10, 18, .78); box-shadow: inset 0 0 0 2px var(--blue), inset 0 0 22px rgba(20, 99, 255, .28); }
.btn--ghost::after { background: linear-gradient(90deg, rgba(111, 177, 255, 0), rgba(111, 177, 255, .3), rgba(111, 177, 255, 0)); }
.btn--white { color: #04060a; }
.btn--white::before { background: linear-gradient(180deg, #fff, #dfe6f1); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .8); }
.btn--white::after { background: linear-gradient(90deg, rgba(20, 99, 255, 0), rgba(20, 99, 255, .22), rgba(20, 99, 255, 0)); }
.btn--danger::before { background: linear-gradient(180deg, #d83a3a, #a81e1e); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 14px 30px -14px rgba(200, 40, 40, .8); }
.btn--sm { min-height: 46px; padding: 0 1.2em; font-size: 14.5px; }
.btn--block { display: flex; width: 100%; }
.btn--wrap { white-space: normal; text-align: center; line-height: 1.2; padding-block: 12px; }
.btn .ico--go { transition: transform .2s var(--ease); }
.btn:focus-visible { outline: none; }
.btn:focus-visible::before { outline: 3px solid #fff; outline-offset: 3px; }      /* ring follows the lean */
.btn:active { transform: translateY(2px) scale(.985); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn.is-busy { pointer-events: none; color: transparent; }      /* the label keeps the width but gives way to the spinner */
.btn.is-busy::after {
  left: 50%; top: 50%; bottom: auto; width: 20px; height: 20px; margin: -10px 0 0 -10px; z-index: 1; opacity: 1;
  transform: none; background: none; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%;
  animation: dms-spin .7s linear infinite;
}
.btn--white.is-busy::after { border-color: rgba(4, 6, 10, .25); border-top-color: #04060a; }
@media (hover: hover) {
  .btn:hover { transform: translateX(3px); }
  .btn:hover:active { transform: translate(3px, 2px) scale(.985); }      /* the press still shows under a mouse */
  .btn:hover::before { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -2px 0 rgba(0, 0, 0, .25), 0 0 0 1px rgba(168, 208, 255, .7), 0 16px 40px -10px rgba(20, 99, 255, 1); }
  .btn--ghost:hover::before { background: rgba(20, 99, 255, .2); box-shadow: inset 0 0 0 2px var(--led), inset 0 0 22px rgba(20, 99, 255, .4); }
  .btn--white:hover::before { box-shadow: 0 0 0 2px rgba(255, 255, 255, .35), 0 16px 34px -12px rgba(0, 0, 0, .9); }
  .btn--danger:hover::before { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 0 1px rgba(255, 150, 150, .6), 0 16px 34px -12px rgba(220, 50, 50, .9); }
  .btn:hover:not(.is-busy)::after { animation: dms-sheen .75s var(--ease) both; }
  .btn:hover .ico--go { transform: translateX(4px); }
}
@keyframes dms-sheen {
  0% { opacity: 0; transform: skewX(var(--skew)) translateX(0); }
  25%, 70% { opacity: 1; }
  100% { opacity: 0; transform: skewX(var(--skew)) translateX(318%); }
}
@keyframes dms-spin { to { transform: rotate(360deg); } }

.icon-btn {
  flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: #fff; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.icon-btn .ico { width: 20px; height: 20px; }
.icon-btn:hover { background: rgba(20, 99, 255, .25); border-color: var(--led); }

/* ---------- 9. Bar, tag, chip, pill, badge, stamp ---------- */
.bar {
  position: relative; isolation: isolate; display: inline-block; max-width: 100%;
  padding: .56em 1.25em .5em; color: #fff;
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-stretch: 112%;
  font-size: 15px; line-height: 1.1; letter-spacing: .16em; text-transform: uppercase;
}
.bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(var(--skew));
  background: linear-gradient(180deg, #2468ff, #0f47de);
  box-shadow: 0 0 26px -2px rgba(20, 99, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.tag {
  position: relative; isolation: isolate; display: inline-block; padding: .32em .9em .26em; color: var(--ice);
  font-family: var(--f-display); font-style: italic; font-weight: 700; font-stretch: 108%;
  font-size: 13px; line-height: 1.25; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.tag::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(var(--skew)); background: rgba(20, 99, 255, .16); box-shadow: inset 0 0 0 1px rgba(111, 177, 255, .6); }
.tag--solid { color: #fff; }
.tag--solid::before { background: var(--blue-b); box-shadow: none; }
.tag--mute { color: var(--text-2); }
.tag--mute::before { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }

.chips { display: flex; flex-wrap: wrap; gap: 10px 14px; padding-inline: 6px; }
.chip {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 1.15em; border: 0; background: none; color: var(--text-2); text-decoration: none; cursor: pointer;
  font-family: var(--f-display); font-style: italic; font-weight: 700; font-stretch: 104%;
  font-size: 14px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.chip::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(var(--skew)); background: rgba(8, 13, 24, .9); box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background .2s, box-shadow .2s; }
.chip:hover { color: #fff; }
.chip:hover::before { box-shadow: inset 0 0 0 1.5px var(--led); }
.chip[aria-pressed="true"], .chip[aria-current], .chip.is-active { color: #fff; }
.chip[aria-pressed="true"]::before, .chip[aria-current]::before, .chip.is-active::before { background: linear-gradient(180deg, var(--blue-a), var(--blue-b)); box-shadow: 0 0 20px -4px rgba(20, 99, 255, .9); }
.chip:focus-visible { outline: none; }
.chip:focus-visible::before { outline: 3px solid #fff; outline-offset: 3px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 2px; white-space: nowrap;
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-stretch: 100%;
  font-size: 12.5px; line-height: 1.5; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ice); background: rgba(20, 99, 255, .16); box-shadow: inset 0 0 0 1px rgba(111, 177, 255, .5);
}
.pill[data-tone="ok"] { color: var(--ok); background: rgba(60, 220, 150, .1); box-shadow: inset 0 0 0 1px rgba(95, 227, 161, .5); }
.pill[data-tone="warn"] { color: var(--warn); background: rgba(255, 190, 80, .1); box-shadow: inset 0 0 0 1px rgba(255, 198, 92, .5); }
.pill[data-tone="danger"] { color: var(--danger); background: rgba(255, 90, 90, .1); box-shadow: inset 0 0 0 1px rgba(255, 128, 128, .5); }
.pill[data-tone="mute"] { color: var(--text-2); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }

.badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 2px 9px; vertical-align: middle; white-space: nowrap;
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-stretch: 100%;
  font-size: 12.5px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase;
  color: #dfe6f1; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8d99ae; }
.badge[data-state="open"] { color: #fff; background: var(--blue-b); box-shadow: 0 0 18px -2px rgba(20, 99, 255, .9); }
.badge[data-state="open"]::before { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .3); }
.badge:empty { display: none; }

.stamp {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%) rotate(-9deg);
  padding: .34em .8em .28em; white-space: nowrap; pointer-events: none;
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 104%;
  font-size: clamp(15px, 4.2vw, 21px); line-height: 1; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: rgba(4, 6, 10, .82); border: 2px solid #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
}

/* ---------- 10. LED divider ---------- */
.led {
  display: block; width: 100%; height: 2px; margin: 0; border: 0;
  background: linear-gradient(90deg, rgba(61, 134, 255, 0), #3d86ff 14%, #cfe4ff 50%, #3d86ff 86%, rgba(61, 134, 255, 0));
  box-shadow: var(--glow);
}
.led--soft { height: 1px; opacity: .7; box-shadow: 0 0 12px 1px rgba(61, 134, 255, .55); }

/* ---------- 11. Cards + tiles ---------- */
.card { position: relative; padding: clamp(20px, 3.2vw, 34px); background: linear-gradient(180deg, var(--panel-2), #070b14); border: 1px solid var(--line); }
.card--lit { border-color: var(--line-2); box-shadow: 0 0 70px -26px rgba(20, 99, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .04); }
.card--lit::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: min(120px, 40%); height: 2px; pointer-events: none;
  background: linear-gradient(90deg, #cfe4ff, var(--led) 60%, rgba(111, 177, 255, 0)); box-shadow: var(--glow);
}
.card__title { font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 100%; font-size: 24px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: #fff; }

.hatch {                             /* the flyer's "///" */
  flex: none; display: inline-block; width: 20px; height: 1.2em; transform: skewX(var(--skew));
  background: repeating-linear-gradient(90deg, #e9f1ff 0 4px, rgba(233, 241, 255, 0) 4px 8px);
  transition: transform .3s var(--ease);
}

.tiles { display: grid; gap: 18px; padding-inline: 14px; }
.tile {
  position: relative; isolation: isolate; min-height: 150px; padding: 24px 22px 26px 52px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  color: var(--text); text-decoration: none; transition: transform .3s var(--ease);
}
.tile::before {                      /* plate */
  content: ""; position: absolute; inset: 0; z-index: -2; transform: skewX(var(--skew));
  background: linear-gradient(120deg, rgba(20, 99, 255, .2), rgba(20, 99, 255, .03) 46%, rgba(8, 12, 20, .6));
  box-shadow: inset 0 0 0 2px var(--blue), 0 18px 40px -22px rgba(20, 99, 255, .65);
}
.tile::after {                       /* lit edge, fades in on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(var(--skew)); opacity: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(61, 134, 255, .22), rgba(20, 99, 255, 0) 55%);
  box-shadow: inset 0 0 0 2px var(--ice), 0 0 34px -4px rgba(61, 134, 255, .95);
  transition: opacity .3s ease;
}
.tile > .hatch { position: absolute; left: 12px; top: 0; bottom: 0; margin-block: auto; width: 22px; height: min(64%, 104px); background: repeating-linear-gradient(90deg, #fff 0 5px, rgba(255, 255, 255, 0) 5px 9px, var(--led) 9px 13px, rgba(111, 177, 255, 0) 13px 17px, var(--blue) 17px 20px, rgba(20, 99, 255, 0) 20px); }
.tile h3 {
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 96%;
  font-size: clamp(21px, 2.05vw, 27px); line-height: 1; letter-spacing: .005em; text-transform: uppercase; color: #fff;
}
.tile p { margin-top: 9px; font-size: 16px; line-height: 1.45; color: var(--text-2); }
.tile .tag { margin: 0 0 12px 4px; }
@media (hover: hover) {
  .tile:hover { transform: translateX(5px); }
  .tile:hover::after { opacity: 1; }
  .tile:hover > .hatch { transform: skewX(var(--skew)) translateX(7px); }
}
@media screen and (min-width: 600px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 22px 30px; padding-inline: 22px; }
  .tile { min-height: 176px; }
}
@media screen and (min-width: 1000px) {
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 28px 44px; padding-inline: 26px; }
  .tile { min-height: 200px; padding: 28px 30px 30px 58px; }
  .tile > .hatch { left: 14px; }
}

.ftile {
  position: relative; isolation: isolate; display: flex; align-items: center; gap: .6em;
  min-height: 60px; padding: 8px 14px 8px 20px; color: #fff; text-decoration: none;
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 100%;
  font-size: clamp(15px, 4.2vw, 22px); line-height: 1; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
}
.ftile::before {
  content: ""; position: absolute; inset: 0 6px; z-index: -2; transform: skewX(var(--skew));
  background: linear-gradient(180deg, rgba(14, 24, 50, .9), rgba(3, 6, 13, .94));
  box-shadow: inset 0 0 0 1.5px rgba(111, 177, 255, .85), inset 0 -16px 22px -14px rgba(61, 134, 255, .7), 0 0 24px -4px rgba(20, 99, 255, .8);
}
.ftile::after {
  content: ""; position: absolute; inset: 0 6px; z-index: -1; transform: skewX(var(--skew)); opacity: 0; pointer-events: none;
  box-shadow: inset 0 0 0 2px #cfe4ff, inset 0 -22px 26px -12px rgba(61, 134, 255, 1), 0 0 34px -2px rgba(61, 134, 255, 1);
  transition: opacity .25s ease;
}
.ftile:focus-visible { outline: none; }
.ftile:focus-visible::before { outline: 3px solid #fff; outline-offset: 3px; }
.ftile:active { transform: translateY(1px); }
@media (hover: hover) {
  .ftile:hover::after { opacity: 1; }
  .ftile:hover .hatch { transform: skewX(var(--skew)) translateX(5px); }
}

/* ---------- 12. Product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pcard {
  position: relative; display: flex; flex-direction: column; height: 100%; color: #fff; text-decoration: none;
  background: linear-gradient(180deg, #0f1828, #080c15); border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s;
}
.pcard__img { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #060a12; }
.pcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 12px 14px 14px; border-top: 2px solid var(--blue); }
.pcard__name { font-family: var(--f-display); font-style: italic; font-weight: 800; font-stretch: 96%; font-size: 16.5px; line-height: 1.12; letter-spacing: .01em; text-transform: uppercase; }
.pcard__meta { font-size: 14.5px; color: var(--muted); }
.pcard__price { margin-top: auto; padding-top: 4px; font-weight: 600; font-size: 18px; color: var(--ice); font-variant-numeric: tabular-nums; }
.pcard.is-out .pcard__img img { opacity: .45; }
.pcard.is-out .pcard__price { color: var(--muted); }
.pcard:focus-visible { outline-offset: 4px; }
@media (hover: hover) {
  .pcard:hover { transform: translateY(-4px); border-color: var(--led); }
  .pcard:hover .pcard__img img { transform: scale(1.04); }
}
@media screen and (min-width: 700px) {
  .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
  .pgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pcard__body { padding: 16px 18px 18px; }
  .pcard__name { font-size: 19px; }
}

/* ---------- 13. Forms ---------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media screen and (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.fieldset { display: grid; gap: 12px; }
.fieldset__legend, .field__label { display: block; font-size: 15.5px; font-weight: 600; color: #fff; line-height: 1.35; }
.fieldset__legend { margin-bottom: 10px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field__opt { margin-left: 6px; font-weight: 400; font-size: 14px; color: var(--muted); }
.input, .textarea, .select {
  display: block; width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 0;
  background: #060a13; color: #fff; border: 1.5px solid var(--line-2);
  font-family: var(--f-body); font-size: 17px; line-height: 1.4;
  -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 120px; resize: vertical; }
.select {
  padding-right: 46px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 8.5l7 7 7-7' fill='none' stroke='%236fb1ff' stroke-width='2.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px 20px;
}
.select option { background: #0a101c; color: #fff; }
.input::placeholder, .textarea::placeholder { color: #7f8ba3; opacity: 1; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--led); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(61, 134, 255, .55); }
.input[disabled], .textarea[disabled], .select[disabled] { opacity: .5; cursor: not-allowed; }
.field__help { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.field__error { font-size: 14.5px; line-height: 1.45; font-weight: 500; color: var(--danger); }
.field__error:empty { display: none; }
.field.is-invalid .input, .field.is-invalid .textarea, .field.is-invalid .select,
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); }

.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 9px 0; cursor: pointer; line-height: 1.45; }
.check input {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin: 0;
  -webkit-appearance: none; appearance: none; background: #060a13; border: 1.5px solid var(--line-2); border-radius: 0; cursor: pointer;
}
.check input[type="radio"] { border-radius: 50%; }
.check input:checked { background: var(--blue-a); border-color: #cfe4ff; }
.check input[type="checkbox"]:checked::after { content: ""; width: 13px; height: 7px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: translateY(-2px) rotate(-45deg); }
.check input[type="radio"]:checked::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.check input:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.seg--stack { grid-auto-flow: row; }
.seg__opt { position: relative; display: block; }
.seg__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg__opt span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 100%; min-height: 54px; padding: 9px 12px;
  text-align: center; background: #060a13; border: 1.5px solid var(--line-2); color: var(--text-2);
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-stretch: 100%;
  font-size: 15px; line-height: 1.15; letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s, border-color .2s, color .2s;
}
.seg__opt span small { font-family: var(--f-body); font-style: normal; font-weight: 400; font-size: 14px; letter-spacing: 0; text-transform: none; color: inherit; opacity: .85; }
.seg__opt input:hover + span { border-color: var(--led); color: #fff; }
.seg__opt input:checked + span { background: linear-gradient(180deg, var(--blue-a), var(--blue-b)); border-color: #cfe4ff; color: #fff; box-shadow: 0 0 22px -6px rgba(20, 99, 255, .95); }
.seg__opt input:checked + span small { opacity: 1; }      /* dimmed white on the blue plate falls under AA (4.4:1) */
.seg__opt input:focus-visible + span { outline: 3px solid #fff; outline-offset: 3px; }
.seg__opt input:disabled + span { opacity: .4; }
.seg__opt input:disabled { cursor: not-allowed; }

.qty { display: inline-grid; grid-template-columns: 46px 54px 46px; align-items: stretch; height: 48px; background: #060a13; border: 1.5px solid var(--line-2); }
.qty__btn { display: grid; place-items: center; padding: 0; background: none; border: 0; color: #fff; font-family: var(--f-body); font-size: 24px; font-weight: 500; line-height: 1; transition: background .2s; }
.qty__btn:hover { background: rgba(20, 99, 255, .3); }
.qty__btn[disabled] { opacity: .35; cursor: not-allowed; }
.qty__n {
  width: 100%; min-width: 0; padding: 0; text-align: center; background: none; border: 0; border-inline: 1px solid var(--line); border-radius: 0; color: #fff;
  font-family: var(--f-body); font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield;
}
.qty__n::-webkit-outer-spin-button, .qty__n::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__btn:focus-visible, .qty__n:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }

/* ---------- 14. Feedback ---------- */
.notice { padding: 14px 16px; background: rgba(20, 99, 255, .1); border: 1px solid var(--line-2); border-left: 4px solid var(--blue-hot); color: var(--text); }
.notice[data-tone="ok"] { background: rgba(60, 220, 150, .08); border-color: rgba(95, 227, 161, .4); border-left-color: var(--ok); }
.notice[data-tone="warn"] { background: rgba(255, 190, 80, .08); border-color: rgba(255, 198, 92, .4); border-left-color: var(--warn); }
.notice[data-tone="danger"] { background: rgba(255, 90, 90, .08); border-color: rgba(255, 128, 128, .4); border-left-color: var(--danger); }

.toasts {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 300; transform: translateX(-50%);
  display: grid; gap: 10px; width: min(92vw, 440px); pointer-events: none;
}
.toast {
  pointer-events: auto; padding: 14px 18px; background: #0e1626; color: #fff; font-weight: 500; line-height: 1.4;
  border: 1px solid var(--line-2); border-left: 4px solid var(--blue-hot); box-shadow: var(--shadow);
  animation: dms-toast-in .3s var(--ease) both;
}
.toast[data-tone="ok"] { border-left-color: var(--ok); }
.toast[data-tone="error"] { border-left-color: var(--danger); }
.toast.is-leaving { animation: dms-toast-out .25s ease both; }
@keyframes dms-toast-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes dms-toast-out { to { opacity: 0; transform: translateY(10px); } }

.skel { position: relative; overflow: hidden; background: #0c1322; min-height: 1em; }
.skel::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(100deg, rgba(122, 170, 255, 0) 30%, rgba(122, 170, 255, .13) 50%, rgba(122, 170, 255, 0) 70%);
  animation: dms-skel 1.4s ease-in-out infinite;
}
.skel--text { height: 1em; margin-block: .3em; }
.skel--img { aspect-ratio: 1 / 1; }
@keyframes dms-skel { to { transform: translateX(100%); } }

.spinner { display: inline-block; width: 22px; height: 22px; border: 3px solid rgba(111, 177, 255, .3); border-top-color: var(--ice); border-radius: 50%; animation: dms-spin .7s linear infinite; }
.empty { display: grid; justify-items: center; gap: 14px; padding: clamp(32px, 6vw, 64px) 20px; text-align: center; color: var(--text-2); border: 1px dashed var(--line-2); }

/* ---------- 15. Modal ---------- */
dialog.modal, dialog.drawer { padding: 0; color: var(--text); background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 0 80px -20px rgba(20, 99, 255, .7), var(--shadow); }
dialog.modal { width: min(94vw, 560px); max-width: none; max-height: min(88vh, 760px); max-height: min(88dvh, 760px); overflow: hidden; }
dialog.modal--wide { width: min(94vw, 860px); }
dialog.modal[open], dialog.drawer[open] { display: flex; flex-direction: column; }
dialog.modal[open] { animation: dms-modal-in .25s var(--ease) both; }
dialog.modal::backdrop, dialog.drawer::backdrop { background: rgba(2, 4, 8, .74); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal__head, .drawer__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 20px; border-bottom: 1px solid var(--line); }
.modal__title { font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 100%; font-size: 22px; line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; color: #fff; }
.modal__body, .drawer__body { flex: 1; min-height: 0; padding: 20px; overflow-y: auto; overscroll-behavior: contain; }
.modal__foot, .drawer__foot { flex: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 18px; padding: 16px 24px; border-top: 1px solid var(--line); background: rgba(4, 6, 10, .5); }
@keyframes dms-modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- 16. Drawer ---------- */
dialog.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100vw, 460px); max-width: none;
  height: 100%; max-height: none; border-width: 0 0 0 1px; overflow: hidden;
}
dialog.drawer[open] { animation: dms-drawer-in .3s var(--ease) both; }
.drawer__foot { display: grid; justify-content: stretch; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
@keyframes dms-drawer-in { from { transform: translateX(100%); } to { transform: none; } }

/* ---------- 17. Table + tabs ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; font-size: 16px; }
.table--wide { min-width: 780px; }      /* five or more columns: scrolls sideways on a phone instead of squeezing */
.table th {
  padding: 10px 12px; text-align: left; white-space: nowrap; border-bottom: 2px solid var(--blue);
  font-family: var(--f-display); font-style: italic; font-weight: 700; font-stretch: 108%; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--led);
}
.table td { padding: 12px; vertical-align: top; border-bottom: 1px solid var(--line); }
.table tbody tr:hover td { background: rgba(20, 99, 255, .06); }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line-2); }
.tab {
  flex: none; min-height: 48px; padding: 0 18px; background: none; border: 0; border-bottom: 3px solid transparent; color: var(--text-2); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-stretch: 100%; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
}
.tab:hover { color: #fff; }
.tab[aria-selected="true"], .tab[aria-current="page"] { color: #fff; border-bottom-color: var(--blue-hot); background: linear-gradient(180deg, rgba(20, 99, 255, 0), rgba(20, 99, 255, .18)); }
.tab:focus-visible { outline-offset: -3px; }

/* ---------- 18. Action bar (phones) ---------- */
.actionbar { display: none; }
@media screen and (max-width: 699.98px) {
  .actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(4, 6, 10, .96); border-top: 1px solid rgba(111, 177, 255, .6);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .6), 0 -1px 14px rgba(61, 134, 255, .45);
    transition: transform .3s var(--ease), visibility 0s;
  }
  .actionbar a {
    display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; color: #fff; text-decoration: none;
    font-family: var(--f-display); font-style: italic; font-weight: 800; font-stretch: 104%; font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
  }
  .actionbar a:first-child { background: linear-gradient(180deg, var(--blue-a), var(--blue-b)); }
  .actionbar a:last-child { background: rgba(14, 24, 50, .9); }
  .actionbar a:focus-visible { outline-offset: -4px; }
  .actionbar.is-away { transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s; }
  body.has-actionbar { padding-bottom: calc(59px + env(safe-area-inset-bottom, 0px)); }
  html:has(body.has-actionbar) { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }      /* keyboard focus is scrolled clear of the bar */
  body.has-actionbar .toasts { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- 19. Reveal ---------- */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
html.anim .reveal:not(.is-in) { opacity: 0; transform: translateY(24px); }
.reveal-group > .reveal:nth-child(2) { --d: 70ms; }
.reveal-group > .reveal:nth-child(3) { --d: 140ms; }
.reveal-group > .reveal:nth-child(4) { --d: 210ms; }
.reveal-group > .reveal:nth-child(5) { --d: 280ms; }
.reveal-group > .reveal:nth-child(6) { --d: 350ms; }
.reveal-group > .reveal:nth-child(n+7) { --d: 420ms; }

/* ---------- Less motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.anim .reveal:not(.is-in) { opacity: 1; transform: none; }
}

/* ---------- High contrast (Windows forced colours): skewed plates are backgrounds, so give them borders ---------- */
@media (forced-colors: active) {
  .btn::before, .bar::before, .tag::before, .chip::before, .tile::before, .ftile::before, .logo__bar::before { border: 2px solid ButtonText; }
  .chip[aria-pressed="true"]::before, .chip.is-active::before { border-width: 4px; }
  .badge, .pill, .stamp { border: 1px solid CanvasText; }
  .led, .hdr::after, .ftr::before { background: CanvasText; }
}

/* ---------- 20. Print ---------- */
@media print {
  :root { color-scheme: light; }
  html, body { background: #fff !important; color: #000 !important; }
  .hdr { position: static; background: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ftr, .card, .pcard, .pcard__img, .notice, .table-wrap, .empty { background: none !important; box-shadow: none !important; }
  .nav__toggle, .nav__list, .hdr__cart, .actionbar, .toasts, .skip, .map, .stage__sweep, iframe, .hdr::after, .ftr::before, .led, .card--lit::before { display: none !important; }
  .ftr__h, .ftr__base, .muted, .small, .field__label, .card__title, .pcard__name, .pcard__meta, .table th, .table td { color: #000 !important; }
  .card, .pcard, .table-wrap { border: 1px solid #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .d, .lede, .tile h3, .tile p, .logo, .ftr__col a, .ftr__col p, .ftr__legal, .ftr__legal a, .pcard, .pcard__price, .kicker, .eyebrow { color: #000 !important; }
  .btn, .bar, .tag, .ftile { color: #000 !important; }
  .btn::before, .bar::before, .tag::before, .tile::before, .ftile::before, .logo__bar::before { background: none !important; box-shadow: inset 0 0 0 1.5px #000 !important; }
  .logo__name::before, .logo__name::after { background: #000; }
  a[href^="tel:"]::after { content: ""; }
  body.has-actionbar { padding-bottom: 0; }
}
