/* ==========================================================================
   UK Mezzanine Direct — brand stylesheet
   Built from the UKMD digital brand kit. Dark industrial base, safety orange
   used sparingly for actions and key numbers, silver reserved for structure.
   ========================================================================== */

:root {
  /* Primary industrial accents */
  --color-safety-orange: #f25c05;
  --color-safety-orange-light: #ff7a29;
  --color-flame-orange-dark: #b83a00;

  /* British flag accents (badge details) */
  --color-uk-navy: #00247d;
  --color-uk-red: #cf142b;

  /* Industrial steels and neutrals */
  --color-metallic-silver: #d4d9de;
  --color-steel-gray: #4b5563;
  --color-gunmetal-dark: #1e2227;
  --color-charcoal-black: #0f1215;
  --color-pure-white: #ffffff;

  /* Derived tones — kept here so no component invents its own grey */
  --color-ink-muted: #98a1ab;
  --color-hairline: #2b3138;
  --color-surface-raised: #262b31;

  /* Typography */
  --font-display: 'Teko', 'Oswald', 'Impact', sans-serif;
  --font-body: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;

  /* UI detailing */
  --radius-badge: 4px;
  --bevel-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);

  /* Rhythm */
  --shell: 1200px;
  --gutter: 24px;
  --section-y: clamp(64px, 8vw, 112px);
  --header-h: 88px;
}

/* --------------------------------------------------------------------------
   Reset and base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  background-color: var(--color-charcoal-black);
  color: var(--color-pure-white);
  overflow-x: hidden;
}

/* height:auto matters more than it looks. Every img carries width/height
   attributes for layout stability, and those become presentational height
   declarations that outrank `aspect-ratio` unless height is explicitly auto —
   which was stretching the gallery and split-media images to full intrinsic
   height. Rules that genuinely want height:100% are more specific and still win. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4, .brand-font {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.06;
  margin: 0;
}

h1 { font-size: clamp(2.9rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h4 { font-size: 1.3rem; letter-spacing: 0.06em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--color-safety-orange); color: #fff; }

:focus-visible {
  outline: 3px solid var(--color-safety-orange-light);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--color-safety-orange); color: #fff;
  padding: 10px 18px; border-radius: var(--radius-badge);
  font-weight: 600; text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

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

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 5vw, 72px); }
.section--gunmetal { background: var(--color-gunmetal-dark); }

/* Hairline rule that reads as a welded seam rather than a border. */
.section--seam { border-top: 1px solid var(--color-hairline); }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.stack > * + * { margin-top: 1.1em; }
.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-center { max-width: 66ch; margin-inline: auto; }

/* --------------------------------------------------------------------------
   Industrial texture helpers
   -------------------------------------------------------------------------- */

/* Faint blueprint grid — sits behind content, never over photography. */
.blueprint-bg { position: relative; isolation: isolate; }
.blueprint-bg::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(212, 217, 222, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 217, 222, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
  pointer-events: none;
}

/* Hazard stripe — the one place the orange is allowed to run long. */
.hazard-rule {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--color-safety-orange) 0 14px,
    var(--color-charcoal-black) 14px 28px
  );
}

/* Small orange keyline above a heading. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-safety-orange);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px;
  background: var(--color-safety-orange);
}

/* Silver bevelled headline treatment, echoing the "MEZZANINE" wordmark.
   The gradient tiles once per line so a three-line heading does not fade to
   unreadable grey by its last line. */
