:root {
  color-scheme: light;
  --ink: #151715;
  --muted: #626b66;
  --bg: #f6f3ee;
  --paper: #fffdf8;
  --field: #f4f0e8;
  --line: #d9d1c4;
  --forest: #163a31;
  --forest-2: #215548;
  --clay: #b85f3f;
  --brass: #c9a15b;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(24, 28, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #c9a15b;
  outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

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

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 52px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled,
body.nav-open .site-header {
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(16, 20, 18, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 0.96rem;
  letter-spacing: 0.08em;
}

.brand small {
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.75;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 130px clamp(18px, 5vw, 72px) 34px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 16, 13, 0.86) 0%, rgba(9, 16, 13, 0.62) 34%, rgba(9, 16, 13, 0.14) 72%),
    linear-gradient(0deg, rgba(9, 16, 13, 0.72) 0%, rgba(9, 16, 13, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-bottom: clamp(72px, 12vh, 132px);
}

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

.hero .eyebrow,
.cta-band .eyebrow {
  color: #f1c27b;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.5rem, 9vw, 8.6rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4.7rem);
  font-weight: 900;
}

h3 {
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

.hero-actions,
.hero-stats,
.contact-lines,
.site-footer {
  display: flex;
  align-items: center;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--clay);
  color: var(--white);
}

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

.hero-stats {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  flex-wrap: wrap;
  gap: 10px;
}

.hero-stats span {
  min-width: 220px;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.78);
}

.hero-stats strong {
  display: block;
  color: var(--white);
}

.band,
.section,
.work-band,
.cta-band {
  padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.78fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
  background: var(--paper);
}

.intro p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.section-head {
  max-width: 880px;
  margin-bottom: 34px;
}

.service-grid,
.work-grid {
  display: grid;
  gap: 16px;
}

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

.service-grid article,
.work-grid article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.service-grid article {
  min-height: 290px;
  padding: 24px;
}

.service-number {
  display: block;
  margin-bottom: 48px;
  color: var(--clay);
  font-weight: 900;
}

.service-grid p,
.work-grid p,
.timeline p,
.contact-copy p {
  color: var(--muted);
}

.work-band {
  background: var(--forest);
  color: var(--white);
}

.work-band .section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.work-grid article {
  min-height: 260px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.work-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  gap: 26px;
  align-content: start;
  border-top: 2px solid var(--forest);
  padding-top: 18px;
}

.timeline span {
  color: var(--clay);
  font-weight: 900;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--forest);
  color: var(--white);
}

.cta-band h2 {
  max-width: 960px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.64fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.contact-lines {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
  font-weight: 800;
}

.contact-lines a {
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field);
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--forest-2);
  box-shadow: 0 0 0 3px rgba(33, 85, 72, 0.14);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .service-grid,
  .work-grid,
  .timeline,
  .intro,
  .contact {
    grid-template-columns: 1fr 1fr;
  }

  .intro,
  .contact {
    gap: 34px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .menu-toggle {
    position: relative;
    z-index: 22;
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 0;
    background: transparent;
    color: inherit;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 21;
    display: none;
    place-content: center;
    gap: 28px;
    background: var(--paper);
    color: var(--ink);
    font-size: 1.65rem;
  }

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

  h1 {
    font-size: clamp(3rem, 16vw, 5.7rem);
  }

  .hero {
    min-height: 94svh;
    padding: 104px 18px 24px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 16, 13, 0.9) 0%, rgba(9, 16, 13, 0.56) 74%),
      linear-gradient(0deg, rgba(9, 16, 13, 0.76) 0%, rgba(9, 16, 13, 0.12) 55%);
  }

  .hero-content {
    padding-bottom: 36px;
  }

  .hero-stats span {
    min-width: 100%;
  }

  .band,
  .section,
  .work-band,
  .cta-band {
    padding: 58px 18px;
  }

  .service-grid,
  .work-grid,
  .timeline,
  .intro,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: 220px;
  }

  .service-number {
    margin-bottom: 30px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 18px;
  }
}
