/* ==========================================================================
   HYDROJET — site.css
   Design system: "the spec sheet, cut by water"
   Dark graphite engineering-document aesthetic. IBM Plex type system.
   Signature motif: the waterjet cut line (thin cyan kerf).
   ========================================================================== */

:root {
  /* palette */
  --ink: #0b0f14;
  --ink-2: #0e141b;
  --panel: #121a23;
  --panel-2: #16202b;
  --line: rgba(160, 190, 220, 0.13);
  --line-strong: rgba(160, 190, 220, 0.24);
  --text: #e9edf2;
  --muted: #9aa6b3;
  --faint: #6b7784;
  --accent: #53d7ff;
  --accent-deep: #1ba8d4;
  --accent-dim: rgba(83, 215, 255, 0.12);
  --paper: #e8ebed;
  --paper-2: #f3f4f5;
  --ink-on-paper: #10151b;
  --muted-on-paper: #4d5660;
  --line-on-paper: rgba(16, 21, 27, 0.14);

  /* type */
  --f-display: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --f-body: "IBM Plex Sans", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* rhythm */
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --band-y: clamp(72px, 11vw, 140px);
  --header-h: 68px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--ink);
  padding: 10px 18px; font-family: var(--f-mono); font-size: 13px;
}
.skip-link:focus { left: 0; }

/* ---------- type utilities ---------- */
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--accent); flex: none; }
.band--light .kicker { color: var(--accent-deep); }
.band--light .kicker::before { background: var(--accent-deep); }
.kicker .idx { color: var(--faint); letter-spacing: 0.1em; }

.display {
  font-family: var(--f-display); font-weight: 700;
  line-height: 0.98; letter-spacing: -0.015em;
  text-wrap: balance;
}
.display--xl { font-size: clamp(46px, 7.2vw, 104px); }
.display--lg { font-size: clamp(38px, 5.2vw, 72px); }
.display--md { font-size: clamp(30px, 3.6vw, 48px); }
.display--sm { font-size: clamp(24px, 2.6vw, 32px); }

.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; color: var(--muted); max-width: 56ch; }
.band--light .lede { color: var(--muted-on-paper); }

.mono-note { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--faint); }

/* ---------- the kerf (signature cut line) ---------- */
.kerf {
  position: relative; height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
}
.kerf::after {
  content: ""; position: absolute; left: 12%; top: 0; height: 1px; width: 120px;
  background: linear-gradient(90deg, var(--accent), transparent);
  filter: drop-shadow(0 0 6px var(--accent));
}

/* ---------- header ---------- */
.trustbar {
  background: var(--paper); color: var(--ink-on-paper);
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-align: center; padding: 7px 16px;
  position: relative; z-index: 60;
}
.trustbar b { color: var(--accent-deep); font-weight: 500; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 20, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(11, 15, 20, 0.94); }
.nav {
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; margin-right: auto;
  font-family: var(--f-display); font-weight: 700; font-size: 21px;
  letter-spacing: 0.14em;
}
.brand svg { display: block; }
.brand .mark-right { fill: var(--muted); }
.brand .mark-left { fill: var(--text); }
.brand .mark-kerf { stroke: var(--ink); }
.brand .mark-kerf-glow { stroke: var(--accent); }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--muted);
  padding: 8px 11px; position: relative;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px;
  height: 1px; background: var(--accent);
}

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  padding: 14px 26px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--text);
  position: relative; overflow: hidden;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.button::before {
  content: ""; position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.6, 0, 0.2, 1);
  z-index: -1;
}
.button:hover, .button:focus-visible { color: var(--ink); border-color: var(--accent); }
.button:hover::before, .button:focus-visible::before { transform: scaleX(1); }
.button--solid { background: var(--text); color: var(--ink); border-color: var(--text); }
.button--solid::before { background: var(--accent); }
.button--solid:hover { border-color: var(--accent); }
.button .arr { transition: transform 0.25s ease; }
.button:hover .arr { transform: translateX(4px); }
.band--light .button, .band--light2 .button { color: var(--ink-on-paper); border-color: rgba(16, 21, 27, 0.35); }
.band--light .button:hover, .band--light2 .button:hover { color: var(--ink); border-color: var(--accent-deep); }
.band--light .button--solid, .band--light2 .button--solid { background: var(--ink-on-paper); color: var(--paper-2); border-color: var(--ink-on-paper); }
.band--light .button--solid:hover, .band--light2 .button--solid:hover { color: var(--ink); }

