﻿:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #151617;
  --muted: #64605a;
  --line: #dfd9ce;
  --steel: #50656b;
  --steel-dark: #263436;
  --accent: #c72f2f;
  --accent-dark: #941f22;
  --sand: #e8dfd1;
  --shadow: 0 24px 70px rgba(20, 22, 24, 0.12);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(18, 20, 21, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 218px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 850;
  background: linear-gradient(135deg, var(--accent), #7e1c1d);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}

.brand-logo-panel {
  display: grid;
  place-items: center;
  width: 146px;
  min-height: 44px;
  padding: 7px 10px;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
}

.brand-logo-panel img {
  display: block;
  width: 126px;
  max-width: 100%;
  height: auto;
  transform: scale(1.48);
  transform-origin: center;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1.02rem;
  letter-spacing: 0;
}

.brand-copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  gap: 6px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.91rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.icon-link,
.call-button,
.primary-button,
.secondary-button,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
}

.icon-link {
  width: 42px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.call-button,
.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 12px 34px rgba(199, 47, 47, 0.24);
}

.call-button {
  padding: 0 16px;
  font-weight: 760;
}

.primary-button,
.secondary-button {
  padding: 0 18px;
  font-weight: 780;
}

.secondary-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.primary-button:hover,
.call-button:hover {
  filter: saturate(1.05) brightness(1.04);
}

.menu-toggle {
  display: none;
  width: 42px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(720px, calc(100svh - 116px));
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

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

.hero-media {
  z-index: -3;
  background-image: url("assets/mechanical-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 14, 15, 0.88) 0%, rgba(12, 14, 15, 0.58) 38%, rgba(12, 14, 15, 0.2) 72%),
    linear-gradient(0deg, rgba(12, 14, 15, 0.56), rgba(12, 14, 15, 0.08) 42%);
}

.hero-content {
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 72px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffdfdd;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.3rem, 8vw, 7.3rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 2vw, 1.34rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  min-height: 128px;
  padding: 28px clamp(18px, 4vw, 48px);
  background: var(--surface);
}

.proof-strip span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
}

.proof-strip strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.08rem;
}

.proof-strip p,
.intro-copy p,
.method-copy p,
.service-card p,
.method-list p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.intro-section,
.services-section,
.references-section,
.contact-section,
.method-section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.method-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro-copy {
  display: grid;
  gap: 18px;
  padding-top: 34px;
  font-size: 1.05rem;
}

.services-section {
  background: var(--steel-dark);
  color: #fff;
}

.services-section .section-heading {
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

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

.service-feature-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 100%;
  overflow: hidden;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.service-feature-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--steel);
}

.service-feature-card span,
.service-feature-card h3,
.service-feature-card p,
.service-feature-card strong {
  margin-inline: 22px;
}

.service-feature-card span {
  margin-top: 20px;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.service-feature-card p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.62;
}

.service-feature-card strong {
  margin-bottom: 22px;
  color: var(--accent-dark);
  font-size: 0.9rem;
}

.service-card {
  min-height: 260px;
  padding: 24px;
  color: var(--ink);
  background: #fbfaf7;
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 36px;
  color: var(--accent);
  stroke-width: 1.8;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.method-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 6vw, 82px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(80, 101, 107, 0.95), rgba(24, 27, 28, 0.98)),
    var(--steel);
}

.business-lines-section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
  background: #fff;
}

.business-lines-section .section-heading {
  margin-bottom: 34px;
}

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

.business-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 250px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.business-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.business-card div {
  display: grid;
  align-content: end;
  padding: 22px;
}

.business-card h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.business-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.method-copy p {
  max-width: 660px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.74);
}

