/* ============================================
   CEDAR STEEL — HOME PAGE
   Design tokens from Figma
   ============================================ */

/* ============ ROOBERT TRIAL (brand font) ============ */
@font-face { font-family: 'Roobert'; src: url('../assets/fonts/Roobert-Light.otf') format('opentype');     font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roobert'; src: url('../assets/fonts/Roobert-Regular.otf') format('opentype');   font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roobert'; src: url('../assets/fonts/Roobert-Medium.otf') format('opentype');    font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roobert'; src: url('../assets/fonts/Roobert-SemiBold.otf') format('opentype');  font-weight: 650; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roobert'; src: url('../assets/fonts/Roobert-Bold.otf') format('opentype');      font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roobert'; src: url('../assets/fonts/Roobert-Heavy.otf') format('opentype');     font-weight: 900; font-style: normal; font-display: swap; }

@font-face { font-family: 'Roobert SemiMono'; src: url('../assets/fonts/RoobertSemiMono-Light.otf') format('opentype');    font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roobert SemiMono'; src: url('../assets/fonts/RoobertSemiMono-Regular.otf') format('opentype');  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roobert SemiMono'; src: url('../assets/fonts/RoobertSemiMono-Medium.otf') format('opentype');   font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roobert SemiMono'; src: url('../assets/fonts/RoobertSemiMono-SemiBold.otf') format('opentype'); font-weight: 650; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roobert SemiMono'; src: url('../assets/fonts/RoobertSemiMono-Bold.otf') format('opentype');     font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roobert SemiMono'; src: url('../assets/fonts/RoobertSemiMono-Heavy.otf') format('opentype');    font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --bg: #0c0d0f;
  --bg-card: #1d1e20;
  --bg-light: #ffffff;
  --bg-gray-tile: #d9d9d9;
  --red: #ef4429;
  --red-accent: #e24127;
  --line: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --text-soft: rgba(255, 255, 255, 0.76);
  --text-faint: rgba(255, 255, 255, 0.4);
  --text-eyebrow: #898989;
  --text-dim-display: #383736;
  --container: 1600px;
  --container-narrow: 1360px;
  --header-h: 107px;
  --font: 'Roobert';
  --font-mono: 'Roobert SemiMono';
  --card-shadow: 0 4px 4px 0 #e24127;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: var(--text);
}

p { font-feature-settings: 'ss01'; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 48px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 48px; }

/* mono label utility */
.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.4;
}
.mono-eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  /* color: var(--text-eyebrow); */
  color: white;
}

/* ============ BUTTONS (pill) ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 64px;
  padding: 0 32px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  color: var(--text);
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #d93820; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1px solid transparent;
  position: relative;
  color: var(--text);
  isolation: isolate;
}
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.25) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  transition: background 0.2s ease;
}
.btn-outline:hover {
  transform: translateY(-1px);
}
.btn-outline:hover::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.5) 100%);
}
.btn-lg { height: 70px; padding: 0 36px; font-size: 16px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  padding: 23px 0 20px;
  transition: padding 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.is-shrunk {
  padding: 10px 0 8px;
  background: rgba(12, 13, 15, 0.78);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .brand-logo,
.site-header .brand-tagline {
  transition: max-width 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, max-height 0.35s ease;
}
.site-header.is-shrunk .brand-logo { max-width: 180px; }
.site-header.is-shrunk .brand-tagline { opacity: 0; max-height: 0; overflow: hidden; pointer-events: none; }
.site-header.is-shrunk .btn {
  height: 52px;
  padding: 0 22px;
  font-size: 13px;
  transition: height 0.3s ease, padding 0.3s ease, font-size 0.3s ease;
}
.site-header.is-shrunk .menu-toggle { width: 52px; height: 52px; transition: width 0.3s ease, height 0.3s ease; }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 320px;
}
.brand-logo { width: 100%; max-width: 280px; }
.brand-tagline {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-muted);
  text-align: right;
  margin-top: 6px;
}

.header-cta { display: flex; gap: 19px; align-items: center; }
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  margin-left: 4px;
  flex-direction: column;
  gap: 5px;
  position: relative;
  isolation: isolate;
  transition: transform 0.2s ease;
}
.menu-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.25) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  transition: background 0.2s ease;
}
.menu-toggle:hover {
  transform: translateY(-1px);
}
.menu-toggle:hover::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.5) 100%);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  margin: 0;
  transition: 0.3s;
}
.menu-icon {
  width: 48px;
  height: 34px;
  display: flex;
  align-items: center;
}

/* ============ HERO ============ */
.hero {
  padding: 100px 0 120px;
  position: relative;
}
.hero-eyebrow-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 39px;
  flex-wrap: wrap;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 20px;
  color: var(--text);
  line-height: 1.4;
}
.hero-eyebrow .accent { color: var(--red-accent); }
.hero-intro {
  max-width: 387px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
}
.hero-title {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 650;
  line-height: 0.86;
  letter-spacing: -0.025em;
  text-align: right;
  margin-bottom: 64px;
}
.hero-tiles {
  display: grid;
  grid-template-columns: 1.31fr 1fr 1.3fr;
  gap: 16px;
  perspective: 1200px;
}
.hero-tile {
  height: clamp(360px, 36vw, 580px);
  background: var(--bg-gray-tile);
  overflow: hidden;
  clip-path: inset(38% 0 38% 0 round 8px);
  transform: translateY(40px);
  opacity: 0;
  transition: clip-path 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
  will-change: clip-path, transform;
}
.hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-tile.is-revealed {
  clip-path: inset(0 0 0 0 round 8px);
  transform: translateY(0);
  opacity: 1;
}
.hero-tile.is-revealed img { transform: scale(1); }
.hero-tile:nth-child(1) { transition-delay: 0s; }
.hero-tile:nth-child(2) { transition-delay: 0.12s; }
.hero-tile:nth-child(3) { transition-delay: 0.24s; }

/* Hover: image expands slightly and a film-grain overlay fades in */
.hero-tile { position: relative; cursor: pointer; }
.hero-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 2;
}
.hero-tile.is-revealed:hover img { transform: scale(1.06); transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.hero-tile.is-revealed:hover::after { opacity: 0.4; }

@media (prefers-reduced-motion: reduce) {
  .hero-tile { clip-path: none; transform: none; opacity: 1; transition: none; }
  .hero-tile img { transform: none; transition: none; }
}

/* ============ STATS ============ */
.stats {
  padding: 120px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  align-items: end;
  justify-items: start;
}
.stats-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 44px; }
.stats-grid--4 .stat:nth-child(3) { grid-column: auto; }
.stat {
  max-width: 371px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
  cursor: default;
}
.stat:hover {
  opacity: 1;
  animation: none !important;
}
.stat.faded { opacity: 0.4; }

@keyframes statSequencePulse {
  0%   { opacity: 0.4; }
  20%  { opacity: 1; }
  60%  { opacity: 1; }
  100% { opacity: 0.4; }
}
.stats-grid .stat:nth-child(1) { animation: statSequencePulse 900ms 300ms ease both; }
.stats-grid .stat:nth-child(2) { animation: statSequencePulse 900ms 1000ms ease both; }
.stats-grid .stat:nth-child(3) { animation: statSequencePulse 900ms 1700ms ease both; }
.stats-grid--4 .stat:nth-child(4) { animation: statSequencePulse 900ms 2400ms ease both; }

@media (prefers-reduced-motion: reduce) {
  .stats-grid .stat { animation: none !important; opacity: 0.4 !important; }
}
.stat-number {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff 0%, #999 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.12;
  padding-bottom: 0.12em;
  display: inline-block;
}
.stat-number.row { background: linear-gradient(90deg, #fff 0%, #999 100%); -webkit-background-clip: text; background-clip: text; }
/* Four-up stats sit in narrower columns — trim the number size so each stays on two lines */
.stats-grid--4 .stat-number { font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.stat-label {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.51em;
  text-transform: uppercase;
  margin-top: 16px;
  color: var(--text);
  line-height: 1.3;
}
.stat.accent .stat-label { color: var(--red-accent); }

/* ============ TRUSTED PARTNER (white section) ============ */
.trusted-partner {
  background: var(--bg);
  color: var(--text);
  border-radius: 0;
  min-height: 100vh;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.pillar-sticky {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  background: url('../assets/images/trusted-partner-bg.jpg') center/cover no-repeat;
}
.pillar-sticky > .container {
  width: 100%;
}
.pillar-frame {
  position: relative;
  min-height: 60vh;
}
.pillar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
  pointer-events: none;
  will-change: opacity;
  transform: translateZ(0);
}
.pillar.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.4s ease, visibility 0s linear;
}
.pillar-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}
.pillar-title {
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 650;
  color: var(--text);
  margin: 0;
}

/* Heading slides up + fades, body fades */
.pillar .pillar-num,
.pillar .pillar-title {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.pillar .sub,
.pillar .right-copy {
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: opacity;
}
.pillar.is-active .pillar-num { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.05s; }
.pillar.is-active .pillar-title { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.12s; }
.pillar.is-active .sub { opacity: 1; transition-delay: 0.2s; }
.pillar.is-active .right-copy { opacity: 1; transition-delay: 0.28s; }

/* Reveal-on-scroll utility (fade-up) */
[data-reveal-fade] {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal-fade].is-revealed {
  opacity: 1;
  transform: none;
}
[data-reveal-fade][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal-fade][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal-fade][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal-fade][data-delay="4"] { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal-fade] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Loader / progress + up-next preview */
.pillar-hud {
  position: absolute;
  bottom: 56px;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 3;
}
.pillar-hud > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.pillar-progress {
  display: flex;
  gap: 10px;
  flex: 0 0 240px;
  pointer-events: auto;
}
.pillar-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}
.pillar-bar .fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red-accent);
  transform: scaleX(0);
  transform-origin: left center;
}
.pillar-next {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: auto;
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: right;
}
.pillar-next-nav {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 6px;
}
.pillar-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.pillar-nav-btn:hover,
.pillar-nav-btn:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}
.pillar-next .label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.pillar-next .title {
  font-family: var(--font);
  font-weight: 650;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
  transition: opacity 0.35s ease;
}
.pillar-next.is-final {
  opacity: 0;
  transform: translateY(6px);
}

@media (prefers-reduced-motion: reduce) {
  .pillar .pillar-num,
  .pillar .pillar-title,
  .pillar .sub,
  .pillar .right-copy {
    transition: none !important;
  }
  .pillar.is-active .pillar-num,
  .pillar.is-active .pillar-title { transform: none; }
}
.pillar .sub {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.5;
  max-width: 700px;
  margin: 0;
}
.pillar .right-copy {
  text-align: right;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  max-width: 420px;
  align-self: flex-end;
  margin: 16px 0 0;
}

/* ============ WHO WE ARE ============ */
.who {
  padding: 180px 0;
}
.who-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 94px;
  align-items: center;
}
.who-left { display: flex; flex-direction: column; gap: 56px; }
.who-eyebrow {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-eyebrow);
}
.who-image {
  background: url('../assets/images/who-hero.png') center / contain no-repeat var(--bg-light);
  aspect-ratio: 1140 / 1347;
  width: 100%;
  height: auto;
}
/* Leadership / GM section */
.leadership {
  padding: 140px 0;
  border-top: 1px solid var(--line);
}
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 80px;
  align-items: center;
}
.leadership-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.leadership-grid--solo { grid-template-columns: 1fr; max-width: 820px; }
.leadership-body { display: flex; flex-direction: column; gap: 18px; }
.leadership-name {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 650;
}
.leadership-role {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 15px;
  color: var(--red-accent);
}
.leadership-bio p {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}
.leadership-bio p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .leadership { padding: 80px 0; }
  .leadership-grid { grid-template-columns: 1fr; gap: 40px; }
  .leadership-photo { max-width: 420px; order: -1; }
}
.who-ctas { display: flex; gap: 16px; flex-wrap: nowrap; align-items: stretch; }
.who-ctas .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; }
.btn-with-icon { display: inline-flex; align-items: center; gap: 10px; }
.btn-with-icon svg { flex: 0 0 auto; }
.who-right { display: flex; flex-direction: column; gap: 32px; }
.who-title {
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.who-body {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 400;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.75);
}
.who-callout {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.55;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.7);
}
.who-callout .accent { color: var(--red-accent); }

