/* ==========================================================================
   Iron Valley Enterprises: website styles
   One stylesheet for every page. You never need to edit this file to change
   machines; use "Edit My Inventory" for that.

   COLOURS: every colour on the site comes from the list just below.
   Change a value here and it changes everywhere.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-variable.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colours */
  --navy-900: #10233a;   /* deep navy: headings, header text, dark sections */
  --navy-800: #17304d;
  --navy-700: #21416a;
  --steel-700: #245891;  /* button hover */
  --steel-600: #2a64a0;  /* main action colour: buttons and links */
  --steel-400: #6fa3dc;  /* accents on dark backgrounds */
  --steel-300: #a9bbd0;
  --steel-200: #c9d8ea;
  --steel-100: #e7eef6;
  --mist: #f5f8fb;       /* light section background */

  /* Text and lines */
  --text: #24364c;
  --text-muted: #4a5a6e;
  --text-soft: #5a6a7e;   /* small grey text; dark enough to read on the light sections too */
  --line: #d7e0ea;
  --line-strong: #bfccda;

  /* Status colours */
  --ok: #1f5e45;
  --ok-bg: #ddf0e6;
  --pending: #5c3d00;
  --pending-bg: #f6e3b8;
  --sold: #8a2c24;
  --sold-bg: #f7e0dd;

  /* Shape and spacing */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-lg: 0 28px 70px -24px rgba(9, 20, 34, 0.55);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy-900);
  font-weight: 750;
  font-stretch: 110%;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; }
figure { margin: 0; }

a {
  color: var(--steel-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--steel-700); }
a[href^="tel:"] { white-space: nowrap; }

:focus-visible {
  outline: 3px solid var(--steel-400);
  outline-offset: 2px;
}

[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 1.5px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  font-stretch: 104%;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--primary { background: var(--steel-600); color: #fff; }
.btn--primary:hover { background: var(--steel-700); color: #fff; }

.btn--outline { background: #fff; color: var(--navy-900); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--navy-900); color: var(--navy-900); }

.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--steel-100); color: var(--navy-900); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.38); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); color: #fff; }

.btn--text {
  min-height: 44px;
  padding-inline: 0.25rem;
  background: none;
  color: var(--steel-600);
  font-weight: 600;
}
.btn--text:hover { color: var(--steel-700); text-decoration: underline; }

.btn--lg { min-height: 54px; padding: 0.85rem 1.5rem; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.4) blur(10px); }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.site-header__logo { flex: none; display: block; padding: 4px 0; }
.site-header__logo img { width: auto; height: 42px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav__list {
  display: flex;
  gap: 2px;
  padding: 0;
  list-style: none;
}

.site-nav__list a {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: var(--text-muted);
  font-weight: 560;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.site-nav__list a:hover { color: var(--navy-900); background: var(--mist); }
.site-nav__list a[aria-current] { color: var(--navy-900); }
.site-nav__list a[aria-current]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--steel-600);
  border-radius: 2px;
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-900);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}
.phone-link .icon { color: var(--steel-600); }
.phone-link:hover { color: var(--steel-700); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  margin-right: -8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--navy-900);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.menu-toggle:hover { background: var(--mist); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .site-header__logo img { height: 34px; }
  .menu-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(16, 35, 58, 0.35);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a {
    padding: 16px 2px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.125rem;
    color: var(--navy-900);
  }
  .site-nav__list a:hover { background: none; }
  .site-nav__list a[aria-current]::after { left: 0; right: auto; width: 32px; bottom: -1px; }
  .site-nav__actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 20px; }
  .site-nav__actions .phone-link { justify-content: center; min-height: 48px; border: 1.5px solid var(--line-strong); border-radius: 8px; }
}

/* ---------- Phone action bar (Call / Get a quote) ---------- */
.action-bar { display: none; }

