:root {
  --ink: #09090a;
  --graphite: #111113;
  --slate: #1a1b1d;
  --steel: #24262a;
  --line: #303238;
  --red: #e53924;
  --red-hot: #ff604b;
  --bone: #f3f1ec;
  --ash: #b5b2aa;
  --muted: #7e7b75;
  --container: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(229, 57, 36, 0.65);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--red);
  color: #fff;
  border-radius: 4px;
}

.skip-link:focus {
  top: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.concept-bar {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 9px 20px;
  border-bottom: 1px solid var(--line);
  background: #050506;
  color: var(--ash);
  font-size: 13px;
  text-align: center;
}

.concept-bar a {
  color: var(--bone);
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(9, 9, 10, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-grid {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand img {
  width: 178px;
  height: auto;
}

.nav,
.header-actions,
.hero-actions,
.contact-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav {
  justify-content: center;
}

.nav a,
.footer-links a {
  color: var(--ash);
  font-size: 14px;
  text-decoration: none;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--bone);
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 4px;
  border: 1px solid transparent;
  color: var(--bone);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.1;
}

.button-primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.button-primary:hover {
  background: var(--red-hot);
}

.button-secondary,
.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: var(--ash);
}

.button-large {
  min-height: 50px;
  padding-inline: 20px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--graphite);
  color: var(--bone);
  padding: 10px;
}

.menu-toggle span:not(.visually-hidden) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: stretch;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,9,10,0.96), rgba(9,9,10,0.78) 48%, rgba(9,9,10,0.38)),
    linear-gradient(0deg, var(--ink), transparent 30%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 52px;
  align-items: center;
  padding: 92px 0 116px;
}

.kicker {
  margin: 0 0 20px;
  color: var(--red-hot);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.contact-card h2,
.owner-cta h2 {
  margin: 0;
  font-family: "Arial Black", Impact, ui-sans-serif, system-ui, sans-serif;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 6vw, 84px);
}

.hero-lede {
  max-width: 700px;
  margin: 26px 0 30px;
  color: var(--ash);
  font-size: 19px;
}

.bay-board,
.contact-card,
.service-card,
.matrix,
.faq-list article,
.project-log,
.proof-layout {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 17, 19, 0.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.bay-board {
  backdrop-filter: blur(14px);
}

.panel-head,
.bay-list div,
.board-cta,
.matrix div,
.project-log a {
  border-bottom: 1px solid var(--line);
}

.panel-head,
.board-cta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
}

.panel-head span,
.panel-head strong,
.bay-list dt,
.board-cta span,
.matrix span,
.project-log span,
.contact-details dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.bay-list {
  margin: 0;
}

.bay-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 18px;
}

.bay-list div:last-child,
.matrix div:last-child,
.project-log a:last-child {
  border-bottom: 0;
}

.bay-list dd {
  margin: 0;
  font-weight: 800;
}

.board-cta a,
.service-card a,
.faq-list a,
.project-log a:hover strong {
  color: var(--red-hot);
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: var(--graphite);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-grid div {
  min-height: 120px;
  padding: 24px;
  border-left: 1px solid var(--line);
}

.stat-grid div:last-child {
  border-right: 1px solid var(--line);
}

.stat-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--bone);
  font-size: 22px;
}

.stat-grid span {
  color: var(--ash);
}

.section {
  padding: 82px 0;
}

.section-dark {
  background: #0d0d0e;
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-head.compact {
  margin-bottom: 0;
}

.section-head h2,
.contact-card h2,
.owner-cta h2 {
  font-size: clamp(32px, 4vw, 56px);
}

.section-head p,
.contact-card p,
.site-footer p {
  color: var(--ash);
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.service-icon,
.parts-mark {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 30px;
}

.parts-mark {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--slate);
  color: var(--red-hot);
  font-weight: 900;
}

.service-card h3,
.faq-list h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.15;
}

.service-card p,
.matrix p,
.faq-list p {
  margin: 0;
  color: var(--ash);
}

.service-card a {
  margin-top: 24px;
  font-weight: 800;
  text-decoration: none;
}

.capability-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
}

.image-pair img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.matrix div {
  min-height: 190px;
  padding: 22px;
}

.matrix div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.matrix span {
  display: block;
  margin-bottom: 14px;
  color: var(--red-hot);
}

.proof-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: 28px;
}

.badge-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.badge-row img {
  width: 100%;
  min-height: 120px;
  object-fit: contain;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.project-section {
  background: var(--graphite);
  border-block: 1px solid var(--line);
}

.project-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 42px;
}

.project-log a {
  display: block;
  padding: 22px;
  text-decoration: none;
}

.project-log strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 34px;
}

.contact-actions {
  justify-content: flex-end;
}

.contact-details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
}

.contact-details div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--slate);
}

.contact-details dd {
  margin: 8px 0 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 42px;
}

.faq-list {
  display: grid;
}

.faq-list article {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 24px;
}

.faq-list article:last-child {
  border-bottom: 0;
}

.faq-list a {
  display: inline-block;
  margin-top: 14px;
  font-weight: 800;
}

.site-footer {
  padding: 52px 0;
  border-top: 1px solid var(--line);
  background: #050506;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.footer-logo {
  width: 180px;
  margin-bottom: 18px;
}

.owner-cta {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.owner-cta h2 {
  font-size: 34px;
}

.footer-links {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .header-grid {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
    justify-content: flex-start;
  }

  .nav.is-open,
  .nav.is-open + .header-actions {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .capability-grid,
  .proof-layout,
  .project-grid,
  .contact-card,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 64px 0;
  }

  .stat-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .concept-bar {
    display: grid;
    gap: 4px;
    font-size: 12px;
  }

  .brand img {
    width: 148px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions,
  .contact-actions,
  .header-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .bay-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .stat-grid,
  .service-grid,
  .matrix,
  .badge-row,
  .image-pair {
    grid-template-columns: 1fr;
  }

  .stat-grid div,
  .stat-grid div:last-child {
    border-right: 1px solid var(--line);
  }

  .matrix div:nth-child(odd) {
    border-right: 0;
  }

  .section {
    padding: 52px 0;
  }

  .service-card {
    min-height: 0;
  }

  .proof-layout,
  .contact-card {
    padding: 20px;
  }
}

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