/* ============ BIG DIM HEADING ============ */
.dim-heading {
  padding: 80px 0 120px;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.dim-heading .first { font-family: var(--font-mono); font-weight: 500; }
.dim-heading .dim { color: var(--text-dim-display); }

/* ============ FEATURE CARD (dark with red glow) ============ */
.feature-card {
  background: var(--bg);
  padding: 55px;
  display: flex;
  flex-direction: column;
  gap: 80px;
  min-height: 420px;
}
.feature-card-head { display: flex; flex-direction: column; gap: 14px; }
.feature-card .num-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 18px;
  color: var(--text);
}
.feature-card .num-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.feature-card .arrow-icon {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-size: 1.1em;
  transition: transform 0.25s ease;
}
.feature-card h3 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-weight: 650;
  color: var(--text);
}
.feature-card .body-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-top: auto;
}
.feature-card .icon-block {
  width: 72px;
  height: 72px;
  background: none;
  color: var(--red-accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card .icon-block svg { width: 100%; height: 100%; display: block; }
.feature-card .body-text {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.feature-card-head .icon-block {
  margin-top: 12px;
}

/* fab service cards — scroll-driven horizontal sweep */
.fabrication-section {
  position: relative;
  height: calc(100vh + var(--fab-overflow, 2200px));
  padding: 0 0 60px;
}
.fab-sticky {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  z-index: 1;
}
.fab-sticky::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 55% at 0% 100%, rgba(239, 68, 41, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(20, 70, 110, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(200, 90, 40, 0.08) 0%, transparent 70%);
  background-size: 220% 220%, 220% 220%, 260% 260%;
  background-position: 0% 100%, 100% 0%, 50% 50%;
  animation: fabGradientDrift 22s ease-in-out infinite;
  pointer-events: none;
}
@keyframes fabGradientDrift {
  0%, 100% { background-position: 0% 100%, 100% 0%, 50% 50%; }
  33%      { background-position: 60% 50%, 30% 60%, 80% 20%; }
  66%      { background-position: 100% 30%, 0% 100%, 20% 80%; }
}
@media (prefers-reduced-motion: reduce) {
  .fab-sticky::before { animation: none; }
}
.fab-heading-wrap {
  position: relative;
  z-index: 2;
  padding: 70px 0 50px;
  flex-shrink: 0;
}
.fab-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.fab-heading-wrap .dim-heading {
  padding: 0;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  line-height: 1;
  margin: 0;
}
.fab-nav { display: flex; gap: 12px; flex-shrink: 0; }
.fab-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.25s ease;
}
.fab-nav-btn svg { width: 18px; height: 18px; display: block; }
.fab-nav-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.fab-nav-btn:active { transform: scale(0.94); }
.fab-nav-btn[disabled] { opacity: 0.3; cursor: default; }
.fab-nav-btn[disabled]:hover { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.4); }

.fab-cards-viewport {
  position: relative;
  z-index: 2;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-bottom: 40px;
  min-height: 0;
}
.fab-cards-track {
  display: flex;
  gap: 28px;
  /* --fab-vw is the scrollbar-free viewport width, set by main.js (100vw
     includes the scrollbar, which would throw the tiling off by ~15px) */
  padding: 0 max(48px, calc((var(--fab-vw, 100vw) - 1600px) / 2));
  width: max-content;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.fab-cards-track .feature-card {
  /* Two cards tile the space between the side paddings exactly, so the
     step-quantised pan always shows whole cards — no cropped edges. */
  flex: 0 0 calc((min(var(--fab-vw, 100vw) - 96px, 1600px) - 28px) / 2);
  min-height: 380px;
  gap: 60px;
}
@media (min-width: 1024px) {
  /* Clip at the padding boundary so the next card can't peek in as a sliver */
  .fab-cards-viewport { clip-path: inset(0 max(48px, (var(--fab-vw, 100vw) - 1600px) / 2)); }
}
.fab-cards-track .feature-card {
  transition: background 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  cursor: pointer;
  position: relative;
}
.fab-cards-track .feature-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--red-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.fab-cards-track .feature-card:hover {
  background: #15191f;
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.fab-cards-track .feature-card:hover::after { transform: scaleX(1); }
.fab-cards-track .feature-card:hover .icon-block { color: var(--red-accent); }
.fab-cards-track .feature-card .icon-block { transition: color 0.3s ease; }
.fab-cards-track .feature-card {
  padding-bottom: 96px;
}
.fab-cards-track .num-link {
  color: var(--text);
  transition: color 0.2s ease, transform 0.25s ease;
  position: absolute;
  right: 32px;
  bottom: 32px;
}
.fab-cards-track .num-link:hover {
  color: var(--red-accent);
}
.fab-cards-track .num-link:hover .arrow-icon {
  transform: translateX(4px);
}

@media (max-width: 1023px) {
  /* Fallback: native horizontal scroll on narrow viewports — scrollbar hidden */
  .fabrication-section { height: auto; padding-bottom: 60px; }
  .fab-sticky { position: static; height: auto; }
  .fab-cards-viewport { overflow-x: auto; overflow-y: hidden; padding-bottom: 0; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scroll-padding-left: 20px; scrollbar-width: none; -ms-overflow-style: none; }
  .fab-cards-viewport::-webkit-scrollbar { display: none; height: 0; }
  .fab-cards-track { transform: none !important; }
  .fab-cards-track .feature-card { scroll-snap-align: start; }
}

/* ============ ROBOTIC (white) ============ */
.robotic {
  background: var(--bg-light);
  color: var(--bg);
  padding: 180px 0 180px;
}
.robotic .lead-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.robotic .lead-row.video-thumb {
  position: relative;
  overflow: hidden;
  padding: 80px 72px;
  min-height: 520px;
  background:
    linear-gradient(125deg, rgba(12, 13, 15, 0.55) 0%, rgba(12, 13, 15, 0.8) 100%),
    url('../assets/images/robotic-precision-poster.jpg') center/cover no-repeat;
  color: var(--text);
  align-items: stretch;
  cursor: pointer;
  isolation: isolate;
}
.robotic .lead-row.video-thumb .lead-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 760px;
  gap: 24px;
}
.robotic .lead-row.video-thumb .lead-cta {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
  align-self: flex-start;
}
.robotic .lead-row.video-thumb .eyebrow-row { color: rgba(255, 255, 255, 0.78); margin-bottom: 24px; }
.robotic .lead-row.video-thumb .lead-title { color: var(--text); margin-bottom: 28px; }
.robotic .lead-row.video-thumb .lead-body { color: rgba(255, 255, 255, 0.75); }
/* Click-to-play video: transparent behind the content until Play, then covers it */
.robotic .lead-row.video-thumb .robotic-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.robotic .lead-row.video-thumb .lead-left {
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.robotic .lead-row.video-thumb.is-playing .robotic-video {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}
.robotic .lead-row.video-thumb.is-playing .lead-left,
.robotic .lead-row.video-thumb.is-playing .play-trigger {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.robotic .lead-row.video-thumb.is-playing { cursor: default; }
.play-trigger {
  position: absolute;
  top: 36px;
  right: 36px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.play-label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.play-trigger:hover .play-label { color: var(--red-accent); }
.play-button {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
  box-shadow: 0 0 0 0 rgba(239, 68, 41, 0.6);
}
.play-button:hover {
  transform: scale(1.08);
  background: #d93820;
  box-shadow: 0 0 0 10px rgba(239, 68, 41, 0.15);
}
.play-button svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
  fill: var(--text);
  display: block;
}
.robotic .lead-left { max-width: 820px; }
.robotic .eyebrow-row {
  font-size: 18px;
  font-weight: 650;
  color: var(--bg);
  margin-bottom: 32px;
}
.robotic .lead-title {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 650;
  color: var(--bg);
  margin-bottom: 32px;
}
.robotic .lead-body {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  max-width: 700px;
  color: rgba(12, 13, 15, 0.7);
}
.robotic .features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

/* Expandable feature cards — colored card with logo, image placeholder and title */
.feature-card.feature-expandable {
  --card-bg: #141b21;
  background: var(--card-bg);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
}
.feature-card.feature-expandable[data-color="red"]  { --card-bg: #e24127; }
.feature-card.feature-expandable[data-color="blue"] { --card-bg: #291ebd; }
.feature-card.feature-expandable[data-color="dark"] { --card-bg: #141b21; }
.feature-card.feature-expandable[data-color="gray"] { --card-bg: #363b41; }

.feature-trigger {
  background: none;
  border: none;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  aspect-ratio: 341 / 408;
  position: relative;
}
.feature-trigger::after {
  content: '';
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  color: #fff;
  opacity: 0.5;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  pointer-events: none;
}
.feature-card.feature-expandable[data-open] .feature-trigger::after {
  transform: rotate(45deg);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat,
    rgba(255, 255, 255, 0.15);
  border-color: #fff;
  opacity: 1;
}
.feature-trigger:hover::after { border-color: #fff; opacity: 1; }
.feature-trigger .feature-logo {
  position: absolute;
  top: 24px;
  left: 24px;
  display: block;
  width: 32px;
  height: auto;
  color: #fff;
  opacity: 0.5;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
}
.feature-trigger:hover .feature-logo { opacity: 1; }
.feature-trigger .feature-logo svg { width: 100%; height: auto; display: block; }
.feature-trigger .feature-image {
  flex: 1;
  display: block;
  background: #d9d9d9 center / cover no-repeat;
  min-height: 0;
  -webkit-mask: url('../assets/images/image-cutout.svg') center / 100% 100% no-repeat;
          mask: url('../assets/images/image-cutout.svg') center / 100% 100% no-repeat;
  transition: filter 0.3s ease;
}
.feature-card.feature-expandable[data-color="red"]  .feature-image { background-image: url('../assets/images/hero-tile-2.jpg'); }
.feature-card.feature-expandable[data-color="blue"] .feature-image { background-image: url('../assets/images/hero-tile-1.jpg'); }
.feature-card.feature-expandable[data-color="dark"] .feature-image { background-image: url('../assets/images/footer-steel.jpg'); }
.feature-card.feature-expandable[data-color="gray"] .feature-image { background-image: url('../assets/images/x-calibre-coping-machine.jpg'); }
.feature-trigger:hover .feature-image { filter: brightness(1.05); }
.feature-trigger .feature-title {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
  max-width: 80%;
}
.feature-trigger:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

.feature-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-body > .body-text {
  margin: 0;
  padding: 0 24px 24px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}
.feature-card.feature-expandable[data-open] .feature-body {
  max-height: 400px !important;
}

/* ============ END-TO-END (white centered) ============ */
.end-to-end { border-top: 1px solid rgba(12, 13, 15, 0.12); }
.end-to-end {
  background: var(--bg-light);
  color: var(--bg);
  padding: 180px 0 180px;
}
.end-to-end .center {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 80px;
}
.end-to-end .eyebrow { font-size: 18px; font-weight: 650; color: var(--bg); }
.end-to-end h2 {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 650;
  color: var(--bg);
}
.end-to-end .body {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: rgba(12, 13, 15, 0.7);
}
.end-to-end .center { margin-bottom: 60px; }

.process-stack {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 80px;
  position: relative;
}
.process-tile {
  position: sticky;
  top: calc(var(--header-h, 96px) + 16px);
  width: 100%;
  height: 554px;
  margin-bottom: 24px;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--text);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 24px 60px rgba(12, 13, 15, 0.175);
}
.process-tile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.process-tile::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background: linear-gradient(to bottom, rgba(12, 13, 15, 0) 0%, rgba(12, 13, 15, 0.5) 45%, rgba(12, 13, 15, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}
.process-tile::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 682 / 719;
  max-height: 85%;
  background: url('../assets/images/square-graphic.svg') right bottom / contain no-repeat;
  transform: translateX(102%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
  pointer-events: none;
}
.process-tile:hover::before { transform: translateX(0); }
.process-tile-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.process-tile .num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--red-accent);
  display: inline-block;
  align-self: flex-start;
  padding: 6px 12px;
  text-transform: uppercase;
}
.process-tile .name {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0;
}
.process-tile .desc {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

/* ============ PROJECTS (white) ============ */
.projects {
  background: var(--bg-light);
  color: var(--bg);
  padding: 180px 0 180px;
}
.projects .lead-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.projects .lead-left { max-width: 820px; }
.projects .eyebrow { font-size: 18px; font-weight: 650; color: var(--bg); margin-bottom: 24px; }
.projects .lead-title {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 650;
  color: var(--bg);
}
.project-row {
  display: grid;
  gap: 27px;
  margin-bottom: 27px;
}
.project-row.wide-left { grid-template-columns: 1.67fr 1fr; }
.project-row.wide-right { grid-template-columns: 1fr 1.67fr; }
.project-row.full { grid-template-columns: 1fr; }
.project-row { transition: grid-template-columns 0.55s cubic-bezier(0.4, 0, 0.2, 1); }
.project-row.wide-left:has(.project-tile:nth-child(1):hover),
.project-row.wide-right:has(.project-tile:nth-child(1):hover) { grid-template-columns: 2.6fr 0.6fr; }
.project-row.wide-left:has(.project-tile:nth-child(2):hover),
.project-row.wide-right:has(.project-tile:nth-child(2):hover) { grid-template-columns: 0.6fr 2.6fr; }
.project-tile {
  background: var(--bg-card);
  min-height: 580px;
  padding: clamp(40px, 4vw, 80px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition: box-shadow 0.4s ease;
}
/* Caption fades out on the tile that collapses during a sibling hover, so the
   slim "peek" column stays clean instead of clipping its text mid-word. */
.project-tile > div {
  transition: opacity 0.35s ease, transform 0.35s ease;
  min-width: 0;
}
.project-row.wide-left:has(.project-tile:nth-child(1):hover) .project-tile:nth-child(2) > div,
.project-row.wide-right:has(.project-tile:nth-child(1):hover) .project-tile:nth-child(2) > div,
.project-row.wide-left:has(.project-tile:nth-child(2):hover) .project-tile:nth-child(1) > div,
.project-row.wide-right:has(.project-tile:nth-child(2):hover) .project-tile:nth-child(1) > div {
  opacity: 0;
  transform: translateY(10px);
  white-space: nowrap;
}
.project-tile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.project-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 13, 15, 0.25) 0%, rgba(12, 13, 15, 0.55) 50%, rgba(12, 13, 15, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
  transition: background 0.4s ease;
}
.project-tile > span,
.project-tile > div { position: relative; z-index: 2; }
.project-tile:hover .project-tile-bg { transform: scale(1.06); }
.project-tile:hover::after {
  background: linear-gradient(to bottom, rgba(12, 13, 15, 0.5) 0%, rgba(12, 13, 15, 0.75) 50%, rgba(12, 13, 15, 0.97) 100%);
}
.project-tile:hover {
  box-shadow: inset 0 -4px 0 var(--red-accent);
}
.project-tile .project-num {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
  display: block;
}
.project-tile h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 650;
  margin-bottom: 14px;
  color: var(--text);
}
.project-tile .desc {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  max-width: 650px;
}
.projects-nav { display: none; }

/* ============ SECTORS ============ */
.sectors {
  padding: 160px 0 200px;
}
.sectors h2 {
  text-align: center;
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin-bottom: 80px;
}
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 38px;
  max-width: 1046px;
  margin: 0 auto;
}
.sector-card {
  background: var(--bg);
  padding: 55px;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.sector-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.sector-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 13, 15, 0.15) 0%, rgba(12, 13, 15, 0.55) 50%, rgba(12, 13, 15, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
  transition: background 0.4s ease;
}
.sector-card > h3,
.sector-card > p,
.sector-card > a { position: relative; z-index: 2; }
.sector-card:hover .sector-card-bg { transform: scale(1.08); }
.sector-card:hover::after {
  background: linear-gradient(to bottom, rgba(12, 13, 15, 0.45) 0%, rgba(12, 13, 15, 0.78) 50%, rgba(12, 13, 15, 0.98) 100%);
}
.sector-card:nth-child(2) { transform: translateY(60px); }
.sector-card:nth-child(4) { transform: translateY(60px); }
.sector-card:hover { transform: translateY(-4px); }
.sector-card:nth-child(2):hover { transform: translateY(56px); }
.sector-card:nth-child(4):hover { transform: translateY(56px); }
.sector-card h3 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--text);
}
.sector-card .desc {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}
.sector-card .view {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 17px;
  color: var(--red-accent);
  letter-spacing: 0.02em;
}

/* ============ CONFIDENCE (dark hero band) ============ */
.confidence {
  padding: 140px 0 160px;
}
.confidence-banner {
  background: #0045b4;
  padding: 100px 100px;
  color: #fff;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 560px;
}
.confidence-banner h2 { margin-top: auto; }
.confidence-pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 38%;
  z-index: 0;
  overflow: hidden;
}
.confidence-pattern svg {
  position: absolute;
  right: 0;
  top: 50%;
  height: 110%;
  width: auto;
  transform: translateY(-50%);
}
.confidence-pattern .chev {
  transform-origin: center;
  transform-box: fill-box;
  cursor: pointer;
  pointer-events: auto;
  transition: filter 0.25s ease;
}
.confidence-pattern .chev path {
  transition: fill 0.25s ease, fill-opacity 0.25s ease;
}
.confidence-pattern .chev:hover path {
  fill: #ffffff;
  fill-opacity: 1;
}
.confidence-pattern .chev.flipping {
  animation: chev-flip 0.7s cubic-bezier(0.55, 0, 0.45, 1);
}
@keyframes chev-flip {
  0%   { transform: scaleX(1); }
  50%  { transform: scaleX(0.08); }
  100% { transform: scaleX(1); }
}
.confidence-banner > *:not(.confidence-pattern) { position: relative; z-index: 1; }
.confidence-banner .eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 28px;
  max-width: 720px;
}
.confidence-banner h2 {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 720px;
  margin-bottom: 32px;
}
.confidence-banner .body {
  font-family: var(--font);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
}
.confidence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.confidence-tile {
  background: rgba(255, 255, 255, 0.07);
  padding: 48px 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.confidence-icon {
  width: 52px;
  height: 52px;
  color: var(--red-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.confidence-icon svg { width: 100%; height: 100%; display: block; }
.confidence-tile h4 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}
.confidence-tile p {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  padding: 120px 0 160px;
}
.testimonials .lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: end;
}
.testimonials h2 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 650;
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.testimonials .lead-body {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  max-width: 580px;
}
.quote-card {
  background: var(--bg-card) url('../assets/images/testimonial-bg.jpg') center/cover no-repeat;
  padding: 96px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.quote-card .quote-mark {
  position: absolute;
  top: 60px;
  right: 96px;
  font-size: 140px;
  line-height: 1;
  color: var(--red-accent);
  font-weight: 650;
}
.quote-card .quote-track {
  position: relative;
  min-height: 240px;
  margin-top: 80px;
  margin-bottom: 24px;
}
.quote-card .quote-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.quote-card .quote-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0s linear;
}
.quote-card .quote-body {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 650;
  line-height: 1.25;
  max-width: 720px;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.quote-card .quote-author {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
}
.quote-card .quote-dots {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}
.quote-card .quote-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease;
}
.quote-card .quote-dot:hover { background: rgba(255, 255, 255, 0.55); }
.quote-card .quote-dot.is-active {
  background: var(--text);
  width: 28px;
  border-radius: 999px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg);
  padding: 0;
  position: relative;
}
/* When the footer hero image is removed, add top spacing so the columns aren't tight to the top. */
.site-footer:not(:has(.footer-hero)) {
  padding-top: clamp(72px, 8vw, 120px);
}
.footer-hero {
  width: 100%;
  height: clamp(280px, 30vw, 600px);
  overflow: hidden;
  margin-bottom: 100px;
}
.footer-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px 40px;
  margin-bottom: 100px;
  align-items: start;
}
.footer-links .col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-links .col > span:first-child {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1;
}
.footer-links .col a,
.footer-links .col span {
  font-family: var(--font);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0;
  text-transform: none;
  transition: color 0.2s ease;
}
.footer-links .col a { padding: 3px 0; }
.footer-links .col a:hover { color: var(--text); }
.footer-links .col.contact {
  justify-self: start;
  max-width: none;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0 !important;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer-social-link:hover {
  color: #fff;
  border-color: var(--red-accent);
  background: var(--red-accent);
}
.footer-wordmark {
  width: 100%;
  margin: 60px 0 24px;
  padding: 0;
  position: relative;
}
.footer-wordmark img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.25s ease;
}
.footer-wordmark.is-morph-target img { opacity: 0; }

/* Logo morph clone — flies from header to footer wordmark as user scrolls */
.logo-morph-clone {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: auto;
  pointer-events: none;
  z-index: 99;
  opacity: 0;
  transform-origin: top left;
  will-change: transform, width, opacity;
  display: block;
}
.logo-morph-clone.is-active { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 24px 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font);
  font-weight: 300;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}
