:root {
  color-scheme: light;
  --ink: #27221f;
  --muted: #726960;
  --paper: #fbfaf7;
  --soft: #f1ece4;
  --line: #ddd4ca;
  --accent: #8f5f4a;
  --accent-dark: #664031;
  --sage: #74856d;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(39, 34, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 48px);
  color: var(--white);
  background: rgba(39, 34, 31, 0.38);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.92rem;
}

.nav-action {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 112px clamp(20px, 6vw, 76px) 8vh;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(39, 34, 31, 0.72) 0%, rgba(39, 34, 31, 0.52) 34%, rgba(39, 34, 31, 0.08) 72%),
    linear-gradient(0deg, rgba(39, 34, 31, 0.46), rgba(39, 34, 31, 0.02) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  color: var(--white);
}

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

.hero .eyebrow {
  color: #f1d7c8;
}

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

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.7rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.hero-copy {
  max-width: 58ch;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

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

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

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

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

.section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 76px);
}

.intro-band {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.section-heading.compact {
  display: block;
  margin-bottom: 24px;
}

.section-heading.centered {
  width: min(760px, 100%);
  margin-inline: auto;
  text-align: center;
}

.section-heading.compact p:not(.eyebrow),
.contact-copy p {
  color: var(--muted);
  max-width: 62ch;
}

.section-heading > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-band div {
  display: grid;
  gap: 6px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--paper);
  text-align: center;
}

.stats-band strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 500;
  line-height: 1;
}

.stats-band span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.service-card {
  min-height: 260px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(39, 34, 31, 0.07);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--sage);
  font-weight: 900;
}

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

.awards-section {
  background: #f7f3ee;
  border-block: 1px solid var(--line);
}

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

.award-card,
.testimonial-card {
  min-height: 250px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(39, 34, 31, 0.06);
}

.award-card span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 900;
}

.award-card p,
.testimonial-card p {
  color: var(--muted);
  margin: 0;
}

.partners-section {
  overflow: hidden;
  background: var(--paper);
}

.logo-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--white);
}

.logo-carousel::before,
.logo-carousel::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  width: min(18vw, 180px);
  height: 100%;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0));
}

.logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 28s linear infinite;
}

.logo-track img {
  width: 240px;
  height: 126px;
  flex: 0 0 auto;
  padding: 22px 38px;
  border-right: 1px solid var(--line);
  object-fit: contain;
  filter: grayscale(1) contrast(1.04);
  opacity: 0.9;
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.testimonials-section {
  background: #2f2b27;
  color: var(--white);
}

.testimonials-section .eyebrow {
  color: #f1d7c8;
}

.testimonials-section .section-heading > p:not(.eyebrow),
.testimonials-section .testimonial-card p {
  color: rgba(255, 255, 255, 0.74);
}

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

.testimonial-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.testimonial-card p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.58rem);
  line-height: 1.28;
}

.testimonial-card span {
  margin-top: 28px;
  color: #f1d7c8;
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.contact-copy {
  max-width: 760px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 76px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
}

.footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    padding: 12px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav {
    gap: 10px;
    font-size: 0.84rem;
  }

  .nav a:not(.nav-action) {
    display: none;
  }

  .hero {
    min-height: 84vh;
    padding-inline: 18px;
  }

  h1 {
    max-width: 11ch;
  }

  .section-heading,
  .service-grid,
  .stats-band,
  .award-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .logo-track img {
    width: 190px;
    height: 104px;
    padding-inline: 24px;
  }

  .contact-band,
  .footer {
    display: grid;
  }

}
