:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --surface-soft: #f1ece5;
  --text: #18201c;
  --muted: #666f69;
  --line: rgba(24, 32, 28, 0.1);
  --accent: #b1784f;
  --dark: #1d2a25;
  --shadow: 0 18px 50px rgba(24, 32, 28, 0.06);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(177, 120, 79, 0.14), transparent 18%),
    linear-gradient(180deg, #fbf9f5 0%, var(--bg) 100%);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(177, 120, 79, 0.42);
  outline-offset: 3px;
}

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

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 20px 0 96px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 50;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--dark);
  color: #f9f5ef;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.top-awards-bar,
.site-header,
.hero,
.credentials-section,
.testimonials-section,
.contact-section,
.site-footer {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.top-awards-bar {
  margin-top: 0;
  margin-bottom: 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.award-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--dark);
  box-shadow: none;
  font-size: 0.95rem;
  font-weight: 800;
}

.award-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-radius: 24px;
  backdrop-filter: blur(14px);
}

.brand-name,
h1,
h2,
.site-footer strong {
  font-family: "DM Serif Display", serif;
}

.brand-name {
  display: block;
  font-size: 1.85rem;
  line-height: 1;
}

.brand-meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  justify-self: end;
}

.brand-socials {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.brand-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(24, 32, 28, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark);
}

.brand-socials svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.hero,
.credentials-section,
.testimonials-section,
.contact-section,
.site-footer {
  margin-top: 22px;
  border-radius: 30px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

.hero {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  padding: 28px;
}

.hero-photo {
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface-soft);
}

.headshot {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center top;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 3.4vw, 3.5rem);
  line-height: 1.02;
  max-width: 12ch;
}

h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.02;
}

.hero-text,
.testimonial-item p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  margin-top: 18px;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button-dark {
  background: var(--dark);
  color: #f9f5ef;
}

.button-dark:hover {
  box-shadow: 0 16px 34px rgba(29, 42, 37, 0.18);
}

.button-light {
  background: #fff;
  color: var(--dark);
  border: 1px solid rgba(29, 42, 37, 0.1);
}

.credentials-section,
.testimonials-section {
  padding: 30px;
}

.section-heading {
  margin-bottom: 20px;
}

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

.testimonials-note {
  margin-top: 16px;
}

.inline-link {
  color: var(--dark);
  font-weight: 700;
}

.credential-item,
.testimonial-item,
.contact-form-card {
  border: 1px solid rgba(24, 32, 28, 0.07);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
}

.credential-item,
.testimonial-item {
  padding: 22px;
}

.credential-value {
  display: block;
  margin-bottom: 8px;
  font-family: "DM Serif Display", serif;
  font-size: 1.7rem;
  line-height: 1;
}

.credential-label,
.credential-label a {
  color: var(--muted);
  line-height: 1.6;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  padding: 30px;
}

.contact-copy {
  padding: 8px 0;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.contact-links a {
  font-weight: 700;
  color: var(--dark);
}

.contact-form-card {
  padding: 22px;
}

.lead-form {
  display: grid;
  gap: 14px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(24, 32, 28, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font: inherit;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(177, 120, 79, 0.2);
  border-color: rgba(177, 120, 79, 0.34);
}

.full-width {
  width: 100%;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 28px;
}

.site-footer strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.mobile-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(29, 42, 37, 0.16);
  z-index: 30;
}

.mobile-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  font-weight: 800;
}

.mobile-bar a:first-child {
  background: var(--dark);
  color: #f9f5ef;
}

.mobile-bar a:last-child {
  background: #fff;
  color: var(--dark);
}

@media (max-width: 980px) {
  .hero,
  .contact-section,
  .credentials-grid,
  .testimonials-grid,
  .top-awards-bar,
  .site-header,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  h1 {
    max-width: 14ch;
  }

  .brand-socials {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-bottom: 110px;
  }

  .site-header {
    top: 10px;
    padding: 16px 18px;
  }

  .top-awards-bar {
    margin-bottom: 8px;
  }

  .hero,
  .credentials-section,
  .testimonials-section,
  .contact-section,
  .site-footer {
    padding: 20px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    justify-self: start;
  }

  .site-nav a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(24, 32, 28, 0.08);
  }

  .headshot {
    min-height: 220px;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .mobile-bar {
    display: grid;
  }
}
