/* ==========================================================================
   Reliable Safety and Engineering Ltd. — Site stylesheet
   Bold Industrial / Safety-Forward design system.
   Tokens derived from the brand logo (flame gradient + industrial type).
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Anton&family=Archivo+Black&family=Oswald:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap");

/* ----------------------------- Tokens ----------------------------------- */
:root {
  /* Brand: flame ramp */
  --flame-orange: #f7941d;
  --signal-red: #ed1c24;
  --ember: #ff6a13;
  --flame-orange-strong: #e07e00;
  --signal-red-strong: #d2151c;
  --flame-grad: linear-gradient(180deg, #f7941d 0%, #ed1c24 100%);
  --flame-grad-45: linear-gradient(135deg, #f7941d 0%, #ed1c24 100%);
  --flame-grad-sweep: linear-gradient(100deg, #f7941d 0%, #ff6a13 45%, #ed1c24 100%);

  /* Neutrals */
  --ink: #141414;
  --charcoal: #1e1e1e;
  --charcoal-2: #262626;
  --steel: #6b7280;
  --steel-2: #9ca3af;
  --smoke: #f4f5f7;
  --line: #e5e7eb;
  --line-dark: #333333;
  --white: #ffffff;

  /* Semantic */
  --text-strong: var(--ink);
  --text-body: #2b2b2b;
  --text-muted: var(--steel);
  --text-on-dark: var(--white);
  --text-muted-on-dark: #b8bcc4;
  --accent: var(--signal-red);
  --accent-hover: var(--ember);
  --focus-ring: #ff6a13;

  /* Type */
  --font-display: "Anton", "Archivo Black", Impact, sans-serif;
  --font-heavy: "Archivo Black", "Anton", sans-serif;
  --font-label: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(3rem, 1.1rem + 7.6vw, 7rem);
  --fs-h1: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  --fs-h3: clamp(1.35rem, 1.05rem + 1.2vw, 1.85rem);
  --fs-stat: clamp(2.5rem, 1.4rem + 4.5vw, 4.5rem);
  --fs-eyebrow: 0.8125rem;
  --fs-body-lg: 1.1875rem;
  --fs-body: 1.0625rem;
  --fs-body-sm: 0.9375rem;
  --fs-caption: 0.8125rem;
  --lh-tight: 1.02;
  --lh-snug: 1.2;
  --lh-normal: 1.65;
  --ls-eyebrow: 0.22em;
  --ls-label: 0.08em;

  /* Radii / borders / shadows */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(20, 20, 20, 0.06);
  --shadow-sm: 0 2px 8px rgba(20, 20, 20, 0.08);
  --shadow-md: 0 8px 24px rgba(20, 20, 20, 0.1);
  --shadow-lg: 0 18px 48px rgba(20, 20, 20, 0.16);
  --shadow-cta: 0 8px 22px rgba(237, 28, 36, 0.32);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 140ms;
  --dur-base: 240ms;
  --dur-slow: 420ms;

  /* Layout */
  --section-pad-y: clamp(64px, 8vw, 128px);
  --container-max: 1440px;
  --container-pad: clamp(18px, 3.2vw, 40px);
  --header-h: 76px;

  --hazard-stripe: repeating-linear-gradient(-45deg, var(--flame-orange) 0 18px, var(--ink) 18px 36px);
}

/* ----------------------------- Reset ------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--signal-red);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover {
  color: var(--ember);
}
h1,
h2,
h3,
h4 {
  margin: 0 0 0.4em;
  color: var(--text-strong);
  line-height: var(--lh-snug);
}
p {
  margin: 0 0 1em;
}
ul {
  margin: 0;
  padding: 0;
}
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus {
  left: 0;
}

/* ----------------------------- Layout ----------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section {
  padding-block: var(--section-pad-y);
}
.section--muted {
  background: var(--smoke);
}
.section--dark {
  background: var(--charcoal);
  color: var(--text-on-dark);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.section--tight {
  padding-block: clamp(40px, 5vw, 72px);
}

/* Type helpers */
.eyebrow {
  font-family: var(--font-label);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--signal-red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--flame-grad-45);
  display: inline-block;
}
.section--dark .eyebrow,
.eyebrow--on-dark {
  color: var(--flame-orange);
}
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: var(--lh-tight);
}
.h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  text-transform: uppercase;
  line-height: var(--lh-snug);
}
.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  text-transform: uppercase;
  line-height: var(--lh-snug);
}
.lead {
  font-size: var(--fs-body-lg);
  color: var(--text-muted);
  max-width: 62ch;
}
.section--dark .lead {
  color: var(--text-muted-on-dark);
}
.text-grad {
  background: var(--flame-grad-45);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow {
  justify-content: center;
}

/* ----------------------------- Buttons ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  white-space: nowrap;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:active {
  transform: translateY(1px);
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn--primary {
  background: var(--signal-red);
  color: #fff;
}
.btn--primary:hover {
  color: #fff;
  background: var(--flame-grad-45);
  box-shadow: var(--shadow-cta);
}
.btn--secondary {
  background: var(--charcoal);
  color: #fff;
}
.btn--secondary:hover {
  background: #000;
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover {
  color: #fff;
  background: var(--ink);
}
.section--dark .btn--outline,
.btn--outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.section--dark .btn--outline:hover,
.btn--outline-light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
}
.btn--ghost:hover {
  background: var(--smoke);
  color: var(--ink);
}
.btn--sm {
  padding: 8px 16px;
  font-size: 13px;
}
.btn--lg {
  padding: 17px 36px;
  font-size: 16px;
}
.btn--block {
  width: 100%;
}

.link-more {
  font-family: var(--font-label);
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  font-size: var(--fs-body-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.link-more svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-fast) var(--ease-out);
}
.link-more:hover svg {
  transform: translateX(4px);
}

/* ----------------------------- Header ----------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-base) var(--ease-out), padding var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
  transition: height var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled .header-inner {
  height: 62px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  height: 42px;
  width: auto;
  transition: height var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled .brand img {
  height: 36px;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.4vw, 22px);
}
.primary-nav a {
  font-family: var(--font-label);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--steel);
  padding: 8px 14px;
  position: relative;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--flame-grad-45);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--ink);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}
.nav-toggle svg {
  width: 28px;
  height: 28px;
}

/* Services dropdown */
.has-dropdown {
  position: relative;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out),
    visibility var(--dur-base);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-transform: none;
  font-family: var(--font-body);
  letter-spacing: 0;
  font-size: var(--fs-body-sm);
  color: var(--text-body);
}
.dropdown a:hover {
  background: var(--smoke);
  color: var(--signal-red);
}
.dropdown a::after {
  display: none;
}

