:root {
  --bg: #111417;
  --surface: #191d21;
  --ink: #f5efe6;
  --muted: #b8aea2;
  --line: #353a40;
  --blue: #d3985d;
  --red: #c66b3d;
  --amber: #e2a761;
  --steel: #0a0d0f;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(160px, 260px) 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 20, 23, 0.94);
  backdrop-filter: blur(10px);
}

.hero-copy,
.hero-media,
.hero-copy > *,
.contact-copy,
.section > *,
.workmanship-panel > *,
.gallery-grid,
figure {
  min-width: 0;
}

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

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav a,
.header-call,
.button,
.bid-form button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.nav a {
  padding: 0 14px;
  border-color: transparent;
}

.nav a:hover {
  border-color: var(--line);
  background: var(--surface);
}

.header-call {
  padding: 0 16px;
  color: var(--steel);
  background: var(--amber);
  border-color: var(--amber);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: stretch;
  min-height: calc(100vh - 74px);
  padding: clamp(34px, 6vw, 74px) clamp(18px, 4vw, 54px) 28px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 870px;
}

.eyebrow,
.section-label,
.service-code {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

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

h1 {
  max-width: 940px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 7.2rem);
  line-height: 0.95;
  font-weight: 700;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4.2vw, 4.4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.36rem);
}

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

.button {
  padding: 0 18px;
}

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

.button.secondary {
  background: var(--surface);
  color: var(--ink);
}

.hero-media {
  display: grid;
  min-height: 420px;
  border: 1px solid var(--steel);
  background: var(--steel);
  padding: 12px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(226, 167, 97, 0.36);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  min-height: 118px;
  padding: 22px clamp(16px, 3vw, 34px);
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip span {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.trust-strip strong {
  font-size: clamp(1rem, 1.6vw, 1.45rem);
}

.section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(20px, 5vw, 72px);
  padding: clamp(56px, 8vw, 108px) clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
}

.intro p,
.workmanship p,
.contact-copy p {
  max-width: 750px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

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

.service-grid article {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-grid p {
  color: var(--muted);
}

.workmanship-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--steel);
  background:
    linear-gradient(90deg, rgba(226, 167, 97, 0.12), transparent),
    var(--surface);
}

.workmanship-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.workmanship-panel li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
}

.gallery h2 {
  max-width: 860px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 12px;
  margin-top: 28px;
}

figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

figure.wide {
  grid-column: span 2;
  grid-row: span 2;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: rgba(23, 23, 23, 0.76);
  color: white;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.7fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(56px, 8vw, 108px) clamp(18px, 4vw, 54px);
  background: var(--steel);
  color: var(--surface);
}

.contact-copy p {
  color: #d7d1c7;
}

.phone-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--amber);
  font-size: clamp(1.8rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1;
}

.bid-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.06);
}

.bid-form label {
  display: grid;
  gap: 8px;
  color: #d7d1c7;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.bid-form input,
.bid-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.1);
  color: white;
  font: inherit;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 1rem;
  padding: 12px;
}

.bid-form textarea {
  resize: vertical;
}

.bid-form button {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--ink);
  cursor: pointer;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 4vw, 54px);
  background: #121212;
  color: var(--surface);
}

.footer div {
  display: grid;
  gap: 4px;
}

.footer span,
.footer a {
  color: #d7d1c7;
}

@media (max-width: 1024px) {
  .hero,
  .contact-section,
  .workmanship-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

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

  .brand img {
    width: 170px;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

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

  .trust-strip div:nth-child(2) {
    border-right: 0;
  }

  .trust-strip div:nth-child(1),
  .trust-strip div:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 600px) {
  main,
  .site-header,
  .hero,
  .section,
  .trust-strip,
  .contact-section {
    max-width: 100vw;
  }

  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand img {
    width: 190px;
    margin-inline: auto;
  }

  .nav {
    justify-content: center;
  }

  .nav a {
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .header-call {
    width: 100%;
    padding: 0 12px;
  }

  h1 {
    font-size: 2.18rem;
    line-height: 1;
  }

  .hero {
    display: block;
    padding-inline: 20px;
  }

  .hero-copy,
  .hero-copy h1,
  .hero-copy .lead {
    max-width: min(318px, calc(100vw - 40px));
  }

  .lead {
    font-size: 1rem;
  }

  .hero-media {
    margin-top: 24px;
    min-height: 320px;
    width: 100%;
    padding: 8px;
    overflow: hidden;
  }

  .trust-strip,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  figure.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .footer {
    flex-direction: column;
  }
}