.footer-bottom a:hover {
  color: var(--text);
}

/* ============ NAV DRAWER ============ */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}
.nav-drawer.open { pointer-events: auto; visibility: visible; }
.nav-drawer .backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 13, 15, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-drawer.open .backdrop { opacity: 1; }
.nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(540px, 100%);
  background: var(--bg);
  border-left: 1px solid var(--line);
  padding: 36px 56px 56px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.nav-drawer.open .nav-panel { transform: translateX(0); }
.nav-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}
.nav-panel-head .mono-eyebrow { color: var(--text-eyebrow); margin: 0; }
.nav-close {
  background: none;
  border: 1px solid var(--text);
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.nav-close:hover { background: var(--text); color: var(--bg); }
.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}
.nav-list li {
  border-top: 1px solid var(--line);
}
.nav-list li:last-child { border-bottom: 1px solid var(--line); }
.nav-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  transition: color 0.2s, padding 0.2s;
}
.nav-list a .num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-eyebrow);
}
.nav-list a:hover { color: var(--red-accent); padding-left: 8px; }

/* ============ NAV MEGA MENU (Services) ============ */
.nav-mega-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: var(--text);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: left;
  transition: color 0.2s, padding 0.2s;
}
.nav-mega-trigger:hover { color: var(--red-accent); padding-left: 8px; }
.nav-mega-trigger .num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-eyebrow);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.nav-mega-trigger .num::after {
  content: '+';
  font-size: 22px;
  line-height: 1;
  color: var(--text);
  font-weight: 400;
  transition: color 0.2s;
}
.nav-mega-trigger[aria-expanded="true"] .num::after { content: '\2013'; }
.nav-mega {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-mega[data-open] { max-height: 680px; }
.nav-mega .nav-mega-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 15px 0 15px 18px;
  border-left: 2px solid var(--line);
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  transition: border-color 0.2s, padding 0.2s, color 0.2s;
}
.nav-mega .nav-mega-link:first-child { margin-top: 4px; }
.nav-mega .nav-mega-link:hover { color: var(--text); border-left-color: var(--red-accent); padding-left: 24px; }
.nav-mega .nav-mega-title {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.nav-mega .nav-mega-link:hover .nav-mega-title { color: var(--red-accent); }
.nav-mega .nav-mega-desc {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-muted);
}
.nav-mega .nav-mega-link[aria-current="page"] { border-left-color: var(--red-accent); }
.nav-mega .nav-mega-link[aria-current="page"] .nav-mega-title { color: var(--red-accent); }

