/* ==========================================================================
   NAV ICON SYSTEM
   One vector set for both rails. The icons are inlined into index.html by
   tools/inline_icons.py from assets/svg/nav/*.svg, so they inherit `color`
   here and stay sharp at any zoom or device pixel ratio — the previous set
   was 24–44 px raster PNGs that were already upscaled at 1x.

   Every icon shares one 32-unit grid and one stroke weight, so a single size
   and offset per rail is enough; no per-icon nudging.
   ========================================================================== */
.ic-v {
  position: absolute;
  pointer-events: none;
  display: block;
  overflow: visible;                 /* round caps may graze the viewBox edge */
}

/* left rail — SERVICES plates (38.3px tall: ten of them since FDM 3D PRINTING, 2026-09-29; svc-resin and svc-fdm
   were drawn by hand into their slots, like svc-bulk - tools/inline_icons.py only fills the original <img> slots).
   36px, down from 40px with the plates: the same share of the plate as 40px had of 42.6px, so the tallest glyphs keep
   ~5px clear of the plate's edges; the icon's centre stays at x 32. */
.menu.services .plate > .ic-v {
  left: 14px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  color: #191610;
}

/* left rail — UPLOAD (copper CTA, light ink) */
.plate-copper > .ic-v {
  left: 16px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  color: #f6f1ea;
}

/* right rail — outcome cards (76px tall) */
.side.right .card .ic-v {
  left: 13px; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  color: #191610;
}

/* the plates already lift on hover; let the icon track the label's ink instead
   of washing out with the plate */
.menu.services .plate:hover > .ic-v,
.side.right .card:hover .ic-v { color: #0f0d09; }

/* texture-mode debug view bakes the chrome into a bitmap, icons included */
.tex .ic-v { display: none; }

/* --------------------------------------------------------------------------
   State: the plate / card for the page you are currently on.
   These must out-specify the base rules above — they sit later in the same
   file, but the base selectors carry four classes, so the state selectors
   carry more rather than relying on order alone.
   -------------------------------------------------------------------------- */
.menu.services .plate.is-current > .ic-v {
  color: #fff7ea;                                   /* copper inlay underneath */
  filter: drop-shadow(0 1px 0 rgba(70,35,10,.45));
}
.menu.services .plate.is-current:hover > .ic-v { color: #fff7ea; }

.side.right .card.is-current .ic-v,
.side.right .card:has(.card-link.is-current) .ic-v,
.side.right .card:has(.card-link.is-current):hover .ic-v { color: #f6e2b4; }
