/* ==========================================================================
   Shyaam Switchgear (P) Limited — Global Stylesheet  (v2 redesign)
   Design system: modern industrial — deep ink + refinery photography,
   safety-amber accent, geometric sans headings, generous whitespace.
   NOTE: never use the `padding` shorthand on a class that may be combined with
   `.container` in markup — use padding-top/padding-bottom longhand instead.
   ========================================================================== */

:root {
  --ink-950: #070a10;
  --ink-900: #0c1119;
  --ink-800: #131a26;
  --ink-700: #1d2636;
  --slate-500: #5d6878;
  --slate-400: #8791a1;
  --slate-300: #b4bcc8;
  --line: #e4e6ea;
  --paper: #f5f4f0;
  --paper-2: #ecebe6;
  --white: #ffffff;
  --amber-600: #e56600;
  --amber-500: #ff7a00;
  --amber-400: #ff9633;
  --hazard: #ffc72c;
  --success-600: #1f9d55;
  --ink: #0c1119;
  --ink-muted: #566071;

  /* legacy aliases so older inline styles keep working */
  --navy-950: var(--ink-950);
  --navy-900: var(--ink-900);
  --navy-800: var(--ink-800);
  --navy-700: var(--ink-700);
  --steel-300: var(--slate-400);
  --steel-100: #e8eaee;
  --steel-50: var(--paper);
  --steel-500: var(--slate-500);
  --border: var(--line);
  --hazard-300: var(--hazard);

  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(12, 17, 25, 0.06);
  --shadow-md: 0 12px 32px rgba(12, 17, 25, 0.12);
  --shadow-lg: 0 28px 64px rgba(12, 17, 25, 0.22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1em; color: var(--ink-muted); }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--amber-500); color: var(--ink-950);
  padding: 10px 18px; z-index: 10000; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Top info bar ---------- */
.topbar { background: var(--ink-950); color: var(--slate-400); font-size: 12.5px; }
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px; padding-top: 9px; padding-bottom: 9px;
}
.topbar a { color: var(--steel-100); }
.topbar a:hover { color: var(--amber-400); }
.topbar__contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__contacts span { display: inline-flex; align-items: center; gap: 6px; }
.topbar__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.topbar__badges span {
  color: var(--slate-300); font-weight: 600; letter-spacing: .04em;
  border: 1px solid rgba(255,255,255,.14); border-radius: 0; padding: 2px 10px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(12,17,25,.07);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(12,17,25,.10); background: rgba(255,255,255,.95); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 24px; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo__mark {
  font-family: var(--font-head); font-weight: 700; font-size: 24px;
  letter-spacing: -0.01em; color: var(--ink-900); text-transform: uppercase;
}
.logo__mark span { color: var(--amber-500); }
.logo__tag {
  font-size: 10px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--slate-500); margin-top: 5px;
}

.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__menu > li { position: relative; }
.nav__menu > li > a,
.nav__menu > li > button {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none; padding: 10px 14px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-800);
  border-radius: 0; transition: background .15s ease, color .15s ease;
}
.nav__menu > li > a:hover,
.nav__menu > li > button:hover,
.nav__menu > li.is-open > button { background: var(--paper); color: var(--amber-600); }
.nav__menu > li > a[aria-current="page"] { color: var(--amber-600); font-weight: 600; }
.nav__caret { font-size: 10px; margin-top: 1px; }

.nav__dropdown {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 320px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s var(--ease), visibility .18s;
}
.nav__menu > li:hover .nav__dropdown,
.nav__menu > li.is-open .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a {
  display: flex; flex-direction: column; padding: 11px 14px;
  border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--ink-900);
}
.nav__dropdown a small { font-weight: 400; color: var(--ink-muted); font-size: 12.5px; margin-top: 2px; }
.nav__dropdown a:hover { background: var(--paper); color: var(--amber-600); }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle {
  display: none; background: none; border: 1.5px solid var(--ink-900);
  border-radius: 12px; padding: 12px 11px;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink-900);
  position: relative; transition: transform .2s ease;
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 0; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--amber-500); color: var(--ink-950); }
.btn--primary:hover { background: var(--amber-400); box-shadow: 0 12px 28px rgba(255,122,0,.35); }
.btn--ghost { background: transparent; border-color: var(--ink-900); color: var(--ink-900); }
.btn--ghost:hover { background: var(--ink-900); color: var(--white); }
.btn--on-dark { background: var(--white); color: var(--ink-900); }
.btn--on-dark:hover { background: var(--amber-500); color: var(--ink-950); }
.btn--outline-on-dark { background: transparent; border-color: rgba(255,255,255,.4); color: var(--white); }
.btn--outline-on-dark:hover { border-color: var(--amber-500); color: var(--amber-400); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- Hero (refinery photography) ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden; isolation: isolate;
  background: var(--ink-950) url("../img/refineries/refinery-night-wide.jpg") center 30% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,10,16,.80) 0%, rgba(7,10,16,.50) 50%, rgba(7,10,16,.12) 100%),
    linear-gradient(0deg, rgba(7,10,16,.75) 0%, transparent 35%);
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.35fr 0.65fr;
  gap: 56px; align-items: center;
  padding-top: 88px; padding-bottom: 80px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--amber-400); font-weight: 600; font-size: 12.5px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--amber-500); }
