/* ============================================================
   KAIZEN MANUFACTURING — SITE STYLES
   Industrial Precision aesthetic
============================================================ */

/* ----------------------------------------------------------
   RESET & BASE
---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ----------------------------------------------------------
   DESIGN TOKENS
---------------------------------------------------------- */
:root {
  /* Brand palette */
  --ink: #1B1D1F;
  --ink-2: #2A2C2F;
  --ink-3: #33363A;
  --steel: #6B7078;
  --steel-light: #9CA0A6;
  --steel-2: #C8CACE;
  --line: #E3E5E8;
  --line-soft: #ECEEF0;
  --bg: #FAFAFA;
  --bg-soft: #F4F5F7;
  --paper: #FFFFFF;
  --accent: #B45309;
  --accent-bright: #D26210;
  --accent-soft: rgba(180, 83, 9, 0.12);

  /* Type */
  --font-display: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Layout */
  --container: 1280px;
  --container-pad: clamp(20px, 4vw, 56px);
  --nav-h: 76px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ----------------------------------------------------------
   TYPOGRAPHY
---------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.mono--dim {
  color: var(--steel-light);
}

/* ----------------------------------------------------------
   LAYOUT
---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}

.section--light {
  background: var(--bg);
  color: var(--ink);
}

.section--dark {
  background: var(--ink);
  color: #F0F1F3;
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #FFFFFF;
}

.section-head {
  max-width: 820px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head__num {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: block;
  margin-bottom: 18px;
  font-weight: 700;
}

.section-head__title {
  font-size: clamp(36px, 6vw, 72px);
  margin-bottom: 18px;
  color: var(--ink);
}

.section--dark .section-head__title {
  color: #FFFFFF;
}

.section-head__lede {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--steel);
  line-height: 1.55;
  max-width: 600px;
}

.section--dark .section-head__lede {
  color: var(--steel-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
}

.eyebrow__mark {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

/* ----------------------------------------------------------
   BUTTONS
---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0;
  border: 1.5px solid transparent;
  transition: all 0.28s var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out);
}

.btn--primary:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(180, 83, 9, 0.5);
}

.btn--primary:hover::before {
  transform: translateX(100%);
}

.btn--ghost {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn--ghost:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn--block {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 18px 28px;
}

/* ----------------------------------------------------------
   NAV
---------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(20, 22, 24, 0.55);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.nav.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(15, 17, 18, 0.92);
}

.nav__inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
}

.nav__logo {
  height: 32px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #E5E6E8;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease-out);
}

.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.28s var(--ease-out);
}

.nav__links a:not(.nav__cta):hover {
  color: #FFFFFF;
}

.nav__links a:not(.nav__cta):hover::after {
  width: 100%;
}

.nav__cta {
  background: var(--accent);
  color: #FFFFFF !important;
  padding: 12px 18px !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.28s var(--ease-out);
  border: 1.5px solid var(--accent);
}

.nav__cta:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(180, 83, 9, 0.6);
}

.nav__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

.nav__menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #FFFFFF;
  transition: all 0.3s var(--ease-out);
}

.nav__menu-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__menu-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--ink);
  padding: 40px var(--container-pad);
  flex-direction: column;
  gap: 4px;
  transform: translateY(-110%);
  transition: transform 0.4s var(--ease-out);
  z-index: 99;
  border-bottom: 1px solid var(--ink-3);
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu a {
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-3);
  transition: color 0.2s, padding-left 0.2s var(--ease-out);
}

.mobile-menu a:hover {
  color: var(--accent);
  padding-left: 12px;
}

.mobile-menu__cta {
  color: var(--accent) !important;
}

/* ----------------------------------------------------------
   HERO
---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--ink);
  color: #FFFFFF;
  padding: calc(var(--nav-h) + 40px) 0 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Blueprint grid background */
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(107, 112, 120, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 112, 120, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center center;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(27, 29, 31, 0.7) 80%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  z-index: 2;
}

.hero__text {
  animation: heroIn 1s 0.1s both var(--ease-out);
}

.hero__headline {
  font-size: clamp(48px, 8vw, 108px);
  font-weight: 900;
  font-family: var(--font-display);
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero__headline-line {
  display: block;
  color: #FFFFFF;
  animation: headlineSlide 0.9s both var(--ease-out);
}

.hero__headline-line:nth-child(1) { animation-delay: 0.2s; }
.hero__headline-line:nth-child(2) { animation-delay: 0.35s; }
.hero__headline-line:nth-child(3) { animation-delay: 0.5s; }

.hero__headline-line--accent {
  color: var(--accent);
  position: relative;
}

.hero__headline-line--accent::after {
  content: "";
  display: block;
  width: 96px;
  height: 6px;
  background: var(--accent);
  margin-top: 18px;
  animation: barGrow 0.8s 0.9s both var(--ease-out);
  transform-origin: left;
}

.hero__sub {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: var(--steel-2);
  max-width: 520px;
  margin-bottom: 36px;
  animation: fadeIn 0.8s 0.85s both;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
  animation: fadeIn 0.8s 1s both;
}

.hero__readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  animation: fadeIn 0.8s 1.15s both;
}

.hero__readout > div {
  padding-right: 18px;
}

.hero__readout dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700;
}

