:root {
  color-scheme: light;
  --ink: #1c100c;
  --white: #fff;
  --cream: #f1e8e3;
  --line-light: rgba(255, 255, 255, 0.55);
  --line-dark: rgba(28, 16, 12, 0.45);
  --font: "Outfit", "Arial", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.hero {
  display: flex;
  min-height: 900px;
  flex-direction: column;
  overflow: hidden;
  padding: 0 40px 64px;
  color: var(--white);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(43, 36, 39, 0.92) 0, rgba(43, 36, 39, 0) 35%),
    linear-gradient(180deg, #4a1d18 0%, #8a3519 48%, #b34a1f 100%);
}

.site-header {
  display: flex;
  min-height: 65px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  color: var(--white);
  font-size: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wordmark {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.wordmark-small {
  font-size: 17px;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-weight: 500;
}

.main-nav a {
  text-decoration: none;
  transition: opacity 160ms ease;
}

.main-nav a:hover,
.footer-row a:hover {
  opacity: 0.68;
}

.hero-intro {
  display: grid;
  grid-template-columns: 346px minmax(0, 1fr);
  width: 100%;
  margin-top: 138px;
}

.badge-column {
  padding-top: 8px;
}

.badge {
  display: flex;
  width: 98px;
  min-height: 58px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
}

.headline-column h1 {
  max-width: 1014px;
  margin: 0;
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.02;
  text-transform: uppercase;
}

.go-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 160px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  text-transform: uppercase;
}

.go-link img {
  display: block;
  width: 39px;
  height: 14.56px;
  flex: 0 0 auto;
}

.go-link:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-services {
  display: grid;
  grid-template-columns: 322px minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  width: 100%;
  margin-top: auto;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-services ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-grid {
  display: grid;
  grid-template-columns: 346px minmax(0, 1fr);
  padding-right: 40px;
  padding-left: 40px;
}

.services {
  min-height: 491px;
  padding-top: 14px;
  padding-bottom: 128px;
  border-top: 1px solid var(--line-light);
  background: linear-gradient(180deg, #b34a1f 0%, #bb5420 100%);
  color: var(--white);
}

.section-label {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  text-transform: uppercase;
}

.services-list {
  min-width: 0;
  border-bottom: 1px solid var(--line-light);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-height: 81px;
  padding: 20px 12px 22px 0;
  border-top: 1px solid var(--line-light);
}

.service-row:first-child {
  min-height: 92px;
  border-top: 0;
}

.service-row h3 {
  margin: 0;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}

.service-row p {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
}

.contact {
  min-height: 831px;
  padding-top: 300px;
  padding-bottom: 128px;
  border-top: 1px solid var(--line-light);
  background: linear-gradient(180deg, #bb5420 0%, #e3a07b 42%, #f1e8e3 100%);
}

.contact-body {
  min-width: 0;
}

.contact-lead {
  max-width: 720px;
  margin: 0 0 56px;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

.contact-row {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 16px 0 22px;
  border-top: 1px solid var(--line-dark);
}

.contact-label {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

.contact-value {
  min-width: 0;
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  min-height: 422px;
  flex-direction: column;
  gap: 40px;
  overflow: hidden;
  padding: 96px 40px 24px;
  background: var(--cream);
  color: var(--ink);
}

.wordmark-large {
  display: block;
  width: 100%;
  overflow: hidden;
  font-size: clamp(120px, 16.667vw, 240px);
  letter-spacing: -0.04em;
  line-height: 0.85;
  white-space: nowrap;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.footer-row a {
  text-decoration: none;
  transition: opacity 160ms ease;
}

@media (max-width: 1100px) {
  .hero-intro,
  .section-grid {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .headline-column h1 {
    font-size: clamp(48px, 5.4vw, 64px);
  }

  .hero-services {
    grid-template-columns: 196px minmax(0, 1fr) minmax(0, 1fr);
  }

  .service-row {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 1fr);
  }

  .service-row h3 {
    font-size: clamp(26px, 3.1vw, 36px);
  }

  .contact-row {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .contact-value {
    font-size: clamp(36px, 4.5vw, 56px);
  }
}

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

  .hero {
    min-height: 820px;
    padding: 0 16px 40px;
  }

  .site-header {
    min-height: 64px;
    gap: 14px;
    padding: 17px 0;
    font-size: 10px;
  }

  .wordmark-small {
    font-size: 13px;
  }

  .main-nav {
    gap: clamp(10px, 3vw, 20px);
  }

  .hero-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    margin-top: 74px;
  }

  .badge-column {
    padding-top: 0;
  }

  .badge {
    width: 82px;
    min-height: 50px;
    font-size: 14px;
  }

  .headline-column h1 {
    max-width: 620px;
    font-size: clamp(36px, 9.5vw, 48px);
    letter-spacing: -0.02em;
    line-height: 1.02;
  }

  .go-link {
    margin-top: 48px;
    font-size: 12px;
  }

  .hero-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    margin-top: 72px;
    font-size: 12px;
    line-height: 1.45;
  }

  .hero-services-spacer {
    display: none;
  }

  .section-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-right: 16px;
    padding-left: 16px;
  }

  .services {
    min-height: auto;
    gap: 28px;
    padding-top: 16px;
    padding-bottom: 80px;
  }

  .section-label {
    font-size: 14px;
  }

  .services-list {
    border-bottom: 0;
  }

  .service-row,
  .service-row:first-child {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    min-height: 0;
    padding: 20px 12px 22px 0;
    border-top: 1px solid var(--line-light);
  }

  .service-row h3 {
    font-size: 20px;
    letter-spacing: -0.01em;
    line-height: 1.05;
  }

  .service-row p {
    font-size: 15px;
    line-height: 1.45;
  }

  .contact {
    min-height: 0;
    gap: 36px;
    padding-top: 112px;
    padding-bottom: 96px;
    background: linear-gradient(180deg, #bb5420 0%, #e3a07b 30%, #f1e8e3 100%);
  }

  .contact-lead {
    max-width: 520px;
    margin-bottom: 40px;
    font-size: clamp(26px, 7vw, 32px);
    letter-spacing: -0.02em;
    line-height: 1.12;
  }

  .contact-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 16px 0 22px;
  }

  .contact-label {
    font-size: 15px;
  }

  .contact-value {
    font-size: clamp(20px, 5.8vw, 24px);
    letter-spacing: -0.02em;
    line-height: 1.05;
  }

  .site-footer {
    min-height: 230px;
    gap: 40px;
    padding: 60px 16px 20px;
  }

  .wordmark-large {
    font-size: clamp(52px, 18vw, 96px);
    letter-spacing: -0.06em;
  }

  .footer-row {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .site-header {
    gap: 8px;
    font-size: 9px;
  }

  .main-nav {
    gap: 9px;
  }

  .wordmark-small {
    font-size: 12px;
  }

  .hero-services {
    gap: 14px 12px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
