/* ==========================================================================
   VSS ENTERPRISES — Design System
   "The Fabrication People"
   Industrial precision: steel dark + safety yellow (from VSS brand)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Default to Dark Mode (Industrial Steel) */
  --ink:          #0a0b0c;
  --steel-950:    #111315;
  --steel-900:    #16181b;
  --steel-850:    #1d2024;
  --steel-800:    #25292e;
  --steel-700:    #30353c;
  --steel-600:    #414852;

  --paper:        #111315; /* Dark paper */
  --paper-2:      #16181b;
  --white:        #ffffff;

  --on-dark:      #ffffff;
  --on-dark-mut:  #a1a1aa;
  --on-dark-dim:  #71717a;
  --on-light:     #09090b;
  --on-light-mut: #52525b;

  --brand-primary:  #FFC300;
  --brand-secondary: #FF8C00;
  
  --gradient-brand: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  --gradient-dark: linear-gradient(180deg, #16181b 0%, #0a0b0c 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
  
  --glow-yellow:  0 0 20px rgba(255, 195, 0, 0.4);
  --glow-orange: 0 0 30px rgba(255, 140, 0, 0.3);

  --rust:         #B4531F;
  --rust-soft:    rgba(180, 83, 31, 0.15);
  --green:        #10b981;
  --green-soft:   rgba(16, 185, 129, 0.15);
  --yellow:       var(--brand-primary);
  --yellow-600:   #E5AC00;
  --yellow-700:   #B98A00;
  --yellow-line:  rgba(255, 195, 0, 0.4);

  --line-dark:    rgba(255, 255, 255, 0.1);
  --line-light:   rgba(0, 0, 0, 0.1);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  --bg-overlay: rgba(10, 11, 12, 0.85);
  --header-bg: rgba(10, 11, 12, 0.85);
  --theme-toggle-bg: rgba(255,255,255,0.1);

  --shadow-sm:    0 4px 12px rgba(0,0,0,0.3);
  --shadow-md:    0 12px 32px rgba(0,0,0,0.5);
  --shadow-lg:    0 24px 64px rgba(0,0,0,0.6);
  --glass-blur:   blur(16px);
  
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --maxw: 1240px;
  --maxw-narrow: 780px;
  --sec-y: clamp(4rem, 9vw, 7.5rem);
  --header-h: 76px;
}

[data-theme="light"] {
  --ink:          #f0f2f5;
  --steel-950:    #e4e7eb;
  --steel-900:    #d1d5db;
  --steel-850:    #9ca3af;
  --steel-800:    #6b7280;
  --steel-700:    #4b5563;
  --steel-600:    #374151;
  
  --paper:        #ffffff;
  --paper-2:      #f9fafb;

  --on-dark:      #09090b; /* In light mode, elements using "on-dark" become dark */
  --on-dark-mut:  #52525b;
  --on-dark-dim:  #71717a;

  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.3) 100%);
  --glass-border: rgba(255, 255, 255, 0.5);
  
  --glow-yellow:  0 4px 15px rgba(255, 195, 0, 0.2);
  --glow-orange: 0 4px 20px rgba(255, 140, 0, 0.15);
  
  --line-dark:    rgba(0, 0, 0, 0.1);
  --bg-overlay: rgba(240, 242, 245, 0.9);
  --header-bg: rgba(240, 242, 245, 0.85);
  --theme-toggle-bg: rgba(0,0,0,0.05);
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--on-dark);
  background-color: var(--ink);
  background-image: linear-gradient(var(--bg-overlay), var(--bg-overlay)), url('../img/hero-banner.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

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

::selection { background: var(--yellow); color: var(--ink); }

.skip-link {
  position: absolute; left: 0; top: -100px; z-index: 200;
  background: var(--yellow); color: var(--ink);
  padding: .75rem 1.25rem; font-weight: 700;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--sec-y); }
.section--dark  { position: relative; background: transparent; color: var(--on-dark); overflow: hidden; }
.section--ink   { position: relative; background: rgba(3, 11, 28, 0.5); color: var(--on-dark); overflow: hidden; }
[data-theme="light"] .section--ink { background: rgba(244, 248, 252, 0.5); }
.section--dark::before, .section--ink::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 10% 50%, rgba(255, 195, 0, 0.05), transparent 40%);
}
.section--dark > *, .section--ink > * { position: relative; z-index: 1; }
.section--paper { background: var(--paper); }
.section--paper2{ background: var(--paper-2); }
.section--tight { padding-block: clamp(2.75rem, 6vw, 4.5rem); }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.4rem + 3.8vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.3vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem); line-height: 1.2; }
h4 { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }

p { max-width: 68ch; }
p + p { margin-top: 1rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow-700);
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--yellow);
  flex: none;
}
.section--dark .eyebrow,
.section--ink  .eyebrow { color: var(--yellow); }

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--on-light-mut);
  max-width: 62ch;
}
.section--dark .lede,
.section--ink  .lede { color: var(--on-dark-mut); }

.mono {
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .01em;
}

.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.6rem;
  min-height: 48px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9375rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { 
  background: var(--gradient-brand); color: #000; border: none;
  box-shadow: var(--glow-yellow);
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -100%; width: 30px; height: 100%;
  background: rgba(255, 255, 255, 0.7);
  transform: skewX(-20deg); filter: blur(3px); pointer-events: none;
  transition: none;
}
.btn--primary:hover { 
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}
.btn--primary:hover::after {
  left: 200%; transition: left 0.5s ease-out;
}

.btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.22); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.btn--dark { background: var(--steel-900); color: var(--white); border-color: var(--steel-900); }
.btn--dark:hover { background: var(--steel-800); border-color: var(--steel-800); }

.btn--outline { background: transparent; color: var(--on-light); border-color: var(--line-light); }
.btn--outline:hover { border-color: var(--steel-900); background: var(--steel-900); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: .875rem; }

.textlink {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .9375rem;
  color: var(--yellow-700);
  border-bottom: 2px solid var(--yellow-line);
  padding-bottom: 2px;
  transition: color .18s ease, border-color .18s ease;
}
.textlink:hover { color: var(--steel-900); border-color: var(--steel-900); }
.section--dark .textlink,
.section--ink .textlink { color: var(--yellow); border-color: var(--yellow-line); }
.section--dark .textlink:hover,
.section--ink .textlink:hover { color: var(--white); border-color: var(--white); }
.textlink::after { content: "→"; transition: transform .18s ease; }
.textlink:hover::after { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   6. HEADER / NAV
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: var(--glass-blur) saturate(180%);
  -webkit-backdrop-filter: var(--glass-blur) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--theme-toggle-bg);
  border: 1px solid var(--glass-border);
  color: var(--on-dark);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
  flex: none;
}
.theme-toggle:hover {
  transform: scale(1.1);
}
.theme-toggle svg {
  width: 18px; height: 18px;
}
[data-theme="light"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: none; }
:root:not([data-theme="light"]):not([data-theme="dark"]) .theme-toggle .moon { display: none; }
.header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .75rem; flex: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.125rem; letter-spacing: -0.01em;
  color: var(--white);
}
.brand__tag {
  font-family: var(--font-mono); font-size: .5625rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--yellow); margin-top: 3px;
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .25rem; }
.nav__link {
  display: block; padding: .6rem .85rem;
  font-size: .8125rem; font-weight: 500;
  color: var(--on-dark-mut);
  border-radius: var(--radius);
  transition: color .16s ease, background .16s ease;
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav__link[aria-current="page"] { color: var(--yellow); }

.header__cta { display: flex; align-items: center; gap: .75rem; flex: none; }
.header__phone {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .8125rem; font-weight: 500;
  color: var(--on-dark);
}
.header__phone:hover { color: var(--yellow); }
.header__phone svg { width: 15px; height: 15px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  background: transparent; border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute; left: 50%; width: 20px; height: 2px;
  background: var(--on-dark); transform: translateX(-50%);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { content: ""; top: -6px; }
.nav-toggle span::after  { content: ""; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: block; order: 3; }
  .header__cta { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--steel-950);
    border-bottom: 1px solid var(--line-dark);
    padding: 1rem var(--gutter) 1.5rem;
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav[data-open="true"] { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: .9rem .25rem; font-size: .9375rem; border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 1080px) {
  .header__phone span { display: none; }
}
@media (max-width: 940px) {
  .header__cta .btn { display: none; }
}
@media (max-width: 520px) {
  .header__phone { display: none; }
  .brand__tag { display: none; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 1rem; }
}

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background-color: transparent;
  color: var(--on-dark);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.15), transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.1), transparent 50%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; padding-block: 3rem 4rem; }
}
.hero__flag {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .6875rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid var(--yellow-line);
  background: var(--yellow-soft);
  padding: .45rem .8rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}