.hero h1 {
  font-size: clamp(32px, 3.9vw, 52px); font-weight: 600; line-height: 1.1;
  margin-bottom: 24px; letter-spacing: -0.03em;
}
.hero h1 em { color: var(--amber-400); font-style: normal; }
.hero__lead { font-size: 18px; color: #d3d8e0; max-width: 580px; margin-bottom: 34px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: 32px;
  justify-content: start; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16);
}
.hero__stats div strong {
  display: block; font-family: var(--font-head); font-size: 30px; font-weight: 600; color: var(--white);
}
.hero__stats div span { font-size: 12.5px; color: var(--slate-300); letter-spacing: .02em; }

.hero__panel {
  background: rgba(12,17,25,.55); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: 30px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.hero__panel h3 { color: var(--white); font-size: 20px; margin-bottom: 4px; }
.hero__panel p.small { font-size: 13.5px; color: var(--slate-300); margin-bottom: 20px; }
.hero__panel ul { display: grid; gap: 12px; margin-bottom: 24px; }
.hero__panel ul li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: #e3e6ec; }
.hero__panel ul li::before {
  content: "✓"; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--amber-500); color: var(--ink-950); font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Section basics ---------- */
section { padding-top: 104px; padding-bottom: 104px; }
.section--tight { padding-top: 60px; padding-bottom: 60px; }
.section--dark { background: var(--ink-950); color: var(--steel-100); }
.section--dark p { color: var(--slate-400); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--alt { background: var(--paper); }
.section-head { max-width: 740px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--amber-600); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section--dark .kicker { color: var(--amber-400); }
.section-head h2 { font-size: clamp(30px, 3.8vw, 48px); }
.section-head p { font-size: 17px; }

/* ---------- Certification strip ---------- */
.cert-strip { background: var(--ink-900); }
.cert-strip .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 24px; padding-bottom: 24px;
}
.cert-strip__label { color: var(--slate-400); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; flex: none; }
.cert-strip__items { display: flex; flex-wrap: wrap; gap: 10px; }
.cert-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  color: var(--steel-100); font-size: 13px; font-weight: 500; padding: 8px 16px; border-radius: 0;
}
.cert-pill b { color: var(--amber-400); font-weight: 600; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid > * { min-width: 0; }
.card, .cert-card, .product-card { overflow-wrap: anywhere; }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  transition: box-shadow .25s ease, transform .25s var(--ease), border-color .25s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--amber-400); }

.icon-box {
  width: 54px; height: 54px; border-radius: 0; background: var(--ink-900);
  color: var(--amber-400); display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.icon-box svg { width: 26px; height: 26px; }

.product-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow .3s ease, transform .3s var(--ease), border-color .3s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.product-card__media {
  aspect-ratio: 16 / 10; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255,122,0,.28), transparent 55%),
    linear-gradient(150deg, var(--ink-800), var(--ink-950));
  display: flex; align-items: center; justify-content: center; color: var(--amber-400);
}
.product-card__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.product-card__media svg { width: 72px; height: 72px; position: relative; z-index: 1; transition: transform .4s var(--ease); }
.product-card:hover .product-card__media svg { transform: scale(1.12) rotate(-3deg); }
.product-card__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--amber-500); color: var(--ink-950); font-size: 11px; font-weight: 700;
  letter-spacing: .06em; padding: 5px 12px; border-radius: 0; text-transform: uppercase;
}
.product-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-card__body h3 { font-size: 21px; margin-bottom: 10px; }
.product-card__body p { font-size: 14.5px; flex: 1; }
.product-card__list { margin: 8px 0 22px; display: grid; gap: 8px; }
.product-card__list li { font-size: 13.5px; color: var(--ink-muted); display: flex; gap: 10px; }
.product-card__list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--amber-500); }
.product-card__link {
  font-weight: 600; font-size: 14px; color: var(--ink-900);
  display: inline-flex; align-items: center; gap: 6px; transition: gap .2s ease, color .2s ease;
}
.product-card:hover .product-card__link { color: var(--amber-600); gap: 12px; }