/* ----------------------------- Hazard stripe ---------------------------- */
.hazard {
  height: 12px;
  background-image: var(--hazard-stripe);
  background-size: 51px 51px;
}
.hazard--anim {
  animation: hazardShift 2.4s linear infinite;
}
.hazard--footer {
  height: 6px;
}
@keyframes hazardShift {
  to {
    background-position: 51px 0;
  }
}

/* ----------------------------- Hero ------------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(120% 130% at 78% 15%, #2a2a2a 0%, #1a1a1a 55%, #141414 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
/* Dark wash so the headline stays legible over the photo. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(15, 15, 15, 0.94) 0%,
    rgba(15, 15, 15, 0.82) 38%,
    rgba(15, 15, 15, 0.5) 72%,
    rgba(15, 15, 15, 0.32) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(72px, 9vw, 120px);
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  line-height: 0.98;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  color: #fff;
}
.hero__rotator {
  margin: 0;
  font-family: var(--font-label);
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--flame-orange);
  min-height: 1.3em;
}
.hero__sub {
  margin: 0;
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  color: var(--text-muted-on-dark);
  max-width: 620px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted-on-dark);
  margin-top: 14px;
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-strip svg {
  color: var(--flame-orange);
  flex-shrink: 0;
}

/* Page banner (interior pages) */
.page-hero {
  background: var(--charcoal);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero__inner {
  padding-block: clamp(56px, 8vw, 104px);
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  text-transform: uppercase;
}
.page-hero p {
  color: var(--text-muted-on-dark);
  max-width: 60ch;
  margin-bottom: 0;
}
.page-hero__watermark {
  position: absolute;
  right: -2%;
  bottom: -32%;
  font-family: var(--font-display);
  font-size: clamp(9rem, 26vw, 22rem);
  color: rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.breadcrumb {
  font-family: var(--font-label);
  font-size: var(--fs-caption);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted-on-dark);
  margin-bottom: 14px;
}
.breadcrumb a {
  color: var(--flame-orange);
}

/* ----------------------------- Stats ------------------------------------ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.stat__value {
  font-family: var(--font-display);
  font-size: var(--fs-stat);
  line-height: 0.95;
  letter-spacing: 0.01em;
  background: var(--flame-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  font-weight: 500;
  font-size: 13px;
  color: var(--text-muted-on-dark);
}
.section--ink {
  background: var(--ink);
  color: #fff;
}

/* ----------------------------- Grid + cards ----------------------------- */
.grid {
  display: grid;
  gap: var(--gap-grid, 32px);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid--auto {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}

/* Service card */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--signal-red);
}
.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-card:hover .icon-chip {
  box-shadow: var(--shadow-cta);
}
.service-card__number {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: rgba(20, 20, 20, 0.07);
}
.icon-chip {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--flame-grad-45);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.icon-chip svg {
  width: 26px;
  height: 26px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin: 0;
}
.service-card p {
  color: var(--steel);
  font-size: var(--fs-body-sm);
  line-height: 1.6;
  margin: 0;
}
.service-card .link-more {
  color: var(--signal-red);
  margin-top: auto;
}

