:root {
  color-scheme: light;
  --ink: #18242d;
  --muted: #5f6c75;
  --paper: #fbf8f1;
  --paper-strong: #fffdf8;
  --surface: #fffdf8;
  --line: rgb(24 36 45 / 12%);
  --field: #102820;
  --accent: #d94f35;
  --accent-dark: #9d321f;
  --gold: #f4c95d;
  --mint: #d9eadf;
  --shadow: 0 14px 36px rgb(16 24 32 / 12%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgb(217 234 223 / 75%) 0, transparent 260px),
    radial-gradient(circle at 88% 16%, rgb(244 201 93 / 28%) 0, transparent 300px),
    linear-gradient(180deg, #fbf8f1 0%, #f4f0e6 58%, #eef3ed 100%);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgb(255 255 255 / 92%);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 84px;
  padding: 0 clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  background: transparent;
  border: 0;
  border-radius: 0;
  height: 42px;
  object-fit: contain;
  padding: 0;
  width: 42px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  border-bottom: 3px solid transparent;
  padding: 30px 3px 27px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
  color: var(--accent-dark);
}

.hero {
  margin: clamp(18px, 3vw, 36px) auto 0;
  max-width: 1120px;
  min-height: min(660px, calc(100vh - 138px));
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgb(16 24 32 / 8%);
}

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

.hero::after {
  background:
    linear-gradient(90deg, rgb(10 20 16 / 86%) 0%, rgb(10 20 16 / 64%) 52%, rgb(10 20 16 / 20%) 100%),
    linear-gradient(0deg, rgb(10 20 16 / 20%), rgb(10 20 16 / 20%));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-content {
  color: #fffaf0;
  max-width: 720px;
  padding: clamp(42px, 7vw, 76px);
  position: relative;
  z-index: 1;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  line-height: 1.08;
  margin: 0 0 24px;
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  max-width: 620px;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f6c76a;
}

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

.button {
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-width: 142px;
  padding: 12px 18px;
  text-decoration: none;
}

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

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: rgb(255 255 255 / 12%);
  border-color: rgb(255 255 255 / 42%);
  color: white;
}

.button.secondary.light {
  background: transparent;
  border-color: rgb(24 36 45 / 22%);
  color: var(--field);
}

.button.secondary.light:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.section,
.page-hero {
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(54px, 7vw, 84px) clamp(20px, 4vw, 40px);
}

.intro,
.cta,
.split {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.intro {
  margin-top: 40px;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgb(255 253 248 / 96%), rgb(248 244 236 / 82%)),
    var(--surface);
  box-shadow: 0 18px 55px rgb(16 24 32 / 8%);
}

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

h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.15rem;
}

.intro > p,
.page-hero p {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.services-preview,
.service-list,
.project-list,
.contact-panel {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-preview article,
.service-list article,
.project-list article,
.contact-panel > div,
.note {
  background: var(--surface);
  border: 1px solid rgb(24 36 45 / 10%);
  border-radius: 8px;
  padding: 28px;
}

.services-preview article:hover,
.service-list article:hover {
  border-color: rgb(217 79 53 / 42%);
  box-shadow: var(--shadow);
}

.card-icon {
  color: var(--accent-dark);
  display: block;
  font-weight: 900;
  margin-bottom: 24px;
}

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

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

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

.contact-panel a {
  color: var(--field);
  font-weight: 800;
}

.text-link {
  color: var(--field);
  font-weight: 800;
}

.contact-panel.single {
  padding-top: 0;
}

.contact-panel.single > div {
  grid-column: 1 / -1;
}

.cta {
  align-items: center;
  border-top: 2px solid rgb(24 36 45 / 16%);
  border-bottom: 2px solid rgb(24 36 45 / 16%);
  margin-bottom: 50px;
  padding-block: 32px;
}

.cta + .cta {
  border-top: 0;
  margin-top: -50px;
}

.cta .button {
  justify-self: end;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-self: end;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 28px clamp(18px, 4vw, 56px);
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    min-height: 0;
    padding-block: 12px;
    position: static;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 10px;
  }

  .site-nav a {
    padding: 4px 2px 7px;
  }

  .hero {
    margin-inline: 10px;
    min-height: 650px;
  }

  .hero-content {
    padding: 46px 28px;
  }

  .hero .actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 210px;
  }

  .hero::after {
    background: linear-gradient(90deg, rgb(10 20 16 / 86%) 0%, rgb(10 20 16 / 70%) 100%);
  }

  .intro,
  .cta,
  .split,
  .services-preview,
  .service-list,
  .project-list,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .cta .button,
  .cta-actions {
    justify-self: start;
  }

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