/* ==========================================================================
   Quantum Axis Technologies — Construction / Nuclear Power / Medical equipment
   Stylesheet: tokens, base, components, sections, responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Surfaces */
  --ink: #0b111e;
  --ink-2: #101829;
  --paper: #f2f0e9;
  --paper-2: #e8e5dc;
  --card: #fbfaf6;
  --field: #ffffff;

  /* Lines */
  --line: #d4d0c4;
  --line-strong: #c9c5b8;
  --line-dashed: #8a8f9c;
  --line-on-ink: rgba(244, 242, 236, 0.14);
  --line-on-ink-strong: rgba(244, 242, 236, 0.28);

  /* Text */
  --text: #0b111e;
  --text-muted: #4a5162;
  --text-faint: #c9c5b8;
  --on-ink: #f4f2ec;
  --on-ink-muted: #a9b2c4;
  --on-ink-nav: #c9d0de;

  /* Accent — two tones so contrast holds on both grounds */
  --accent: #ff6a2b;      /* on the dark ground */
  --accent-ink: #b8380a;  /* on the light ground, passes 4.5:1 */

  /* Type */
  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Rhythm */
  --gutter: 72px;
  --section-y: 96px;
  --max: 1440px;

  /* Radii */
  --r-sm: 12px;
  --r-md: 22px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* Blueprint grid */
  --bp-line: rgba(244, 242, 236, 0.05);
  --bp-size: 32px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; }

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

.on-ink :focus-visible { outline-color: var(--accent); }

/* Screen-reader only */
.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;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */

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

.section { padding-block: var(--section-y); }

/* Anchor targets clear the sticky header */
section[id],
main[id] { scroll-margin-top: 104px; }

.section--ink {
  background: var(--ink);
  color: var(--on-ink);
}

.section--paper-2 { background: var(--paper-2); }

/* Blueprint plate — the dark gridded panels behind the line art */
.plate {
  position: relative;
  overflow: hidden;
  background-color: var(--ink);
  background-image:
    linear-gradient(var(--bp-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-line) 1px, transparent 1px);
  background-size: var(--bp-size) var(--bp-size);
}

.plate__tag {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--on-ink-muted);
}

/* Line-art drawings */
.blueprint {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #e9ecf3;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.blueprint .accent { stroke: var(--accent); }
.blueprint .faint { stroke-opacity: 0.45; }

/* --------------------------------------------------------------------------
   4. Typography components
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section--ink .eyebrow,
.hero .eyebrow { color: var(--on-ink-muted); }

.eyebrow__dot {
  width: 8px;
  height: 8px;
  margin-top: 0.42em; /* sits on the first line when the label wraps */
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* The italic serif phrase that carries the emphasis in every headline */
.accent-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent-ink);
}

.section--ink .accent-serif,
.hero .accent-serif { color: var(--accent); }

.cta-band .accent-serif { color: inherit; }

.display-xl { font-size: clamp(44px, 5.6vw, 80px); }
.display-lg { font-size: clamp(40px, 4.4vw, 64px); }
.display-md { font-size: clamp(36px, 3.9vw, 56px); }

.display-xl .accent-serif { font-size: 1.1em; }
.display-lg .accent-serif { font-size: 1.1em; }
.display-md .accent-serif { font-size: 1.1em; }

.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 58ch;
}

.section--ink .lede,
.hero .lede { color: var(--on-ink-muted); }

.mono-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding-inline: 28px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease,
              color 0.18s ease, border-color 0.18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn__arrow { transition: transform 0.18s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--accent {
  background: var(--accent);
  color: var(--ink);
}
.btn--accent:hover { background: #ff7f49; }

.btn--ink {
  background: var(--ink);
  color: var(--on-ink);
}
.btn--ink:hover { background: var(--ink-2); }

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--on-ink); }

.btn--ghost-on-ink {
  border-color: var(--line-on-ink-strong);
  color: var(--on-ink);
  font-weight: 500;
}
.btn--ghost-on-ink:hover {
  border-color: var(--on-ink);
  background: rgba(244, 242, 236, 0.06);
}

.btn--sm {
  min-height: 46px;
  padding-inline: 22px;
  font-size: 15px;
}

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

.text-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-ink);
}
.text-link .btn__arrow { display: inline-block; }