/* ---------- Why / feature list (auto-numbered) ---------- */
.grid--3, .grid--2 { counter-reset: feat; }
.feature {
  counter-increment: feat; display: flex; flex-direction: column; gap: 14px;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.section--dark .feature { border-top-color: rgba(255,255,255,.14); }
.feature__icon {
  font-size: 0; width: auto; height: auto; background: none; border-radius: 0; display: block;
}
.feature__icon::before {
  content: "0" counter(feat); font-family: var(--font-head); font-size: 14px;
  font-weight: 600; letter-spacing: .1em; color: var(--amber-600);
}
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { font-size: 15px; margin-bottom: 0; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--ink-950); color: var(--white); padding-top: 72px; padding-bottom: 72px; }
.stats-band .grid--4 { text-align: left; }
.stats-band .grid--4 > div { padding-left: 22px; border-left: 2px solid var(--amber-500); }
.stats-band strong {
  display: block; font-family: var(--font-head); font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600; color: var(--white); letter-spacing: -0.02em;
}
.stats-band span { font-size: 13.5px; color: var(--slate-400); }

/* ---------- Industries ---------- */
.industry-chip {
  display: flex; align-items: center; gap: 14px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 20px 22px; font-weight: 600; font-size: 14.5px;
  transition: border-color .2s ease, transform .25s var(--ease), box-shadow .2s ease;
}
.industry-chip:hover { border-color: var(--amber-500); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.industry-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber-500); flex: none; }

/* Photo tiles (refinery imagery) */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-tile {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink-900) center / cover no-repeat; display: flex; align-items: flex-end;
  color: var(--white); isolation: isolate;
}
.photo-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(7,10,16,.92) 0%, rgba(7,10,16,.15) 60%);
  transition: opacity .3s ease;
}
.photo-tile::after {
  content: ""; position: absolute; inset: 0; z-index: -2; background: inherit;
  transition: transform .8s var(--ease);
}
.photo-tile:hover::after { transform: scale(1.07); }
.photo-tile__label { padding: 24px; }
.photo-tile__label strong { display: block; font-family: var(--font-head); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.photo-tile__label span { font-size: 13px; color: var(--slate-300); }

/* ---------- Timeline (About) ---------- */
.timeline { border-left: 2px solid var(--amber-500); padding-left: 28px; display: grid; gap: 32px; }
.timeline__item h3 { font-size: 19px; margin-bottom: 4px; }
.timeline__item .yr { color: var(--amber-600); font-weight: 700; font-size: 13px; letter-spacing: .06em; }

/* ---------- Leadership ---------- */
.person-card { text-align: center; }
.person-card__avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-700));
  color: var(--amber-400); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 26px; font-weight: 600; margin: 0 auto 18px;
}
.person-card h3 { font-size: 19px; margin-bottom: 2px; }
.person-card .role { color: var(--amber-600); font-weight: 600; font-size: 13px; letter-spacing: .04em; margin-bottom: 10px; }
.person-card p { font-size: 13.5px; }