.hero__flag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--yellow); flex: none;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .hl {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}
.hero__sub {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--on-dark-mut);
  max-width: 54ch;
  margin-bottom: 2rem;
}
.hero__media {
  position: relative;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--steel-900);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.15rem;
  background: linear-gradient(to top, rgba(11,13,15,.94), rgba(11,13,15,0));
  font-family: var(--font-mono); font-size: .6875rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-dark-mut);
}

/* Trust bar */
.trustbar {
  border-top: 1px solid var(--line-dark);
  background: var(--steel-950);
}
.trustbar__inner {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: 1.35rem;
  flex-wrap: wrap;
}
.trustbar__label {
  font-family: var(--font-mono); font-size: .6875rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-dim); flex: none;
}
.trustbar__logos {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .5rem 1.5rem;
}
.trustbar__logos li {
  font-family: var(--font-display); font-weight: 700;
  font-size: .9375rem; letter-spacing: .01em;
  color: rgba(237,239,241,.80);
  transition: color .18s ease;
}
.trustbar__logos li:hover { color: var(--yellow); }

/* --------------------------------------------------------------------------
   8. CAPABILITY LIST (numbered, not cards)
   -------------------------------------------------------------------------- */
.caplist { border-top: 1px solid var(--line-light); }
.section--dark .caplist, .section--ink .caplist { border-color: var(--line-dark); }

.capitem {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  padding-block: clamp(1.5rem, 3vw, 2.1rem);
  border-bottom: 1px solid var(--line-light);
  transition: background .2s ease;
}
.section--dark .capitem, .section--ink .capitem { border-color: var(--line-dark); }
.capitem:hover { background: rgba(255,195,0,.05); }
.capitem__num {
  font-family: var(--font-mono); font-size: .8125rem;
  color: var(--yellow-700); padding-top: .3rem;
}
.section--dark .capitem__num, .section--ink .capitem__num { color: var(--yellow); }
.capitem__body h3 { margin-bottom: .5rem; }
.capitem__body p { color: var(--on-light-mut); font-size: .9375rem; max-width: 62ch; }
.section--dark .capitem__body p, .section--ink .capitem__body p { color: var(--on-dark-mut); }
.capitem__tags {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin-top: .85rem;
}
.capitem__tags span {
  font-family: var(--font-mono); font-size: .6875rem;
  letter-spacing: .04em;
  padding: .22rem .55rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: var(--on-light-mut);
}
.section--dark .capitem__tags span, .section--ink .capitem__tags span {
  border-color: var(--line-dark); color: var(--on-dark-mut);
}
.capitem__aside {
  font-family: var(--font-mono); font-size: .75rem;
  color: var(--on-light-mut); text-align: right;
  padding-top: .35rem; white-space: nowrap;
}
.section--dark .capitem__aside, .section--ink .capitem__aside { color: var(--on-dark-mut); }
@media (max-width: 720px) {
  .capitem { grid-template-columns: 2.25rem minmax(0,1fr); }
  .capitem__aside { grid-column: 2; text-align: left; padding-top: .5rem; }
}

/* --------------------------------------------------------------------------
   9. SEGMENT CARDS (image-forward)
   -------------------------------------------------------------------------- */
.segcard {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--gradient-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .3s ease, border-color .3s ease;
}
.segcard:hover { 
  border-color: rgba(255, 215, 0, 0.5); 
  transform: translateY(-8px); 
  box-shadow: var(--shadow-lg), var(--glow-yellow); 
}
.segcard__media { aspect-ratio: 16/10; overflow: hidden; background: var(--steel-800); }
.segcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.segcard:hover .segcard__media img { transform: scale(1.04); }
.segcard__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.segcard__body h3 { color: var(--white); }
.segcard__body p { font-size: .9375rem; color: var(--on-dark-mut); flex: 1; }
.segcard__meta {
  font-family: var(--font-mono); font-size: .6875rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--yellow);
}