.hero__readout dd {
  font-size: 13.5px;
  color: var(--steel-2);
  line-height: 1.4;
  font-weight: 600;
}

/* Hero 3D viz */
.hero__viz {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  animation: vizIn 1.2s 0.4s both var(--ease-out);
}

/* CSS fallback so the area looks intentional if Three.js fails to load.
   When the canvas renders, it sits on top and hides this layer. */
.hero__viz::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 65% 35%, rgba(180, 83, 9, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(74, 119, 168, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, transparent 60%);
  z-index: 0;
  animation: vizGlow 9s ease-in-out infinite alternate;
}

@keyframes vizGlow {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(2%, -1%) scale(1.05); }
}

.hero__viz canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  position: relative;
  z-index: 1;
}

.hero__viz-label {
  position: absolute;
  bottom: -8px;
  left: 0;
  display: flex;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--steel-light);
  text-transform: uppercase;
}

.hero__viz-label .mono:first-child {
  color: var(--accent);
}

.hero__viz-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--accent);
  pointer-events: none;
}

.hero__viz-corner--tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.hero__viz-corner--tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.hero__viz-corner--bl { bottom: 24px; left: 0; border-right: none; border-top: none; }
.hero__viz-corner--br { bottom: 24px; right: 0; border-left: none; border-top: none; }

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 2;
  animation: fadeIn 0.8s 1.4s both;
}

.hero__scroll .mono {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--steel-light);
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -48px;
  left: 0;
  width: 100%;
  height: 24px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollDrop 2s infinite;
}

@keyframes scrollDrop {
  0% { transform: translateY(0); }
  100% { transform: translateY(96px); }
}

/* Hero animations */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes headlineSlide {
  from { opacity: 0; transform: translateY(40px); clip-path: inset(0 0 100% 0); }
  to   { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes barGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes vizIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

/* ----------------------------------------------------------
   PRICING PROMISE BANNER
---------------------------------------------------------- */
.pricing-promise {
  background: var(--ink);
  color: #FFFFFF;
  padding: 32px 0;
  border-top: 1px solid var(--ink-3);
  border-bottom: 4px solid var(--accent);
  position: relative;
  overflow: hidden;
}

.pricing-promise::before {
  content: "";
  position: absolute;
  top: 0;
  left: -20%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(180, 83, 9, 0.08), transparent);
  animation: pricingShimmer 6s ease-in-out infinite;
}

@keyframes pricingShimmer {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(250%); }
}

.pricing-promise__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.pricing-promise__tag {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.22em;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-promise__line {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.15;
  color: #FFFFFF;
  margin: 0;
}

.pricing-promise__line em {
  color: var(--accent);
  font-style: normal;
}

.pricing-promise__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #FFFFFF;
  text-transform: uppercase;
  font-weight: 700;
  padding: 12px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: all 0.28s var(--ease-out);
  white-space: nowrap;
}

.pricing-promise__cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .pricing-promise__row {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }
  .pricing-promise__cta {
    justify-self: start;
  }
}