/* ---------- Certifications page ---------- */
.cert-card {
  display: flex; gap: 20px; padding: 28px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--white);
  transition: box-shadow .25s ease, transform .25s var(--ease);
}
.cert-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cert-card__badge {
  flex: none; width: 62px; height: 62px; border-radius: 0;
  background: var(--ink-900); color: var(--amber-400);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
}
.cert-card h3 { font-size: 18px; margin-bottom: 4px; }
.cert-card .meta { font-size: 12.5px; color: var(--slate-500); font-weight: 600; letter-spacing: .02em; margin-bottom: 8px; }
.cert-card p { font-size: 14px; margin-bottom: 8px; }
.badge-note {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  background: rgba(255,199,44,.18); color: #8a5a00; border: 1px solid rgba(255,199,44,.5);
  padding: 4px 10px; border-radius: 0;
}

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
thead th { background: var(--paper); color: var(--ink-900); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
tbody tr:last-child td { border-bottom: none; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; color: var(--white);
  background: var(--ink-950) url("../img/refineries/refinery-dusk-wide.jpg") center / cover no-repeat;
  border-radius: var(--radius-lg); padding: 68px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(7,10,16,.94) 30%, rgba(7,10,16,.55));
  /* Decorative only — must not swallow clicks on the real buttons. */
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.cta-band p { color: #c4cad4; margin-bottom: 0; max-width: 480px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-900); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 0;
  font-family: inherit; font-size: 14.5px; color: var(--ink); background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber-500); box-shadow: 0 0 0 4px rgba(255,122,0,.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 12.5px; color: var(--slate-500); margin-top: 10px; }
.form-success {
  display: none; background: rgba(31,157,85,.1); border: 1px solid rgba(31,157,85,.4);
  color: var(--success-600); padding: 14px 16px; border-radius: 14px;
  font-weight: 600; font-size: 14px; margin-bottom: 18px;
}
.form-success.is-visible { display: block; }

.contact-info-card { background: var(--ink-950); color: var(--white); border-radius: var(--radius-lg); padding: 36px; }
.contact-info-card h3 { color: var(--white); font-size: 20px; }
.contact-info-card .block { margin-bottom: 24px; }
.contact-info-card .block h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--amber-400); margin-bottom: 8px; font-family: var(--font-body); font-weight: 600;
}
.contact-info-card .block p, .contact-info-card .block a { color: var(--steel-100); font-size: 14.5px; margin-bottom: 3px; display: block; }
.contact-info-card .block a:hover { color: var(--amber-400); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--paper); border-bottom: 1px solid var(--line); padding-top: 14px; padding-bottom: 14px; font-size: 13px; }
.breadcrumb ol { display: flex; gap: 8px; flex-wrap: wrap; color: var(--slate-500); }
.breadcrumb a { color: var(--slate-500); font-weight: 500; }
.breadcrumb a:hover { color: var(--amber-600); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--slate-300); }
.breadcrumb li[aria-current] { color: var(--ink-900); font-weight: 600; }