@media (max-width: 720px) {
  .action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -18px rgba(16, 35, 58, 0.4);
  }
  .action-bar--single { grid-template-columns: 1fr; }
  .action-bar .btn { min-height: 50px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--compact { padding-block: clamp(44px, 6vw, 72px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 40px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.section-head__text { max-width: 640px; }
.section-head__text p { margin-top: 12px; color: var(--text-muted); font-size: 1.0625rem; }
.section-head__link { font-weight: 600; white-space: nowrap; }

/* ---------- Home: hero ---------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--steel-200);
  padding-block: clamp(44px, 6vw, 84px);
  overflow: hidden;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--steel-400);
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.hero h1 {
  max-width: 17ch;
  margin-top: 18px;
  color: #fff;
  font-size: clamp(2.125rem, 3.6vw + 1.2rem, 4.25rem);
  font-weight: 780;
  font-stretch: 118%;
  line-height: 1.02;
  letter-spacing: -0.032em;
}

.hero__lede {
  max-width: 54ch;
  margin-top: 22px;
  color: var(--steel-200);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.7);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 899px) {
  .hero { padding-block: 40px 48px; }
  .hero__grid { grid-template-columns: 1fr; }
  /* On phones the photo sits quietly behind the words */
  .hero__media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
    background: none;
  }
  .hero__media img {
    object-position: 50% 20%;
    opacity: 0.6;
    transform: translateX(32%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  }
  .hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 35, 58, 0.97) 0%, rgba(16, 35, 58, 0.9) 45%, rgba(16, 35, 58, 0.55) 100%);
  }
  .hero__grid { position: static; }
  .hero__copy { position: relative; z-index: 1; }
}
@media (max-width: 520px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Machine cards ---------- */
.machine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: 24px;
}

.machine-card {
  position: relative;
  display: flex;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.machine-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 36px -22px rgba(16, 35, 58, 0.5);
}

.machine-card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.machine-card__link:hover { color: inherit; }
.machine-card__link:focus-visible { outline-offset: -3px; border-radius: var(--radius-md); }

.machine-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--steel-100);
}
.machine-card__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.machine-card:hover .machine-card__media > img { transform: scale(1.03); }
.machine-card__media .photo-placeholder { position: absolute; inset: 0; }
.machine-card__media .status {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
}
.machine-card__photos {
  position: absolute;
  z-index: 1;
  right: 10px;
  bottom: 10px;
  padding: 3px 9px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(9, 20, 34, 0.72);
  border-radius: 999px;
}

.machine-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px 18px;
}
.machine-card__cat { color: var(--text-soft); font-size: 0.875rem; font-weight: 550; }
.machine-card__title { font-size: 1.1875rem; font-stretch: 106%; line-height: 1.25; }
.machine-card__summary { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.45; }

.machine-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-top: auto;
  padding-top: 16px;
}

.machine-card.is-sold .machine-card__media > img { filter: grayscale(0.85); opacity: 0.75; }

.price {
  color: var(--navy-900);
  font-size: 1.375rem;
  font-weight: 780;
  font-stretch: 108%;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.price--call { color: var(--steel-600); font-size: 1.0625rem; font-weight: 680; }
.price--sold { color: var(--sold); font-size: 1.0625rem; font-weight: 680; }
.price__note { display: block; margin-top: 3px; color: var(--text-soft); font-size: 0.8125rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0; }

/* Status badges */
.status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
}
.status--available { color: var(--ok); background: var(--ok-bg); }
.status--pending { color: var(--pending); background: var(--pending-bg); }
.status--sold { color: var(--sold); background: var(--sold-bg); }

/* Hour meter readout, styled after the counter on a machine's dash */
.meter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 550;
  white-space: nowrap;
}
.meter__digits {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  background: var(--navy-900);
  border-radius: 5px;
}
.meter__digits span {
  min-width: 1.05em;
  padding: 1px 3px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  text-align: center;
  background: var(--navy-700);
  border-radius: 3px;
}
.meter--text { color: var(--text-muted); }