.steel-text {
  background-image: linear-gradient(180deg, #ffffff 0%, var(--color-metallic-silver) 55%, #a2aab3 100%);
  background-size: 100% 1.12em;
  background-repeat: repeat-y;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-orange { color: var(--color-safety-orange); }
.text-muted { color: var(--color-ink-muted); }
.text-silver { color: var(--color-metallic-silver); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-badge);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary-orange {
  background: linear-gradient(180deg, var(--color-safety-orange-light) 0%, var(--color-safety-orange) 100%);
  color: var(--color-pure-white);
  border-color: var(--color-safety-orange-light);
  box-shadow: 0 4px 15px rgba(242, 92, 5, 0.4);
}
.btn-primary-orange:hover {
  background: linear-gradient(180deg, #ff8c42 0%, var(--color-safety-orange-light) 100%);
  box-shadow: 0 6px 20px rgba(242, 92, 5, 0.6);
  transform: translateY(-1px);
}

.btn-steel {
  background: linear-gradient(180deg, var(--color-surface-raised) 0%, var(--color-gunmetal-dark) 100%);
  color: var(--color-metallic-silver);
  border-color: var(--color-steel-gray);
}
.btn-steel:hover {
  border-color: var(--color-metallic-silver);
  color: var(--color-pure-white);
  transform: translateY(-1px);
}

.btn-sm { font-size: 1.05rem; padding: 0.5rem 1.25rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   Logo — Paul's supplied badge artwork
   -------------------------------------------------------------------------- */

/* The artwork is a JPEG on a dark slate texture rather than a transparent PNG,
   so it arrives as a rectangle. Its own background sits within a few points of
   the header and footer colours, so the rectangle reads as part of the bar; a
   feather mask was tried first and only turned the small header copy to mush.
   A transparent PNG would let this drop to nothing. */
.logo {
  display: inline-flex; align-items: center;
  text-decoration: none; line-height: 1;
  flex: none;
}
.logo img {
  display: block;
  width: auto;
  height: 72px;
  /* Dark-on-dark at this size loses the bevels; a touch of contrast holds the
     silver and orange apart. */
  filter: contrast(1.06) saturate(1.05);
}
.logo--lg img { height: 150px; }

@media (max-width: 640px) {
  .logo img { height: 54px; }
  .logo--lg img { height: 112px; }
}

/* The badge is an emblem, so it needs room to be read. Where there is room —
   the footer, the About page — it gets shown at a size where the wordmark
   actually resolves. */
.brand-plate {
  display: inline-block;
  padding: 22px 26px;
  background: var(--color-charcoal-black);
  border: 1px solid var(--color-steel-gray);
  border-top: 3px solid var(--color-safety-orange);
  border-radius: var(--radius-badge);
  box-shadow: var(--bevel-shadow);
}
.brand-plate img { display: block; width: 100%; max-width: 420px; height: auto; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 18, 21, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-hairline);
}
.site-header__inner {
  display: flex; align-items: center; gap: 20px;
  height: var(--header-h);
}

.nav { margin-left: auto; }
.nav__list {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav__cta { display: none; }
.nav__link {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-metallic-silver);
  text-decoration: none;
  border-radius: var(--radius-badge);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav__link:hover { color: var(--color-pure-white); border-bottom-color: var(--color-steel-gray); }
.nav__link[aria-current="page"] {
  color: var(--color-pure-white);
  border-bottom-color: var(--color-safety-orange);
}

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--color-safety-orange);
  text-decoration: none;
  white-space: nowrap;
}
.header__phone:hover { color: var(--color-safety-orange-light); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-steel-gray);
  border-radius: var(--radius-badge);
  color: var(--color-metallic-silver);
  padding: 9px 11px;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle svg { display: block; }

@media (max-width: 1040px) {
  .nav { display: none; }
  .header__actions .btn { display: none; }
  .nav-toggle { display: block; }
  .nav--open {
    display: block;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--color-gunmetal-dark);
    border-top: 1px solid var(--color-hairline);
    border-bottom: 3px solid var(--color-safety-orange);
    box-shadow: var(--bevel-shadow);
  }
  .nav--open .nav__list {
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
  }
  .nav--open .nav__link {
    padding: 14px 4px;
    font-size: 1.35rem;
    border-bottom: 1px solid var(--color-hairline);
    border-radius: 0;
  }
  .nav--open .nav__cta { display: block; margin-top: 16px; }
  .nav--open .nav__cta .btn { display: inline-flex; width: 100%; }
}

@media (max-width: 640px) {
  .header__phone span { display: none; }
}

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

.hero {
  position: relative;
  min-height: min(84vh, 760px);
  display: flex; align-items: center;
  padding-block: clamp(64px, 10vw, 120px);
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05);
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,18,21,0.96) 0%, rgba(15,18,21,0.86) 42%, rgba(15,18,21,0.45) 100%),
    linear-gradient(0deg, rgba(15,18,21,0.95) 0%, transparent 55%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__content { max-width: 720px; }
.hero h1 { margin-bottom: 18px; }
.hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--color-metallic-silver);
  max-width: 56ch;
  margin-bottom: 30px;
}
.hero__badges {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 34px;
  font-size: 0.95rem;
  color: var(--color-ink-muted);
}
.hero__badges li {
  display: flex; align-items: center; gap: 9px;
  list-style: none;
}
.hero__badges li::before {
  content: ""; width: 7px; height: 7px;
  background: var(--color-safety-orange);
  transform: rotate(45deg);
  flex: none;
}
.hero__badges { padding: 0; margin-inline: 0; }

