:root {
  color-scheme: light;
  --ink: #121416;
  --soft-ink: #24292c;
  --muted: #62676a;
  --paper: #f4f1eb;
  --paper-deep: #ebe5da;
  --white: #ffffff;
  --line: #d9d1c4;
  --gold: #b89052;
  --terracotta: #a95f3c;
  --olive: #53624d;
  --steel: #20282e;
  --shadow: 0 28px 90px rgba(18, 20, 22, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px 56px;
  background: rgba(244, 241, 235, 0.9);
  border-bottom: 1px solid rgba(217, 209, 196, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-name {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  color: var(--soft-ink);
  text-decoration: none;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--terracotta);
}

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

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 229, 218, 0.88));
  border: 1px solid rgba(184, 144, 82, 0.36);
  color: var(--ink);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 28px rgba(18, 20, 22, 0.12);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
  display: block;
  width: 21px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

.nav-toggle-line {
  position: relative;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  position: absolute;
  left: 0;
}

.nav-toggle-line::before {
  top: -7px;
}

.nav-toggle-line::after {
  top: 7px;
}

.site-header.is-nav-open .nav-toggle-line {
  background: transparent;
}

.site-header.is-nav-open .nav-toggle-line::before {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-line::after {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 720px;
  padding: 112px 56px 54px;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 20, 22, 0.9), rgba(18, 20, 22, 0.56) 48%, rgba(18, 20, 22, 0.18)),
    linear-gradient(0deg, rgba(18, 20, 22, 0.72), rgba(18, 20, 22, 0.08) 45%),
    url("assets/hero-construction.jpg") center / cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.52), transparent 68%);
}

.hero::after {
  position: absolute;
  inset: auto 56px 0;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.36);
}

.hero-content {
  position: relative;
  width: min(920px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e8c58f;
}

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

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

h1,
h2,
blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 11ch;
  font-size: 6.8rem;
}

h2 {
  max-width: 900px;
  font-size: 4rem;
}

h3 {
  color: var(--ink);
  font-size: 1.28rem;
}

p {
  margin-top: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.22rem;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid currentColor;
  text-decoration: none;
  font-weight: 900;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

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

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

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 830px;
  margin-top: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-proof span {
  min-height: 74px;
  padding: 18px 22px 18px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 900;
}

.hero-proof span:last-child {
  border-right: 0;
}

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

.section {
  padding: 104px 56px;
}

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

.narrow {
  width: min(820px, 100%);
}

.intro {
  padding: 42px 56px;
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.55fr) minmax(360px, 1.45fr) minmax(260px, 1fr);
  gap: 36px;
  align-items: start;
}

.intro-lead {
  margin: 0;
  color: var(--soft-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.32;
}

.quick-facts {
  display: grid;
  gap: 14px;
  margin: 0;
}

.fact {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.fact-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fact-value {
  color: var(--ink);
  font-weight: 900;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 56px;
}

.section-heading p:not(.section-kicker) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.service-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-number {
  display: inline-block;
  margin-bottom: 78px;
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.service-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.statement-section {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: start;
}

blockquote {
  margin: 0;
  color: var(--soft-ink);
  font-size: 2.25rem;
  line-height: 1.18;
}

.process-band {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 42%),
    var(--steel);
  color: var(--white);
}

.process-band .section-kicker {
  color: #b9c7ad;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(360px, 1.2fr);
  gap: 78px;
}

.process-layout h2 {
  color: var(--white);
}

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

.process-list li {
  position: relative;
  padding: 28px 0 28px 78px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  counter-increment: process;
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.process-list li::before {
  position: absolute;
  top: 28px;
  left: 0;
  color: #b9c7ad;
  content: counter(process, decimal-leading-zero);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.process-list span {
  display: block;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 900;
}

.process-list p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(300px, 430px);
  gap: 80px;
  align-items: center;
}

.contact-grid p {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-details {
  display: grid;
  gap: 8px;
  padding: 34px;
  background: var(--paper);
  border-left: 6px solid var(--olive);
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-details strong {
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.contact-details a {
  width: fit-content;
  margin-top: 8px;
  color: var(--terracotta);
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 56px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.footer-credit {
  color: rgba(255, 255, 255, 0.58);
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.legal-header {
  position: static;
}

.legal-page {
  background: var(--white);
}

.legal-hero {
  background:
    linear-gradient(135deg, rgba(184, 144, 82, 0.18), transparent 36%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: none;
  color: var(--ink);
  font-size: 5.2rem;
}

.legal-hero p:last-child {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.legal-content {
  padding-top: 54px;
}

.legal-content h2 {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.34rem;
  font-weight: 900;
  line-height: 1.2;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
}

.legal-content a {
  color: var(--terracotta);
  font-weight: 900;
}

@media (max-width: 1040px) {
  .site-header,
  .section,
  .intro,
  .hero,
  .site-footer {
    padding-right: 34px;
    padding-left: 34px;
  }

  .site-header {
    gap: 18px;
  }

  .nav {
    gap: 8px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(217, 209, 196, 0.7);
  }

  .nav a {
    min-height: 40px;
    padding: 0 12px;
  }

  .nav a::after {
    right: 12px;
    bottom: 6px;
    left: 12px;
  }

  h1 {
    font-size: 5.4rem;
  }

  h2 {
    font-size: 3.2rem;
  }

  .intro-grid,
  .process-layout,
  .contact-grid,
  .statement-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  html {
    scroll-padding-top: 92px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 12px;
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand {
    min-width: 0;
  }

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

  .nav {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    justify-items: end;
    width: 100%;
    gap: 2px;
    padding: 10px 0 2px;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(217, 209, 196, 0.78);
    box-shadow: none;
    font-size: 0.9rem;
  }

  .site-header.is-nav-ready:not(.is-nav-open) .nav {
    display: none;
  }

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

  .legal-header .nav {
    grid-template-columns: 1fr;
  }

  .site-header.is-nav-ready .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav a {
    justify-content: flex-end;
    width: fit-content;
    min-height: 38px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-align: right;
    white-space: nowrap;
    transition: color 180ms ease;
  }

  .nav a::after {
    display: block;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .nav a:hover,
  .nav a:focus-visible {
    color: var(--terracotta);
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .site-footer p:first-child {
    order: 1;
  }

  .site-footer nav {
    order: 2;
  }

  .footer-credit {
    order: 3;
    margin-top: -4px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .hero {
    min-height: 620px;
    padding-top: 54px;
    padding-bottom: 42px;
    background-position: 62% center;
  }

  .hero::after {
    right: 24px;
    left: 24px;
  }

  h1 {
    font-size: 4rem;
  }

  h2,
  .legal-hero h1 {
    font-size: 2.7rem;
  }

  blockquote {
    font-size: 1.7rem;
  }

  .hero-copy {
    font-size: 1.06rem;
  }

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

  .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .hero-proof span {
    min-height: auto;
    padding: 11px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

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

  .service-card {
    min-height: 250px;
  }

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

  .fact {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .process-list li {
    padding-left: 58px;
  }
}

@media (max-width: 430px) {
  .site-header,
  .section,
  .intro,
  .hero,
  .site-footer {
    padding-right: 22px;
    padding-left: 22px;
  }

  .site-header {
    gap: 10px;
  }

  .brand {
    gap: 10px;
  }

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

  .brand-name {
    font-size: 0.8rem;
  }

  .nav {
    gap: 2px;
    padding: 8px 0 2px;
    font-size: 0.88rem;
  }

  .nav a {
    min-height: 38px;
    padding: 0;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2,
  .legal-hero h1 {
    font-size: 2.25rem;
  }
}
