:root {
  --ink: #15191f;
  --steel: #2d343c;
  --ash: #5d6670;
  --line: #d9dee3;
  --paper: #f5f7f8;
  --white: #ffffff;
  --safety: #ffc928;
  --safety-dark: #dba600;
  --oxide: #ae452f;
  --teal: #1f6f8b;
  --shadow: 0 18px 50px rgba(21, 25, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--safety);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  padding: 0 30px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 222, 227, 0.85);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 auto;
  background: var(--ink);
  color: var(--safety);
  border: 3px solid var(--safety);
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1;
}

.brand-copy {
  display: grid;
  line-height: 1.02;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-copy span:last-child {
  color: var(--ash);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  color: var(--steel);
  font-size: 0.94rem;
  font-weight: 800;
}

.primary-nav a,
.header-call {
  position: relative;
  padding: 0.55rem 0;
}

.primary-nav a::after,
.header-call::after {
  position: absolute;
  left: 0;
  bottom: 0.3rem;
  width: 100%;
  height: 3px;
  background: var(--safety);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
  content: "";
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.header-call:hover::after,
.header-call:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-call {
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -3;
  background: var(--ink);
}

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

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 15, 19, 0.86) 0%, rgba(12, 15, 19, 0.66) 38%, rgba(12, 15, 19, 0.15) 74%),
    linear-gradient(0deg, rgba(12, 15, 19, 0.32), rgba(12, 15, 19, 0.05));
}

.hero-content {
  padding: 6rem 0 5rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--safety);
  text-transform: uppercase;
  font-size: 0.82rem;
  line-height: 1.3;
  font-weight: 900;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4.7rem;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 690px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0.78rem 1.1rem;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--safety);
  color: var(--ink);
  border-color: var(--safety);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffe07a;
  border-color: #ffe07a;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 720px;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 800;
}

.cred-strip {
  background: var(--ink);
  color: var(--white);
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.13);
}

.cred-grid div {
  min-height: 118px;
  padding: 1.35rem;
  background: var(--ink);
}

.cred-grid span {
  display: block;
  color: var(--safety);
  font-size: 0.78rem;
  font-weight: 900;
}

.cred-grid p {
  max-width: 280px;
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  font-weight: 800;
}

.section {
  padding: 6rem 0;
}

.intro {
  background: var(--white);
}

.intro-grid,
.process-grid,
.industries-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: start;
}

.section-kicker {
  color: var(--oxide);
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: 2.65rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.intro-copy p,
.process-copy p,
.contact-copy p {
  margin: 0 0 1rem;
  color: var(--steel);
  font-size: 1.08rem;
}

.service-section,
.industries-section {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-heading .section-kicker {
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.3rem;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(21, 25, 31, 0.06);
}

.service-number {
  width: fit-content;
  margin-bottom: 2.4rem;
  border-bottom: 4px solid var(--safety);
  color: var(--oxide);
  font-size: 0.76rem;
  font-weight: 900;
}

.service-card p {
  margin: 1rem 0 0;
  color: var(--ash);
}

.visual-band {
  background: var(--white);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.work-card picture {
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--steel);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card div {
  padding: 1.2rem;
}

.work-card p {
  margin: 0 0 0.4rem;
  color: var(--oxide);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.process-section {
  background: var(--ink);
  color: var(--white);
}

.process-copy .section-kicker {
  color: var(--safety);
}

.process-copy p {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 1rem;
}

.process-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 1.1rem 1.1rem 1.1rem 4.2rem;
  background: rgba(255, 255, 255, 0.05);
}

.process-list li::before {
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--safety);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  counter-increment: process;
  content: counter(process);
}

.process-list span {
  display: block;
  font-weight: 900;
}

.process-list p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.industries-grid {
  align-items: center;
}

.industries-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.industries-list li {
  border-left: 5px solid var(--safety);
  border-radius: 6px;
  background: var(--white);
  padding: 1rem;
  color: var(--steel);
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(21, 25, 31, 0.06);
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(31, 111, 139, 0.08), rgba(174, 69, 47, 0.06)),
    var(--white);
}

.contact-methods {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-methods a {
  display: grid;
  gap: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}

.contact-methods span {
  color: var(--oxide);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.estimate-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.estimate-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--steel);
  font-size: 0.88rem;
  font-weight: 900;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  border: 1px solid #c8d0d7;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 0.78rem 0.85rem;
}

.estimate-form textarea {
  min-height: 148px;
  resize: vertical;
}

.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
  outline: 3px solid rgba(255, 201, 40, 0.42);
  border-color: var(--safety-dark);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-note {
  margin: -0.2rem 0 0;
  color: var(--ash);
  font-size: 0.88rem;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.brand-footer .brand-mark {
  background: var(--white);
  color: var(--ink);
}

.site-footer p {
  max-width: 430px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  font-weight: 900;
}

.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.3rem;
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    justify-content: stretch;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  body.nav-open .primary-nav {
    display: grid;
  }

  .primary-nav a {
    padding: 1rem 20px;
    border-top: 1px solid var(--line);
  }

  .primary-nav a::after {
    display: none;
  }

  .header-call {
    display: none;
  }

  .hero {
    min-height: 72svh;
  }

  .hero-content {
    padding: 5rem 0 4rem;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .cred-grid,
  .services-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .process-grid,
  .industries-grid,
  .contact-grid,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .section-inner {
    width: min(100% - 28px, 1160px);
  }

  .brand-copy {
    font-size: 0.86rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 70svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 15, 19, 0.9) 0%, rgba(12, 15, 19, 0.72) 62%, rgba(12, 15, 19, 0.26) 100%),
      linear-gradient(0deg, rgba(12, 15, 19, 0.4), rgba(12, 15, 19, 0.05));
  }

  .hero h1 {
    font-size: 2.55rem;
    line-height: 1;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .hero-tags {
    gap: 0.5rem;
  }

  .hero-tags li {
    font-size: 0.82rem;
  }

  .section {
    padding: 4rem 0;
  }

  h2 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .industries-list,
  .estimate-form {
    grid-template-columns: 1fr;
  }

  .work-card div,
  .service-card,
  .estimate-form {
    padding: 1rem;
  }
}