/* --------------------------------------------------------------------------
   6. Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--on-ink);
  border-bottom: 1px solid var(--line-on-ink);
  transition: box-shadow 0.25s ease;
}

.site-header.is-stuck { box-shadow: 0 10px 30px rgba(11, 17, 30, 0.35); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 88px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.logo__mark { flex: none; }
.logo__mark rect { fill: var(--accent); }

.logo__word {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo__sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.42em;
  opacity: 0.6;
}

.nav { display: flex; }

.nav__link, .site-header__cta { white-space: nowrap; }
.site-header__cta { flex: none; }

/* GTranslate popup: flag button in the header (outside the menu, so it stays
   visible next to the hamburger on phones). The language list opens as a popup. */
.site-header__lang { flex: none; }

.site-header__lang .gt_switcher-popup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-on-ink-strong);
  border-radius: var(--r-pill);
  color: var(--on-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-header__lang .gt_switcher-popup:hover { background: var(--ink-2); border-color: var(--on-ink-muted); }
.site-header__lang .gt_switcher-popup img { border-radius: 50%; }
.site-header__lang .gt_switcher-popup span[style] { color: var(--on-ink-muted) !important; }

/* Mid-width desktops: drop the header CTA and tighten the links so it all fits */
@media (min-width: 961px) and (max-width: 1180px) {
  .site-header__cta { display: none; }
  .nav__list { gap: 22px; }
}

@media (min-width: 961px) and (max-width: 1040px) {
  .nav__list { gap: 16px; font-size: 14px; }
  .site-header__lang .gt_switcher-popup span:not([style]) { display: none; }
}

/* Up to 1360px the full menu + CTA leave no room for the word "English" */
@media (min-width: 961px) and (max-width: 1360px) {
  .site-header__lang .gt_switcher-popup span:not([style]) { display: none; }
}

/* Phones and tablets: logo left, flag + hamburger right */
@media (max-width: 960px) {
  .site-header__lang { order: 2; margin-left: auto; }
  .site-header .nav-toggle { order: 3; }
  .site-header__lang .gt_switcher-popup span:not([style]) { display: none; }
  .site-header__lang .gt_switcher-popup { min-height: 44px; padding: 0 10px; gap: 5px; }
}

@media (max-width: 400px) {
  .site-header__inner { gap: 10px; }
  .logo { gap: 9px; }
  .logo__word { font-size: 15px; letter-spacing: 0.1em; }
  .logo__sub { letter-spacing: 0.3em; }
  .site-header .nav-toggle { width: 44px; height: 44px; }
}

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .site-header__inner { gap: 6px; }
  .site-header .nav-toggle { width: 42px; height: 42px; }
  .logo { gap: 8px; }
  .logo__mark { width: 30px; height: 30px; }
  .logo__word { font-size: 14px; letter-spacing: 0.06em; }
  .logo__sub { font-size: 8.5px; letter-spacing: 0.22em; }
  .site-header__lang .gt_switcher-popup { padding: 0 8px; min-height: 40px; }
  .site-header__lang .gt_switcher-popup span[style] { display: none; }
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 15px;
}

.nav__link {
  position: relative;
  color: var(--on-ink-nav);
  padding-block: 6px;
  transition: color 0.18s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav__link:hover { color: var(--on-ink); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__link[aria-current="page"] {
  color: var(--on-ink);
}
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* Hamburger — hidden until the nav collapses */
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-on-ink-strong);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--on-ink);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 1.8px;
  margin-block: 3px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(4.8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  transform: translateY(-4.8px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  background: var(--ink);
  color: var(--on-ink);
  padding-block: 56px 64px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 64px;
  align-items: stretch;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__title { letter-spacing: -0.04em; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line-on-ink);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat__value {
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--on-ink-muted);
}

/* Hero blueprint collage */
.hero__plate {
  min-height: 600px;
  padding: 20px;
  border: 1px solid rgba(244, 242, 236, 0.12);
  border-radius: var(--r-lg);
  background-color: var(--ink-2);
  background-image:
    linear-gradient(var(--bp-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-line) 1px, transparent 1px);
  background-size: var(--bp-size) var(--bp-size);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hero__cell {
  position: relative;
  border: 1px solid rgba(244, 242, 236, 0.14);
  border-radius: 18px;
  background: rgba(11, 17, 30, 0.72);
  overflow: hidden;
  padding: 44px 20px 16px;
}

.hero__cell--tall { grid-row: span 2; }

/* Photo panels: image fills the cell, tag sits on a scrim */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__cell:has(.hero__photo),
.hero--division .hero__plate:has(.hero__photo) { padding: 0; }

.hero__cell:has(.hero__photo)::after,
.hero__plate:has(> .hero__photo)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 30, 0.7) 0, rgba(11, 17, 30, 0) 34%);
  pointer-events: none;
}