/* Hero video. The still sits underneath as the base layer, so if the video is
   blocked, still buffering, or refused by the browser's autoplay policy, the
   hero never shows a black hole — it just stays a photograph. */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Nudged up and scaled so the source clip's corner watermark falls outside
     the frame on every aspect ratio. */
  transform: scale(1.08) translateY(-1.5%);
  filter: saturate(0.75) contrast(1.05);
}
.hero__media img { position: absolute; inset: 0; }

/* Anyone who has asked for less motion gets the still, not a looping clip. */
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

/* --------------------------------------------------------------------------
   Page banner (inner pages)
   -------------------------------------------------------------------------- */

.page-banner {
  position: relative;
  padding-block: clamp(56px, 7vw, 92px);
  overflow: hidden;
  border-bottom: 1px solid var(--color-hairline);
}
.page-banner__media { position: absolute; inset: 0; z-index: 0; }
.page-banner__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7); }
.page-banner__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,18,21,0.95) 0%, rgba(15,18,21,0.8) 55%, rgba(15,18,21,0.55) 100%);
}
.page-banner .shell { position: relative; z-index: 1; }
.page-banner p { color: var(--color-metallic-silver); max-width: 60ch; margin-top: 14px; }

.crumbs {
  font-size: 0.85rem; letter-spacing: 0.05em;
  color: var(--color-ink-muted);
  margin-bottom: 14px;
}
.crumbs a { color: var(--color-ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--color-safety-orange); }

/* --------------------------------------------------------------------------
   Trust bar
   -------------------------------------------------------------------------- */

.trust-bar {
  background: var(--color-gunmetal-dark);
  border-block: 1px solid var(--color-hairline);
}
.trust-bar__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  list-style: none; margin: 0; padding: 0;
}
.trust-bar__item {
  padding: 26px 22px;
  border-right: 1px solid var(--color-hairline);
  display: flex; gap: 14px; align-items: flex-start;
}
.trust-bar__item:last-child { border-right: 0; }
.trust-bar__item svg { flex: none; color: var(--color-safety-orange); margin-top: 2px; }
.trust-bar__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem; letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-pure-white);
}
.trust-bar__item span { font-size: 0.9rem; color: var(--color-ink-muted); line-height: 1.5; }

/* --------------------------------------------------------------------------
   Steel card
   -------------------------------------------------------------------------- */

.steel-card {
  background-color: var(--color-gunmetal-dark);
  border: 1px solid var(--color-steel-gray);
  border-top: 3px solid var(--color-safety-orange);
  border-radius: var(--radius-badge);
  padding: 1.5rem;
  box-shadow: var(--bevel-shadow);
}