/* --------------------------------------------------------------------------
   10. SPEC TABLE (compliance / petroleum classes)
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-light); border-radius: var(--radius-lg); }
.section--dark .table-wrap, .section--ink .table-wrap { border-color: var(--line-dark); }

.spec-table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 620px; }
.spec-table caption {
  text-align: left; padding: 1rem 1.25rem;
  font-family: var(--font-mono); font-size: .6875rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-light-mut);
  border-bottom: 1px solid var(--line-light);
}
.section--dark .spec-table caption, .section--ink .spec-table caption {
  color: var(--on-dark-mut); border-color: var(--line-dark);
}
.spec-table th, .spec-table td {
  text-align: left; padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--line-light);
  vertical-align: top;
}
.section--dark .spec-table th, .section--dark .spec-table td,
.section--ink .spec-table th, .section--ink .spec-table td { border-color: var(--line-dark); }
.spec-table thead th {
  font-family: var(--font-mono); font-size: .6875rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-light-mut); font-weight: 500;
  background: rgba(20,24,27,.035);
}
.section--dark .spec-table thead th, .section--ink .spec-table thead th {
  color: var(--on-dark-mut); background: rgba(255,255,255,.03);
}
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table td.num, .spec-table th.num { font-family: var(--font-mono); white-space: nowrap; }
.spec-table .cls {
  font-family: var(--font-display); font-weight: 800;
  color: var(--yellow-700);
}
.section--dark .spec-table .cls, .section--ink .spec-table .cls { color: var(--yellow); }

/* --------------------------------------------------------------------------
   11. PROCESS (numbered steps)
   -------------------------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0; }
.step {
  position: relative;
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-top: 2px solid var(--line-dark);
}
.step__num {
  font-family: var(--font-mono); font-size: .75rem;
  color: var(--yellow); letter-spacing: .1em;
  display: block; margin-bottom: .9rem;
}
.step h3 { font-size: 1.0625rem; color: var(--white); margin-bottom: .5rem; }
.step p { font-size: .875rem; color: var(--on-dark-mut); }
@media (min-width: 860px) {
  .process { gap: 0 2rem; }
  .step::after {
    content: ""; position: absolute; right: 0; top: 2rem;
    width: 1px; height: calc(100% - 3.5rem);
    background: var(--line-dark);
  }
  .step:last-child::after { display: none; }
}

/* --------------------------------------------------------------------------
   12. STATS
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1rem;
  background: transparent;
  border: none;
}
.stat { 
  background: var(--gradient-glass); 
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem); 
  position: relative; overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-orange);
  border-color: rgba(255, 107, 53, 0.4);
}
.stat__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  line-height: 1;
  color: var(--yellow);
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: .6rem;
}
.stat__label { font-size: .875rem; color: var(--on-dark-mut); line-height: 1.45; }
.stat__note { font-family: var(--font-mono); font-size: .625rem; color: var(--on-dark-dim); margin-top: .5rem; display: block; }

/* --------------------------------------------------------------------------
   13. GALLERY
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(.75rem, 2vw, 1.25rem);
}
.shot {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--steel-800);
  border: 1px solid var(--line-dark);
  aspect-ratio: 4/3;
}
.shot--wide { grid-column: span 2; aspect-ratio: 16/9; }
@media (max-width: 640px) { .shot--wide { grid-column: span 1; aspect-ratio: 4/3; } }
.shot img { 
  width: 100%; height: 100%; object-fit: cover; 
  filter: grayscale(100%) contrast(1.1);
  transition: transform .6s cubic-bezier(.22,.61,.36,1), filter .6s ease; 
}
.shot:hover img { 
  transform: scale(1.05); 
  filter: grayscale(0%) contrast(1);
}
.shot figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 1.5rem 1rem .9rem;
  background: linear-gradient(to top, rgba(11,13,15,.92), transparent);
  font-size: .8125rem; font-weight: 500; color: var(--on-dark);
  opacity: 0; transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
}
.shot:hover figcaption, .shot:focus-within figcaption { opacity: 1; transform: translateY(0); }
@media (hover: none) {
  .shot figcaption { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   14. CLIENT WALL
   -------------------------------------------------------------------------- */
.clientwall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.clientwall li {
  background: var(--steel-950);
  padding: 1rem 1.15rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--on-dark-mut);
  transition: background .18s ease, color .18s ease;
  line-height: 1.4;
}
.clientwall li:hover { background: var(--steel-850); color: var(--white); }

/* --------------------------------------------------------------------------
   15. SPLIT / FEATURE BLOCKS
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }
@media (max-width: 860px) { .split--reverse > *:first-child { order: 0; } }

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-light);
  aspect-ratio: 5/4;
}
.section--dark .split__media, .section--ink .split__media { border-color: var(--line-dark); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* Checklist */
.checks { display: grid; gap: .75rem; margin-top: 1.5rem; }
.checks li {
  display: grid; grid-template-columns: 1.35rem 1fr; gap: .75rem;
  font-size: .9375rem; align-items: start;
}
.checks li::before {
  content: ""; width: 1.35rem; height: 1.35rem;
  background: var(--yellow-soft);
  border: 1px solid var(--yellow-line);
  border-radius: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B98A00' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center;
  margin-top: .22rem;
}
.section--dark .checks li::before, .section--ink .checks li::before {
  background-color: rgba(255,195,0,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC300' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   16. FAQ (native details, AI-extractable)
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line-light); }
.section--dark .faq, .section--ink .faq { border-color: var(--line-dark); }
.faq details {
  border-bottom: 1px solid var(--line-light);
  padding: 0;
}
.section--dark .faq details, .section--ink .faq details { border-color: var(--line-dark); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, .96rem + .3vw, 1.1875rem);
  cursor: pointer;
  list-style: none;
  transition: color .18s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--yellow-700); }
