/* ==========================================================================
   FormFactor Computers - 2026 storefront
   Hand-written. No build step, no framework.

   Direction: light retail surface, violet-to-magenta gradient for the
   commercial furniture, one dark hero to carry the hardware photography.
   ========================================================================== */

:root {
  /* Brand */
  --violet: #7b2ff7;
  --magenta: #f0119b;
  --violet-deep: #4d13a8;
  --grad: linear-gradient(90deg, var(--violet) 0%, var(--magenta) 100%);
  --grad-soft: linear-gradient(90deg, rgba(123, 47, 247, .12), rgba(240, 17, 155, .12));

  /* Surfaces */
  --ink: #14111d;
  --ink-soft: #4a4458;
  --ink-faint: #7d7690;
  --paper: #ffffff;
  --paper-2: #f7f6fb;
  --paper-3: #efedf6;
  --line: #e5e1f0;
  --night: #17121f;
  --night-2: #0f0b16;

  /* Type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Shape */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(20, 17, 29, .04), 0 8px 24px rgba(20, 17, 29, .06);
  --shadow-lift: 0 2px 4px rgba(20, 17, 29, .06), 0 18px 44px rgba(77, 19, 168, .16);

  --wrap: 1240px;
  --gap: clamp(16px, 2.4vw, 28px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 28px);
}

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

/* Keyboard users get a visible, high-contrast focus ring everywhere. */
:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #fff;
  font: 600 14px/1 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift); filter: saturate(1.08); }
.btn:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); box-shadow: none; }

.btn-light {
  background: #fff;
  color: var(--violet-deep);
}

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 13px; }

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */

.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.masthead-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--gap);
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font: 800 15px/1 var(--mono);
  letter-spacing: -.04em;
}
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word strong { font-size: 16px; font-weight: 800; letter-spacing: .01em; }
.brand-word span {
  font: 600 10px/1.4 var(--mono);
  letter-spacing: .22em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.masthead-search { position: relative; display: flex; }
.masthead-search input {
  width: 100%;
  min-height: 46px;
  padding: 10px 54px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
}
.masthead-search input::placeholder { color: var(--ink-faint); }
.masthead-search input:focus { background: #fff; border-color: var(--violet); outline: none; }
.masthead-search button {
  position: absolute;
  right: 5px; top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
}

.masthead-actions { display: flex; align-items: center; gap: 6px; }
.mini {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 62px;
  min-height: 46px;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  font: 600 11px/1 var(--sans);
  text-decoration: none;
}
.mini:hover { background: var(--paper-2); color: var(--violet); }
.mini svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Gradient navigation
   -------------------------------------------------------------------------- */

.mainnav { background: var(--grad); color: #fff; }
.mainnav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
}
.mainnav a, .mainnav button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: #fff;
  font: 600 13px/1 var(--sans);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
}
.mainnav a:hover, .mainnav button:hover { background: rgba(255, 255, 255, .16); }
.nav-all {
  background: rgba(0, 0, 0, .22) !important;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.nav-spacer { margin-left: auto; }
.nav-phone { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }

.mainnav .navtoggle { display: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 480px at 78% 12%, rgba(240, 17, 155, .38), transparent 60%),
    radial-gradient(900px 520px at 18% 82%, rgba(123, 47, 247, .40), transparent 62%),
    var(--night);
  color: #fff;
}
.hero::after {
  /* Faint hex-ish grid, drawn in CSS so nothing is downloaded for it. */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(48px, 7vw, 92px);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font: 600 11px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #f3ddff;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.03;
  letter-spacing: -.025em;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #c79bff, #ff77c8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  margin: 0 0 28px;
  max-width: 48ch;
  color: #cfc7dd;
  font-size: clamp(15px, 1.5vw, 17px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-figure {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .12);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero-figure img { width: 82%; height: auto; filter: drop-shadow(0 26px 44px rgba(0, 0, 0, .55)); }
.hero-figure figcaption {
  position: absolute;
  left: 16px; bottom: 14px;
  font: 600 11px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #d8ccec;
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-stats div {
  padding: 18px 20px;
  background: var(--night-2);
}
.hero-stats strong { display: block; font-size: 20px; font-weight: 800; }
.hero-stats span { font: 600 11px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #a79bbd; }

/* --------------------------------------------------------------------------
   Section furniture
   -------------------------------------------------------------------------- */

section { padding-block: clamp(40px, 5.5vw, 76px); }
.section-white { background: var(--paper); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 34px);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3.1vw, 34px);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
}
.section-head p { margin: 6px 0 0; color: var(--ink-soft); max-width: 60ch; }
.kicker {
  display: block;
  margin-bottom: 8px;
  font: 700 11px/1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Category tiles
   -------------------------------------------------------------------------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}
.tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 172px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: transparent; }
.tile-copy { position: relative; z-index: 1; }
.tile h3 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -.01em;
  font-weight: 800;
}
.tile-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 11px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet);
}
.tile-go i {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-style: normal;
  font-size: 11px;
}
.tile img {
  width: 46%;
  max-height: 130px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.tile-empty {
  width: 46%;
  aspect-ratio: 1;
  border-radius: var(--r);
  background: var(--grad-soft);
}

/* --------------------------------------------------------------------------
   Catalogue
   -------------------------------------------------------------------------- */

.catalogue-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}
.chip {
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font: 600 13px/1 var(--sans);
  cursor: pointer;
}
.chip:hover { border-color: var(--violet); color: var(--violet); }
.chip[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #fff; }

.catalogue-search { margin-left: auto; position: relative; min-width: min(280px, 100%); }
.catalogue-search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-family: inherit;
  background: var(--paper);
}
.catalogue-search input:focus { border-color: var(--violet); outline: none; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: var(--gap);
}

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  padding: 16px;
}
.card-media img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.card-media .noimg {
  width: 60%; aspect-ratio: 1;
  border-radius: var(--r);
  background: var(--grad-soft);
}
.stock {
  position: absolute;
  left: 12px; top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(20, 17, 29, .82);
  color: #fff;
  font: 700 10px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.stock.out { background: rgba(122, 30, 64, .9); }

.card-body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 8px; padding: 16px 18px 18px; }
.card-cat { font: 700 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.card-body h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-spec {
  margin: 0;
  color: var(--ink-faint);
  font-size: 12.5px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-price { margin-top: auto; padding-top: 6px; }
.card-price strong { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.card-price span { display: block; font-size: 11px; color: var(--ink-faint); }
.card-actions { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; }
.card-actions .btn { width: 100%; }
.card-actions .detail {
  min-height: 40px;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font: 600 12.5px/1 var(--sans);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.card-actions .detail:hover { color: var(--violet); }

.catalogue-note {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 14px;
}
.catalogue-note a { color: var(--violet); font-weight: 600; }

.state {
  padding: 48px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  text-align: center;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Services band (secondary to the shop)
   -------------------------------------------------------------------------- */

.band {
  background:
    radial-gradient(700px 340px at 88% 8%, rgba(240, 17, 155, .30), transparent 62%),
    radial-gradient(620px 340px at 8% 92%, rgba(123, 47, 247, .34), transparent 60%),
    var(--night);
  color: #fff;
}
.band .section-head h2 { color: #fff; }
.band .section-head p { color: #c9c1d8; }
.band .kicker { background: linear-gradient(90deg, #c79bff, #ff77c8); -webkit-background-clip: text; background-clip: text; }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.service {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .05);
}
.service-no { font: 700 11px/1 var(--mono); letter-spacing: .18em; color: #d9a7ff; }
.service h3 { margin: 0; font-size: 18px; font-weight: 700; }
.service p { margin: 0; color: #c4bbd4; font-size: 14px; }
.service a {
  margin-top: 6px;
  align-self: flex-start;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font: 600 12.5px/1 var(--sans);
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* --------------------------------------------------------------------------
   Assurance strip
   -------------------------------------------------------------------------- */

.assure { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--gap); }
.assure div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
}
.assure b { display: block; font-size: 15px; }
.assure p { margin: 4px 0 0; color: var(--ink-soft); font-size: 13.5px; }
.assure i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--grad-soft);
  color: var(--violet);
  font-style: normal;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.foot { background: var(--night-2); color: #b9b0c9; }
.foot-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--gap);
  padding-block: clamp(36px, 5vw, 60px);
}
.foot h4 {
  margin: 0 0 14px;
  color: #fff;
  font: 700 11px/1 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li { margin-bottom: 2px; }
.foot a {
  display: inline-block;
  padding-block: 10px;
  color: #b9b0c9;
  font-size: 14px;
  text-decoration: none;
}
.foot a:hover { color: #fff; }
.foot-brand p { margin: 12px 0 0; max-width: 40ch; font-size: 14px; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 18px;
  font-size: 12.5px;
  color: #8e849f;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   Product dialog
   -------------------------------------------------------------------------- */

dialog.sheet {
  width: min(780px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 90px rgba(20, 17, 29, .3);
}
dialog.sheet::backdrop { background: rgba(20, 17, 29, .55); backdrop-filter: blur(3px); }
.sheet-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.sheet-media { background: var(--paper-2); display: grid; place-items: center; padding: 24px; min-height: 240px; }
.sheet-media img { max-height: 300px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.sheet-copy { padding: 26px; }
.sheet-copy h3 { margin: 8px 0 10px; font-size: 20px; line-height: 1.3; }
.sheet-specs { margin: 16px 0 0; padding: 0; font-size: 13.5px; }
.sheet-specs div { display: grid; grid-template-columns: 42% 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.sheet-specs dt { color: var(--ink-faint); }
.sheet-specs dd { margin: 0; }
.sheet-close {
  position: absolute;
  right: 12px; top: 12px;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 17, 29, .08);
  font-size: 18px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Narrow screens
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { order: -1; aspect-ratio: 16 / 10; }
  .sheet-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .masthead-inner { grid-template-columns: auto auto; row-gap: 12px; }
  .masthead-search { grid-column: 1 / -1; order: 3; }
  .masthead-actions { justify-content: flex-end; }

  .mainnav .navtoggle {
    display: inline-flex;
    margin-left: auto;
  }
  .mainnav-inner { flex-wrap: wrap; }
  .mainnav-links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 10px;
  }
  .mainnav-inner.open .mainnav-links { display: flex; }
  .mainnav-links a { width: 100%; justify-content: flex-start; }
  .nav-spacer { margin-left: 0; }
}

@media (max-width: 640px) {
  .tile { min-height: 150px; padding: 18px; }
  .tile h3 { font-size: 18px; }
  .tile img, .tile-empty { width: 40%; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .card-body { padding: 12px 14px 16px; }
  .card-price strong { font-size: 18px; }
  .catalogue-search { margin-left: 0; width: 100%; }
  /* 16px stops iOS zooming the page when a field takes focus. */
  input, select, textarea { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
  .masthead-search, .masthead-actions, .mainnav, .hero-actions,
  .catalogue-bar, .card-actions, .band, .foot, .navtoggle { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { background: #fff; color: #000; }
  .hero h1 em { color: #000; -webkit-text-fill-color: #000; }
  .card, .tile { border: 1px solid #999; break-inside: avoid; page-break-inside: avoid; }
  .card-body h3, .card-spec { -webkit-line-clamp: unset; overflow: visible; }
}

/* ============================================================
   Catalogue photos now carry their own alpha - 10 September 2026
   The white studio background was cut out of the 339 source files,
   so the multiply blend that used to hide it is not just redundant -
   it would tint every product with whatever sits behind it. The hero
   also gets a soft pool of light, so a black heatsink still reads
   against the dark card.
   ============================================================ */
.card-media img,
.tile img,
.sheet-media img { mix-blend-mode: normal; }

.hero-figure::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0));
}
.hero-figure img { position: relative; }

/* ============================================================
   Phone sizing - 11 September 2026
   Measured in a 390px viewport rather than guessed. Product cards
   were rendering 165px wide, two to a row, which is not enough
   room for a photo, a title, a price and two actions.
   ============================================================ */

@media (max-width: 640px) {
  /* 230px means one column on a phone and two from about 560px
     up, without needing a second hard breakpoint. */
  .grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

  /* The side gutter was 7px. */
  .wrap { width: min(1180px, calc(100% - 32px)); }
}

/* Lead with the words. The photo carried the two-column desktop
   hero, but stacked it just pushes the headline under the fold. */
@media (max-width: 700px) {
  .hero-figure { order: 0; }
}

/* Nothing a thumb has to hit stays under 44px, and no label
   drops below 11px. */
@media (max-width: 900px) {
  .masthead-search input { min-height: 48px; }
  .masthead-search button { width: 40px; height: 40px; }
  .hero-actions .btn { min-height: 44px; }
  .card-cat,
  .stock,
  .brand-word span { font-size: 11px; }
  .hero-eyebrow { letter-spacing: .04em; }
}

/* Three things the 390px measurement turned up after the first pass. */

@media (max-width: 900px) {
  /* 39px tall, and it is the fallback for anyone who cannot find
     the part they came for. */
  .catalogue-note a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* An email address is one unbreakable word. In a narrow footer column
   it pushed the whole page sideways - the only horizontal overflow
   left on the site. */
.foot a { overflow-wrap: anywhere; }

/* Below about 400px the wordmark and the two account links could not
   share a row: 162px + 130px + the gap ran 35px over a 320px screen,
   which pushed the whole page sideways. Shrinking both keeps them on
   one row and keeps the quote link visible, rather than burying it
   behind the menu or stacking a third header row. */
@media (max-width: 400px) {
  .masthead-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .brand { min-width: 0; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; font-size: 13px; }
  .brand-word strong { font-size: 14px; }
  .masthead-actions { gap: 4px; }
  .mini { min-width: 0; padding: 4px 4px; }
  .mini svg { width: 18px; height: 18px; }
}