.steel-card--flush { padding: 0; overflow: hidden; }
.steel-card--flush .steel-card__body { padding: 1.5rem; }

.steel-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-charcoal-black);
}
.steel-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
a.steel-card:hover .steel-card__media img,
.steel-card:hover .steel-card__media img { transform: scale(1.05); }

a.steel-card { display: block; text-decoration: none; color: inherit; transition: border-color 0.2s ease, transform 0.2s ease; }
a.steel-card:hover { border-color: var(--color-metallic-silver); transform: translateY(-3px); }

.steel-card h3 { margin-bottom: 10px; }
.steel-card p { color: var(--color-ink-muted); font-size: 0.97rem; }

.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.1rem; letter-spacing: 0.08em;
  color: var(--color-safety-orange);
  text-decoration: none;
}
.card-link::after { content: "→"; transition: transform 0.2s ease; }
a.steel-card:hover .card-link::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */

.process { display: grid; gap: 2px; }
.process__step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--color-gunmetal-dark);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-badge);
  overflow: hidden;
}
.process__step + .process__step { margin-top: 22px; }
.process__step:nth-child(even) .process__media { order: -1; }

/* The media is a window, not a column of its own. Taking the image out of
   flow stops a tall portrait shot from dictating how tall the whole step is —
   the text sets the height, with a floor of 300px. */
.process__media {
  position: relative;
  min-height: 300px;
  background: var(--color-charcoal-black);
}
.process__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

.process__body { padding: clamp(28px, 4vw, 46px); align-self: center; }
.process__num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--color-safety-orange);
  opacity: 0.85;
  margin-bottom: 6px;
}
.process__body h3 { margin-bottom: 12px; }
.process__body p { color: var(--color-ink-muted); }

@media (max-width: 800px) {
  .process__step { grid-template-columns: 1fr; }
  .process__step:nth-child(even) .process__media { order: 0; }
  .process__media { min-height: 220px; aspect-ratio: 16 / 10; }
  .process__media img { position: absolute; }
}

/* --------------------------------------------------------------------------
   Split feature
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split__media {
  position: relative;
  border-radius: var(--radius-badge);
  overflow: hidden;
  border: 1px solid var(--color-steel-gray);
  box-shadow: var(--bevel-shadow);
}
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--tall img { aspect-ratio: 3 / 4; }

/* Orange corner bracket, drawn rather than imported. */
.split__media::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 72px; height: 72px;
  border-left: 5px solid var(--color-safety-orange);
  border-bottom: 5px solid var(--color-safety-orange);
  pointer-events: none;
}

.spec-list { list-style: none; margin: 22px 0 0; padding: 0; }
.spec-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-hairline);
  color: var(--color-metallic-silver);
  font-size: 0.98rem;
}
.spec-list li::before {
  content: "";
  flex: none; margin-top: 8px;
  width: 8px; height: 8px;
  background: var(--color-safety-orange);
  transform: rotate(45deg);
}
.spec-list li:last-child { border-bottom: 0; }

/* --------------------------------------------------------------------------
   Stat band
   -------------------------------------------------------------------------- */

.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  background: var(--color-hairline);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-badge);
  overflow: hidden;
}
.stat {
  background: var(--color-gunmetal-dark);
  padding: 32px 24px;
  text-align: center;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--color-safety-orange);
}
.stat__label {
  display: block; margin-top: 8px;
  font-size: 0.85rem; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.gallery__item {
  position: relative;
  margin: 0;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-badge);
  overflow: hidden;
  background: var(--color-gunmetal-dark);
  cursor: zoom-in;
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  display: block;
  width: 100%;
}
/* Tiles carry the shape, images fill them. Sources here are a mix of landscape
   DSLR shots and portrait phone clips; a square tile crops both without
   favouring either, and keeps every row the same height. The lightbox shows
   the uncropped original. */