.hero__cell:has(.hero__photo) .plate__tag,
.hero__plate:has(> .hero__photo) .plate__tag { z-index: 2; color: var(--on-ink); }

/* --------------------------------------------------------------------------
   8. Certification strip
   -------------------------------------------------------------------------- */

.strip {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding-block: 28px;
}

.strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.strip__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  max-width: 22ch;
}

.strip__items {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cert-chip {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding-inline: 22px;
  border: 1px dashed var(--line-dashed);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. Section headings
   -------------------------------------------------------------------------- */

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}

.section__head--split {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.section__head--stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

/* --------------------------------------------------------------------------
   10. Division cards
   -------------------------------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.division {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease,
              border-color 0.24s ease;
}

.division:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(11, 17, 30, 0.12);
}

.division {
  position: relative;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease, border-color 0.24s ease;
  will-change: transform;
}

.division:hover { --lift: -8px; }

/* Cursor spotlight (position set by main.js) */
.division::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 106, 43, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.division:hover::after { opacity: 1; }

.division__media {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: var(--ink);
}

.division__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(0.85);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter 0.6s ease;
}

.division__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 17, 30, 0.55) 0%, rgba(11, 17, 30, 0.35) 45%, rgba(11, 17, 30, 0.85) 100%);
  transition: opacity 0.6s ease;
}

.division__lines {
  position: absolute;
  inset: 12% 10% 16%;
  z-index: 2;
  width: 80%;
  height: 72%;
  stroke: rgba(244, 242, 236, 0.9);
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(.2,.7,.2,1);
}

/* Line art draws itself when the card scrolls in */
.js .division__lines * {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  transition: stroke-dashoffset 1.8s cubic-bezier(.6,.1,.2,1) 0.25s;
}

.js .division.is-in .division__lines * { stroke-dashoffset: 0; }

.division__num,
.division__meta {
  position: absolute;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--on-ink);
}

.division__num { top: 20px; left: 24px; }

.division__meta {
  top: 16px;
  right: 18px;
  padding: 5px 12px;
  border: 1px solid rgba(244, 242, 236, 0.3);
  border-radius: var(--r-pill);
  background: rgba(11, 17, 30, 0.35);
  backdrop-filter: blur(6px);
}

.division__explore {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.2,.7,.2,1);
}

.division:hover .division__photo { transform: scale(1.1); filter: saturate(1.1); }
.division:hover .division__media::before { opacity: 0.55; }
.division:hover .division__lines { opacity: 0.18; transform: scale(1.06); }
.division:hover .division__explore { opacity: 1; transform: none; }
.division:hover .division__title { color: var(--accent-ink); }
.division__title { transition: color 0.3s ease; }

.division__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
  padding: 28px 30px;
}

.division__title { font-size: 32px; }

.division__text {
  font-size: 16px;
  color: var(--text-muted);
}

.spec-list { margin-top: 6px; }

.spec-list li {
  padding-block: 11px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.division__link { margin-top: auto; }

/* --------------------------------------------------------------------------
   11. Featured equipment
   -------------------------------------------------------------------------- */

.product {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(11, 17, 30, 0.1);
}

/* Stand-in for the product photography */
.product__photo {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ddd9cd;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(11, 17, 30, 0.06) 0,
    rgba(11, 17, 30, 0.06) 1px,
    transparent 1px,
    transparent 14px
  );
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  overflow: hidden;
}

.product__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product:hover .product__photo img { transform: scale(1.04); }

.family__photo {
  display: block;
  width: calc(100% + 56px);
  max-width: none;
  height: 170px;
  margin: -28px -28px 6px;
  object-fit: cover;
  border-radius: 23px 23px 0 0;
}

.product__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
  padding: 20px 24px;
}

.product__cat {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
}

.product__name {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 12px;
}

.product__spec {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.product__cta { font-size: 14px; font-weight: 600; white-space: nowrap; }

/* Filter row driven by main.js */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter {
  min-height: 44px;
  padding-inline: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
              border-color 0.18s ease;
}

.filter:hover { border-color: var(--ink); color: var(--ink); }

.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}

.product.is-hidden { display: none; }

.product__text { font-size: 14px; line-height: 1.5; color: var(--text-muted); margin-bottom: 4px; }

