:root {
  --ink: #17212b;
  --muted: #64717f;
  --paper: #f8f6f1;
  --panel: #ffffff;
  --line: #e5ded2;
  --accent: #b65038;
  --accent-dark: #813727;
  --sage: #66785f;
  --gold: #d7a84f;
  --shadow: 0 20px 55px rgba(35, 30, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.scrolled,
.site-header.menu-open {
  color: var(--ink);
  background: rgba(248, 246, 241, 0.96);
  box-shadow: 0 10px 30px rgba(30, 25, 18, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-family: Lora, serif;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-cta {
  padding: 10px 16px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(20px, 5vw, 72px) 84px;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(22, 22, 17, 0.78) 0%, rgba(22, 22, 17, 0.54) 42%, rgba(22, 22, 17, 0.16) 100%),
    linear-gradient(0deg, rgba(248, 246, 241, 0.08), rgba(248, 246, 241, 0));
}

.hero-content {
  position: relative;
  max-width: 760px;
  color: #fff;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Lora, Georgia, serif;
  line-height: 1.05;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

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

.hero-copy {
  max-width: 580px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.section {
  padding: 86px clamp(20px, 5vw, 72px);
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.metric {
  padding: 32px 24px;
  background: var(--paper);
}

.metric strong {
  display: block;
  color: var(--accent-dark);
  font-family: Lora, serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-weight: 700;
}

.about,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.about-copy,
.contact p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

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

.service-card,
figure,
.timeline article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(45, 38, 31, 0.06);
}

.service-card {
  padding: 28px;
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--sage);
  border-radius: 50%;
  font-family: Lora, serif;
  font-weight: 800;
}

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

.experience {
  background: #eaf0e6;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  position: relative;
  padding: 26px 28px 26px 118px;
}

.timeline span {
  position: absolute;
  top: 28px;
  left: 28px;
  max-width: 72px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

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

figure {
  margin: 0;
  padding: 30px;
}

blockquote {
  margin: 0 0 18px;
  font-family: Lora, Georgia, serif;
  font-size: 1.34rem;
  line-height: 1.35;
}

figcaption {
  color: var(--accent-dark);
  font-weight: 800;
}

.contact {
  background: var(--ink);
  color: #fff;
}

.contact .section-label {
  color: var(--gold);
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-links {
  margin-top: 26px;
}

.contact-links a {
  color: #fff;
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}

.contact-form {
  padding: 28px;
  color: var(--ink);
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d8d1c5;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--sage);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--accent-dark);
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
  }

  .site-header.scrolled .nav-toggle,
  .site-header.menu-open .nav-toggle {
    background: #ece5da;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-cta {
    color: var(--accent-dark);
    background: transparent;
    border-radius: 0;
  }

  .hero {
    min-height: 88vh;
    padding-top: 104px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(22, 22, 17, 0.84), rgba(22, 22, 17, 0.38));
  }

  .intro-strip,
  .card-grid,
  .testimonial-grid,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 86vh;
    padding-bottom: 58px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .intro-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .timeline article {
    padding: 24px;
  }

  .timeline span {
    position: static;
    display: block;
    max-width: none;
    margin-bottom: 10px;
  }

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