:root {
  --bg: #f6f2ec;
  --surface: #ffffff;
  --ink: #17191c;
  --muted: #646a70;
  --line: #ded8cf;
  --red: #c73532;
  --teal: #137d79;
  --charcoal: #23272b;
  --shadow: 0 24px 70px rgba(23, 25, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(246, 242, 236, 0.88);
  border-bottom: 1px solid rgba(222, 216, 207, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: var(--charcoal);
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 600;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

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

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 700;
  border: 1px solid transparent;
}

.header-action {
  color: #fff;
  background: var(--charcoal);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 140px clamp(20px, 6vw, 84px) 64px;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 20, 22, 0.92) 0%, rgba(18, 20, 22, 0.72) 42%, rgba(18, 20, 22, 0.24) 100%),
    linear-gradient(0deg, rgba(18, 20, 22, 0.55), rgba(18, 20, 22, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ffaaa3;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 670px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button.primary {
  color: #fff;
  background: var(--red);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover,
.button:focus-visible,
.header-action:hover,
.header-action:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 6vw, 84px);
  bottom: 34px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: min(520px, calc(100% - 40px));
}

.hero-panel span {
  padding: 10px 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.intro-band,
.services,
.contact {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 6vw, 84px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.intro-grid p,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 300px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(23, 25, 28, 0.05);
}

.service-card:nth-child(even) {
  transform: translateY(28px);
}

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

.service-card p {
  color: var(--muted);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: #fff;
  background: var(--charcoal);
}

.proof-item {
  min-height: 210px;
  padding: clamp(28px, 5vw, 56px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-item strong {
  display: block;
  margin-bottom: 12px;
  color: #ffaaa3;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
}

.proof-item span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.7fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
  background: #e8e2d8;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfaf8;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(199, 53, 50, 0.28);
  border-color: var(--red);
}

.form-button {
  width: 100%;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 6vw, 84px);
  color: rgba(255, 255, 255, 0.7);
  background: #111315;
}

.site-footer a {
  color: #fff;
}

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

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .header-action {
    min-height: 40px;
  }

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

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

  .service-card:nth-child(even) {
    transform: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: absolute;
    background: rgba(246, 242, 236, 0.96);
  }

  .brand-text small,
  .header-action {
    display: none;
  }

  .main-nav {
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 96vh;
    padding-top: 148px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(18, 20, 22, 0.94), rgba(18, 20, 22, 0.7)),
      linear-gradient(0deg, rgba(18, 20, 22, 0.6), rgba(18, 20, 22, 0.2));
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    left: 20px;
    right: 20px;
    bottom: 22px;
  }

  .hero-panel span {
    font-size: 13px;
  }

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

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

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

  .proof-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-footer {
    flex-direction: column;
  }
}