/* ============ MOBILE STICKY CTA BAR ============ */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 160;
    background: #121315;
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.4);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .mobile-cta {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 11px 4px 12px;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
  }
  .mobile-cta + .mobile-cta { border-left: 1px solid var(--line); }
  .mobile-cta svg { display: block; }
  .mobile-cta:active { background: rgba(255, 255, 255, 0.06); }
  .mobile-cta-wa { color: #fff; }
  .mobile-cta-primary { background: var(--red-accent); color: #fff; }
  .mobile-cta-primary + .mobile-cta { border-left: none; }
  .mobile-cta-primary:active { background: #c9331d; }
  body { padding-bottom: 66px; }
}

.nav-panel-foot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nav-panel-foot a {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}
.nav-panel-foot a:hover { color: var(--red-accent); }

/* ============ PAGE HERO (with optional background image) ============ */
.page-hero {
  padding: 120px 0 140px;
  border-bottom: 1px solid var(--line);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--bg);
}
.page-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.95);
}
/* Dark gradient that fades from left edge & bottom edge into the next section */
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg) 0%, rgba(12, 13, 15, 0.92) 22%, rgba(12, 13, 15, 0.55) 55%, rgba(12, 13, 15, 0.2) 100%),
    linear-gradient(to top, var(--bg) 0%, rgba(12, 13, 15, 0.85) 18%, rgba(12, 13, 15, 0.35) 50%, rgba(12, 13, 15, 0) 80%);
  z-index: 1;
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero .eyebrow-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.page-hero .mono-eyebrow { margin: 0; }
.page-hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-weight: 650;
  margin-bottom: 32px;
}
.page-hero .lede {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 700px;
}

/* ============ CONTACT PAGE ============ */
.contact-section {
  padding: 120px 0 160px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-form-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 650;
  margin-bottom: 16px;
}
.contact-form-lede {
  font-family: var(--font);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 48px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-form .form-field { display: flex; flex-direction: column; gap: 10px; }
.contact-form .form-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font);
  font-size: 17px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 16px 18px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red-accent);
  background: rgba(255, 255, 255, 0.07);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .btn { align-self: flex-start; }
.contact-form .form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form .form-status {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  padding: 0;
  min-height: 1.5em;
  transition: color 0.25s ease;
}
.contact-form .form-status[data-state="ok"]    { color: #6ee7a4; }
.contact-form .form-status[data-state="err"]   { color: var(--red-accent); }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-details .contact-block { display: flex; flex-direction: column; gap: 8px; }
.contact-details .contact-link-lg {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.2s ease;
}
.contact-details .contact-link-lg:hover { color: var(--red-accent); }
.contact-details .contact-text {
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}
@media (max-width: 1023px) {
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 768px) {
  .contact-form .form-row { grid-template-columns: 1fr; gap: 24px; }
  .contact-details { padding: 32px; }
  .contact-section { padding: 80px 0 100px; }
}

/* ============ LEGAL PAGES (Privacy / Terms) ============ */
.legal-section { padding: 80px 0 160px; }
.legal-body { display: flex; flex-direction: column; gap: 8px; }
.legal-body h2 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: 48px 0 12px;
  line-height: 1.15;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 12px;
}
.legal-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 8px 0 20px;
}
.legal-body li {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  padding-left: 24px;
  position: relative;
}
.legal-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 12px;
  height: 1.5px;
  background: var(--red-accent);
}
.legal-body a {
  color: var(--red-accent);
  border-bottom: 1px solid rgba(226, 65, 39, 0.3);
  transition: border-color 0.2s ease;
}
.legal-body a:hover { border-bottom-color: var(--red-accent); }
.legal-body .legal-contact {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}
.legal-body .legal-contact strong { color: var(--text); font-weight: 650; }
@media (max-width: 768px) {
  .legal-section { padding: 60px 0 100px; }
  .legal-body h2 { margin: 36px 0 10px; }
}

.page-body { padding: 120px 0 160px; }
.page-body .placeholder {
  border: 1px dashed var(--line);
  padding: 80px 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.55);
}
.page-body .placeholder .mono-eyebrow { color: var(--red-accent); margin: 0; }
.page-body .placeholder h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  letter-spacing: -0.03em;
  font-weight: 650;
  color: var(--text);
}
.page-body .placeholder p { max-width: 700px; line-height: 1.6; font-size: 16px; }

/* ============ RESPONSIVE ============ */
/* ============ RESPONSIVE ============ */

/* Large desktop down (≤1280) — container side padding */
@media (max-width: 1280px) {
  .container, .container-narrow { padding: 0 32px; }
}

/* Tablet (≤1023px) */
@media (max-width: 1023px) {
  .who-grid { grid-template-columns: minmax(0, 1fr); gap: 60px; }
  .who-right { padding-top: 0; }
  .who-image { height: auto; }
  .who-left, .who-right { min-width: 0; }
  .who-ctas .btn { min-width: 0; flex: 1 1 0; }
  .stats-grid { gap: 40px; grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { grid-column: 1 / -1; }
  .pillar .right-copy { text-align: left; align-self: flex-start; }
  .testimonials .lead { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-links .col.contact { justify-self: start; }
  .robotic .features-grid { grid-template-columns: repeat(2, 1fr); }
  .confidence-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: 1fr; max-width: 560px; }
  .sector-card { min-height: 460px; padding: 55px 55px 28px 28px; }
  .sector-card:nth-child(2), .sector-card:nth-child(4) { transform: none; }
  .sector-card:nth-child(2):hover, .sector-card:nth-child(4):hover { transform: translateY(-4px); }
  .robotic .lead-row, .projects .lead-row { flex-direction: column; align-items: flex-start; gap: 32px; }
  .project-row.wide-left, .project-row.wide-right { grid-template-columns: 1fr; }
  .project-tile { min-height: 460px; padding: 56px; }
  .confidence-banner { padding: 80px 56px; }
  .who { padding: 140px 0; }
  .robotic, .end-to-end, .projects { padding: 140px 0; }
  .sectors { padding: 120px 0 140px; }
  .confidence { padding: 100px 0 120px; }
  .testimonials { padding: 100px 0 140px; }
  .footer-wordmark img { max-height: 120px; object-fit: contain; object-position: left; }
}

/* Small tablet / large mobile (≤768px) */
@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 20px; }
  .site-header { padding: 14px 0; }
  .site-header .container { gap: 14px; }
  .brand-logo { max-width: 160px; }
  .brand-tagline { font-size: 10px; letter-spacing: 0.16em; }
  .header-cta { gap: 8px; }
  .header-cta .btn { display: none; }
  .menu-toggle { display: flex; width: 52px; height: 52px; margin-left: 0; }
  .hero { padding: 70px 0 80px; }
  .hero-eyebrow-row { flex-direction: column; gap: 24px; }
  .hero-eyebrow .accent { display: block; }
  .hero-intro { text-align: left; max-width: 100%; }
  .hero-title { text-align: left; margin-bottom: 36px; }
  .hero-tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-tile { height: clamp(220px, 44vw, 380px); }
  .hero-tile:nth-child(3) { grid-column: 1 / -1; }
  .stats { padding: 80px 0; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid .stat:nth-child(3) { grid-column: auto; }
  .trusted-partner { min-height: 100vh; height: 100vh; }
  .pillar-frame { min-height: 70vh; }
  .pillar { gap: 16px; }
  .pillar-num { font-size: 12px; letter-spacing: 0.18em; }
  .pillar-hud { bottom: 32px; }
  .pillar-hud > .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pillar-progress { flex: 0 0 auto; width: 100%; max-width: 200px; }
  .pillar-next .title { font-size: 16px; }
  .who { padding: 90px 0; }
  .who-grid { gap: 40px; }
  .who-right { gap: 32px; }
  .who-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .who-ctas .btn { width: 100%; flex: 0 0 auto; padding-left: 24px; padding-right: 24px; font-size: 14px; }
  .btn-with-icon { justify-content: center; }
  .btn-with-icon svg { width: 16px; height: 16px; }
  .robotic, .end-to-end, .projects { padding: 90px 0; }
  .sectors { padding: 80px 0 100px; }
  .confidence, .testimonials { padding: 80px 0 100px; }
  .robotic .features-grid, .confidence-grid, .sectors-grid { grid-template-columns: 1fr; max-width: none; }
  .robotic .lead-row.video-thumb { padding: 48px 28px; min-height: 420px; }
  .robotic .lead-row.video-thumb .lead-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .robotic .lead-row.video-thumb .lead-cta .btn { display: inline-flex; width: 100%; }
  .play-trigger { top: 24px; right: 24px; gap: 12px; }
  .play-button { width: 64px; height: 64px; }
  .play-button svg { width: 22px; height: 22px; }
  .play-label { display: none; }
  .feature-card { padding: 32px; min-height: 0; gap: 28px; }
  .feature-trigger { padding: 24px 24px 28px; }
  .feature-trigger .feature-title { padding-right: 48px; }
  .feature-trigger::after {
    width: 28px;
    height: 28px;
    bottom: 28px;
    right: 24px;
    top: auto;
  }
  .fab-heading-wrap .dim-heading { font-size: clamp(2rem, 8vw, 3rem); }
  .fab-cards-track .feature-card { flex-basis: min(85vw, 420px); min-height: 360px; }
  .fab-cards-track { padding: 0 20px; gap: 16px; }
  .process-stack { padding: 0 16px 48px; }
  .process-tile { height: auto; min-height: 380px; padding: 32px; top: 80px; margin-bottom: 14px; }
  .process-tile .desc { font-size: 15px; }
  .process-tile .name { font-size: 1.5rem; }
  .process-tile::after { height: 70%; }
  .projects-scroller {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .projects-scroller::-webkit-scrollbar { display: none; }
  .project-row { display: contents; }
  .project-tile {
    flex: 0 0 64%;
    scroll-snap-align: start;
    padding: 32px;
    min-height: 380px;
    margin-bottom: 0;
  }
  .project-tile .project-num { font-size: 2rem; }
  .project-tile h3 { font-size: 1.5rem; }
  .projects-nav {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
  }
  .projects-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(12, 13, 15, 0.2);
    background: transparent;
    color: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    padding: 0;
  }
  .projects-nav-btn:hover:not(:disabled),
  .projects-nav-btn:focus-visible:not(:disabled) {
    background: var(--bg);
    color: #fff;
    border-color: var(--bg);
  }
  .projects-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }
  .confidence-banner { padding: 28px 28px 56px; display: flex; flex-direction: column; }
  .confidence-pattern {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    margin: 0 0 32px;
    overflow: visible;
  }
  .confidence-pattern svg {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    height: auto;
    transform: none;
    display: block;
  }
  .confidence-banner h2 { font-size: clamp(2rem, 6vw, 3rem); }
  .confidence-tile { padding: 32px 28px; }
  .quote-card { padding: 48px 28px; min-height: 420px; }
  .quote-card .quote-track { margin-top: 52px; min-height: 280px; }
  .quote-card .quote-mark { right: 24px; top: 24px; font-size: 84px; }
  .quote-card .quote-body { font-size: 1.1rem; }
  .footer-hero { height: clamp(220px, 35vw, 360px); }
  .footer-links { grid-template-columns: 1fr; gap: 32px; margin-bottom: 48px; }
  .footer-links .col.contact { justify-self: start; max-width: none; }
  .footer-wordmark { margin: 32px 0 16px; }
  .footer-wordmark img { max-height: 80px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 20px 0 24px; gap: 8px; }
  .nav-panel { padding: 24px 24px 32px; width: 100%; }
  .nav-panel-head { margin-bottom: 48px; }
  .nav-list a { padding: 18px 0; font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .page-hero { padding: 70px 0 80px; }
  .page-hero .eyebrow-row { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  .page-body { padding: 70px 0 90px; }
  .page-body .placeholder { padding: 40px 24px; }
}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
  .brand-logo { max-width: 130px; }
  .brand-tagline { display: none; }
  .menu-toggle { width: 46px; height: 46px; }
  .hero { padding: 56px 0 64px; }
  .hero-tiles { grid-template-columns: 1fr; }
  .hero-tile:nth-child(3) { grid-column: auto; }
  .hero-tile { height: clamp(200px, 60vw, 320px); }
  .hero-eyebrow { font-size: 16px; }
  .hero-intro { font-size: 16px; }
  .stats { padding: 60px 0; }
  .stats-grid { gap: 24px; }
  .who { padding: 70px 0; }
  .robotic, .end-to-end, .projects { padding: 70px 0; }
  .sectors, .confidence, .testimonials { padding: 70px 0 80px; }
  .pillar-content { padding: 0 4px; }
  .feature-card { padding: 24px; }
  .process-tile { padding: 28px; min-height: 320px; }
  .project-tile { padding: 28px; min-height: 320px; }
  .quote-card { padding: 32px 20px; }
  .footer-wordmark img { max-height: 56px; }
  .footer-bottom { font-size: 12px; }
  .nav-list a { font-size: clamp(1.5rem, 8vw, 2.25rem); }
}