/* ---------- Page header (interior pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; color: var(--white);
  padding-top: 88px; padding-bottom: 88px;
  background: var(--ink-950) url("../img/refineries/refinery-night-wide.jpg") center 40% / cover no-repeat;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,10,16,.94) 25%, rgba(7,10,16,.55));
}
.page-hero h1 { font-size: clamp(32px, 4.4vw, 54px); margin-bottom: 14px; letter-spacing: -0.03em; }
.page-hero p { color: #ccd2dc; max-width: 640px; font-size: 17px; margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px 24px; margin-bottom: 14px; background: var(--white); }
.faq-item h3 { font-size: 16.5px; margin-bottom: 8px; color: var(--ink-900); }
.faq-item p { margin-bottom: 0; font-size: 14.5px; }

/* ---------- Spec list on product pages ---------- */
.spec-list { display: grid; gap: 4px; }
.spec-list li {
  display: flex; justify-content: space-between; gap: 16px; padding: 13px 0;
  border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.spec-list li span:first-child { color: var(--slate-500); font-weight: 500; }
.spec-list li span:last-child { color: var(--ink); font-weight: 600; text-align: right; }

.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; font-size: 15px; color: var(--ink); }
.section--dark .check-list li,
.section--dark .spec-list li span:last-child { color: var(--steel-100); }
.section--dark .spec-list li { border-bottom-color: rgba(255,255,255,.12); }
.check-list li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--amber-500); color: var(--ink-950); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag {
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  background: var(--paper); color: var(--ink-800); padding: 7px 14px; border-radius: 0;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: var(--slate-400); padding-top: 84px; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand .logo__mark { color: var(--white); }
.footer__brand p { color: var(--slate-400); font-size: 14px; margin: 16px 0 20px; max-width: 320px; }
.footer h4 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; font-family: var(--font-body); font-weight: 600; }
.footer ul { display: grid; gap: 11px; }
.footer a { font-size: 14px; color: var(--slate-400); transition: color .15s ease; }
.footer a:hover { color: var(--amber-400); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 0; background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600;
}
.footer__social a:hover { background: var(--amber-500); color: var(--ink-950); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  padding-top: 24px; padding-bottom: 24px; font-size: 12.5px; color: var(--slate-500);
}
.footer__bottom a { color: var(--slate-500); }
.footer__bottom a:hover { color: var(--amber-400); }
.image-credit { font-size: 11.5px; color: var(--slate-500); opacity: .8; padding-bottom: 20px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--amber-500); color: var(--ink-950);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 900; border: none;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Scroll reveal (added by main.js; content is visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { order: 2; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: flex; }

  /* Mobile menu panel stays in flex layout (not display:none) so max-height /
     opacity can transition; overflow-y keeps the expanded Products list
     scrollable. */
  .nav__menu {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--white);
    border-top: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 0 10px; margin: 0; max-height: 0; overflow-y: auto; overflow-x: hidden;
    overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: max-height .32s ease, opacity .2s ease, transform .2s ease, padding .32s ease, visibility 0s linear .32s;
  }
  .nav.is-open .nav__menu {
    max-height: min(75vh, 520px); opacity: 1; visibility: visible; transform: translateY(0); padding: 10px;
    transition: max-height .32s ease, opacity .24s ease .06s, transform .24s ease .06s, padding .32s ease;
  }
  .nav__menu > li { width: 100%; }
  .nav__menu > li > a, .nav__menu > li > button { width: 100%; justify-content: space-between; border-radius: 12px; }

  /* Static full-width accordion at all times at this breakpoint — otherwise the
     desktop absolute/min-width layout leaks ~50px of horizontal overflow. */
  .nav__dropdown {
    position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; border: none;
    width: 100%; min-width: 0; padding-top: 0; padding-bottom: 0; padding-left: 14px; padding-right: 0;
    max-height: 0; overflow: hidden; transition: max-height .28s ease;
  }
  .nav__menu li.is-open .nav__dropdown { max-height: 640px; }

  .nav__toggle span { transition: background-color .2s ease .05s; }
  .nav.is-open .nav__toggle span { background: transparent; }
  .nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
  .nav.is-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

  .topbar__badges { display: none; }
  .topbar__contacts span:nth-child(3) { display: none; }
  .topbar__contacts { gap: 6px 16px; }
  .cta-band { flex-direction: column; text-align: center; }
  .cta-band__actions { justify-content: center; }
}
@media (max-width: 680px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__grid { padding-top: 72px; padding-bottom: 64px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  section { padding-top: 68px; padding-bottom: 68px; }
  .cert-strip .container { flex-direction: column; align-items: flex-start; }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .photo-tile { aspect-ratio: 4 / 5; }
  .photo-tile__label { padding: 16px; }
  /* Let long CTA labels wrap so they cannot force horizontal scroll. */
  .btn { white-space: normal; text-align: center; }
  .cta-band { padding: 44px 24px; }
  .card { padding: 24px; }
  .page-hero { padding-top: 60px; padding-bottom: 60px; }
}

/* ==========================================================================
   v3 — Editorial / architectural layer
   Hairline grids, mono-style numbering, full-viewport photographic hero,
   overlay navigation, indexed product list, sticky-heading sections.
   ========================================================================== */
:root { --hair: rgba(255,255,255,.16); --hair-dark: #d9dbe0; --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace; }
.num { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--amber-600); }
.section--dark .num, .hero .num { color: var(--amber-400); }

/* Overlay nav: dark bar everywhere; on the homepage it floats transparent over the hero. */
.topbar { display: none; }
.site-header { background: var(--ink-950); border-bottom: 1px solid var(--hair); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header .logo__mark { color: var(--white); }
.site-header .logo__tag { color: var(--slate-400); }
.site-header .nav__menu > li > a, .site-header .nav__menu > li > button { color: #dfe3ea; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.site-header .nav__menu > li > a:hover, .site-header .nav__menu > li > button:hover, .site-header .nav__menu > li.is-open > button { background: transparent; color: var(--amber-400); }
.site-header .nav__menu > li > a[aria-current="page"] { color: var(--amber-400); }
.site-header .btn--ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.site-header .btn--ghost:hover { background: var(--amber-500); border-color: var(--amber-500); color: var(--ink-950); }
.site-header .nav__toggle { border-color: rgba(255,255,255,.5); }
.site-header .nav__toggle span, .site-header .nav__toggle span::before, .site-header .nav__toggle span::after { background: var(--white); }
.site-header .nav__dropdown { background: var(--ink-900); border-color: var(--hair); }
.site-header .nav__dropdown a { color: var(--white); }
.site-header .nav__dropdown a small { color: var(--slate-400); }
.site-header .nav__dropdown a:hover { background: rgba(255,255,255,.05); color: var(--amber-400); }
.home .site-header { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; }
.home .site-header.is-scrolled { background: rgba(7,10,16,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--hair); box-shadow: none; }

/* ---- Full-viewport hero with rotating refinery slides ---- */
.hero--full {
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink-950);
}
.hero--full { background-image: none; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0;
  transform: scale(1.06); transition: opacity 1.6s ease, transform 8s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero--full::before {
  background:
    linear-gradient(0deg, rgba(7,10,16,.92) 0%, rgba(7,10,16,.35) 45%, rgba(7,10,16,.55) 100%),
    linear-gradient(90deg, rgba(7,10,16,.7) 0%, transparent 65%);
}
.hero--full .hero__inner { padding-top: 150px; padding-bottom: 56px; }
.hero--full h1 {
  font-size: clamp(34px, 5vw, 76px); line-height: 1.02; letter-spacing: -0.045em;
  max-width: 17ch; margin-bottom: 30px; font-weight: 600;
}
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.hero--full .hero__lead { max-width: 520px; margin: 0; font-size: 17px; }
.hero--full .hero__ctas { margin: 0; }
.hero__counter {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
}
.hero__counter button {
  background: none; border: none; color: rgba(255,255,255,.45); padding: 0 0 0 26px; text-align: right; position: relative; font: inherit;
}
.hero__counter button::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: currentColor; transition: width .3s ease; }
.hero__counter button.is-active { color: var(--white); }
.hero__counter button.is-active::before { width: 22px; background: var(--amber-500); }
.hero__ticker { border-top: 1px solid var(--hair); background: rgba(7,10,16,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero__ticker .container { display: flex; flex-wrap: wrap; gap: 8px 36px; padding-top: 18px; padding-bottom: 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: #dfe3ea; }
.hero__ticker b { color: var(--amber-400); font-weight: 600; }

/* ---- Hairline proof grid ---- */
.proof { background: var(--paper); padding-top: 0; padding-bottom: 0; }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--hair-dark); }
.proof__cell { padding: 40px 32px 44px; border-right: 1px solid var(--hair-dark); min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; transition: background .3s ease; }
.proof__cell:hover { background: var(--white); }
.proof__cell strong { display: block; font-family: var(--font-head); font-size: clamp(30px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; margin-bottom: 8px; }
.proof__cell span:not(.num) { font-size: 13.5px; color: var(--ink-muted); }

/* ---- Split section: sticky heading + content ---- */
.split { display: grid; grid-template-columns: 4fr 8fr; gap: 72px; align-items: start; }
.split__head { position: sticky; top: 110px; }
.split__head h2 { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -0.04em; }
.big-h { font-size: clamp(32px, 4.4vw, 64px); letter-spacing: -0.045em; line-height: 1.02; }

/* ---- Indexed product list ---- */
.index-list { border-top: 1px solid var(--hair-dark); }
.index-row {
  display: grid; grid-template-columns: 56px 1.15fr 1.5fr 40px; gap: 24px; align-items: center;
  padding: 30px 8px; border-bottom: 1px solid var(--hair-dark); position: relative; isolation: isolate;
  transition: padding .35s var(--ease), color .25s ease;
}
.index-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink-950); transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease); }
.index-row:hover { padding-left: 28px; padding-right: 28px; color: var(--white); }
.index-row:hover::before { transform: scaleY(1); }
.index-row h3 { font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -0.03em; margin: 0; }
.index-row p { margin: 0; font-size: 14.5px; transition: color .25s ease; }
.index-row:hover p { color: var(--slate-300); }
.index-row:hover .num { color: var(--amber-400); }
.index-row__arrow { font-size: 22px; color: var(--amber-600); transition: transform .3s var(--ease); justify-self: end; }
.index-row:hover .index-row__arrow { transform: translateX(6px); color: var(--amber-400); }
.index-row__tag { display: inline-block; margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--amber-600); }