/* Why-choose-us item (plain row, white icon box + red line icon) */
.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--signal-red);
}
.why-item h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 6px;
}
.why-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--steel);
  margin: 0;
}

/* Service detail — Overview image fixed size (crops instead of stretching) */
.svc-overview-media {
  width: 100%;
}
.svc-overview-media img {
  width: 100%;
  height: clamp(300px, 34vw, 460px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}

/* Service rows (Services page — detailed list, matches design) */
.service-rows {
  display: flex;
  flex-direction: column;
}
.service-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.service-row:first-child {
  border-top: 0;
  padding-top: 8px;
}
.service-row__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.service-row__chip {
  width: 60px;
  height: 60px;
  box-shadow: var(--shadow-cta);
}
.service-row__chip svg {
  width: 28px;
  height: 28px;
}
.service-row__titleline {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.service-row__num {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: rgba(20, 20, 20, 0.12);
}
.service-row__titleline h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
}
.service-row__titleline h3 a {
  color: var(--ink);
}
.service-row__titleline h3 a:hover {
  color: var(--signal-red);
}
.service-row__summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--steel);
}
.service-row__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  align-content: start;
}
.service-row__item {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-body);
}
.service-row__item svg {
  color: var(--signal-red);
  margin-top: 2px;
  flex-shrink: 0;
}

/* Services standards band */
.services-standards {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.services-standards__left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.services-standards__label {
  font-family: var(--font-label);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
}

/* Feature (why choose us) */
.feature {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color var(--dur-base), box-shadow var(--dur-base), transform var(--dur-base);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature h3 {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  margin: 0 0 6px;
}
.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-body-sm);
}
.feature .icon-chip {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

/* Project card */
.project-card {
  display: flex;
  flex-direction: column;
}
.project-card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--charcoal);
  position: relative;
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.project-card:hover .project-card__media img {
  transform: scale(1.06);
}
.project-card__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--flame-grad-45);
  color: #fff;
  font-family: var(--font-label);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.project-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.project-card__body h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}
.project-card__meta {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--steel);
  margin: 0;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}
.tag {
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--steel);
  background: var(--smoke);
  padding: 5px 10px;
  border-radius: var(--radius-xs);
}

/* Projects vertical scroll view */
.projects-scroll {
  max-height: clamp(560px, 76vh, 860px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px 12px 6px 2px; /* room so card hover-lift/shadows aren't clipped */
  scrollbar-width: thin;
  scrollbar-color: var(--flame-orange) var(--line);
}
.projects-scroll::-webkit-scrollbar {
  width: 8px;
}
.projects-scroll::-webkit-scrollbar-track {
  background: var(--line);
  border-radius: var(--radius-pill);
}
.projects-scroll::-webkit-scrollbar-thumb {
  background: var(--flame-grad-45);
  border-radius: var(--radius-pill);
}

/* Filter bar */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--font-label);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  font-size: var(--fs-body-sm);
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.filter-btn:hover {
  border-color: var(--signal-red);
  color: var(--signal-red);
}
.filter-btn.is-active {
  background: var(--signal-red);
  border-color: var(--signal-red);
  color: #fff;
}

