:root {
  --bg: #0b0b0c;
  --bg-alt: #141416;
  --surface: #1b1b1e;
  --line: #2a2a2e;
  --text: #ececec;
  --muted: #a3a3a8;
  --copper: #d08b5b;
  --copper-hi: #e4a77b;
  --radius: 10px;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-hi); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--copper); color: #000; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--copper);
  margin-bottom: .75em;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  background: var(--copper);
  color: #111;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--copper);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--copper-hi); border-color: var(--copper-hi); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: transparent; color: var(--copper-hi); border-color: var(--copper); }
.btn-small { padding: .45rem 1.1rem; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand img { width: 48px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--copper-hi); }
.nav-toggle, .nav-toggle-label { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  background:
    radial-gradient(circle at 76% 50%, rgba(0,0,0,.55) 0, rgba(0,0,0,0) 22rem),
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.4) 100%),
    url("img/hero-welders.webp") center / cover no-repeat;
}
.hero-inner {
  padding-block: 5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}
.hero-text { grid-column: 1; grid-row: 1; }
.hero-logo {
  grid-column: 2; grid-row: 1;
  width: clamp(220px, 26vw, 340px);
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .75));
}
.hero h1 { max-width: 16ch; }
.lead { font-size: 1.2rem; color: #d4d4d8; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }

/* Sections */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 2.75rem; }
.section-head p:last-child, .split p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-even { grid-template-columns: 1fr 1fr; }
.split .btn { margin-top: .75rem; }
.split-media { margin: 0; }
.split-media img { border-radius: var(--radius); aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: #3a3a40; }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; }
.card-body p { color: var(--muted); margin: 0; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature { border-top: 2px solid var(--copper); padding-top: 1.4rem; }
.feature h3 { margin-bottom: .2em; }
.feature-sub { color: var(--copper-hi); font-weight: 500; font-size: .95rem; }
.feature p:last-child { color: var(--muted); margin: 0; }
.band {
  margin-top: clamp(3rem, 6vw, 5rem);
  height: clamp(180px, 26vw, 320px);
  background: url("img/precision.webp") center / cover no-repeat;
}

/* Hours */
.hours { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem 1.5rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.hours div:last-child { border-bottom: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.contact-item {
  display: flex; flex-direction: column; gap: .3rem;
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s;
  min-width: 0;
}
a.contact-item:hover { border-color: var(--copper); }
.contact-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--copper); font-weight: 600; }
.contact-value { font-weight: 600; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: #000; border-top: 1px solid var(--line); padding-block: 2.5rem; color: var(--muted); font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.footer-logo { width: 110px; }
.footer-details { flex: 1; min-width: 220px; }
.site-footer strong { color: var(--text); }
.footer-links { display: flex; flex-direction: column; gap: .3rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--copper-hi); }
.copyright { flex-basis: 100%; margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .85rem; }

/* Responsive */
@media (max-width: 960px) {
  .cards, .features { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle-label {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; cursor: pointer;
  }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    content: ""; display: block; width: 24px; height: 2px; background: var(--text); position: relative; transition: transform .2s;
  }
  .nav-toggle-label span::before { position: absolute; top: -7px; }
  .nav-toggle-label span::after { position: absolute; top: 7px; }
  .nav-toggle { display: block; position: absolute; opacity: 0; width: 44px; height: 44px; right: 1.25rem; margin: 0; cursor: pointer; z-index: 2; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #000; border-bottom: 1px solid var(--line);
    display: none; padding: .5rem 1.25rem 1.25rem;
  }
  .site-nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 1rem; text-align: center; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:focus-visible + .nav-toggle-label { outline: 2px solid var(--copper); }

  .split, .split-even, .cards, .features, .contact-grid { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .split-media img { aspect-ratio: 16 / 11; }
  .hero { min-height: min(80svh, 620px); background-position: 70% center; }
  .hero-inner { padding-block: 2.5rem 3.5rem; grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-logo { grid-row: 1; grid-column: 1; width: 150px; }
  .hero-text { grid-row: 2; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .brand img { width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