/* ---- Capability list on dark ---- */
.cap-list { border-top: 1px solid var(--hair); }
.cap-item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--hair); }
.cap-item h3 { font-size: 22px; letter-spacing: -0.025em; margin-bottom: 8px; }
.cap-item p { margin: 0; font-size: 15px; max-width: 60ch; }

/* ---- Edge-to-edge photo band + ticker ---- */
.band { padding-top: 0; padding-bottom: 0; background: var(--ink-950); overflow: hidden; }
.band__photos { display: grid; grid-template-columns: repeat(4, 1fr); }
.band__photo { position: relative; aspect-ratio: 4 / 5; background: var(--ink-900) center / cover no-repeat; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; isolation: isolate; border-right: 1px solid rgba(255,255,255,.12); }
.band__photo::before { content: ""; position: absolute; inset: 0; background: inherit; z-index: -2; transition: transform 1s var(--ease); }
.band__photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,10,16,.9), rgba(7,10,16,.05) 60%); }
.band__photo:hover::before { transform: scale(1.08); }
.band__photo div { padding: 26px; }
.band__photo strong { display: block; font-family: var(--font-head); font-size: 20px; letter-spacing: -0.02em; font-weight: 600; }
.band__photo span { font-size: 12.5px; color: var(--slate-300); }
.marquee { overflow: hidden; border-top: 1px solid var(--hair); padding-top: 22px; padding-bottom: 22px; background: var(--ink-950); }
.marquee__track { display: flex; width: max-content; gap: 56px; animation: marquee 38s linear infinite; font-family: var(--font-head); font-size: clamp(22px, 3vw, 40px); letter-spacing: -0.03em; color: rgba(255,255,255,.28); white-space: nowrap; }
.marquee__track span::after { content: "✦"; margin-left: 56px; color: var(--amber-500); font-size: .5em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Leadership: light editorial ---- */
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hair-dark); border-left: 1px solid var(--hair-dark); }
.lead-cell { padding: 36px; border-right: 1px solid var(--hair-dark); border-bottom: 1px solid var(--hair-dark); }
.lead-cell h3 { font-size: 24px; margin: 14px 0 4px; letter-spacing: -0.03em; }
.lead-cell .role { color: var(--amber-600); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.lead-cell p { font-size: 14.5px; margin: 0; }

@media (max-width: 1080px) {
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__cell { border-bottom: 1px solid var(--hair-dark); min-height: 200px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split__head { position: static; }
  .band__photos { grid-template-columns: repeat(2, 1fr); }
  .hero__counter { display: none; }
}
@media (max-width: 680px) {
  .index-row { grid-template-columns: 36px 1fr 24px; gap: 14px; padding: 24px 4px; }
  .index-row p { display: none; }
  .index-row:hover { padding-left: 4px; padding-right: 4px; }
  .proof__grid { grid-template-columns: 1fr; }
  .proof__cell { min-height: 150px; padding: 28px 22px; }
  .lead-grid { grid-template-columns: 1fr; }
  .cap-item { grid-template-columns: 40px 1fr; }
  .hero--full .hero__inner { padding-top: 120px; }
  .band__photo div { padding: 16px; }
}

/* nav fit */
.nav__menu > li > a, .nav__menu > li > button { white-space: nowrap; padding: 10px 11px; }
.logo__tag { white-space: nowrap; }
@media (max-width: 1240px) { .logo__tag { display: none; } }
.nav { gap: 16px; }
.site-header .nav__menu > li > a, .site-header .nav__menu > li > button { font-size: 12px; letter-spacing: .07em; padding: 10px 9px; }
.nav__cta .btn { padding: 12px 20px; font-size: 12px; }
@media (max-width: 1400px) { .logo__tag { display: none; } }

/* Registered SHYAAM FLAMEPROOF wordmark (from trademark certificate, transparent PNG) */
.logo { flex-direction: row; align-items: center; }
.logo__img { height: 44px; width: auto; display: block; }
.footer__brand .logo__img { height: 52px; }
@media (max-width: 680px) { .logo__img { height: 38px; } }

/* ==========================================================================
   v4 — Interior pages in the editorial style
   ========================================================================== */

/* Breadcrumb: dark mono strip that continues the header */
.breadcrumb { background: var(--ink-950); border-bottom: 1px solid var(--hair); padding-top: 12px; padding-bottom: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumb ol, .breadcrumb a { color: var(--slate-400); }
.breadcrumb a:hover { color: var(--amber-400); }
.breadcrumb li:not(:last-child)::after { color: var(--slate-500); }
.breadcrumb li[aria-current] { color: var(--white); font-weight: 500; }

/* Interior hero: tall, bottom-aligned, oversized type */
.page-hero {
  min-height: 52vh; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 130px; padding-bottom: 72px;
  background-position: center 35%;
}
.page-hero::before { background: linear-gradient(0deg, rgba(7,10,16,.95) 0%, rgba(7,10,16,.45) 55%, rgba(7,10,16,.7) 100%), linear-gradient(90deg, rgba(7,10,16,.7), transparent 70%); }
.page-hero h1 { font-size: clamp(34px, 5.2vw, 78px); line-height: 1.02; letter-spacing: -0.045em; max-width: 19ch; margin-bottom: 22px; }
.page-hero p { max-width: 62ch; font-size: 17px; }
.page-hero .tag { background: transparent !important; color: var(--amber-400) !important; border: 1px solid rgba(255,150,51,.5); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border-radius: 0; padding: 6px 12px; }

/* Section heads: heading left, intro right */
.section-head, .section-head.center {
  max-width: none; margin-left: 0; margin-right: 0; text-align: left;
  display: grid; grid-template-columns: 5fr 5fr; gap: 6px 72px; align-items: end; margin-bottom: 56px;
}
.section-head .kicker { grid-column: 1 / -1; }
.section-head h2 { margin: 0; letter-spacing: -0.04em; }
.section-head p { margin: 0; }
.section-head h2:only-of-type:last-child { grid-column: 1 / -1; }

/* Hairline grids: cards share borders instead of floating */
.card, .cert-card, .faq-item { border-radius: 0; box-shadow: none; }
.card:hover, .cert-card:hover { transform: none; box-shadow: none; border-color: var(--hair-dark); background: var(--white); }
.grid:has(> .card), .grid:has(> .cert-card) { gap: 0; }
.grid > .card, .grid > .cert-card { margin: 0 -1px -1px 0; border: 1px solid var(--hair-dark); background: transparent; }
.grid > .card:hover, .grid > .cert-card:hover { background: var(--white); position: relative; z-index: 1; border-color: var(--amber-500); }
.section--alt .grid > .card:hover, .section--alt .grid > .cert-card:hover { background: var(--white); }
.section--dark .grid > .card, .section--dark .grid > .cert-card { border-color: var(--hair) !important; }
.section--dark .grid > .card:hover { background: rgba(255,255,255,.05) !important; border-color: var(--amber-500) !important; }
.grid > .card h3 { letter-spacing: -0.025em; }
.faq-item { border-left: 0; border-right: 0; border-top: 0; border-bottom: 1px solid var(--hair-dark); padding-left: 0; padding-right: 0; margin-bottom: 0; background: none; }
.faq-item h3 { font-size: 18px; }

/* People, team numerals, industry icons */
.person-card { text-align: left; }
.person-card__avatar { border-radius: 0; margin: 0 0 22px; width: 64px; height: 64px; font-size: 20px; background: var(--ink-950); }
.stat-card { text-align: left; }
.stat-num { font-family: var(--font-head); font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -0.05em; font-weight: 600; margin-bottom: 14px; }
.stat-card h3 { font-size: 15px !important; font-family: var(--font-body); font-weight: 500; letter-spacing: 0; color: var(--ink-muted); margin: 0; }
.icon-box { background: none; border: 1px solid var(--hair-dark); color: var(--amber-600); }
.card:hover .icon-box { background: var(--ink-950); color: var(--amber-400); border-color: var(--ink-950); }

/* Cert cards + badges */
.cert-card__badge { border-radius: 0; }
.cert-card { flex-direction: column; gap: 16px; }

/* Product page: sticky spec column, sharper media block */
@media (min-width: 1081px) { .grid > aside { position: sticky; top: 100px; } }
.product-card__media { border-radius: 0 !important; }
.tag-row { gap: 8px; }
.cert-strip { border-radius: 0 !important; }
.check-list li::before { border-radius: 0; }

/* Product hub reuses the homepage indexed list */
.hub { padding-top: 88px; }

/* Tables and forms already sharp; give form card the hairline treatment */
.table-wrap { border-radius: 0; border-color: var(--hair-dark); }
.contact-info-card { border-radius: 0; }
.cta-band { border-radius: 0; }

@media (max-width: 860px) {
  .section-head, .section-head.center { grid-template-columns: 1fr; gap: 12px; margin-bottom: 36px; }
  .page-hero { min-height: 0; padding-top: 96px; padding-bottom: 52px; }
}

/* ---- Mobile menu: dark panel so the light links are readable ---- */
@media (max-width: 860px) {
  .nav__menu { background: var(--ink-950); border-top: 1px solid var(--hair); box-shadow: 0 24px 48px rgba(0,0,0,.45); }
  .nav.is-open .nav__menu { padding: 8px 20px 18px; }
  .site-header .nav__menu > li > a, .site-header .nav__menu > li > button {
    color: #ffffff; font-size: 14px; letter-spacing: .08em; padding: 16px 0; border-radius: 0;
    border-bottom: 1px solid var(--hair); justify-content: space-between;
  }
  .site-header .nav__menu > li > a[aria-current="page"], .site-header .nav__menu > li.is-open > button { color: var(--amber-400); }
  .site-header .nav__dropdown { background: transparent; border: 0; padding-left: 0; padding-right: 0; }
  .site-header .nav__dropdown a { color: #ffffff; padding: 13px 12px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .site-header .nav__dropdown a strong { font-size: 14px; }
  .site-header .nav__dropdown a small { color: var(--slate-300); font-size: 12.5px; }
  .home .site-header { background: rgba(7,10,16,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}

/* Scrolled header stays dark on every page (overrides the v1 white .is-scrolled rule) */
.site-header.is-scrolled { background: #070a10; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.home .site-header.is-scrolled { background: rgba(7,10,16,.96); }