/* ============================================
   ADDITIONAL PAGE PATTERNS
   Used across About, Contact, Industries, Products, Projects
   ============================================ */

/* ============ CAPABILITY CARDS ============ */
.capability-section { padding: 140px 0 160px; }
.capability-head {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 72px;
  max-width: 920px;
}
.capability-title {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.capability-card {
  background: var(--bg-card);
  padding: 48px 40px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.35s ease;
}
.capability-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--red-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.capability-card:hover {
  transform: translateY(-4px);
  background: #232427;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.capability-card:hover::after { transform: scaleX(1); }
.capability-card .capability-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-accent);
  margin-bottom: 8px;
}
.capability-card h3 {
  font-size: clamp(1.4rem, 1.8vw, 1.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: 0;
}
.capability-card p {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin-top: auto;
}
.capability-card.capability-card-wide { grid-column: span 4; min-height: 200px; }
.capability-card.capability-card-wide h3 { font-size: clamp(1.75rem, 2.5vw, 2.5rem); }

/* ============ X-CALIBRE MACHINE SPOTLIGHT (Technology) ============ */
.xcal-spotlight { padding: 120px 0 140px; }
.xcal-intro { max-width: 900px; margin-bottom: 56px; }
.xcal-intro h2 {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 650;
  margin: 22px 0 26px;
}
.xcal-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 760px;
}
.xcal-ctas { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.xcal-ctas .btn { flex: 0 1 auto; }
.xcal-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0 0 64px;
  background: var(--bg-card);
}
.xcal-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xcal-media figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(180deg, rgba(12, 13, 15, 0) 0%, rgba(12, 13, 15, 0.75) 100%);
  width: 100%;
}
.xcal-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.xcal-card {
  flex: 0 1 calc((100% - 48px) / 3);
  background: var(--bg-card);
  padding: 40px 36px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.35s ease;
}
.xcal-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--red-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.xcal-card:hover {
  transform: translateY(-4px);
  background: #232427;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.xcal-card:hover::after { transform: scaleX(1); }
.xcal-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-accent);
}
.xcal-card h3 {
  font-size: clamp(1.3rem, 1.7vw, 1.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: 0;
}
.xcal-card p {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}
@media (max-width: 1024px) { .xcal-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) {
  .xcal-spotlight { padding: 80px 0 90px; }
  .xcal-card { flex-basis: 100%; }
  .xcal-media { aspect-ratio: 4 / 3; margin-bottom: 40px; }
}

/* ============ CONFIDENCE BANNER CTA ============ */
.confidence-banner-cta {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.confidence-banner-cta .btn-outline { color: #fff; }
.confidence-banner-cta .btn-outline::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.5) 100%);
}

/* ============ SECTORS INTRO LEAD ============ */
.sectors-intro {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 720px;
  margin: -40px auto 64px;
  text-align: center;
}

/* ============ CTA BAND (full-bleed final CTA) ============ */
/* ============ INSTAGRAM FEED (home) ============ */
.insta-feed {
  padding: 120px 0 140px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.insta-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.insta-head .mono-eyebrow { display: block; margin-bottom: 14px; }
.insta-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 650;
  color: var(--text);
}
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.insta-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-card);
}
.insta-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.insta-tile-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.insta-ig-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.insta-tile:hover .insta-ig-badge {
  color: #fff;
  border-color: var(--red-accent);
  background: var(--red-accent);
}
.insta-tile:hover img { transform: scale(1.07); }
.insta-tile:hover .insta-tile-icon { opacity: 1; }
@media (max-width: 900px) {
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .insta-feed { padding: 72px 0 88px; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .insta-follow { width: 100%; }
}

.cta-band {
  padding: 160px 0 200px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 100%, rgba(239, 68, 41, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 0%, rgba(0, 69, 180, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}
.cta-band-inner .mono-eyebrow { color: var(--red-accent); }
.cta-band-inner h2 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.cta-band-body {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 680px;
  margin: 0 auto;
}
.cta-band-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============ FAQ ACCORDION ============ */
.faq-section { padding: 140px 0 180px; }
.faq-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}
.faq-head h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 650;
  max-width: 720px;
}
.faq-head .lede {
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 420px;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-trigger {
  background: none;
  border: none;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  width: 100%;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  text-align: left;
  transition: padding 0.25s ease, color 0.25s ease;
}
.faq-trigger:hover { color: var(--red-accent); padding-left: 8px; }
.faq-trigger .faq-q {
  font-size: clamp(1.15rem, 1.5vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.faq-trigger .faq-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, background 0.25s ease;
  position: relative;
}
.faq-trigger .faq-icon::before,
.faq-trigger .faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}
.faq-trigger .faq-icon::before { width: 12px; height: 1.5px; }
.faq-trigger .faq-icon::after { width: 1.5px; height: 12px; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-trigger:hover .faq-icon { border-color: var(--red-accent); }
.faq-item[data-open] .faq-icon::after { transform: rotate(90deg); }
.faq-item[data-open] .faq-icon {
  background: var(--red-accent);
  border-color: var(--red-accent);
  color: #fff;
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-body-inner {
  padding: 0 0 32px;
  max-width: 820px;
}
.faq-body-inner p {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 12px;
}
.faq-body-inner p:last-child { margin-bottom: 0; }
.faq-body-inner ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0;
  padding: 0;
}
.faq-body-inner li {
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  padding-left: 22px;
  position: relative;
}
.faq-body-inner li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 1.5px;
  background: var(--red-accent);
}
.faq-item[data-open] .faq-body { max-height: 1200px; }

/* ============ INDUSTRY TABS (Feature108-style — tabbed industry showcase) ============ */
.industry-tabs-section { padding: 140px 0 160px; }
.industry-tabs-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}
.industry-tabs-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.04);
}
.industry-tabs-title {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.industry-tabs-desc {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}
.industry-tabs-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  position: sticky;
  top: calc(var(--header-h, 60px) + 16px);
  z-index: 30;
  background: rgba(12, 13, 15, 0.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px;
  margin: 0 auto 36px;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  overflow-x: auto;
  scrollbar-width: none;
}
.industry-tabs-list::-webkit-scrollbar { display: none; }
.industry-tab-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.industry-tab-trigger:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.industry-tab-trigger.is-active {
  background: var(--red-accent);
  color: #fff;
}
.industry-tab-trigger svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Tab panels container — rounded muted card holding active panel */
.industry-tabs-panels {
  position: relative;
  background: var(--bg-card);
  border-radius: 0;
  padding: 56px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.industry-tab-panel {
  display: none;
}
.industry-tab-panel.is-active {
  display: block;
  animation: industryFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes industryFadeIn {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Hero block inside each tab panel: badge + title + desc + button | image */
.industry-panel-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}
.industry-panel-hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.industry-panel-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-accent);
  background: rgba(226, 65, 39, 0.08);
}
.industry-panel-title {
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.industry-panel-desc {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
}
.industry-panel-hero-image {
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 560px;
  justify-self: end;
  background: var(--bg) center / cover no-repeat;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.industry-panel-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 13, 15, 0.05) 0%, rgba(12, 13, 15, 0.4) 100%);
}

/* Generic sub-section wrapper inside a tab */
.industry-sub {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.industry-sub-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}
.industry-sub-eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-accent);
}
.industry-sub-title {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 650;
}

/* --- VARIANT A · RESIDENTIAL — soft card grid + bullet column --- */
.industry-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.industry-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.industry-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
.industry-card-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--red-accent);
}
.industry-card h4 {
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.industry-card p {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}
.industry-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

/* --- VARIANT B · COMMERCIAL — numbered process steps (horizontal) + service tiles --- */
.industry-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  counter-reset: indstep;
}
.industry-step {
  position: relative;
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-increment: indstep;
  border-left: 3px solid var(--red-accent);
  transition: background 0.25s ease, transform 0.25s ease;
}
.industry-step:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}
.industry-step::before {
  content: counter(indstep, decimal-leading-zero);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--red-accent);
}
.industry-step h4 {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.industry-step p {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}
.industry-service-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.industry-service-tile {
  padding: 22px 24px;
  background: rgba(0, 69, 180, 0.12);
  border: 1px solid rgba(0, 69, 180, 0.28);
  border-radius: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.industry-service-tile .tile-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-accent);
  flex-shrink: 0;
  margin-top: 8px;
}
.industry-service-tile p {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.industry-service-tile p strong { color: #fff; font-weight: 650; }

/* --- VARIANT C · INDUSTRIAL — spec tags + numbered timeline --- */
.industry-spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.industry-spec-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.industry-spec-tag:hover {
  background: rgba(226, 65, 39, 0.12);
  border-color: var(--red-accent);
  color: #fff;
}
.industry-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  counter-reset: indtime;
}
.industry-timeline-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  counter-increment: indtime;
  position: relative;
}
.industry-timeline-step:last-child { border-bottom: 1px solid var(--line); }
.industry-timeline-step::before {
  content: counter(indtime, decimal-leading-zero);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--red-accent);
  line-height: 1;
}
.industry-timeline-step h4 {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.2;
}
.industry-timeline-step p {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

/* Tab panel CTA strip at bottom */
.industry-panel-cta {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============ DEEP SECTION (used on industries, products sub-blocks) ============ */
.deep-section {
  padding: 140px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.deep-section:first-of-type { border-top: none; padding-top: 80px; }
.deep-section-head {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
.deep-section-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-accent);
  margin-bottom: 24px;
  display: block;
}
.deep-section-title {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.deep-section-lede {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 580px;
}
.deep-section-body {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: start;
}
.deep-section-body .body-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.deep-section-body p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}
.deep-section-body p strong { color: var(--text); font-weight: 650; }
.deep-section-image {
  aspect-ratio: 1 / 1;
  max-width: 520px;
  background: var(--bg-card) center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.deep-section-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(12, 13, 15, 0.55) 100%);
}

/* Bullet list used in deep sections */
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 8px 0;
}
.bullet-list li {
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  padding-left: 24px;
  position: relative;
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 12px;
  height: 1.5px;
  background: var(--red-accent);
}