/* ----------------------------- Marquee ---------------------------------- */
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.logo-chip {
  flex-shrink: 0;
  box-sizing: border-box;
  height: 96px;
  width: 168px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.logo-chip:hover {
  border-color: var(--flame-orange);
  box-shadow: var(--shadow-sm);
}
.logo-chip img {
  max-height: 48px;
  max-width: 128px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter var(--dur-base), opacity var(--dur-base);
}
.logo-chip:hover img {
  filter: none;
  opacity: 1;
}

/* Logo wall grid — chips fill their cell (no fixed width, so no overlap) */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.logo-wall .logo-chip {
  width: 100%;
}

/* Brand wall (Products We Supply & Install) */
.brand-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}
.brand-chip {
  height: 88px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.brand-chip:hover {
  border-color: var(--flame-orange);
  box-shadow: var(--shadow-sm);
}
.brand-chip span {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.2;
}
.brand-chip img {
  max-height: 50px;
  max-width: 110px;
  object-fit: contain;
}

/* ----------------------------- Standards band --------------------------- */
.standards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.badge-std {
  font-family: var(--font-label);
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  font-size: var(--fs-body-sm);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.04);
}
.badge-std strong {
  color: var(--flame-orange);
}
/* Approval-mark logo tiles (home Standards band). */
.std-marks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}
.std-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 96px;
  padding: 14px;
  background: #fff;
  border-radius: var(--radius-md);
}
.std-mark img {
  max-height: 64px;
  max-width: 100px;
  object-fit: contain;
}

/* ----------------------------- CTA band --------------------------------- */
.cta-band {
  background: var(--flame-grad-45);
  color: #fff;
}
.cta-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 {
  color: #fff;
  max-width: 720px;
  margin: 0;
  line-height: 1.05;
}

/* ----------------------------- About / content -------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}
/* Larger "Who We Are" image on the home page. */
.split--about {
  grid-template-columns: 1.2fr 1fr;
}
.split--about .split__media img {
  height: clamp(360px, 42vw, 560px);
}
/* "On The Ground" — team-on-site band. */
.ground__stats {
  display: flex;
  gap: 40px;
  margin-top: 26px;
}
.stat--left {
  align-items: flex-start;
  text-align: left;
}
.ground__media img {
  aspect-ratio: 4 / 5;
  height: 100%;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
}
.ground__band {
  position: relative;
  margin-top: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.ground__band img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.ground__tag {
  position: absolute;
  left: 20px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--flame-grad-45);
  color: #fff;
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-grid, 32px);
}
.vm-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--smoke);
  border-top: 3px solid var(--signal-red);
  border-radius: var(--radius-md);
  padding: 36px;
}
.vm-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--ink);
}
.vm-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
}

/* MD message (About) — matches design: portrait photo + quote on charcoal */
.md-message {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 48px;
  align-items: center;
}
.md-message__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
}
.md-message__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.md-message__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.md-message__quote {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 0.9rem + 0.8vw, 1.5rem);
  line-height: 1.6;
  font-weight: 500;
  color: #fff;
}
.md-message__mark {
  color: var(--flame-orange);
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 0;
  vertical-align: -0.15em;
  margin-right: 6px;
}
.md-message__name {
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  color: #fff;
}
.md-message__role {
  font-family: var(--font-label);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--flame-orange);
}

/* Our Strength — numbered list */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px var(--gap-grid, 32px);
}
.strength-item {
  display: flex;
  gap: 16px;
}
.strength-item__num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  color: rgba(20, 20, 20, 0.14);
}
.strength-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
}

/* Centered standards / compliance band */
.standards-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.badge-std--solid {
  background: var(--flame-grad-45);
  color: #fff;
  border: 1px solid transparent;
  padding: 7px 13px;
  font-size: 12.5px;
}
.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--flame-grad-45) center / 60% no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>")
    center / 14px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>")
    center / 14px no-repeat;
}
.quote {
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: -40px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 16rem;
  color: rgba(247, 148, 29, 0.14);
  line-height: 1;
}
.quote p {
  font-size: var(--fs-body-lg);
  position: relative;
  color: #eceef1;
}
.quote cite {
  font-style: normal;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--flame-orange);
}

/* Manpower table */
.manpower-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}
.manpower-total {
  align-items: flex-start;
  text-align: left;
}
.manpower-total .stat__label {
  color: var(--steel);
}
.manpower {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.manpower__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--smoke);
  border-radius: var(--radius-md);
}
.manpower__n {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: var(--signal-red);
}
.manpower__label {
  font-size: 14.5px;
  line-height: 1.3;
  color: var(--text-body);
}