.nav-cta { padding: 11px 20px; }

.menu-toggle { display: none; }

/* mobile nav */
@media (max-width: 960px) {
  .nav-links, .nav .nav-cta { display: none; }
  .menu-toggle {
    display: grid; place-items: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: none; border: 1px solid var(--line-strong); cursor: pointer;
  }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform 0.3s ease, opacity 0.3s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    position: fixed; inset: 0; top: 0; z-index: 40;
    background: var(--ink);
    display: flex; flex-direction: column; justify-content: center;
    padding: 100px var(--pad) 48px;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; }
  .mobile-menu a {
    font-family: var(--f-display); font-weight: 700;
    font-size: clamp(32px, 9vw, 52px); line-height: 1.15;
    text-decoration: none; color: var(--text);
    padding: 6px 0; border-bottom: 1px solid var(--line);
    display: flex; align-items: baseline; gap: 16px;
    transform: translateY(12px); opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }
  .mobile-menu.is-open a { transform: none; opacity: 1; }
  .mobile-menu a:nth-child(2) { transition-delay: 0.04s; }
  .mobile-menu a:nth-child(3) { transition-delay: 0.08s; }
  .mobile-menu a:nth-child(4) { transition-delay: 0.12s; }
  .mobile-menu a:nth-child(5) { transition-delay: 0.16s; }
  .mobile-menu a:nth-child(6) { transition-delay: 0.2s; }
  .mobile-menu a:nth-child(7) { transition-delay: 0.24s; }
  .mobile-menu a:nth-child(8) { transition-delay: 0.28s; }
  .mobile-menu a .num { font-family: var(--f-mono); font-size: 13px; font-weight: 400; color: var(--accent); letter-spacing: 0.1em; }
  .mobile-menu a[aria-current="page"] { color: var(--accent); }
}
@media (min-width: 961px) { .mobile-menu { display: none; } }