/* Placeholder shown when a machine has no photos yet */
.photo-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  color: var(--text-soft);
  font-size: 0.875rem;
  font-weight: 550;
  background: var(--steel-100);
}
.photo-placeholder img { width: auto; height: 38%; max-height: 120px; opacity: 0.9; }

/* ---------- Home: in stock now (empty state) ---------- */
.stock-empty {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px 32px;
  padding: clamp(24px, 4vw, 36px);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.stock-empty img { width: auto; height: 84px; }
.stock-empty h3 { font-size: 1.375rem; }
.stock-empty p { margin-top: 6px; color: var(--text-muted); max-width: 60ch; }
.stock-empty__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) {
  .stock-empty { grid-template-columns: 1fr; }
  .stock-empty img { height: 64px; }
}

/* ---------- Home: what we do ---------- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.service-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  color: var(--steel-600);
  background: var(--steel-100);
  border-radius: 12px;
}
.service-card__icon .icon { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.1875rem; font-stretch: 106%; }
.service-card p { flex: 1; color: var(--text-muted); font-size: 0.96875rem; }
.service-card__link { margin-top: 6px; font-weight: 600; }

@media (max-width: 1080px) { .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .service-cards { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 22px 20px 20px; }
}

/* ---------- Home: equipment categories ---------- */
.categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.categories a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  height: 100%;
  min-height: 128px;
  padding: 22px 22px 20px;
  color: var(--navy-900);
  text-decoration: none;
  background: #fff;
  transition: background-color 0.15s ease;
}
.categories a:hover { background: var(--steel-100); }
.categories__name { font-size: 1.1875rem; font-weight: 700; font-stretch: 108%; line-height: 1.2; }
.categories__count { color: var(--text-muted); font-size: 0.9375rem; font-weight: 550; }
.categories__count.has-stock { color: var(--ok); font-weight: 650; }

@media (max-width: 900px) { .categories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .categories a { min-height: 108px; padding: 18px 16px; } }

/* ---------- Bands ---------- */
.band {
  padding-block: clamp(44px, 6vw, 72px);
}
.band--steel { background: var(--steel-100); }
.band--navy { color: var(--steel-200); background: var(--navy-900); }
.band--navy h2 { color: #fff; }

.band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
}
.band__text { max-width: 640px; }
.band h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); }
.band__text p { margin-top: 10px; font-size: 1.0625rem; }
.band--steel .band__text p { color: var(--text-muted); }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.band--last { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }

/* Two calls to action side by side, at the bottom of the home page */
.cta-split {
  color: var(--steel-200);
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.cta-split__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cta-split__item { padding-block: clamp(44px, 6vw, 76px); }
.cta-split__item:first-child { padding-right: clamp(24px, 5vw, 64px); }
.cta-split__item + .cta-split__item {
  padding-left: clamp(24px, 5vw, 64px);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.cta-split h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-split p { max-width: 46ch; margin-top: 10px; font-size: 1.0625rem; }
.cta-split .band__actions { margin-top: 24px; }

@media (max-width: 760px) {
  .cta-split__grid { grid-template-columns: 1fr; }
  .cta-split__item:first-child { padding-right: 0; }
  .cta-split__item + .cta-split__item {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

/* ---------- Inner page heading ---------- */
.page-head {
  padding-block: clamp(36px, 5vw, 64px) clamp(32px, 4.5vw, 56px);
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(2.125rem, 4.6vw, 3.4rem);
  font-weight: 780;
  font-stretch: 116%;
  letter-spacing: -0.028em;
  line-height: 1.04;
}
.page-head__lede { max-width: 62ch; margin-top: 14px; color: var(--text-muted); font-size: 1.125rem; }
.page-head__meta { margin-top: 10px; color: var(--text-soft); font-size: 0.9375rem; }

/* ---------- Inventory page ---------- */
.inventory { padding-block: clamp(28px, 4vw, 44px) clamp(56px, 8vw, 96px); }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 18px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 16px;
  color: var(--navy-900);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
}
.chip:hover { border-color: var(--navy-900); }
.chip[aria-pressed="true"] { color: #fff; background: var(--navy-900); border-color: var(--navy-900); }
.chip__count { color: var(--text-soft); font-weight: 550; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .chip__count { color: var(--steel-300); }

.toolbar__tools { display: flex; flex-wrap: wrap; gap: 10px; }

.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search .icon { position: absolute; left: 13px; color: var(--text-soft); pointer-events: none; }
.search input {
  width: 280px;
  max-width: 100%;
  padding-left: 42px;
}

.results-count { margin-bottom: 18px; color: var(--text-soft); font-size: 0.9375rem; }
.results-count:empty { display: none; }

.inventory-empty {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: clamp(28px, 5vw, 56px);
  background: var(--mist);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
}
.inventory-empty img { width: auto; height: 80px; margin-bottom: 4px; }
.inventory-empty h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.inventory-empty p { max-width: 58ch; color: var(--text-muted); }
.inventory-empty .band__actions { margin-top: 8px; }

@media (max-width: 720px) {
  .toolbar__tools, .search, .search input, .toolbar__tools .select { width: 100%; }
  .toolbar__tools > label { flex: 1 1 100%; }
  .chips {
    flex-wrap: nowrap;
    width: calc(100% + 2 * var(--gutter));
    margin-inline: calc(-1 * var(--gutter));
    padding: 2px var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* ---------- Machine details: shared by the popup and each machine's page ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }

.detail__gallery {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
}

.detail__track {
  display: flex;
  aspect-ratio: 1 / 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.detail__track::-webkit-scrollbar { display: none; }
.detail__track:focus-visible { outline: 3px solid var(--steel-400); outline-offset: -3px; }

.detail__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
/* Blurred copy of the photo fills the space around tall or wide pictures */
.detail__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(44px) brightness(0.55) saturate(1.2);
  transform: scale(1.35);
}
.detail__zoom {
  position: absolute;
  inset: 0;
  display: block;
  cursor: zoom-in;
}
.detail__zoom:focus-visible { outline: 3px solid var(--steel-400); outline-offset: -3px; }
.detail__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail__slide--empty .photo-placeholder { background: var(--navy-800); color: var(--steel-300); }

.detail__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.detail__nav:hover { background: #fff; }
.detail__nav--prev { left: 12px; }
.detail__nav--next { right: 12px; }

.detail__counter {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 3px 10px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: rgba(9, 20, 34, 0.7);
  border-radius: 999px;
}

.detail__thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--navy-700) transparent;
}
.detail__thumbs button {
  position: relative;
  flex: none;
  width: 64px;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  background: var(--navy-800);
  border: 2px solid transparent;
  border-radius: 6px;
  opacity: 0.62;
  cursor: pointer;
}
.detail__thumbs button:hover { opacity: 1; }
.detail__thumbs button[aria-current="true"] { opacity: 1; border-color: #fff; }
.detail__thumbs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.detail__info { min-width: 0; }
.detail__cat { color: var(--text-soft); font-size: 0.9375rem; font-weight: 550; }
.detail__title {
  margin-top: 4px;
  font-size: clamp(1.75rem, 3.4vw, 2.625rem);
  font-weight: 780;
  font-stretch: 114%;
  line-height: 1.06;
  letter-spacing: -0.024em;
}
.detail__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 16px;
}
.detail__price-row .price { font-size: 1.875rem; }
.detail__price-row .price__note { display: inline; margin: 0 0 0 8px; font-size: 1rem; font-weight: 600; }
.detail__note { margin-top: 8px; color: var(--text-soft); font-size: 0.875rem; }

.detail__facts {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.detail__facts div { padding: 12px 14px; }
.detail__facts div + div { border-left: 1px solid var(--line); }
.detail__facts dt { color: var(--text-soft); font-size: 0.8125rem; font-weight: 550; }
.detail__facts dd { margin: 3px 0 0; color: var(--navy-900); font-weight: 650; overflow-wrap: anywhere; }

.detail__summary { margin-top: 22px; color: var(--navy-900); font-size: 1.0625rem; font-weight: 600; }
.detail__desc { margin-top: 10px; }
.detail__desc p + p { margin-top: 12px; }

.detail__specs-title { margin-top: 28px; font-size: 1.125rem; font-stretch: 106%; }
.detail__specs { margin: 10px 0 0; }
.detail__specs div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.detail__specs div:first-child { border-top: 1px solid var(--line); }
.detail__specs dt { color: var(--text-muted); }
.detail__specs dd { margin: 0; color: var(--navy-900); font-weight: 600; text-align: right; overflow-wrap: anywhere; }

.detail__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}
.detail__actions .btn--text { grid-column: 1 / -1; justify-self: start; }
.detail__share-note { grid-column: 1 / -1; color: var(--ok); font-size: 0.9375rem; font-weight: 600; }

@media (max-width: 599px) {
  .detail__thumbs { display: none; }
  .detail__nav { width: 38px; height: 38px; margin-top: -19px; }
}
@media (max-width: 480px) {
  .detail__actions { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .detail__facts div { padding: 10px 11px; }
  .detail__facts dd { font-size: 0.9375rem; }
}
@media (max-width: 370px) {
  .detail__facts { grid-template-columns: 1fr 1fr; }
  .detail__facts div:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- A machine's own page ---------- */
.listing-page { padding-bottom: clamp(48px, 7vw, 88px); }

.breadcrumb { padding-block: 18px; font-size: 0.9375rem; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 0;
  list-style: none;
  color: var(--text-soft);
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--steel-600); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--navy-900); font-weight: 600; }

@media (min-width: 900px) {
  .listing-page .detail {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: start;
  }
  .listing-page .detail__gallery { position: sticky; top: calc(var(--header-h) + 20px); }
  .listing-page .detail__track { aspect-ratio: 4 / 5; max-height: calc(100vh - var(--header-h) - 130px); min-height: 420px; }
}
@media (max-width: 899px) {
  /* Photos run edge to edge on phones, like a phone's own photo viewer */
  .listing-page .detail__gallery {
    margin-inline: calc(-1 * var(--gutter));
    border-radius: 0;
  }
  .listing-page .detail__track { aspect-ratio: 4 / 5; max-height: 72vh; }
  .listing-page .breadcrumb { padding-block: 12px; font-size: 0.875rem; }
}
@media (max-width: 720px) {
  /* The bar at the bottom of the screen already has Call and Request a quote */
  .listing-page .detail__actions .btn--lg { display: none; }
  .listing-page .detail__actions { margin-top: 18px; }
}

/* ---------- Machine popup (computers) ---------- */
.machine-dialog {
  width: min(1180px, calc(100% - 48px));
  height: min(860px, calc(100% - 48px));
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  color: var(--text);
  background: #fff;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.machine-dialog::backdrop { background: rgba(9, 20, 34, 0.74); }
.machine-dialog[open] { display: block; }

.machine-dialog__body { height: 100%; }
.machine-dialog .detail {
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 1fr);
  gap: 0;
  height: 100%;
}
.machine-dialog .detail__gallery { height: 100%; border-radius: 0; }
.machine-dialog .detail__track { flex: 1; min-height: 0; aspect-ratio: auto; }
.machine-dialog .detail__info {
  min-height: 0;
  padding: 34px 32px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.machine-dialog .detail__title { padding-right: 44px; font-size: clamp(1.625rem, 2.4vw, 2.125rem); }

.machine-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(9, 20, 34, 0.5);
}
.machine-dialog__close:hover { background: var(--steel-100); }

/* If the window is made narrow while the popup is open, it becomes a full-screen sheet */
@media (max-width: 899px) {
  .machine-dialog {
    width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    border-radius: 0;
  }
  @supports (height: 100dvh) {
    .machine-dialog { height: 100dvh; max-height: 100dvh; }
  }
  .machine-dialog__body { overflow-y: auto; overscroll-behavior: contain; }
  .machine-dialog .detail { display: block; height: auto; }
  .machine-dialog .detail__track { aspect-ratio: 1 / 1; }
  .machine-dialog .detail__info { overflow: visible; padding: 22px var(--gutter) 32px; }
  .machine-dialog__close { position: fixed; top: 10px; right: 10px; }
}

/* ---------- Services page ---------- */
.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}
.jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  color: var(--navy-900);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
}
.jump-links a:hover { border-color: var(--navy-900); }

.service {
  padding-block: clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}
.service:last-of-type { border-bottom: 0; }
.service--mist { background: var(--mist); }

.service__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.service__intro h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); font-stretch: 114%; }
.service__lede { margin-top: 12px; color: var(--text-muted); font-size: 1.125rem; }
.service__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  color: var(--steel-600);
  background: var(--steel-100);
  border-radius: 12px;
}
.service--mist .service__icon { background: #fff; }
.service__icon .icon { width: 26px; height: 26px; }
.service__body > p { font-size: 1.0625rem; }
.service__body > p + p { margin-top: 14px; }
.service__body .btn { margin-top: 28px; }

.process {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  counter-reset: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.process li {
  padding: 20px 20px 22px;
  counter-increment: step;
}
.process li:nth-child(even) { border-left: 1px solid var(--line); }
.process li:nth-child(n + 3) { border-top: 1px solid var(--line); }
.process li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  color: var(--steel-600);
  font-weight: 700;
  border: 1.5px solid var(--steel-600);
  border-radius: 50%;
}
.process strong { display: block; color: var(--navy-900); font-weight: 650; line-height: 1.3; }
.process span { display: block; margin-top: 6px; color: var(--text-muted); font-size: 0.9375rem; }

@media (max-width: 860px) {
  .service__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; }
  .process li:nth-child(even) { border-left: 0; }
  .process li + li { border-top: 1px solid var(--line); }
}

/* Numbered steps on dark panels (quote and sell pages) */
.steps {
  display: grid;
  gap: 0;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 2px 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border: 1.5px solid var(--steel-400);
  border-radius: 50%;
}
.steps strong { color: #fff; font-weight: 650; }
.steps span { font-size: 0.96875rem; }

/* ---------- Forms ---------- */
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 920px) { .form-layout { grid-template-columns: 1fr; } }

.form-card {
  padding: clamp(22px, 4vw, 36px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.form { display: grid; gap: 22px; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-section-title { color: var(--navy-900); font-size: 1.1875rem; font-weight: 700; font-stretch: 108%; }

.field { display: grid; gap: 7px; }
.field > label,
.field > .field__label,
.form legend {
  color: var(--navy-900);
  font-size: 0.96875rem;
  font-weight: 620;
}
.optional { color: var(--text-soft); font-weight: 450; }
.hint { color: var(--text-soft); font-size: 0.875rem; }

.input,
.select,
.textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--navy-900);
  font: inherit;
  font-size: 1rem;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  appearance: none;
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2310233a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-soft); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--steel-600);
  box-shadow: 0 0 0 3px rgba(42, 100, 160, 0.2);
}
.input::placeholder, .textarea::placeholder { color: #8796a8; }

.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) {
  .row-2 { grid-template-columns: 1fr; }
}