/* ----------------------------- Team ------------------------------------- */
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team-card__photo {
  aspect-ratio: 1;
  background: var(--charcoal);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card__monogram {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
  background: var(--flame-grad-45);
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.team-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.team-card__name {
  font-size: 1.2rem;
  margin: 0;
}
.team-card__role {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--signal-red);
  font-size: var(--fs-body-sm);
}
.team-card__spec {
  font-weight: 600;
  font-size: var(--fs-body-sm);
}
.team-card__creds {
  color: var(--text-muted);
  font-size: var(--fs-caption);
  line-height: 1.5;
}
.team-card__contact {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
  font-size: var(--fs-body-sm);
}
.team-card__contact a {
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.team-card__contact a:hover {
  color: var(--signal-red);
}

/* Featured leader (MD) */
.leader-feature {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.leader-feature__photo {
  align-self: stretch;
  min-height: 340px;
  background: var(--flame-grad-45);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.leader-feature__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.leader-feature__body {
  padding: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) 0;
}

/* ----------------------------- Clients table ---------------------------- */
.client-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
.search-input,
.select-input {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
}
.search-input {
  flex: 1;
  min-width: 220px;
}
.search-input:focus,
.select-input:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 1px;
  border-color: transparent;
}
.table-wrap {
  max-height: 560px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}
.client-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-body-sm);
  min-width: 560px;
}
.client-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--ink);
  color: #fff;
  text-align: left;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--fs-caption);
  padding: 14px 18px;
}
.client-table tbody td {
  padding: 13px 18px;
  border-top: 1px solid var(--line);
}
.client-table tbody tr:nth-child(even) {
  background: var(--smoke);
}
.client-table tbody tr:hover {
  background: #fff4ea;
}
.client-table .c-name {
  font-weight: 600;
  color: var(--ink);
}
.table-empty {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}
.count-note {
  font-size: var(--fs-body-sm);
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ----------------------------- Gallery (horizontal, gap-free) ----------- */
/* Fixed-height grid of 3 rows that flows into columns and scrolls sideways via
   a scrollbar. Most tiles are one row; some span 2 rows (tall) or 2 columns
   (wide) for Instagram-style variety. object-fit: cover fills every cell, so
   there is no empty space. */
.gallery-grid {
  display: grid;
  grid-auto-flow: column dense;
  grid-template-rows: repeat(3, 1fr);
  grid-auto-columns: clamp(170px, 19vw, 230px);
  gap: 14px;
  height: clamp(640px, 84vh, 900px);
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--flame-orange) var(--line);
}
.gallery-grid::-webkit-scrollbar {
  height: 8px;
}
.gallery-grid::-webkit-scrollbar-track {
  background: var(--line);
  border-radius: var(--radius-pill);
}
.gallery-grid::-webkit-scrollbar-thumb {
  background: var(--flame-grad-45);
  border-radius: var(--radius-pill);
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--smoke);
}
.gallery-grid figure.g-tall {
  grid-row: span 2;
}
.gallery-grid figure.g-wide {
  grid-column: span 2;
}
.gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.gallery-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 20, 20, 0.35), transparent 55%);
  opacity: 0;
  transition: opacity var(--dur-base);
}
.gallery-grid figure:hover img {
  transform: scale(1.05);
}
.gallery-grid figure:hover::after {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 10, 10, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.is-open {
  display: flex;
}
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.lightbox__btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox__btn:hover {
  background: var(--signal-red);
  border-color: var(--signal-red);
}
.lightbox__close {
  top: 22px;
  right: 22px;
}
.lightbox__prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

/* ----------------------------- Contact ---------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 3vw, 36px);
}
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 40px 0;
}
.form-success__badge {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: var(--flame-grad-45);
  color: #fff;
  display: grid;
  place-items: center;
}
.form-success h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--ink);
}
.form-success p {
  margin: 0;
  font-size: 15px;
  color: var(--steel);
  max-width: 360px;
}
.form {
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 1px;
  border-color: transparent;
}
.field--error input,
.field--error select,
.field--error textarea {
  border-color: var(--signal-red);
}
.field__err {
  color: var(--signal-red-strong);
  font-size: var(--fs-caption);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: var(--fs-body-sm);
}
.alert--ok {
  background: #eafbef;
  border: 1px solid #b6e9c6;
  color: #1c7a3e;
}
.alert--err {
  background: #fdecec;
  border: 1px solid #f6c3c5;
  color: var(--signal-red-strong);
}
/* Contact info column (light) */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
}
.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-box {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--smoke);
  color: var(--signal-red);
  display: grid;
  place-items: center;
}
.info-row__label {
  display: block;
  font-family: var(--font-label);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel-2);
}
.info-row__value {
  display: block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
a.info-row__value:hover {
  color: var(--signal-red);
}
.wa-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--charcoal);
  color: #fff;
}
.wa-strip:hover {
  color: #fff;
  background: #000;
}
.wa-strip svg {
  color: #25d366;
  flex-shrink: 0;
}
.wa-strip span {
  font-family: var(--font-label);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.std-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge-std--light {
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--line);
  padding: 7px 13px;
  font-size: 12.5px;
}