/* Catalogue: sticky category bar under the header */
.catalogue-nav {
  position: sticky;
  top: 88px;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding-block: 14px;
}

.catalogue-nav .filters {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.catalogue-nav .filters::-webkit-scrollbar { display: none; }

.catalogue-nav .filter {
  display: inline-flex;
  align-items: center;
  flex: none;
  white-space: nowrap;
}

.catalogue-nav .filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}

.catalogue-section,
#quote { scroll-margin-top: 170px; }

/* --------------------------------------------------------------------------
   12. Value propositions
   -------------------------------------------------------------------------- */

.value {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 242, 236, 0.2);
}

.value__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

.value__title { font-size: 24px; letter-spacing: -0.02em; }

.value__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--on-ink-muted);
}

/* --------------------------------------------------------------------------
   13. Process
   -------------------------------------------------------------------------- */

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step__num {
  font-size: clamp(52px, 5vw, 72px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: var(--text-faint);
  transition: color 0.24s ease;
}

.step:hover .step__num { color: var(--accent-ink); }

.step__rule {
  height: 2px;
  background: var(--ink);
}

.step__title { font-size: 24px; letter-spacing: -0.02em; }

.step__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   14. Call to action band
   -------------------------------------------------------------------------- */

.cta-band {
  background: var(--accent);
  color: var(--ink);
  padding-block: 104px;
  text-align: center;
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.cta-band__title {
  max-width: 1000px;
  font-size: clamp(44px, 5.8vw, 84px);
  letter-spacing: -0.045em;
}

.cta-band .btn-row { justify-content: center; }

.cta-band .btn--outline:hover { background: var(--ink); color: var(--accent); }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--on-ink);
  padding-block: 80px 40px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 340px;
}

.site-footer__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--on-ink-muted);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  color: var(--on-ink-muted);
}

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--on-ink);
}

.footer-col a { transition: color 0.18s ease; }
.footer-col a:hover { color: var(--on-ink); }

.site-footer__offices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line-on-ink);
}

.office {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-ink-muted);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line-on-ink);
  font-size: 13px;
  color: var(--on-ink-muted);
}

.site-footer__legal {
  display: flex;
  gap: 28px;
}

/* Photo credits page */
.breadcrumb--light { margin-bottom: 32px; color: var(--text-muted); }
.breadcrumb--light [aria-current] { color: var(--text); }

.credit-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.credit {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.credit img {
  flex: none;
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
}

.credit div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.credit a { overflow-wrap: anywhere; }
.credit div > a { font-weight: 600; }
.credit span { font-size: 13px; color: var(--text-muted); }
.credit span a { text-decoration: underline; }

/* --------------------------------------------------------------------------
   16. Division pages (construction/, nuclear/, medical/)
   -------------------------------------------------------------------------- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
  margin-bottom: 40px;
}

.breadcrumb a:hover { color: var(--on-ink); }
.breadcrumb [aria-current="page"] { color: var(--on-ink); }

.hero--division .hero__inner {
  grid-template-columns: minmax(0, 1fr) 460px;
}

.hero--division .hero__plate {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 56px 40px 24px;
}

.strip--tall { padding-block: 40px; }

.strip__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
}

.strip__note {
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-muted);
}

/* Equipment family cards */
.family {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  min-height: 360px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.family:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(11, 17, 30, 0.1);
}

.family__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-ink);
}

.family__title { font-size: 28px; line-height: 1.1; }

.family__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

/* Traceability list */
.split-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 96px;
  align-items: center;
}

.record-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(244, 242, 236, 0.2);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.record-list li:last-child {
  border-bottom: 1px solid rgba(244, 242, 236, 0.2);
}

.record-list__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   17. Quote request form
   -------------------------------------------------------------------------- */

.rfq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 640px;
  gap: 96px;
  align-items: start;
}

.rfq__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 56px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--field);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input::placeholder,
.field textarea::placeholder { color: #8a8f9c; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(11, 17, 30, 0.08);
  outline: none;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

.field select { appearance: none; padding-right: 44px; }

.field--select { position: relative; }

.field--select::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 24px;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid var(--text-muted);
  border-bottom: 1.6px solid var(--text-muted);
  transform: rotate(45deg);
  pointer-events: none;
}