/* Sub-heading inside deep sections */
.sub-heading {
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: 32px 0 8px;
  line-height: 1.15;
}

/* ============ PRODUCT ACCORDION (collapsed title + 1-line desc, expand to full) ============ */
.product-accordion-section { padding: 120px 0 140px; }
.product-accordion-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 64px;
  max-width: 920px;
}
.product-accordion-title {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.product-accordion {
  display: flex;
  flex-direction: column;
}
.product-item {
  border-top: 1px solid var(--line);
  position: relative;
  scroll-margin-top: 140px;
  overflow: hidden;
}
.product-item:last-child { border-bottom: 1px solid var(--line); }
.product-item-trigger {
  background: none;
  border: none;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  width: 100%;
  padding: 36px 0;
  display: grid;
  grid-template-columns: 90px 1fr 1.4fr auto;
  align-items: center;
  gap: 32px;
  text-align: left;
  transition: padding 0.25s ease;
}
.product-item-trigger:hover { padding-left: 8px; }
.product-item .product-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-eyebrow);
}
.product-item h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: 0;
  transition: color 0.25s ease;
}
.product-item-trigger:hover h3 { color: var(--red-accent); }
.product-item .product-tagline {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  max-width: 540px;
}
.product-item .product-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, background 0.25s ease;
  position: relative;
}
.product-item .product-toggle::before,
.product-item .product-toggle::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}
.product-item .product-toggle::before { width: 14px; height: 1.5px; }
.product-item .product-toggle::after { width: 1.5px; height: 14px; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.product-item-trigger:hover .product-toggle { border-color: var(--red-accent); }
.product-item[data-open] .product-toggle {
  background: var(--red-accent);
  border-color: var(--red-accent);
  color: #fff;
  transform: rotate(180deg);
}
.product-item[data-open] .product-toggle::after { transform: rotate(90deg); }
.product-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-item[data-open] .product-item-body { max-height: 2400px; }
.product-item-body-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  padding: 16px 0 56px;
  align-items: start;
}
.product-item-image {
  aspect-ratio: 1 / 1;
  max-width: 480px;
  width: 100%;
  background: var(--bg-card) center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.product-item-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(12, 13, 15, 0.5) 100%);
}
.product-item-body-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.product-item-body-col p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}
.product-item-body-col p strong { color: var(--text); font-weight: 650; }
.product-item-body-col .sub-heading {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: 16px 0 4px;
  line-height: 1.2;
}
.product-item-body-col .bullet-list { margin: 4px 0; }
.product-item-body-col .who-ctas { margin-top: 20px; }

/* ============ STICKY PRODUCT TAB NAV ============ */
.product-tabs-shell {
  position: relative;
  z-index: 10;
}
.product-tabs {
  position: sticky;
  top: var(--header-h, 60px);
  z-index: 20;
  background: rgba(12, 13, 15, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0);
  transition: box-shadow 0.3s ease;
}
.product-tabs.is-pinned {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.32);
}
.site-header.is-shrunk ~ * .product-tabs { top: 56px; }
.product-tabs-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.product-tabs-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-eyebrow);
  flex-shrink: 0;
  padding: 18px 0;
}
.product-tabs-track {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 14px 0;
}
.product-tabs-track::-webkit-scrollbar { display: none; }
.product-tab {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
  border: 1px solid transparent;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}
.product-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.product-tab.is-active {
  color: #fff;
  background: var(--red-accent);
  border-color: var(--red-accent);
}
.product-tab .product-tab-num {
  font-size: 10px;
  letter-spacing: 0.18em;
  margin-right: 8px;
  opacity: 0.65;
}

/* Override deep-section padding when used after sticky tabs so spacing feels right */
.deep-section[data-tab-target] {
  padding: 100px 0;
  scroll-margin-top: 120px;
}
.deep-section[data-tab-target]:first-of-type { padding-top: 80px; }

/* ============ PRODUCT BLOCKS (compact product cards — legacy, kept for fallback) ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.product-card {
  background: var(--bg-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 320px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.3s ease, background 0.3s ease;
  text-decoration: none;
  color: var(--text);
}
.product-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--red-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card:hover { background: #232427; transform: translateY(-4px); }
.product-card:hover::after { transform: scaleX(1); }
.product-card .product-eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-accent);
}
.product-card h3 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 650;
}
.product-card p {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  flex: 1;
}
.product-card .product-link {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--red-accent);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s ease;
}
.product-card:hover .product-link { gap: 14px; }

/* ============ PROJECT FILTERS ============ */
.project-filters {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.project-filter-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.project-filter-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-eyebrow);
  flex: 0 0 110px;
}
.project-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}
.project-filter-pill {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 18px;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}
.project-filter-pill:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}
.project-filter-pill.is-active {
  color: #fff;
  background: var(--red-accent);
  border-color: var(--red-accent);
}
.project-filter-pill .filter-count {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  opacity: 0.7;
}
.project-filter-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.project-filter-clear {
  background: none;
  border: none;
  color: var(--red-accent);
  font: inherit;
  cursor: pointer;
  padding: 4px 0;
  transition: opacity 0.2s ease;
}
.project-filter-clear:hover { opacity: 0.75; }
.project-filter-clear:disabled { opacity: 0.3; cursor: default; }

/* Filtered-out card state — fades & collapses */
.project-card {
  transition: transform 0.3s ease, opacity 0.4s ease;
}
.project-card.is-filtered-out {
  display: none;
}

/* Empty state */
.project-empty {
  display: none;
  padding: 80px 32px;
  border: 1px dashed var(--line);
  text-align: center;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.65);
  margin-top: 24px;
}
.project-empty.is-visible { display: block; }

/* ============ PROJECT GRID (used on Projects page) ============ */
.project-portfolio { padding: 120px 0 160px; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 420px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--bg-card);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.project-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 13, 15, 0.15) 0%, rgba(12, 13, 15, 0.55) 55%, rgba(12, 13, 15, 0.95) 100%);
  z-index: 1;
  transition: background 0.4s ease;
}
.project-card > * { position: relative; z-index: 2; }
.project-card:hover .project-card-bg { transform: scale(1.06); }
.project-card:hover::after {
  background: linear-gradient(to bottom, rgba(12, 13, 15, 0.4) 0%, rgba(12, 13, 15, 0.8) 55%, rgba(12, 13, 15, 0.98) 100%);
}
.project-card .project-loc {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red-accent);
  padding: 7px 14px;
  align-self: flex-start;
  margin-top: 88px;
  margin-bottom: 14px;
  line-height: 1;
}
.project-card h3 {
  font-size: clamp(1.4rem, 1.8vw, 1.85rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 650;
  margin-bottom: 6px;
}
.project-card .project-client {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
}
.project-card:focus-visible {
  outline: 2px solid var(--red-accent);
  outline-offset: 3px;
}
.project-card-cue {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-top: 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.project-card:hover .project-card-cue,
.project-card:focus-visible .project-card-cue {
  opacity: 1;
  transform: translateY(0);
}
.project-card-cue::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--red-accent);
  margin-bottom: 10px;
}

/* ============ PROJECT STORY MODAL ============ */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.project-modal.is-open { display: flex; }
.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 11, 0.82);
  animation: pmFade 0.3s ease;
}
.project-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(88vh, 900px);
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: pmRise 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes pmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pmRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.project-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(12, 13, 15, 0.6);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.project-modal-close:hover { background: var(--red-accent); transform: rotate(90deg); }
.project-modal-scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.project-modal-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #000;
}
.project-modal-gallery.is-single { grid-template-columns: 1fr; }
.project-modal-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.project-modal-gallery.is-single img { height: 360px; }
.project-modal-body { padding: 40px 44px 48px; }
.project-modal-body .pm-loc {
  display: inline-block;
  color: #fff;
  background: var(--red-accent);
  padding: 6px 12px;
  margin-bottom: 16px;
}
.project-modal-body h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.project-modal-body .pm-client {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.project-modal-body .pm-desc {
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--text-soft);
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.pm-block { margin-bottom: 26px; }
.pm-block h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-accent);
  margin-bottom: 12px;
}
.pm-block p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-soft);
}
.pm-scope {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.pm-scope li {
  position: relative;
  padding-left: 20px;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--text-soft);
}
.pm-scope li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--red-accent);
}
.pm-cta { margin-top: 10px; }
@media (max-width: 640px) {
  .project-modal { padding: 0; }
  .project-modal-dialog { max-height: 100vh; height: 100%; width: 100%; border: none; }
  .project-modal-gallery { grid-template-columns: 1fr; }
  .project-modal-gallery img,
  .project-modal-gallery.is-single img { height: 240px; }
  .project-modal-body { padding: 28px 22px 40px; }
  .pm-scope { grid-template-columns: 1fr; }
}

/* ============ LOGOS STRIP ============ */
.logos-strip {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logos-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.logos-strip-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-eyebrow);
  flex: 0 0 220px;
}
.logos-strip-list {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}
.logos-strip-list span {
  font-family: var(--font);
  font-weight: 650;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s ease;
}
.logos-strip-list span:hover { color: var(--text); }
.logos-strip-list-images {
  gap: 48px;
}
.logos-strip-list-images img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.55;
  filter: brightness(0) invert(1);
  transition: opacity 0.25s ease;
}
.logos-strip-list-images img:hover { opacity: 1; }