body.menu-locked { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: max(640px, calc(100svh - var(--header-h) - 30px));
  display: flex; align-items: center;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.7) contrast(1.06) brightness(0.8);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: hero-drift 26s ease-out both; }
  @keyframes hero-drift { from { transform: scale(1.09); } to { transform: scale(1); } }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(75deg, rgba(11, 15, 20, 0.96) 22%, rgba(11, 15, 20, 0.72) 48%, rgba(11, 15, 20, 0.28) 78%),
    linear-gradient(to top, var(--ink) 0%, rgba(11, 15, 20, 0) 34%),
    linear-gradient(to bottom, rgba(11, 15, 20, 0.55) 0%, rgba(11, 15, 20, 0) 22%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image:
    linear-gradient(rgba(160, 190, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 190, 220, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(75deg, black 30%, transparent 75%);
  -webkit-mask-image: linear-gradient(75deg, black 30%, transparent 75%);
}

/* the animated cut line across the hero */
.hero-cut {
  position: absolute; left: 0; right: 0; top: 58%; height: 3px; z-index: 0;
  pointer-events: none;
}
.hero-cut .kerf-line {
  position: absolute; left: 0; top: 1px; height: 1px; width: 100%;
  background: linear-gradient(90deg, rgba(83, 215, 255, 0.55), rgba(83, 215, 255, 0.16) 60%, transparent);
  transform: scaleX(0); transform-origin: left;
}
.hero-cut .jet-head {
  position: absolute; top: -3px; left: 0; width: 9px; height: 9px;
  border-radius: 50%;
  background: #dff6ff;
  box-shadow: 0 0 10px 2px var(--accent), 0 0 34px 8px rgba(83, 215, 255, 0.5);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero-cut .kerf-line { animation: kerf-draw 2.2s cubic-bezier(0.5, 0, 0.3, 1) 0.45s forwards; }
  .js .hero-cut .jet-head { animation: jet-travel 2.2s cubic-bezier(0.5, 0, 0.3, 1) 0.45s forwards; }
  @keyframes kerf-draw { to { transform: scaleX(1); } }
  @keyframes jet-travel {
    0% { left: 0; opacity: 0; }
    6% { opacity: 1; }
    92% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cut .kerf-line { transform: scaleX(1); }
}

.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 64px; padding-bottom: 96px; }
.hero h1 { max-width: 11ch; }
.hero .lede { margin-top: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-aside { margin-top: 18px; }
.hero-aside a { color: var(--muted); font-size: 14px; }
.hero-aside a:hover { color: var(--accent); }

/* staggered line reveal */
.js .reveal-line { display: block; overflow: hidden; }
.js .reveal-line > span { display: block; transform: translateY(110%); }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal-line > span { animation: line-up 0.9s cubic-bezier(0.2, 0.6, 0.2, 1) forwards; }
  .js .reveal-line:nth-child(2) > span { animation-delay: 0.12s; }
  .js .reveal-line:nth-child(3) > span { animation-delay: 0.24s; }
  @keyframes line-up { to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .js .reveal-line > span { transform: none; } }

/* hero data strip — CAD dimension callouts */
.dim-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 72px;
  border: 1px solid var(--line);
  background: rgba(11, 15, 20, 0.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.dim { padding: 18px 22px 20px; position: relative; }
.dim + .dim { border-left: 1px solid var(--line); }
.dim .dim-label {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 7px;
}
.dim .dim-value { font-family: var(--f-display); font-weight: 600; font-size: 21px; letter-spacing: 0.01em; }
.dim .dim-value em { font-style: normal; color: var(--accent); }
@media (max-width: 860px) {
  .dim-strip { grid-template-columns: 1fr 1fr; }
  .dim:nth-child(3) { border-left: 0; }
  .dim:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- bands (sections) ---------- */
.band { padding: var(--band-y) 0; position: relative; }
.band--ink { background: var(--ink); }
.band--ink2 { background: var(--ink-2); }
.band--light { background: var(--paper); color: var(--ink-on-paper); }
.band--light2 { background: var(--paper-2); color: var(--ink-on-paper); }
.band--light .display, .band--light2 .display { color: var(--ink-on-paper); }
.band--light2 .kicker { color: var(--accent-deep); }
.band--light2 .kicker::before { background: var(--accent-deep); }
.band--light2 .lede { color: var(--muted-on-paper); }

/* faint blueprint grid on light bands */
.band--blueprint {
  background-image:
    linear-gradient(var(--line-on-paper) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-on-paper) 1px, transparent 1px);
  background-size: 88px 88px;
  background-position: center top;
}
.band--blueprint::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 40%, transparent 30%, var(--paper) 100%);
  pointer-events: none;
}
.band--blueprint > * { position: relative; }

.band-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.band-head .lede { justify-self: start; align-self: end; }
@media (max-width: 860px) { .band-head { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- capability cards ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 1020px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cap-grid { grid-template-columns: 1fr; } }

.cap-card {
  position: relative; display: flex; flex-direction: column;
  min-height: 250px; padding: 24px 24px 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  text-decoration: none; color: var(--text);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}
.cap-card:hover { background: var(--panel-2); border-color: var(--line-strong); transform: translateY(-3px); }

/* corner ticks */
.cap-card::before, .cap-card::after,
.cap-card .tick::before, .cap-card .tick::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 0 solid var(--accent);
  opacity: 0; transition: opacity 0.3s ease;
  pointer-events: none;
}
.cap-card::before { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.cap-card::after { top: -1px; right: -1px; border-top-width: 1px; border-right-width: 1px; }
.cap-card .tick::before { bottom: -1px; left: -1px; border-bottom-width: 1px; border-left-width: 1px; }
.cap-card .tick::after { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }
.cap-card:hover::before, .cap-card:hover::after,
.cap-card:hover .tick::before, .cap-card:hover .tick::after { opacity: 1; }

.cap-card .cap-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.cap-card .cap-num { font-family: var(--f-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.14em; }
.cap-card .cap-arrow { color: var(--faint); transition: transform 0.3s ease, color 0.3s ease; }
.cap-card:hover .cap-arrow { transform: translateX(5px); color: var(--accent); }
.cap-card h3 { font-family: var(--f-display); font-weight: 700; font-size: 23px; margin: 26px 0 10px; letter-spacing: 0.005em; }
.cap-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.cap-card .cap-spec {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.05em; color: var(--faint);
}
.cap-card .cap-spec em { font-style: normal; color: var(--accent); }

/* ---------- split feature (image + content) ---------- */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.split-media { grid-column: span 6; position: relative; }
.split-body { grid-column: span 6; }
.split--flip .split-media { order: 2; }
@media (max-width: 900px) {
  .split-media, .split-body { grid-column: span 12; }
  .split--flip .split-media { order: 0; }
}
.split-media .frame { position: relative; overflow: hidden; border: 1px solid var(--line); }
.band--light .split-media .frame, .band--light2 .split-media .frame { border-color: var(--line-on-paper); }
.split-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  filter: saturate(0.78) contrast(1.05);
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.split-media .frame:hover img { transform: scale(1.035); }
.split-media .plate {
  position: absolute; left: 14px; bottom: 14px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(11, 15, 20, 0.85); color: var(--text);
  padding: 7px 12px; border-left: 2px solid var(--accent);
}

/* checklist rows */
.spec-rows { margin-top: 26px; border-top: 1px solid var(--line); }
.band--light .spec-rows, .band--light2 .spec-rows { border-color: var(--line-on-paper); }
.spec-rows li {
  display: flex; gap: 18px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  list-style: none;
}
.band--light .spec-rows li, .band--light2 .spec-rows li { border-color: var(--line-on-paper); }
.spec-rows { padding-left: 0; }
.spec-rows .n { font-family: var(--f-mono); font-size: 11.5px; color: var(--accent); flex: none; width: 24px; }
.band--light .spec-rows .n, .band--light2 .spec-rows .n { color: var(--accent-deep); }
.spec-rows .t { font-size: 15px; line-height: 1.55; }
.spec-rows .t b { font-weight: 600; }
.spec-rows .t small { display: block; color: var(--muted); font-size: 13.5px; }
.band--light .spec-rows .t small, .band--light2 .spec-rows .t small { color: var(--muted-on-paper); }

/* ---------- stats band (count-up dims) ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 40px); }
@media (max-width: 860px) { .stat-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; } }
.stat { position: relative; padding-top: 18px; }
/* CAD dimension line: |<——————>| */
.stat::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 9px;
  border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong);
}
.stat::after {
  content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 1px;
  background: var(--line-strong);
}
.stat .stat-value {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(44px, 5vw, 68px); line-height: 1; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.stat .stat-value .unit { font-size: 0.42em; font-weight: 600; color: var(--accent); margin-left: 4px; letter-spacing: 0.02em; }
.stat .stat-label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* ---------- process path ---------- */
.path-steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); }
@media (max-width: 860px) { .path-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .path-steps { grid-template-columns: 1fr; } }
.path-step { counter-increment: step; padding: 26px 24px 30px; position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.path-step::before {
  content: "0" counter(step);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent);
}
.path-step h3 { font-family: var(--f-display); font-size: 20px; font-weight: 700; margin: 14px 0 8px; }
.path-step p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }
.band--light .path-step p { color: var(--muted-on-paper); }
.band--light .path-steps, .band--light .path-step { border-color: var(--line-on-paper); }
.band--light .path-step::before { color: var(--accent-deep); }