.field__error {
  min-height: 0;
  font-size: 13px;
  font-weight: 500;
  color: #a4161a;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #a4161a; }

.form__note {
  font-size: 13px;
  color: var(--text-muted);
}

.form__status {
  display: none;
  padding: 16px 20px;
  border-radius: var(--r-sm);
  background: var(--paper-2);
  font-size: 15px;
  font-weight: 500;
}

.form__status.is-visible { display: block; }
.form__status.is-success { background: #dff3e4; color: #14532d; }
.form__status.is-error { background: #fde6dc; color: #7c2d12; }
.form__status a { text-decoration: underline; }

/* Spam trap: hidden from people, filled in by bots */
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form button[type="submit"][disabled] { opacity: 0.7; cursor: progress; }

.form__captcha:empty { display: none; }
.form__captcha { min-height: 78px; }
.form__captcha.has-error iframe { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   18. Scroll reveal (progressive enhancement from main.js)
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Keep the tilt working after the card has revealed */
.js .reveal.division.is-in {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: opacity 0.6s ease, transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease, border-color 0.24s ease;
}

/* --------------------------------------------------------------------------
   18b. Motion — hero entrance, bouncy photos, pills, process rules, shine
   -------------------------------------------------------------------------- */

/* Headline words rise in (spans added by main.js) */
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em) rotate(2deg);
  animation: word-in 0.8s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: calc(var(--i) * 70ms + 120ms);
}

@keyframes word-in { to { opacity: 1; transform: none; } }

.hero .lede,
.hero .btn-row,
.hero__stats,
.hero .eyebrow,
.hero .breadcrumb {
  animation: fade-up 0.9s cubic-bezier(.2,.7,.2,1) both;
}

.hero .lede { animation-delay: 0.45s; }
.hero .btn-row { animation-delay: 0.6s; }
.hero__stats { animation-delay: 0.75s; }

@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }

.eyebrow__dot { position: relative; }

.eyebrow__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse { to { transform: scale(3.2); opacity: 0; } }

/* Hero photos slowly drift */
.hero__photo { animation: ken-burns 22s ease-in-out infinite alternate; }
.hero__cell:nth-child(2) .hero__photo { animation-delay: -7s; animation-duration: 26s; }
.hero__cell:nth-child(3) .hero__photo { animation-delay: -13s; animation-duration: 24s; }

@keyframes ken-burns {
  from { transform: scale(1.02) translate(0, 0); }
  to   { transform: scale(1.14) translate(-2%, -1.5%); }
}

/* Bouncy hero photos: spring in, keep bobbing, squish on hover.
   Entrance uses `transform`, the bob uses `translate`, hover uses `scale`,
   so the three never fight over the same property. */
.hero__plate { animation: plate-in 1.2s cubic-bezier(.34,1.56,.64,1) both; }

.hero__cell {
  animation:
    plate-in 1.1s cubic-bezier(.34,1.56,.64,1) both,
    bob 5.5s ease-in-out 1.4s infinite;
  transition: scale 0.6s cubic-bezier(.34,1.8,.64,1), rotate 0.6s cubic-bezier(.34,1.8,.64,1), box-shadow 0.4s ease;
}

.hero__cell:nth-child(1) { animation-delay: 0.2s, 1.4s; }
.hero__cell:nth-child(2) { animation-delay: 0.38s, 2.3s; animation-duration: 1.1s, 4.8s; }
.hero__cell:nth-child(3) { animation-delay: 0.56s, 3.1s; animation-duration: 1.1s, 6.2s; }

.hero__cell:hover {
  scale: 1.05;
  rotate: -1.5deg;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.hero__cell:nth-child(2):hover { rotate: 1.5deg; }

.hero--division .hero__plate {
  animation: plate-in 1.2s cubic-bezier(.34,1.56,.64,1) both, bob 6s ease-in-out 1.4s infinite;
}

@keyframes plate-in {
  0%   { opacity: 0; transform: translateY(60px) scale(0.85); }
  60%  { opacity: 1; }
  100% { transform: none; }
}

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}

/* Popular equipment pills — pop in with a spring when scrolled to */
.popular {
  background: var(--accent);
  color: var(--ink);
  padding-block: 28px;
}

.popular__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.popular__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.js .pills.reveal { opacity: 1; transform: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding-inline: 18px;
  border: 1px solid rgba(11, 17, 30, 0.25);
  border-radius: var(--r-pill);
  background: rgba(251, 250, 246, 0.55);
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), background 0.2s ease, color 0.2s ease;
}

.pill__star { font-size: 12px; color: var(--accent-ink); transition: transform 0.5s cubic-bezier(.34,1.56,.64,1); }