.gallery__item { aspect-ratio: 1 / 1; }
.gallery__item--wide { aspect-ratio: 2 / 1; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s ease, filter 0.3s ease;
  filter: saturate(0.85);
}
.gallery__item:hover img { transform: scale(1.06); filter: saturate(1); }
.gallery__item figcaption,
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  font-size: 0.88rem;
  color: var(--color-metallic-silver);
  background: linear-gradient(0deg, rgba(15,18,21,0.95), transparent);
}
.gallery__item--wide { grid-column: span 2; }
@media (max-width: 700px) {
  .gallery__item--wide { grid-column: span 1; aspect-ratio: 1 / 1; }
}

/* A gallery tile that opens a clip rather than a still. The badge is what tells
   someone it moves — without it a video tile is indistinguishable from a photo. */
.gallery__item--video::after {
  content: "";
  position: absolute; left: 14px; top: 14px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, var(--color-safety-orange-light), var(--color-safety-orange));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease;
}
.gallery__item--video::before {
  content: "";
  position: absolute; z-index: 1;
  left: 30px; top: 26px;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #fff;
  transition: transform 0.2s ease;
}
.gallery__item--video:hover::after { transform: scale(1.12); }

.gallery__badge {
  position: absolute; right: 12px; top: 16px;
  font-family: var(--font-display);
  font-size: 0.95rem; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-metallic-silver);
  background: rgba(15, 18, 21, 0.78);
  border: 1px solid var(--color-steel-gray);
  border-radius: var(--radius-badge);
  padding: 2px 9px;
}

/* Lightbox video sits in the same frame the images use. */
.lightbox video {
  max-width: 100%; max-height: 84vh;
  border: 1px solid var(--color-steel-gray);
  border-radius: var(--radius-badge);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  background: #000;
  display: block;
}
.lightbox [hidden] { display: none !important; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(8, 10, 12, 0.94);
  display: grid; place-items: center;
  padding: 4vh 4vw;
}
.lightbox[hidden] { display: none !important; }
.lightbox img {
  max-width: 100%; max-height: 84vh;
  border: 1px solid var(--color-steel-gray);
  border-radius: var(--radius-badge);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}
.lightbox__cap {
  margin-top: 14px; text-align: center;
  color: var(--color-metallic-silver); font-size: 0.92rem;
}
.lightbox__close {
  position: absolute; top: 18px; right: 20px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--color-gunmetal-dark);
  border: 1px solid var(--color-steel-gray);
  border-radius: var(--radius-badge);
  color: var(--color-metallic-silver);
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { border-color: var(--color-safety-orange); color: var(--color-safety-orange); }

/* --------------------------------------------------------------------------
   Stock / product grid
   -------------------------------------------------------------------------- */

.stock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.stock-item {
  background: var(--color-gunmetal-dark);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-badge);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.stock-item:hover { border-color: var(--color-steel-gray); transform: translateY(-2px); }
.stock-item__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--color-charcoal-black); }
/* Drawn spec diagrams are already on-brand, so they sit in the frame rather
   than being cropped to fill it like a photograph. */
.stock-item__media--spec { background: var(--color-gunmetal-dark); }
.stock-item__media--spec img { object-fit: contain; }
.stock-item__media img { width: 100%; height: 100%; object-fit: cover; }
.stock-item__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.stock-item h3 { font-size: 1.4rem; margin-bottom: 6px; }
.stock-item p { font-size: 0.9rem; color: var(--color-ink-muted); flex: 1; }
.stock-item__price {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.1rem; letter-spacing: 0.08em;
  color: var(--color-safety-orange);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { border-top: 1px solid var(--color-hairline); }
.faq details {
  border-bottom: 1px solid var(--color-hairline);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-metallic-silver);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--color-pure-white); }