.section--dark .faq summary:hover, .section--ink .faq summary:hover { color: var(--yellow); }
.faq summary::after {
  content: "+"; flex: none;
  font-family: var(--font-mono); font-size: 1.35rem; font-weight: 400;
  color: var(--yellow-700); line-height: 1;
  transition: transform .2s ease;
}
.section--dark .faq summary::after, .section--ink .faq summary::after { color: var(--yellow); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 0 1.5rem; max-width: 76ch; }
.faq__answer p { color: var(--on-light-mut); font-size: .9375rem; }
.section--dark .faq__answer p, .section--ink .faq__answer p { color: var(--on-dark-mut); }
.faq__answer p + p { margin-top: .85rem; }

/* --------------------------------------------------------------------------
   17. CTA BAND
   -------------------------------------------------------------------------- */
.ctaband {
  position: relative;
  background: var(--yellow);
  color: var(--ink);
  overflow: hidden;
}
.ctaband::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(11,13,15,.05) 0 14px,
    transparent 14px 28px
  );
  pointer-events: none;
}
.ctaband__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}
@media (max-width: 860px) { .ctaband__inner { grid-template-columns: 1fr; } }
.ctaband h2 { color: var(--ink); margin-bottom: .85rem; }
.ctaband p { color: rgba(11,13,15,.78); max-width: 52ch; }
.ctaband .btn-row { justify-content: flex-start; }
@media (min-width: 861px) { .ctaband .btn-row { justify-content: flex-end; } }

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--on-dark); padding-top: clamp(3rem, 7vw, 5rem); }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

.footer__brand .brand { margin-bottom: 1.15rem; }
.footer__brand p { font-size: .875rem; color: var(--on-dark-mut); max-width: 34ch; }
.footer__reg {
  font-family: var(--font-mono); font-size: .6875rem;
  color: var(--on-dark-dim); margin-top: 1rem; line-height: 1.7;
}
.footer h4 {
  font-family: var(--font-mono); font-size: .6875rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 1.15rem;
}
.footer__links li + li { margin-top: .6rem; }
.footer__links a, .footer__nap a {
  font-size: .875rem; color: var(--on-dark-mut);
  transition: color .16s ease;
}
.footer__links a:hover, .footer__nap a:hover { color: var(--yellow); }
.footer__nap li { font-size: .875rem; color: var(--on-dark-mut); line-height: 1.55; }
.footer__nap li + li { margin-top: .6rem; }
.footer__nap .k {
  display: block; font-family: var(--font-mono);
  font-size: .625rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-dark-dim); margin-bottom: .15rem;
}
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: center; justify-content: space-between;
  padding-block: 1.75rem;
  font-size: .8125rem; color: var(--on-dark-dim);
}
.footer__bottom a:hover { color: var(--yellow); }
.footer__seo {
  padding-bottom: 2rem;
  font-size: .75rem; color: var(--on-dark-dim);
  line-height: 1.7; max-width: 100ch;
}
.footer__seo strong { color: var(--on-dark-mut); font-weight: 500; }

/* --------------------------------------------------------------------------
   19. BREADCRUMBS / PAGE HEAD
   -------------------------------------------------------------------------- */
.pagehead {
  background: var(--ink); color: var(--on-dark);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line-dark);
  position: relative; overflow: hidden;
}
.pagehead::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(90% 120% at 15% 0%, #000, transparent 70%);
  pointer-events: none;
}
.pagehead > * { position: relative; }
.pagehead h1 { margin-bottom: 1.15rem; max-width: 20ch; }
.crumbs {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  font-family: var(--font-mono); font-size: .6875rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-dark-dim); margin-bottom: 1.5rem;
}
.crumbs a:hover { color: var(--yellow); }
.crumbs li::after { content: "/"; margin-left: .5rem; color: var(--on-dark-dim); }
.crumbs li:last-child::after { display: none; }
.crumbs li { display: flex; align-items: center; }
.crumbs [aria-current="page"] { color: var(--yellow); }