/* ----------------------------------------------------------
   FAB GRID
---------------------------------------------------------- */
.fab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.fab-card {
  position: relative;
  background: var(--paper);
  padding: 32px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.4s var(--ease-out);
  cursor: default;
  overflow: hidden;
  min-height: 280px;
}

.fab-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.fab-card:hover {
  background: var(--ink);
  color: #FFFFFF;
  transform: translateY(-4px);
  z-index: 2;
}

.fab-card:hover::before {
  transform: scaleX(1);
}

.fab-card__num {
  font-size: 10px;
  color: var(--steel);
  font-weight: 700;
  letter-spacing: 0.2em;
}

.fab-card:hover .fab-card__num {
  color: var(--accent);
}

.fab-card__icon {
  color: var(--ink);
  margin: 6px 0 6px;
  transition: color 0.4s var(--ease-out);
}

.fab-card:hover .fab-card__icon {
  color: var(--accent);
}

.fab-card__icon svg {
  width: 40px;
  height: 40px;
}

.fab-card h3 {
  font-size: 22px;
  letter-spacing: 0.005em;
  margin-bottom: 4px;
  color: var(--ink);
  transition: color 0.4s var(--ease-out);
}

.fab-card:hover h3 {
  color: #FFFFFF;
}

.fab-card p {
  font-size: 13.5px;
  color: var(--steel);
  line-height: 1.55;
  flex-grow: 1;
  transition: color 0.4s var(--ease-out);
}

.fab-card:hover p {
  color: var(--steel-2);
}

.fab-card__tag {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: auto;
  transition: border-color 0.4s var(--ease-out);
}

.fab-card:hover .fab-card__tag {
  border-top-color: var(--ink-3);
}

.fab-card--accent {
  background: var(--ink);
  color: #FFFFFF;
}

.fab-card--accent::before {
  transform: scaleX(1);
  background: var(--accent);
}

.fab-card--accent h3 { color: #FFFFFF; }
.fab-card--accent p { color: var(--steel-2); }
.fab-card--accent .fab-card__num { color: var(--accent); }
.fab-card--accent .fab-card__icon { color: var(--accent); }
.fab-card--accent .fab-card__tag { border-top-color: var(--ink-3); color: var(--accent); }

.fab-card--accent:hover {
  background: var(--accent);
}

.fab-card--accent:hover .fab-card__icon,
.fab-card--accent:hover .fab-card__tag,
.fab-card--accent:hover .fab-card__num {
  color: #FFFFFF;
}

/* ----------------------------------------------------------
   WHY GRID
---------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 56px;
}

.why-card {
  padding: 0;
}

.why-card__num {
  display: block;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 28px;
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: 0.005em;
}

.why-card p {
  font-size: 14.5px;
  color: var(--steel-2);
  line-height: 1.6;
}

/* ----------------------------------------------------------
   SPEC SHEET (capabilities)
---------------------------------------------------------- */
.section--spec {
  background: var(--bg);
  position: relative;
}

.section--spec::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(107, 112, 120, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 112, 120, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.section--spec > .container {
  position: relative;
  z-index: 1;
}

.spec-sheet {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
}

.spec-sheet__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 22px 32px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
}

.spec-sheet__row:last-child {
  border-bottom: none;
}

.spec-sheet__row--out {
  background: var(--bg-soft);
}

.spec-sheet__label {
  font-size: 11px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.spec-sheet__row--out .spec-sheet__label {
  color: var(--steel);
}

.spec-sheet__value {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-block;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--bg-soft);
  color: var(--ink);
  border: 1px solid var(--line);
}

.chip--accent {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.chip--muted {
  background: transparent;
  color: var(--steel);
  border-style: dashed;
}

.chip--ghost {
  background: transparent;
  color: var(--steel);
  border-color: var(--line);
  text-decoration: line-through;
  text-decoration-color: var(--steel-light);
}

/* ----------------------------------------------------------
   INSULATED
---------------------------------------------------------- */
.section--insulated {
  background: linear-gradient(180deg, var(--ink) 0%, #16181A 100%);
}

.insulated {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.insulated__text .section-head__num {
  margin-bottom: 18px;
}

.insulated__text .section-head__title {
  font-size: clamp(32px, 4.5vw, 56px);
  margin-bottom: 20px;
  color: #FFFFFF;
}

.insulated__text > p {
  font-size: 15px;
  color: var(--steel-2);
  line-height: 1.65;
  margin-bottom: 24px;
}

.insulated__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.insulated__bullets li {
  font-size: 14.5px;
  color: var(--steel-2);
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.insulated__bullets li .mono {
  color: var(--accent);
}

.insulated__diagram {
  position: relative;
  padding: 20px;
  border: 1px solid var(--ink-3);
  background: rgba(255, 255, 255, 0.02);
}

.insulated__diagram-label {
  margin-top: 12px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--steel-light);
  text-transform: uppercase;
}

/* ----------------------------------------------------------
   PROCESS
---------------------------------------------------------- */
.process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: process;
}

.process__step {
  position: relative;
  padding: 0 28px 0 0;
}

.process__step:not(:last-child) {
  border-right: 1px solid var(--line);
}

.process__step:not(:first-child) {
  padding-left: 28px;
}

.process__step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.process__step-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: 0;
}

.process__step-line {
  flex: 1;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.process__step-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--ink);
}

.process__step-line--end::after {
  border: 2px solid var(--accent);
  background: var(--bg);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.process__step h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--ink);
}