/* ============ RESPONSIVE — additional page patterns ============ */
@media (max-width: 1023px) {
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-card.capability-card-wide { grid-column: span 2; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-item-trigger { grid-template-columns: 60px 1fr auto; }
  .product-item .product-tagline { grid-column: 2 / 3; max-width: none; margin-top: 6px; }
  .product-item-body-inner { grid-template-columns: 1fr; gap: 36px; }
  .product-item-image { max-width: 100%; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .deep-section-head, .deep-section-body { grid-template-columns: 1fr; gap: 40px; }
  .deep-section { padding: 100px 0; }
  .capability-section { padding: 90px 0 100px; }
  .cta-band { padding: 110px 0 140px; }
  .faq-section { padding: 90px 0 120px; }
  .logos-strip-inner { flex-direction: column; align-items: flex-start; }
  .logos-strip-list { justify-content: flex-start; gap: 36px; }
  .product-tabs-inner { padding: 0 32px; }
  .product-tabs-label { display: none; }
}
@media (max-width: 768px) {
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card.capability-card-wide { grid-column: auto; }
  .capability-card { padding: 36px 28px; min-height: 220px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { padding: 32px 28px; min-height: 240px; }
  .industry-tabs-section { padding: 100px 0 120px; }
  .industry-tabs-panels { padding: 36px 28px; }
  .industry-panel-hero { grid-template-columns: 1fr; gap: 36px; margin-bottom: 56px; }
  .industry-panel-hero-image { max-width: 100%; justify-self: stretch; }
  .industry-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-two-col { grid-template-columns: 1fr; gap: 32px; }
  .industry-steps { grid-template-columns: repeat(3, 1fr); }
  .industry-service-tiles { grid-template-columns: 1fr; }
  .industry-tab-trigger { padding: 12px 18px; font-size: 13px; }
  .project-filter-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .project-filter-label { flex: 0 0 auto; }
  .project-filter-pill { padding: 8px 14px; font-size: 12px; }
  .industry-tabs-section { padding: 70px 0 90px; }
  .industry-tabs-panels { padding: 28px 20px; }
  .industry-tabs-list { gap: 2px; padding: 4px; max-width: calc(100vw - 32px); }
  .industry-tab-trigger { padding: 8px 14px; font-size: 12px; gap: 6px; }
  .industry-tab-trigger svg { width: 14px; height: 14px; }
  .industry-cards-grid { grid-template-columns: 1fr; }
  .industry-steps { grid-template-columns: 1fr; }
  .industry-timeline-step { grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; }
  .industry-timeline-step::before { font-size: 26px; }
  .industry-panel-cta { flex-direction: column; align-items: stretch; }
  .industry-panel-cta .btn { width: 100%; }
  .product-item-trigger { grid-template-columns: 1fr auto; padding: 24px 0; gap: 16px; }
  .product-item .product-num { grid-column: 1 / -1; margin-bottom: 4px; }
  .product-item .product-tagline { grid-column: 1 / -1; margin-top: 8px; }
  .product-item .product-toggle { width: 36px; height: 36px; }
  .product-item-body-inner { padding: 8px 0 40px; gap: 28px; }
  .product-tabs { top: 56px; }
  .product-tabs-inner { padding: 0 20px; gap: 12px; }
  .product-tab { padding: 8px 14px; font-size: 12px; }
  .product-tab .product-tab-num { display: none; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 320px; padding: 28px; }
  .deep-section { padding: 70px 0; }
  .deep-section-head, .deep-section-body { gap: 32px; margin-bottom: 48px; }
  .capability-section { padding: 70px 0 80px; }
  .cta-band { padding: 80px 0 100px; }
  .faq-section { padding: 70px 0 90px; }
  .faq-trigger { padding: 22px 0; gap: 20px; }
  .faq-trigger .faq-q { font-size: 1.05rem; }
  .faq-trigger:hover { padding-left: 0; }
  .sectors-intro { margin: -24px auto 40px; }
  .confidence-banner-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .confidence-banner-cta .btn { width: 100%; }
  .cta-band-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-band-actions .btn { width: 100%; }
  .logos-strip { padding: 56px 0; }
  .logos-strip-list { gap: 24px; }
}

/* ================================================================
   ============ V2 OVERRIDES — tighter spacing, hero video,
   HubSpot form styling, homepage quote + FAQ tweaks.
   Added 2026-05-23.
   ================================================================ */

/* --- Horizontal: pull in the wide max-widths & side padding --- */
:root {
  --container: 1440px;
  --container-narrow: 1240px;
}
.container,
.container-narrow { padding: 0 32px; }

/* --- Vertical: tighten the big section paddings on home --- */
.hero { padding: 72px 0 88px; }
.stats { padding: 80px 0; }
.trusted-partner { /* keep sticky behaviour; nothing to override here */ }
.who { padding: 100px 0 100px; }
.fabrication-section { padding-top: 24px; }
.robotic { padding: 100px 0 110px; }
.end-to-end { padding: 110px 0 110px; }
.projects { padding: 110px 0; }
.sectors { padding: 110px 0; }
.confidence { padding: 110px 0; }
.testimonials { padding: 110px 0; }
.faq-section { padding: 100px 0 120px; }
.capability-section { padding: 110px 0; }

/* --- HERO BACKGROUND VIDEO --- */
.hero.hero-video {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero.hero-video > .container { position: relative; z-index: 2; width: 100%; }
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,13,15,0) 60%, rgba(12,13,15,0.55) 83%, var(--bg) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.75) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 60%);
  pointer-events: none;
}
.hero.hero-video .hero-eyebrow,
.hero.hero-video .hero-intro,
.hero.hero-video .hero-title { color: #fff; }
.hero.hero-video .hero-eyebrow .accent { color: var(--red-accent); }
.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}
@media (max-width: 760px) {
  .hero.hero-video { min-height: 78vh; }
  .hero-cta-row { gap: 12px; margin-top: 28px; }
  .hero-cta-row .btn { width: 100%; }
}
/* Respect users who don't want motion */
@media (prefers-reduced-motion: reduce) {
  .hero-video-el { display: none; }
  .hero-video-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../assets/images/hero-tile-1.jpg") center/cover no-repeat;
  }
}

/* --- HOMEPAGE QUOTE FORM SECTION --- */
.home-quote { padding: 110px 0 130px; background: #0b0b0b; color: #fff; }
.home-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: start;
}
.home-quote-copy .mono-eyebrow { color: rgba(255,255,255,0.55); margin-bottom: 16px; display: inline-block; }
.home-quote-title {
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 650;
  margin-bottom: 24px;
}
.home-quote-lede {
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin-bottom: 32px;
  max-width: 520px;
}
.home-quote-points {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.home-quote-points li {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
  padding-left: 28px;
  position: relative;
}
.home-quote-points .dot {
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 2px;
  background: var(--red-accent);
}
.home-quote-direct { display: flex; flex-direction: column; gap: 8px; }
.home-quote-direct .contact-link-lg { color: #fff; }
.home-quote-direct .contact-link-lg:hover { color: var(--red-accent); }
@media (max-width: 960px) {
  .home-quote-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* --- HUBSPOT-STYLE FORM (placeholder while real embed is pending) --- */
.hubspot-style {
  background: #fff;
  color: #111;
  border-radius: 14px;
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.hubspot-form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-bottom: 14px;
  margin-bottom: 4px;
}
.hubspot-form-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-accent);
  font-weight: 600;
}
.hubspot-form-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(0,0,0,0.55);
}
.hubspot-style .form-field { display: flex; flex-direction: column; gap: 8px; }
.hubspot-style .form-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(0,0,0,0.7);
}
.hubspot-style .form-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(0,0,0,0.45);
  font-weight: 400;
  margin-left: 8px;
}
.hubspot-style input[type="text"],
.hubspot-style input[type="tel"],
.hubspot-style input[type="email"] {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: #111;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hubspot-style input[type="text"]:focus,
.hubspot-style input[type="tel"]:focus,
.hubspot-style input[type="email"]:focus {
  outline: none;
  border-color: var(--red-accent);
  box-shadow: 0 0 0 3px rgba(226, 65, 39, 0.15);
}
.hubspot-style input[type="file"] {
  width: 100%;
  padding: 14px;
  border: 1.5px dashed rgba(0,0,0,0.2);
  border-radius: 8px;
  background: rgba(0,0,0,0.02);
  font: inherit;
  font-size: 14px;
  color: rgba(0,0,0,0.7);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.hubspot-style input[type="file"]:hover {
  border-color: var(--red-accent);
  background: rgba(226, 65, 39, 0.04);
}
.hubspot-style .btn.btn-primary {
  background: var(--red-accent);
  border-color: var(--red-accent);
  color: #fff;
}
.hubspot-style .btn.btn-primary:hover {
  background: #c8351d;
  border-color: #c8351d;
}
.btn-block { width: 100%; justify-content: center; }
.hubspot-style .form-fineprint {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(0,0,0,0.55);
  margin: 0;
  text-align: center;
}
.hubspot-style .form-status {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(0,0,0,0.7);
  min-height: 0;
}
.hubspot-style .form-status[data-state="ok"] { color: #0a7a2f; }
.hubspot-style .form-status[data-state="err"] { color: var(--red-accent); }

/* --- FAQ HEAD: keep the existing flex layout but allow stacking --- */
.faq-head .faq-head-left { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.faq-head .mono-eyebrow { display: inline-block; }

/* --- Mobile: stack the form below the copy on contact too --- */
@media (max-width: 760px) {
  .hubspot-style { padding: 26px 22px 24px; }
  .home-quote { padding: 80px 0 90px; }
  .home-quote-title { font-size: clamp(2.1rem, 8vw, 2.8rem); }
  .hero { padding: 56px 0 72px; }
  .stats { padding: 56px 0; }
  .who, .robotic, .end-to-end, .projects, .sectors, .confidence, .testimonials, .faq-section, .capability-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}


/* ---- Migrated long-form page content (products / sectors) ---- */
.page-content { color: var(--text-soft); font-size: 1.0625rem; line-height: 1.75; }
.page-content > *:first-child { margin-top: 0; }
.page-content p { margin: 0 0 1.15em; color: var(--text-soft); }
.page-content h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; color: var(--text); margin: 2.2em 0 .55em; font-weight: 600; letter-spacing: -0.01em; }
.page-content h3 { font-size: 1.3rem; line-height: 1.25; color: var(--text); margin: 1.8em 0 .5em; font-weight: 600; }
.page-content h4 { font-size: 1.08rem; color: var(--text); margin: 1.5em 0 .4em; font-weight: 600; }
.page-content h2 + h3, .page-content h2 + h4, .page-content h3 + h4 { margin-top: .6em; }
.page-content ul, .page-content ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.page-content li { margin: 0 0 .5em; padding-left: .2em; }
.page-content ul li::marker { color: var(--red-accent); }
.page-content ol li::marker { color: var(--red-accent); font-variant-numeric: tabular-nums; }
.page-content a { color: var(--red-accent); text-decoration: none; border-bottom: 1px solid rgba(226,65,39,.4); }
.page-content a:hover { border-bottom-color: var(--red-accent); }
.page-content strong, .page-content b { color: var(--text); font-weight: 600; }
.page-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 1.2em 0; }
.page-content blockquote { margin: 1.4em 0; padding: .4em 0 .4em 1.2em; border-left: 3px solid var(--red-accent); color: var(--text); font-size: 1.15rem; }
.page-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .98rem; }
.page-content th, .page-content td { padding: .7em .9em; border: 1px solid rgba(255,255,255,.14); text-align: left; }
.page-content thead th, .page-content tr:first-child td { background: var(--bg-card); color: var(--text); font-weight: 600; }
.page-content hr { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 2em 0; }

/* ---- Sector flexible: checklist columns (industry-card style) ---- */
.check-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; margin-top: 8px; }
.check-col.industry-card { padding: 28px; }
.check-col h4 { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.2; color: var(--text); margin: 12px 0 18px; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 0 0 0 24px; margin: 0 0 12px; font-family: var(--font-mono); font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.7); }
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--red-accent); border-bottom: 2px solid var(--red-accent); transform: rotate(-45deg); }
@media (max-width: 640px){ .check-cols { grid-template-columns: 1fr; } }

/* ---- Page-hero CTA row: size buttons to their label, wrap instead of squeezing ---- */
.who-ctas.hero-ctas { max-width: none; flex-wrap: wrap; align-items: center; gap: 14px; }
.who-ctas.hero-ctas .btn { flex: 0 0 auto; }

/* ---- Sector flexible sections: tighter, consistent rhythm ---- */
.sector-sections .capability-section { padding: 52px 0; }
.sector-sections > section:first-child { padding-top: 16px; }
.sector-sections .industry-sub-head { margin-bottom: 28px; }
@media (max-width: 640px){ .sector-sections .capability-section { padding: 36px 0; } }

