:root {
  --ink: #0b2f1d;
  --muted: #526356;
  --paper: #f7f5ed;
  --stone: #eee7d4;
  --field: #0f3d27;
  --field-dark: #082719;
  --gold: #e5a900;
  --gold-dark: #b98300;
  --clay: #e5a900;
  --clay-dark: #b98300;
  --steel: #173827;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(8, 39, 25, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section,
main {
  scroll-margin-top: 110px;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fbfaf5 0%, var(--paper) 42%, #f1ecd9 100%);
  color: var(--ink);
}

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

.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: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(247, 245, 237, 0.96);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(8, 39, 25, 0.14);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 250px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(8, 39, 25, 0.22);
}

.brand img {
  display: block;
  width: clamp(240px, 21vw, 305px);
  height: 74px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 750;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.nav-phone {
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1b261f;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 18, 15, 0.84), rgba(12, 18, 15, 0.52) 42%, rgba(12, 18, 15, 0.06) 74%),
    linear-gradient(180deg, rgba(12, 18, 15, 0.46), rgba(12, 18, 15, 0.08) 34%, rgba(12, 18, 15, 0.72));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 36px));
  margin: 0 0 clamp(42px, 8vw, 92px) clamp(18px, 5vw, 72px);
  color: var(--white);
}

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

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3 {
  overflow-wrap: normal;
}

p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(2.65rem, 5.4vw, 5.45rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 630px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2.2vw, 1.28rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: var(--field-dark);
}

.button.primary:hover {
  background: var(--gold-dark);
  color: var(--white);
}

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

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--field-dark);
  color: var(--white);
}

.quick-strip div {
  padding: 26px clamp(18px, 4vw, 42px);
  background: #103521;
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.quick-strip a {
  color: var(--white);
  font-weight: 900;
}

.section {
  padding: clamp(68px, 10vw, 120px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.55fr) minmax(280px, 1.45fr);
  gap: 28px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.section-heading h2,
.work-copy h2,
.quote-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading.compact {
  grid-template-columns: 1fr;
  max-width: 780px;
  margin-left: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  min-height: 285px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(8, 39, 25, 0.07);
}

.icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: rgba(229, 169, 0, 0.16);
  color: var(--field);
}

.icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.steps h3 {
  margin: 26px 0 10px;
  font-size: 1.28rem;
}

.service-card p,
.steps p,
.work-copy p,
.quote-copy p {
  color: var(--muted);
  line-height: 1.68;
}

.project-gallery {
  padding: clamp(68px, 10vw, 120px) clamp(18px, 5vw, 72px);
  background: var(--field-dark);
  color: var(--white);
}

.project-gallery .section-heading {
  margin-bottom: 38px;
}

.project-gallery h2 {
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}

.gallery-grid figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #061c12;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 14px 14px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.78));
  font-weight: 850;
}

.gallery-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.work-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(229, 169, 0, 0.1), rgba(229, 169, 0, 0) 38%),
    var(--field);
  color: var(--white);
}

.work-copy {
  max-width: 650px;
}

.work-copy p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.work-list {
  display: grid;
  gap: 10px;
}

.work-detail {
  display: grid;
  gap: 18px;
}

.badge-logo {
  display: block;
  width: min(460px, 100%);
  justify-self: center;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.work-list div {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 16px 18px;
  border: 1px solid rgba(229, 169, 0, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 850;
}

.work-list span {
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.process {
  background: var(--paper);
}

.process-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1.22fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.process-intro {
  position: sticky;
  top: 126px;
  padding: 28px;
  border-radius: 8px;
  background: var(--field-dark);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(8, 39, 25, 0.16);
}

.process-intro h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  line-height: 1.05;
}

.process-intro p {
  margin: 16px 0 24px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

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

.steps article {
  min-height: 238px;
  padding: 22px;
  border: 1px solid var(--stone);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(8, 39, 25, 0.07);
}

.steps span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(229, 169, 0, 0.16);
  color: var(--field);
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.steps h3 {
  margin-top: 28px;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(68px, 10vw, 120px) clamp(18px, 5vw, 72px);
  background: var(--stone);
}

.quote-copy {
  max-width: 560px;
}

.contact-note {
  margin-top: 30px;
  padding: 20px;
  border-left: 5px solid var(--field);
  background: rgba(255, 255, 255, 0.55);
}

.contact-card {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(8, 39, 25, 0.08);
}

.contact-card a {
  color: var(--field);
  font-size: 1.35rem;
  font-weight: 950;
}

.contact-card span {
  color: var(--muted);
  line-height: 1.45;
  font-weight: 750;
}

.contact-note strong,
.contact-note span {
  display: block;
}

.contact-note span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(24, 32, 27, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfc8ba;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(229, 169, 0, 0.28);
  border-color: var(--field);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--field);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 5vw, 72px);
  background: var(--field-dark);
  color: var(--white);
}

.site-footer span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-logo {
  display: block;
  width: min(230px, 64vw);
  height: auto;
  border-radius: 8px;
  background: var(--white);
}

.site-footer a {
  font-weight: 850;
}

@media (max-width: 980px) {
  .service-grid,
  .gallery-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-auto-rows: 230px;
  }

  .work-band,
  .quote-section,
  .process-panel,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .process-intro {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand {
    min-width: 174px;
    padding: 6px 8px;
  }

  .brand img {
    width: 172px;
    height: 54px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 8px 16px 18px;
    background: rgba(251, 250, 245, 0.98);
    color: var(--ink);
    box-shadow: 0 18px 28px rgba(24, 32, 27, 0.1);
  }

  .site-header.is-open .site-nav {
    display: grid;
    gap: 4px;
  }

  .site-nav a {
    min-height: 48px;
    border-bottom: 1px solid var(--stone);
  }

  .nav-phone {
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  .hero {
    min-height: 86vh;
  }

  .hero img {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(12, 18, 15, 0.86), rgba(12, 18, 15, 0.48)),
      linear-gradient(180deg, rgba(12, 18, 15, 0.5), rgba(12, 18, 15, 0.16) 32%, rgba(12, 18, 15, 0.82));
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 34px;
  }

  h1 {
    font-size: clamp(2.6rem, 11vw, 3.25rem);
    line-height: 1.02;
  }

  .hero-actions .button {
    width: 100%;
  }

  .quick-strip,
  .service-grid,
  .gallery-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .steps article {
    min-height: auto;
  }

  .gallery-grid {
    grid-auto-rows: 230px;
  }

  .gallery-feature {
    grid-column: auto;
    grid-row: span 2;
  }

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

  .site-footer {
    display: grid;
  }
}