.process__step p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.6;
}

/* ----------------------------------------------------------
   JOBS
---------------------------------------------------------- */
.jobs-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 56px;
}

.jobs-col__title {
  font-size: 24px;
  color: #FFFFFF;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink-3);
  display: flex;
  align-items: center;
  gap: 14px;
}

.jobs-col__title .mono {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.2em;
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
}

.jobs-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.jobs-col li {
  font-size: 16px;
  color: var(--steel-2);
  padding: 14px 0;
  border-bottom: 1px dashed var(--ink-3);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: padding-left 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.jobs-col li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex-shrink: 0;
}

.jobs-col li:hover {
  padding-left: 8px;
  color: #FFFFFF;
}

.commercial-banner {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 24px 32px;
  background: rgba(180, 83, 9, 0.08);
  border-left: 4px solid var(--accent);
}

.commercial-banner__tag {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.2em;
  font-weight: 700;
  white-space: nowrap;
}

.commercial-banner p {
  font-size: 15px;
  color: var(--steel-2);
  line-height: 1.55;
  margin: 0;
}

.commercial-banner strong {
  color: #FFFFFF;
}

/* ----------------------------------------------------------
   CONTACT
---------------------------------------------------------- */
.section--contact {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.section--contact::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}

.contact {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact__direct {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink-3);
}

.contact__row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink-3);
  color: var(--steel-2);
  transition: all 0.3s var(--ease-out);
}

.contact__row svg {
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s var(--ease-out);
  color: var(--accent);
}

.contact__row:not(.contact__row--static):hover {
  padding-left: 8px;
  color: #FFFFFF;
}

.contact__row:not(.contact__row--static):hover svg {
  opacity: 1;
  transform: translateX(0);
}

.contact__row--primary .contact__value {
  font-size: 28px !important;
  font-family: var(--font-display);
  font-weight: 700;
}

.contact__label {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.2em;
  font-weight: 700;
}

.contact__value {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  word-break: break-word;
}

.contact__form {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact__form-head {
  margin-bottom: 6px;
}

.contact__form-head .mono {
  display: block;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.22em;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact__form-head h3 {
  color: #FFFFFF;
  font-size: 26px;
}

.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact__form-label {
  font-size: 10px;
  color: var(--steel-light);
  letter-spacing: 0.18em;
  font-weight: 600;
}

.contact__form input,
.contact__form textarea {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--ink-3);
  padding: 10px 0;
  color: #FFFFFF;
  font-size: 15px;
  font-family: var(--font-body);
  resize: vertical;
  transition: border-color 0.3s var(--ease-out);
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: var(--steel);
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.contact__form-foot {
  font-size: 10px;
  color: var(--steel-light);
  text-align: center;
  letter-spacing: 0.15em;
  margin-top: 4px;
}

/* ----------------------------------------------------------
   FOOTER
---------------------------------------------------------- */
.footer {
  background: #0F1112;
  color: var(--steel-light);
  padding: 56px 0 32px;
  border-top: 1px solid var(--ink-3);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer__brand img {
  height: 40px;
  width: auto;
  opacity: 0.9;
  margin-bottom: 16px;
}

.footer__tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--steel);
}

.footer__tag-accent {
  color: var(--accent);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.footer__contact a {
  color: var(--steel-2);
  transition: color 0.2s;
}

.footer__contact a:hover {
  color: var(--accent);
}

.footer__contact span {
  color: var(--steel);
}

.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--steel);
  text-align: right;
}