/* ---- Product / sector rich-text: icon chips + accent sub-labels (visual boxes) ---- */
.sector-sections .page-content ul { list-style: none; margin: 8px 0 1.7em; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.sector-sections .page-content ul li { position: relative; margin: 0; padding: 13px 16px 13px 46px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09); border-radius: 12px; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.45; color: var(--text-soft); transition: border-color .2s ease, background .2s ease; }
.sector-sections .page-content ul li:hover { border-color: rgba(226,65,39,.45); background: rgba(255,255,255,.05); }
.sector-sections .page-content ul li::marker { content: ""; }
.sector-sections .page-content ul li::before { content: ""; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 6px; background: rgba(226,65,39,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e24127' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / 12px; }
.sector-sections .page-content h4 { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red-accent); margin: 2em 0 .9em; padding-left: 14px; border-left: 3px solid var(--red-accent); line-height: 1.4; }
.sector-sections .page-content > p:first-child { margin-top: 0; }

/* ============ BLOG (listing + single) ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--bg-card); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, border-color .3s ease; }
.blog-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.18); }
.blog-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blog-card-meta { display: flex; gap: 12px; align-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.blog-card-meta .blog-cat { color: var(--red-accent); }
.blog-card h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 650; letter-spacing: -.01em; margin: 0; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--red-accent); }
.blog-card p { font-family: var(--font-mono); font-size: 14px; line-height: 1.55; color: var(--text-soft); margin: 0; }
.blog-card-more { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--red-accent); margin-top: auto; }
.blog-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.blog-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; font-family: var(--font-mono); font-size: 14px; color: var(--text-soft); }
.blog-pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
.blog-pagination a.page-numbers:hover { border-color: var(--red-accent); color: #fff; }
.blog-single-meta { font-family: var(--font-mono); font-size: 14px; color: var(--text-muted); }
.blog-single-foot { margin-top: 40px; }
.blog-content > *:first-child { margin-top: 0; }
@media (max-width: 1024px){ .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .blog-grid { grid-template-columns: 1fr; } }

/* Imported blog content carried hard-coded black inline text colors from the old
   light-background builder — unreadable on the dark theme. Neutralise inline text
   colours (and stray light backgrounds) inside long-form content so the theme's
   own readable colours apply. Anchors keep their link colour. */
.page-content [style*="color"]:not(a),
.blog-content [style*="color"]:not(a) { color: inherit !important; }
.page-content [style*="background"],
.blog-content [style*="background"] { background-color: transparent !important; }
/* Imported body links also carried inline black — force the theme link colour. */
.page-content a[style*="color"],
.blog-content a[style*="color"] { color: var(--red) !important; }

/* Product "plain" prose sections (title, no eyebrow) — two-column editorial
   layout so the heading and body share the row instead of a full-width heading
   floating above a narrow centred paragraph. Keeps content identical. */
.cap-split .cap-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px 56px;
  align-items: start;
}
.cap-split .cap-split-head { position: relative; }
/* Toned-down heading in the split layout so it sits beside the body, not over it. */
.cap-split .cap-split-title {
  margin: 0;
  font-size: clamp(1.3rem, 1.9vw, 1.8rem);
  line-height: 1.12;
  font-weight: 620;
}
.cap-split .cap-split-head .industry-sub-title { margin: 0; }
@media (min-width: 1025px) {
  .cap-split .cap-split-head { padding-top: 6px; }
  .cap-split + .cap-split { padding-top: 0; }
}

/* Boxed body panel with an accent icon. */
.cap-split .cap-split-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 32px;
}
.cap-split .cap-split-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  margin-bottom: 18px;
  color: var(--red);
  background: rgba(239, 68, 41, 0.12);
}
.cap-split .cap-split-icon svg { width: 24px; height: 24px; }
.cap-split .cap-split-body { max-width: none; margin: 0; }
.cap-split .cap-split-body > *:first-child { margin-top: 0; }
.cap-split .cap-split-body > *:last-child { margin-bottom: 0; }
@media (max-width: 1024px) {
  .cap-split .cap-split-grid { grid-template-columns: 1fr; gap: 14px 0; }
  .cap-split .cap-split-card { padding: 24px 22px; }
}

/* Product "plain" prose sections as image + text rows (home-page style). A
   relevant photo on one side, heading + copy on the other, alternating sides. */
.cap-media .cap-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 64px;
  align-items: center;
}
.cap-media .cap-media-figure {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
  border: 1px solid var(--line);
}
.cap-media .cap-media-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cap-media.cap-media-alt .cap-media-figure { order: 2; } /* photo on the right for alternating rows */
.cap-media .cap-media-body { display: flex; flex-direction: column; gap: 16px; }
.cap-media .cap-media-body .cap-split-title {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.95rem);
  line-height: 1.12;
  font-weight: 640;
}
.cap-media .cap-media-body .page-content { max-width: none; margin: 0; }
.cap-media .cap-media-body .page-content > *:first-child { margin-top: 0; }
.cap-media .cap-media-body .page-content > *:last-child { margin-bottom: 0; }
@media (max-width: 1024px) {
  .cap-media .cap-media-grid { grid-template-columns: 1fr; gap: 20px; }
  .cap-media.cap-media-alt .cap-media-figure { order: 0; }
  .cap-media .cap-media-figure { aspect-ratio: 16 / 9; }
}

/* ============================================================
   Contact Form 7 reskin — makes the existing CF7 form match the
   theme's dark form styling (mirrors .contact-form). Scoped to
   .cs-cf7-wrap so it only affects our embedded form.
   ============================================================ */
.cs-cf7-wrap .wpcf7-form { display: flex; flex-direction: column; gap: 24px; }
.cs-cf7-wrap .wpcf7-form > p { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.cs-cf7-wrap .wpcf7-form label {
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6);
}
.cs-cf7-wrap .wpcf7-form-control-wrap { display: block; }
.cs-cf7-wrap input[type="text"],
.cs-cf7-wrap input[type="tel"],
.cs-cf7-wrap input[type="email"],
.cs-cf7-wrap input[type="url"],
.cs-cf7-wrap input[type="number"],
.cs-cf7-wrap input[type="date"],
.cs-cf7-wrap select,
.cs-cf7-wrap textarea {
  font-family: var(--font); font-size: 17px; text-transform: none; letter-spacing: 0;
  color: var(--text); background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 0; padding: 16px 18px;
  outline: none; width: 100%; transition: border-color 0.2s ease, background 0.2s ease;
}
.cs-cf7-wrap input:focus,
.cs-cf7-wrap select:focus,
.cs-cf7-wrap textarea:focus { border-color: var(--red-accent); background: rgba(255, 255, 255, 0.07); }
.cs-cf7-wrap textarea { resize: vertical; min-height: 140px; }
.cs-cf7-wrap input[aria-invalid="true"],
.cs-cf7-wrap textarea[aria-invalid="true"] { border-color: var(--red-accent); }
/* File upload */
.cs-cf7-wrap input[type="file"] {
  font-family: var(--font); font-size: 15px; text-transform: none; letter-spacing: 0;
  color: rgba(255, 255, 255, 0.76); background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.24); padding: 14px 16px; width: 100%; cursor: pointer;
}
.cs-cf7-wrap input[type="file"]:hover { border-color: var(--red-accent); }
/* Submit — theme primary button */
.cs-cf7-wrap input[type="submit"],
.cs-cf7-wrap .wpcf7-submit {
  align-self: flex-start; font-family: var(--font-mono); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; font-size: 15px;
  background: var(--red); color: #fff; border: 0; border-radius: 0;
  padding: 18px 34px; cursor: pointer; transition: background 0.2s ease;
}
.cs-cf7-wrap input[type="submit"]:hover,
.cs-cf7-wrap .wpcf7-submit:hover { background: var(--red-accent); }
.cs-cf7-wrap .wpcf7-spinner { margin-left: 12px; }
/* Validation + response messages */
.cs-cf7-wrap .wpcf7-not-valid-tip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em;
  text-transform: none; color: var(--red-accent); margin-top: 6px;
}
.cs-cf7-wrap .wpcf7-response-output {
  font-family: var(--font-mono); font-size: 14px; line-height: 1.5; margin: 8px 0 0 !important;
  padding: 14px 16px; border: 1px solid rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.8);
}
/* Hide anti-spam honeypot fields */
.cs-cf7-wrap .femail-wrap,
.cs-cf7-wrap .hp-message,
.cs-cf7-wrap .wpcf7-form p:has(.hp-message),
.cs-cf7-wrap .wpcf7-form p:has(.femail-wrap) {
  position: absolute !important; left: -9999px !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
}

/* ============================================================
   HubSpot embedded form reskin — matches the theme's dark form
   styling. Scoped to .cs-hs-wrap. Uses !important selectively to
   override HubSpot's own injected stylesheet.
   ============================================================ */
.cs-hs-wrap { width: 100%; }
.cs-hs-wrap .hs-form fieldset { max-width: none !important; }
.cs-hs-wrap .hs-form-field { margin-bottom: 20px; }
.cs-hs-wrap .hs-form label {
  display: block; margin-bottom: 10px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6);
}
.cs-hs-wrap .hs-form label .hs-form-required { color: var(--red-accent); margin-left: 2px; }
.cs-hs-wrap .hs-field-desc {
  font-family: var(--font); font-size: 13px; text-transform: none;
  color: rgba(255, 255, 255, 0.5); margin: 0 0 8px;
}
.cs-hs-wrap .hs-input {
  font-family: var(--font) !important; font-size: 17px !important; color: var(--text) !important;
  background: rgba(255, 255, 255, 0.04) !important; border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 0 !important; padding: 16px 18px !important; width: 100% !important;
  box-shadow: none !important; transition: border-color 0.2s ease, background 0.2s ease;
}
.cs-hs-wrap textarea.hs-input { min-height: 140px; resize: vertical; }
.cs-hs-wrap .hs-input:focus { border-color: var(--red-accent) !important; background: rgba(255, 255, 255, 0.07) !important; outline: none !important; }
.cs-hs-wrap .hs-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.cs-hs-wrap input[type="file"].hs-input { border-style: dashed !important; padding: 14px 16px !important; cursor: pointer; color: rgba(255,255,255,0.76) !important; }
/* Force HubSpot multi-column layouts to a single column for the narrow form area */
.cs-hs-wrap .form-columns-1, .cs-hs-wrap .form-columns-2, .cs-hs-wrap .form-columns-3 { max-width: none !important; }
.cs-hs-wrap .form-columns-2 .hs-form-field, .cs-hs-wrap .form-columns-3 .hs-form-field { width: 100% !important; float: none !important; padding: 0 !important; }
.cs-hs-wrap .hs-form-field > .input { margin-right: 0 !important; }
/* Submit */
.cs-hs-wrap .hs-button, .cs-hs-wrap input[type="submit"].hs-button {
  font-family: var(--font-mono) !important; font-weight: 600 !important; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 15px !important; background: var(--red) !important; color: #fff !important;
  border: 0 !important; border-radius: 0 !important; padding: 18px 34px !important; cursor: pointer; transition: background 0.2s ease;
}
.cs-hs-wrap .hs-button:hover { background: var(--red-accent) !important; }
.cs-hs-wrap .hs_submit { margin-top: 8px; }
/* Validation + legal + success */
.cs-hs-wrap .hs-error-msg, .cs-hs-wrap .hs-error-msgs label { font-family: var(--font-mono); font-size: 12px; text-transform: none; color: var(--red-accent) !important; }
.cs-hs-wrap .hs-input.invalid, .cs-hs-wrap .hs-input.error { border-color: var(--red-accent) !important; }
.cs-hs-wrap .legal-consent-container, .cs-hs-wrap .hs-richtext { font-family: var(--font); font-size: 13px; text-transform: none; color: rgba(255, 255, 255, 0.55); }
.cs-hs-wrap .submitted-message, .cs-hs-wrap .hs-main-font-element { font-family: var(--font); color: var(--text); }

/* Search form (search.php hero) */
.cs-search-form { display: flex; gap: 12px; margin-top: 28px; max-width: 560px; flex-wrap: wrap; }
.cs-search-form input[type="search"] {
  flex: 1 1 260px; font-family: var(--font); font-size: 16px; color: var(--text);
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 14px 16px; outline: none; transition: border-color 0.2s ease, background 0.2s ease;
}
.cs-search-form input[type="search"]:focus { border-color: var(--red-accent); background: rgba(255, 255, 255, 0.07); }
.cs-search-form .btn { flex: 0 0 auto; }
.page-links { margin-top: 24px; font-family: var(--font-mono); font-size: 14px; color: var(--text-soft); }
.page-links a { color: var(--red-accent); margin: 0 4px; }