.choices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 10px;
  margin-top: 10px;
}
.choices--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  min-height: 56px;
  padding: 12px 14px;
  color: var(--navy-900);
  font-weight: 600;
  line-height: 1.3;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}
.choice__box::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
}
.choice input[type="checkbox"] + .choice__box::before { border-radius: 5px; }
.choice:hover .choice__box { border-color: var(--text-soft); }
.choice input:checked + .choice__box {
  background: var(--steel-100);
  border-color: var(--steel-600);
  box-shadow: inset 0 0 0 1px var(--steel-600);
}
.choice input:checked + .choice__box::before {
  border: 5px solid var(--steel-600);
}
.choice input[type="checkbox"]:checked + .choice__box::before {
  border: 0;
  background: var(--steel-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.choice input:focus-visible + .choice__box { outline: 3px solid var(--steel-400); outline-offset: 2px; }
.choice--inline .choice__box { min-height: 52px; font-weight: 560; }

.conditional[hidden] { display: none; }
.conditional {
  display: grid;
  gap: 18px;
  padding: 20px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.form-note { color: var(--text-soft); font-size: 0.875rem; }
.form-switch { margin-top: 12px; color: var(--text-muted); font-size: 0.96875rem; }

.form-status {
  padding: 16px 18px;
  border-radius: 10px;
  font-weight: 550;
}
.form-status[hidden] { display: none; }
.form-status--error { color: var(--sold); background: var(--sold-bg); }
.form-status--info { color: var(--navy-900); background: var(--steel-100); }

.form-success {
  display: grid;
  gap: 12px;
  padding: clamp(24px, 4vw, 36px);
  background: var(--ok-bg);
  border: 1px solid #b6dcc8;
  border-radius: var(--radius-lg);
}
.form-success[hidden] { display: none; }
.form-success h2 { color: var(--ok); font-size: 1.625rem; }
.form-success p { color: var(--navy-900); }

.contact-panel {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 3.5vw, 32px);
  color: var(--steel-200);
  background: var(--navy-900);
  border-radius: var(--radius-lg);
}
@media (min-width: 921px) { .contact-panel { position: sticky; top: calc(var(--header-h) + 24px); } }
.contact-panel h2 { color: #fff; font-size: 1.375rem; font-stretch: 110%; }
.contact-panel__item { display: grid; gap: 2px; }
.contact-panel__label { color: var(--steel-300); font-size: 0.875rem; }
.contact-panel a { color: #fff; font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
.contact-panel a:hover { text-decoration: underline; color: #fff; }
.contact-panel__text { color: #fff; }
.contact-panel__big { font-size: 1.5rem; font-stretch: 108%; font-variant-numeric: tabular-nums; }
.contact-panel hr { width: 100%; margin: 0; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.contact-panel .steps { margin-top: 0; }
.contact-panel .steps li { border-top: 0; padding: 8px 0; }

/* ---------- Simple content pages (thanks, 404) ---------- */
.simple-page {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding-block: clamp(64px, 10vw, 128px);
}
.simple-page img { width: auto; height: 96px; }
.simple-page h1 { font-size: clamp(2.25rem, 4.6vw, 3.25rem); font-stretch: 116%; letter-spacing: -0.028em; }
.simple-page p { max-width: 56ch; color: var(--text-muted); font-size: 1.125rem; }

/* ---------- Footer ---------- */
.site-footer {
  color: var(--steel-300);
  background: var(--navy-900);
  font-size: 0.96875rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 36px 40px;
  padding-block: clamp(48px, 7vw, 76px) 40px;
}
.site-footer__brand img { width: auto; height: 40px; }
.site-footer__brand p { max-width: 40ch; margin-top: 18px; }
.site-footer__heading {
  margin-bottom: 14px;
  color: #fff;
  font-size: 1rem;
  font-weight: 650;
  font-stretch: 106%;
  letter-spacing: 0;
}
.site-footer ul { display: grid; gap: 10px; padding: 0; list-style: none; }
.site-footer__contact a { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8fa3ba;
  font-size: 0.875rem;
}

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Print: listings print as a clean page ---------- */
@media print {
  .site-header, .action-bar, .site-footer, .toolbar, .band, .cta-split, .detail__nav, .detail__thumbs, .detail__actions { display: none !important; }
  body { padding: 0; }
  .machine-card { break-inside: avoid; }
  .detail__track { overflow: visible; aspect-ratio: auto; height: 420px; }
}
/* Homepage without picture */
.hero__grid--no-image {
  grid-template-columns: 1fr;
}

.hero__grid--no-image .hero__copy {
  max-width: 1000px;
}