.faq summary::after {
  content: "+";
  position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem; line-height: 1;
  color: var(--color-safety-orange);
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { color: var(--color-pure-white); }
.faq__answer { padding: 0 44px 24px 0; color: var(--color-ink-muted); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  background: var(--color-gunmetal-dark);
  border-top: 1px solid var(--color-hairline);
  overflow: hidden;
}
.cta-band__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 28px 40px;
  padding-block: clamp(44px, 6vw, 72px);
}
.cta-band__text { flex: 1 1 380px; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--color-metallic-silver); max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block; margin-bottom: 7px;
  font-size: 0.82rem; letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-metallic-silver);
  font-weight: 600;
}
.field .req { color: var(--color-safety-orange); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-pure-white);
  background: var(--color-charcoal-black);
  border: 1px solid var(--color-steel-gray);
  border-radius: var(--radius-badge);
  padding: 13px 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-safety-orange);
  box-shadow: 0 0 0 3px rgba(242, 92, 5, 0.18);
}
.field input::placeholder, .field textarea::placeholder { color: #6b7480; }
.field select { -webkit-appearance: none; appearance: none; cursor: pointer; }

.form-note { font-size: 0.85rem; color: var(--color-ink-muted); margin-top: 4px; }

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-badge);
  border: 1px solid var(--color-steel-gray);
  background: var(--color-gunmetal-dark);
  font-size: 0.95rem;
}
.form-status[hidden] { display: none !important; }
.form-status--ok { border-color: var(--color-safety-orange); color: var(--color-pure-white); }
.form-status--err { border-color: var(--color-uk-red); color: #ffc9cf; }

/* Honeypot — visually gone but still submitted by bots. */
.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-hairline);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { flex: none; color: var(--color-safety-orange); margin-top: 3px; }
.contact-list strong {
  display: block;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-ink-muted); font-weight: 600;
  margin-bottom: 3px;
}
.contact-list a {
  color: var(--color-pure-white); text-decoration: none; font-size: 1.05rem;
  overflow-wrap: anywhere;
}
.contact-list a:hover { color: var(--color-safety-orange); }

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

.site-footer {
  background: #0a0c0e;
  border-top: 1px solid var(--color-hairline);
  padding-block: 56px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 36px;
}
.site-footer h4 {
  font-size: 1.15rem; letter-spacing: 0.12em;
  color: var(--color-metallic-silver);
  margin-bottom: 16px;
}
.site-footer p { color: var(--color-ink-muted); font-size: 0.94rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--color-ink-muted); text-decoration: none; font-size: 0.94rem;
  overflow-wrap: anywhere;
}
.footer-links li { overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--color-safety-orange); }

/* Companies Act trading disclosure. Required on the website of a limited
   company, so it sits above the copyright bar rather than inside it — it is a
   legal statement, not a credit line. */
.footer-legal {
  margin: 44px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--color-hairline);
  font-size: 0.8rem;
  line-height: 1.6;
  color: #6b7480;
  max-width: 70ch;
}

.footer-bottom {
  margin-top: 0;
  border-top: 1px solid var(--color-hairline);
  padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  align-items: center; justify-content: space-between;
  font-size: 0.85rem;
  color: #6b7480;
}
.footer-bottom a { color: #8b95a1; text-decoration: none; }
.footer-bottom a:hover { color: var(--color-safety-orange); }
.footer-credit { letter-spacing: 0.02em; }

/* --------------------------------------------------------------------------
   Placeholder — a fact Paul still needs to confirm. Deliberately loud so it
   cannot survive to a live site unnoticed. Delete the span, keep the text.
   -------------------------------------------------------------------------- */

.ph {
  background: rgba(242, 92, 5, 0.16);
  border-bottom: 2px dashed var(--color-safety-orange);
  padding: 0 4px;
  color: var(--color-safety-orange-light);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Reveal on scroll — opt-in, and inert without JS
   -------------------------------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

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

@media print {
  body { background: #fff; color: #000; }
  .site-header, .cta-band, .nav-toggle, .lightbox { display: none !important; }
  .steel-text { -webkit-text-fill-color: #000; color: #000; }
}