/* --------------------------------------------------------------------------
   20. FORMS
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: .45rem; }
.field label {
  font-family: var(--font-mono); font-size: .6875rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-light-mut);
}
.section--dark .field label, .section--ink .field label { color: var(--on-dark-mut); }
.field label .req { color: var(--rust); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .8rem .9rem;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  font-size: .9375rem;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.section--dark .field input, .section--dark .field select, .section--dark .field textarea,
.section--ink .field input, .section--ink .field select, .section--ink .field textarea {
  background: var(--steel-900); border-color: var(--line-dark); color: var(--on-dark);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-soft);
}
.field textarea { min-height: 130px; resize: vertical; }
.field__hint { font-size: .75rem; color: var(--on-light-mut); }
.section--dark .field__hint, .section--ink .field__hint { color: var(--on-dark-dim); }

.form__consent {
  display: grid; grid-template-columns: 1.2rem 1fr; gap: .7rem;
  font-size: .8125rem; color: var(--on-light-mut); align-items: start;
}
.section--dark .form__consent, .section--ink .form__consent { color: var(--on-dark-mut); }
.form__consent input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--yellow-600); }

.formnote {
  font-size: .8125rem; color: var(--on-light-mut);
  border-left: 3px solid var(--yellow);
  padding: .85rem 1rem;
  background: var(--yellow-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.section--dark .formnote, .section--ink .formnote { color: var(--on-dark-mut); }

/* Contact detail list */
.contactlist { display: grid; gap: 1.5rem; }
.contactlist__item { display: grid; grid-template-columns: 1.5rem 1fr; gap: 1rem; align-items: start; }
.contactlist__item svg { width: 20px; height: 20px; margin-top: .25rem; color: var(--yellow); }
.contactlist__item .k {
  font-family: var(--font-mono); font-size: .625rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-dark-dim); display: block; margin-bottom: .3rem;
}
.contactlist__item .v { font-size: .9375rem; line-height: 1.55; }
.contactlist__item a:hover { color: var(--yellow); }

/* --------------------------------------------------------------------------
   21. MISC BLOCKS
   -------------------------------------------------------------------------- */
.note {
  border: 1px solid var(--yellow-line);
  background: var(--yellow-soft);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
}
.note h4 { margin-bottom: .5rem; }
.note p { font-size: .875rem; }

.pillrow { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  font-family: var(--font-mono); font-size: .6875rem;
  letter-spacing: .06em;
  padding: .35rem .7rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: var(--on-light-mut);
}
.section--dark .pill, .section--ink .pill { border-color: var(--line-dark); color: var(--on-dark-mut); }

.equiplist { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.equiplist li {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: .85rem 0; border-bottom: 1px solid var(--line-dark);
  font-size: .875rem; color: var(--on-dark-mut);
}
.equiplist .qty { font-family: var(--font-mono); color: var(--yellow); flex: none; }

.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;
}

/* --------------------------------------------------------------------------
   22. REVEAL ON SCROLL
   Subtle, once-only entrance. Disabled for reduced-motion and when JS is off
   (content stays visible — never hidden behind a failed animation).
   -------------------------------------------------------------------------- */
.js-reveal { opacity: 0; transform: translateY(18px); }
.js-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
}
.js-reveal[data-delay="1"] { transition-delay: .08s; }
.js-reveal[data-delay="2"] { transition-delay: .16s; }
.js-reveal[data-delay="3"] { transition-delay: .24s; }
.js-reveal[data-delay="4"] { transition-delay: .32s; }

/* SVG Draw Animation */
.draw-svg path, .draw-svg circle, .draw-svg rect, .draw-svg line, .draw-svg polyline, .draw-svg polygon {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.2, 1, 0.3, 1);
}
.draw-svg.is-in path, .draw-svg.is-in circle, .draw-svg.is-in rect, .draw-svg.is-in line, .draw-svg.is-in polyline, .draw-svg.is-in polygon {
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   23. MOTION PREFERENCES
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .btn:hover, .segcard:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   23. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .header, .nav, .ctaband, .footer__links, .skip-link { display: none; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .section, .section--dark, .section--ink, .pagehead, .hero { background: #fff !important; color: #000 !important; }
  .section--dark *, .section--ink *, .pagehead *, .hero * { color: #000 !important; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .shot, .split__media, .segcard { break-inside: avoid; }
}