/* ----------------------------------------------------------
   REVEAL ANIMATIONS — progressive enhancement
   Items show by default; JS adds .js to <html> and .reveal--hidden
   to elements that should animate in.
---------------------------------------------------------- */
html.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(28px);
}

.reveal {
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger child reveals */
.fab-grid .reveal.is-visible:nth-child(1) { transition-delay: 0.05s; }
.fab-grid .reveal.is-visible:nth-child(2) { transition-delay: 0.1s; }
.fab-grid .reveal.is-visible:nth-child(3) { transition-delay: 0.15s; }
.fab-grid .reveal.is-visible:nth-child(4) { transition-delay: 0.2s; }
.fab-grid .reveal.is-visible:nth-child(5) { transition-delay: 0.05s; }
.fab-grid .reveal.is-visible:nth-child(6) { transition-delay: 0.1s; }
.fab-grid .reveal.is-visible:nth-child(7) { transition-delay: 0.15s; }
.fab-grid .reveal.is-visible:nth-child(8) { transition-delay: 0.2s; }

.why-grid .reveal.is-visible:nth-child(1) { transition-delay: 0.05s; }
.why-grid .reveal.is-visible:nth-child(2) { transition-delay: 0.12s; }
.why-grid .reveal.is-visible:nth-child(3) { transition-delay: 0.19s; }
.why-grid .reveal.is-visible:nth-child(4) { transition-delay: 0.05s; }
.why-grid .reveal.is-visible:nth-child(5) { transition-delay: 0.12s; }
.why-grid .reveal.is-visible:nth-child(6) { transition-delay: 0.19s; }

.process .reveal.is-visible:nth-child(1) { transition-delay: 0.05s; }
.process .reveal.is-visible:nth-child(2) { transition-delay: 0.15s; }
.process .reveal.is-visible:nth-child(3) { transition-delay: 0.25s; }
.process .reveal.is-visible:nth-child(4) { transition-delay: 0.35s; }

/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 1100px) {
  .fab-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .process__step:nth-child(2) { border-right: none; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__menu-btn { display: flex; }
  .mobile-menu { display: flex; }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 24px);
    padding-bottom: 60px;
  }
  .hero__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__viz {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero__scroll { display: none; }

  .insulated {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .jobs-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__meta {
    text-align: left;
  }

  .spec-sheet__row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .fab-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .process { grid-template-columns: 1fr; }
  .process__step {
    padding: 0 !important;
    border-right: none !important;
    border-bottom: 1px solid var(--line);
    padding-bottom: 32px !important;
    margin-bottom: 32px;
  }
  .process__step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0 !important;
  }

  .hero__readout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero__readout > div {
    padding-right: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ink-3);
  }
  .hero__readout > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .contact__form {
    padding: 24px;
  }

  .contact__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact__row svg { display: none; }

  .contact__row--primary .contact__value { font-size: 22px !important; }

  .commercial-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .btn { padding: 12px 18px; font-size: 13px; }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__ctas .btn {
    justify-content: center;
  }
}

/* ----------------------------------------------------------
   ACCESSIBILITY: reduced motion
---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
  .hero__headline-line { animation: none; opacity: 1; }
}

/* ----------------------------------------------------------
   PRINT
---------------------------------------------------------- */
@media print {
  .nav, .hero__viz, .hero__scroll, .mobile-menu { display: none !important; }
  .section { padding: 24px 0 !important; break-inside: avoid; }
  body { background: white !important; }
  .section--dark { background: white !important; color: var(--ink) !important; }
}
