:root {
  --ink: #111417;
  --muted: #59616a;
  --paper: #f5f3ee;
  --panel: #ffffff;
  --line: #d8d4ca;
  --steel: #7c8792;
  --charcoal: #20252a;
  --accent: #d8a734;
  --accent-dark: #8c5f05;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img,
svg {
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 56px);
  color: #fff;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(17, 20, 23, 0.72);
  font-size: 0.82rem;
}

.nav-links {
  gap: clamp(14px, 3vw, 30px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  color: #fff;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 15, 18, 0.9) 0%, rgba(12, 15, 18, 0.7) 42%, rgba(12, 15, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(12, 15, 18, 0.65) 0%, rgba(12, 15, 18, 0) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 88vh;
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  padding: 112px 0 84px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button.primary {
  background: var(--accent);
  color: #16110a;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(12px);
}

.section {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}

.intro,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}

.intro p,
.contact p {
  color: var(--muted);
}

.services-band {
  background: var(--charcoal);
  color: #fff;
}

.services .section-heading h2 {
  color: #fff;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.service-card p {
  color: rgba(255, 255, 255, 0.7);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact {
  align-items: stretch;
}

.contact-actions {
  align-content: center;
}

.contact-link {
  display: flex;
  min-width: 240px;
  flex: 1 1 240px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.contact-link span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-link strong {
  font-size: 1.35rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 26px clamp(18px, 5vw, 56px);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.86rem;
  }

  .brand {
    font-size: 0.95rem;
  }

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

  .hero {
    min-height: 760px;
  }

  .hero-content {
    min-height: 760px;
    justify-content: flex-end;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(12, 15, 18, 0.94) 0%, rgba(12, 15, 18, 0.72) 50%, rgba(12, 15, 18, 0.2) 100%);
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.8rem);
  }

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

  .button,
  .contact-link {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .site-header {
    position: absolute;
    padding-top: 14px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    min-height: 700px;
    padding-bottom: 54px;
  }

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

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

}