/* ---------- logo wall ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: clamp(18px, 3.5vw, 44px); }
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(3, 1fr); gap: 34px 28px; } }
.logo-wall img {
  width: 100%; max-height: 58px; object-fit: contain;
  opacity: 0.7; transition: opacity 0.3s ease;
}
.logo-wall img:hover { opacity: 1; }

.cert-row { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px); align-items: center; }
.cert-row img {
  max-height: 64px; width: auto;
  opacity: 0.8; transition: opacity 0.3s ease;
}
.cert-row img:hover { opacity: 1; }

/* ---------- equipment table ---------- */
.equip-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.equip-table caption { text-align: left; }
.equip-table th[scope="rowgroup"] {
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
  text-align: left; padding: 34px 0 10px; border-bottom: 1px solid var(--line-strong);
}
.equip-table tbody:first-of-type th[scope="rowgroup"] { padding-top: 0; }
.equip-table td { padding: 13px 18px 13px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.equip-table td:first-child { width: 44%; font-weight: 600; }
.equip-table td:last-child { font-family: var(--f-mono); font-size: 13.5px; color: var(--muted); padding-right: 0; }
.equip-table tr { transition: background 0.15s ease; }
.equip-table tbody tr:hover { background: rgba(83, 215, 255, 0.045); }
.equip-table td .sub { display: block; font-weight: 400; font-size: 13.5px; color: var(--muted); }
@media (max-width: 640px) {
  .equip-table td { display: block; width: auto !important; padding: 2px 0; border: 0; }
  .equip-table td:first-child { padding-top: 13px; }
  .equip-table td:last-child { padding-bottom: 13px; border-bottom: 1px solid var(--line); }
}

/* ---------- gallery ---------- */
.shot-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.shot { position: relative; overflow: hidden; border: 1px solid var(--line); grid-column: span 4; }
.shot--wide { grid-column: span 8; }
.shot--tall { grid-row: span 2; }
@media (max-width: 800px) { .shot, .shot--wide { grid-column: span 6; } }
@media (max-width: 540px) { .shot, .shot--wide { grid-column: span 12; } }
.shot img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3;
  filter: saturate(0.75) contrast(1.06) brightness(0.92);
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.4s ease;
}
.shot--wide img { aspect-ratio: 8 / 4.6; }
.shot:hover img { transform: scale(1.04); filter: saturate(0.9) contrast(1.06) brightness(1); }
.shot .plate {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(11, 15, 20, 0.85); color: var(--text);
  padding: 6px 11px; border-left: 2px solid var(--accent);
}