/* ----------------------------- Footer ----------------------------------- */
.site-footer {
  background: var(--ink);
  color: #d3d5da;
  font-size: var(--fs-body-sm);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 80px);
}
.footer-brand img {
  height: 54px;
  width: auto;
  margin-bottom: 12px;
}
.footer-wordmark {
  display: block;
  font-family: var(--font-heavy);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 12px;
}
.footer h4 {
  color: var(--flame-orange);
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 16px;
}
.footer-credit {
  color: var(--flame-orange);
  font-weight: 600;
}
.footer-credit:hover {
  color: #fff;
}
.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-links a {
  color: #b6b9bf;
}
.footer-links a:hover {
  color: var(--flame-orange);
}
.footer-contact {
  display: grid;
  gap: 10px;
}
.footer-contact a {
  color: #d3d5da;
}
.footer-std {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.footer-std span {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  color: #9ca0a8;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #b6b9bf;
}
.footer-social a:hover {
  background: var(--flame-grad-45);
  border-color: transparent;
  color: #fff;
}
.footer-social svg {
  width: 18px;
  height: 18px;
}
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #8b8f97;
  font-size: var(--fs-caption);
}

/* ----------------------------- Floating actions ------------------------- */
.floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-fast) var(--ease-out);
}
.floating a:hover {
  transform: scale(1.08);
}
.floating__wa {
  background: #25d366;
}
.floating__call {
  background: var(--signal-red);
}
.floating svg {
  width: 26px;
  height: 26px;
}

/* ----------------------------- 404 -------------------------------------- */
.notfound {
  text-align: center;
  padding-block: clamp(72px, 12vw, 160px);
}
.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 14rem);
  line-height: 1;
  background: var(--flame-grad-45);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----------------------------- Scroll reveal ---------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ----------------------------- Utilities -------------------------------- */
.stack-sm > * + * {
  margin-top: 14px;
}
.mt-3 {
  margin-top: 24px;
}
.mt-4 {
  margin-top: 32px;
}
.text-center {
  text-align: center;
}
.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;
}

/* ----------------------------- Responsive ------------------------------- */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    height: clamp(460px, 66vh, 620px);
  }
}
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    gap: 2px;
    transform: translateY(-120%);
    transition: transform var(--dur-base) var(--ease-out);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .primary-nav.is-open {
    transform: translateY(0);
  }
  .primary-nav a {
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }
  .primary-nav a:hover {
    background: var(--smoke);
  }
  .primary-nav a::after {
    display: none;
  }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    margin-left: 12px;
    padding: 0;
    min-width: 0;
  }
  .header-cta .btn:not(.nav-toggle) {
    display: none;
  }
  .split,
  .contact-grid,
  .vm-grid,
  .leader-feature,
  .service-row,
  .md-message {
    grid-template-columns: 1fr;
  }
  .md-message__media {
    max-width: 360px;
  }
  .service-row {
    gap: 20px;
  }
  .leader-feature__photo {
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 560px) {
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    height: clamp(440px, 70vh, 560px);
    grid-auto-columns: 72vw;
  }
  .gallery-grid figure.g-wide {
    grid-column: span 1;
  }
  .service-row__list {
    grid-template-columns: 1fr;
  }
  .hero__actions .btn {
    width: 100%;
  }
}

/* ----------------------------- Reduced motion --------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