.pill:hover { transform: translateY(-4px) scale(1.05); background: var(--ink); color: var(--on-ink); }
.pill:hover .pill__star { transform: rotate(180deg) scale(1.3); color: var(--accent); }
.pill--more { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

/* Pop-in animates `translate`/`scale`; hover uses `transform`, so they don't clash */
.js .pills .pill { opacity: 0; }

.js .pills.is-in .pill {
  animation: pop-in 0.7s cubic-bezier(.34,1.56,.64,1) both;
  animation-delay: calc(var(--i) * 45ms);
}

@keyframes pop-in {
  from { opacity: 0; translate: 0 16px; scale: 0.6; }
  to   { opacity: 1; translate: 0 0; scale: 1; }
}

/* Stats pop when their count finishes */
.stat__value.is-done { animation: pop 0.4s ease; }
@keyframes pop { 50% { transform: scale(1.08); color: var(--accent); } }

/* Process rules draw left to right, one after another */
.js .step .step__rule {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(.6,.1,.2,1) 0.3s;
  background: linear-gradient(90deg, var(--accent-ink), var(--ink));
}

.js .step.is-in .step__rule { transform: none; }

/* Shine sweep on accent buttons */
.btn--accent { position: relative; overflow: hidden; isolation: isolate; }

.btn--accent::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.btn--accent:hover::before { transform: translateX(120%); }
.btn__arrow { display: inline-block; transition: transform 0.25s ease; }
.btn:hover .btn__arrow,
.text-link:hover .btn__arrow,
.product__cta:hover .btn__arrow { transform: translateX(4px); }

/* Scroll progress bar (element added by main.js) */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__title .word { opacity: 1; transform: none; animation: none; }
  .js .division__lines * { stroke-dashoffset: 0; }
  .js .step .step__rule { transform: none; }
  .hero__cell, .hero__plate { animation: none; }
  .js .pills .pill { opacity: 1; animation: none; }
  .hero__photo { animation: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1280px) {
  :root { --gutter: 48px; --section-y: 80px; }

  .hero__inner { grid-template-columns: minmax(0, 1fr) 440px; }
  .hero--division .hero__inner { grid-template-columns: minmax(0, 1fr) 380px; }
  .split-2, .rfq { gap: 56px; }
  .rfq { grid-template-columns: minmax(0, 1fr) 520px; }
  .nav__list { gap: 26px; }
}

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section__head { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .site-footer__offices { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 960px) {
  /* Nav collapses into the toggle */
  .nav-toggle { display: flex; flex-direction: column; }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 12px var(--gutter) 28px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-on-ink);
  }

  .nav.is-open { display: block; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 18px;
  }

  .nav__item { border-top: 1px solid var(--line-on-ink); }

  .nav__link {
    display: block;
    padding-block: 18px;
  }

  .nav__link::after { display: none; }

  .site-header__cta { display: none; }

  /* Hero stacks */
  .hero__inner,
  .hero--division .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero__plate { min-height: 480px; }

  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .split-2,
  .rfq {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .section__head,
  .section__head--split {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; --section-y: 64px; }

  .grid-3,
  .grid-4 { grid-template-columns: minmax(0, 1fr); }

  .hero { padding-block: 40px 48px; }

  .popular__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .popular__label br { display: none; }

  .hero__plate {
    min-height: 360px;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .stat__label { font-size: 10px; letter-spacing: 0.08em; }

  .strip__inner { gap: 20px; }
  .strip__label { max-width: none; }

  .form { padding: 24px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }

  .site-footer { padding-block: 56px 32px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__offices { grid-template-columns: 1fr; }
  .site-footer__bottom { margin-top: 40px; }

  .cta-band { padding-block: 72px; }
  .cta-band .btn-row { width: 100%; flex-direction: column; }
  .cta-band .btn { width: 100%; }

  .record-list li { font-size: 19px; }

  .family { min-height: 0; }
}

@media (max-width: 420px) {
  .hero__stats { grid-template-columns: minmax(0, 1fr); }
  .hero__stats .stat { flex-direction: row; align-items: baseline; gap: 12px; }
  .logo__word { font-size: 17px; }
  .site-header__inner { gap: 16px; }
}

/* --------------------------------------------------------------------------
   20. Print
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .nav-toggle,
  .cta-band,
  .skip-link { display: none; }

  body { background: #fff; color: #000; }
  .hero, .section--ink, .site-footer { background: #fff; color: #000; }
  .lede, .value__text, .site-footer__text { color: #333; }
  a { text-decoration: underline; }
}