/* ---------- doc cards (downloads) ---------- */
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .doc-grid { grid-template-columns: 1fr; } }
.doc-card {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 26px 26px 28px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  position: relative;
}
.doc-card:hover { background: var(--panel-2); border-color: var(--line-strong); transform: translateY(-3px); }
.doc-card .doc-icon { flex: none; color: var(--accent); margin-top: 3px; }
.doc-card h3 { font-family: var(--f-display); font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.doc-card p { font-size: 13.5px; color: var(--muted); margin: 0 0 10px; line-height: 1.55; }
.doc-card .doc-meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.doc-card .doc-meta em { font-style: normal; color: var(--accent); }
.band--light .doc-card, .band--light2 .doc-card { background: #fff; border-color: var(--line-on-paper); color: var(--ink-on-paper); }
.band--light .doc-card p, .band--light2 .doc-card p { color: var(--muted-on-paper); }
.band--light .doc-card .doc-icon, .band--light2 .doc-card .doc-icon { color: var(--accent-deep); }

/* ---------- quality / cert feature ---------- */
.cert-feature { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .cert-feature { grid-template-columns: 1fr; } }
.cert-card { background: var(--panel); border: 1px solid var(--line); padding: 30px 28px 34px; position: relative; }
.cert-card .kicker { margin-bottom: 16px; }
.cert-card h3 { font-family: var(--f-display); font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.cert-card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.cert-card .mono-note { margin-top: 16px; display: block; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 600; font-size: 19px;
  padding: 22px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .fx { flex: none; position: relative; width: 14px; height: 14px; color: var(--accent); }
.faq summary .fx::before, .faq summary .fx::after { content: ""; position: absolute; background: currentColor; transition: transform 0.25s ease; }
.faq summary .fx::before { left: 0; right: 0; top: 6px; height: 2px; }
.faq summary .fx::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.faq details[open] summary .fx::after { transform: scaleY(0); }
.faq .faq-body { padding: 0 0 24px; color: var(--muted); max-width: 62ch; }

/* ---------- RFQ form ---------- */
.rfq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 960px) { .rfq-layout { grid-template-columns: 1fr; } }

.contact-block { border: 1px solid var(--line); background: var(--panel); padding: 30px 28px; }
.contact-block dl { margin: 0; }
.contact-block dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 5px; }
.contact-block dd { margin: 0 0 22px; font-size: 17px; }
.contact-block dd:last-child { margin-bottom: 0; }
.contact-block a { text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: border-color 0.2s ease, color 0.2s ease; }
.contact-block a:hover { color: var(--accent); border-color: var(--accent); }

.rfq-form { border: 1px solid var(--line); background: var(--panel); padding: clamp(24px, 3.4vw, 44px); }
.form-section { margin-bottom: 34px; }
.form-section:last-of-type { margin-bottom: 0; }
.form-section > .legend {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.form-section > .legend::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.pill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 720px) { .pill-grid { grid-template-columns: repeat(2, 1fr); } }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill label {
  display: block; text-align: center; cursor: pointer;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em;
  padding: 12px 8px; border: 1px solid var(--line);
  color: var(--muted); transition: all 0.2s ease;
}
.pill input:checked + label { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.pill input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.pill label:hover { border-color: var(--line-strong); color: var(--text); }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  font: 15px/1.5 var(--f-body); color: var(--text);
  background: var(--ink-2); border: 1px solid var(--line);
  padding: 13px 14px; border-radius: 0; width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: var(--faint); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

.dropzone {
  border: 1px dashed var(--line-strong);
  padding: 30px 22px; text-align: center; cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
  position: relative;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--accent); background: var(--accent-dim); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone .dz-icon { color: var(--accent); margin-bottom: 10px; }
.dropzone .dz-label { font-size: 15px; font-weight: 500; }
.dropzone .dz-label u { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.dropzone .dz-hint { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint); margin-top: 7px; }
.dropzone .dz-file { font-family: var(--f-mono); font-size: 12.5px; color: var(--accent); margin-top: 10px; display: none; }
.dropzone.has-file .dz-file { display: block; }

.form-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.form-foot .mono-note { flex: 1; min-width: 220px; }
.itar-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; padding: 14px 16px; border: 1px solid var(--line); background: var(--ink-2); }
.itar-note svg { flex: none; color: var(--accent); margin-top: 2px; }
.itar-note p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- big CTA ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-panel {
  position: relative; padding: clamp(44px, 6vw, 80px);
  background: linear-gradient(118deg, #142433 0%, #0f1a26 55%, #0d141d 100%);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(83, 215, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 215, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(115deg, transparent 35%, black 100%);
  -webkit-mask-image: linear-gradient(115deg, transparent 35%, black 100%);
}
.cta-panel::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(83, 215, 255, 0.5) 30%, transparent 75%);
}
.cta-panel .cta-inner { position: relative; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: center; z-index: 1; }
@media (max-width: 860px) { .cta-panel .cta-inner { grid-template-columns: 1fr; } }
.cta-panel .lede { margin-top: 14px; }
.cta-panel .cta-actions { justify-self: end; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-panel .cta-actions { justify-self: start; } }

/* ---------- page hero (interior pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); isolation: isolate; }
.page-hero .crumbs { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--faint); margin-bottom: 34px; display: flex; gap: 10px; }
.page-hero .crumbs a { color: var(--muted); text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--accent); }
.page-hero h1 { max-width: 14ch; }
.page-hero .lede { margin-top: 24px; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6) brightness(0.55) contrast(1.05); }
.page-hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(78deg, rgba(11,15,20,0.97) 30%, rgba(11,15,20,0.6) 65%, rgba(11,15,20,0.3) 100%), linear-gradient(to top, var(--ink), transparent 40%); }
.page-hero .hero-ctas { margin-top: 34px; }

/* ---------- footer ---------- */
.site-footer { background: #080b0f; border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) 0 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 40px; padding-bottom: 56px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 30ch; margin-top: 16px; }
.footer-col h4 { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--muted); font-size: 14.5px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-col address { font-style: normal; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.footer-legal {
  border-top: 1px solid var(--line);
  padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint);
}
.footer-legal a { color: var(--faint); }
.footer-legal a:hover { color: var(--accent); }

/* ---------- scroll reveal ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-d1 { transition-delay: 0.08s; }
.js .rv-d2 { transition-delay: 0.16s; }
.js .rv-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- misc ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.mt-0 { margin-top: 0; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; } .mt-72 { margin-top: 72px; }

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