.method-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.method-list li {
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.method-list span {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 850;
}

.method-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.references-section {
  background: var(--bg);
}

.references-section .section-heading {
  margin-bottom: 30px;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.reference-grid span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  font-weight: 780;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.reference-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.reference-logo-grid img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-section {
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: 18px;
  margin-top: 34px;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card svg {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: var(--accent);
  stroke-width: 1.8;
}

.contact-card span {
  display: grid;
  gap: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.contact-card strong {
  color: var(--ink);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  background: var(--steel-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 730;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  outline: 0;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.contact-form option {
  color: var(--ink);
}

.full-field {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.74);
  background: #141516;
}

.site-footer strong {
  display: block;
  max-width: 680px;
  color: #fff;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer nav {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  white-space: nowrap;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.floating-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 16px;
  color: #fff;
  font-weight: 840;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.legal-main {
  background: var(--bg);
}

.detail-main {
  background: var(--bg);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  min-height: 560px;
  color: #fff;
  background: var(--steel-dark);
}

.detail-hero-copy {
  display: grid;
  align-content: center;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.detail-hero-copy h1 {
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.96;
}

.detail-hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.68;
}

.detail-hero-media {
  min-height: 360px;
  background: var(--steel);
}

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

.detail-content {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.82fr);
  gap: 18px;
  padding: clamp(34px, 7vw, 72px) clamp(18px, 5vw, 72px);
}

.detail-panel,
.detail-list-panel {
  padding: clamp(24px, 4vw, 42px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-panel h2,
.detail-list-panel h2 {
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.detail-panel p,
.detail-list-panel p,
.detail-list-panel li {
  color: var(--muted);
  line-height: 1.72;
}

.detail-list-panel ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list-panel li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list-panel li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  aspect-ratio: 1;
  margin-top: 11px;
  background: var(--accent);
  border-radius: 999px;
}

.detail-list-panel li:last-child {
  border-bottom: 0;
}

.detail-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(64px, 9vw, 112px);
}

.detail-cta .secondary-button {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}

.legal-hero {
  padding: clamp(60px, 8vw, 96px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(20, 21, 22, 0.96), rgba(38, 52, 54, 0.9)),
    var(--steel-dark);
}

.legal-hero h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.96;
}

.legal-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.65;
}

.legal-article {
  width: min(980px, calc(100% - 36px));
  margin: clamp(32px, 6vw, 64px) auto clamp(64px, 9vw, 112px);
  padding: clamp(24px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(20, 22, 24, 0.08);
}

.legal-article h2 {
  margin: 34px 0 14px;
  font-size: clamp(1.36rem, 2.4vw, 2rem);
  line-height: 1.18;
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article h3 {
  margin: 28px 0 10px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.legal-article p,
.legal-article li {
  color: var(--muted);
  line-height: 1.72;
}

.legal-article a {
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-article ul {
  display: grid;
  gap: 7px;
  margin: 0 0 20px;
  padding-left: 22px;
}

.legal-article hr {
  margin: 38px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.legal-meta {
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-table-wrap {
  width: 100%;
  margin: 20px 0 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-table-wrap table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.legal-table-wrap th,
.legal-table-wrap td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-table-wrap th {
  color: var(--ink);
  background: var(--sand);
}

.legal-table-wrap tr:last-child td {
  border-bottom: 0;
}

svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 10px);
    display: none;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: rgba(18, 20, 21, 0.96);
    border-radius: var(--radius);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: var(--radius);
  }

  .header-actions {
    justify-self: end;
  }

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

  .service-feature-grid,
  .business-grid,
  .reference-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .business-card {
    grid-template-columns: 1fr;
  }

  .reference-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy small {
    display: none;
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .header-actions {
    display: none;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 14, 15, 0.9), rgba(12, 14, 15, 0.58)),
      linear-gradient(0deg, rgba(12, 14, 15, 0.64), rgba(12, 14, 15, 0.12));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-inline: 18px;
    padding: 48px 0 72px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .proof-strip,
  .intro-section,
  .method-section,
  .contact-layout,
  .detail-hero,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    min-height: auto;
  }

  .intro-copy {
    padding-top: 0;
  }

  .service-grid,
  .service-feature-grid,
  .business-grid,
  .reference-logo-grid,
  .reference-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .brand-logo-panel {
    width: 112px;
    min-height: 40px;
    padding: 6px 8px;
  }

  .brand-logo-panel img {
    width: 96px;
  }

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

  .service-card svg {
    margin-bottom: 22px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .floating-call {
    display: inline-flex;
  }
}
