:root {
  --bg: #f6f2ed;
  --card: rgba(255, 255, 255, 0.86);
  --text: #211f1d;
  --muted: #716b66;
  --accent: #b96550;
  --accent-dark: #9d523f;
  --line: #e4dcd4;
  --shadow: 0 18px 55px rgba(79, 61, 48, 0.08);
  --radius: 26px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 5vw;
  background: rgba(246, 242, 237, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 220, 212, 0.75);
}

.brand {
  text-decoration: none;
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: 0.08em;
  font-size: 0.96rem;
}

nav { display: flex; gap: 24px; }
nav a {
  text-decoration: none;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
nav a:hover, nav a:focus-visible { color: var(--accent-dark); }

.hero {
  min-height: 680px;
  display: grid;
  place-items: center;
  padding: 110px 5vw 90px;
  background:
    linear-gradient(90deg, rgba(247, 243, 238, .96) 0%, rgba(247, 243, 238, .85) 52%, rgba(247, 243, 238, .34) 100%),
    url('assets/hero-bg.webp') center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(var(--max), 100%);
}

.eyebrow {
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
}
.eyebrow span, .names span, .services span { padding: 0 .35em; }

h1, h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.05;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(4rem, 9vw, 8.4rem);
  letter-spacing: -0.055em;
}

.names {
  margin: 18px 0 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.services {
  display: inline-flex;
  align-items: center;
  margin: 30px 0 0;
  color: var(--accent);
  letter-spacing: .18em;
  text-transform: lowercase;
  font-weight: 700;
}

.lead {
  max-width: 800px;
  margin: 34px 0 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 30px;
  color: var(--accent-dark);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
}

.profiles {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0;
  display: grid;
  gap: 26px;
}

.profile-card {
  scroll-margin-top: 90px;
  display: grid;
  grid-template-columns: minmax(320px, 42%) 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: 20px;
  background: var(--card);
  border: 1px solid rgba(228, 220, 212, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: calc(var(--radius) - 8px);
  background: #e8e0d8;
}

.profile-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}
.profile-card:hover .profile-image { transform: scale(1.018); }

.image-note {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(8px);
  color: #6f665f;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-content { padding: 20px 30px 20px 0; }
.profile-number {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 700;
}
.profile-number::after {
  content: '';
  width: 42px;
  height: 1px;
  background: var(--accent);
}

.profile-content h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  letter-spacing: -0.035em;
}

.role {
  margin: 8px 0 24px;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: .03em;
}

.profile-content p:not(.role) {
  max-width: 680px;
  margin: 0;
  color: #45403c;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.03rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 210px;
  margin-top: 28px;
  padding: 14px 22px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(185, 101, 80, .16);
  transition: background .2s ease, transform .2s ease;
}
.cta:hover, .cta:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.cta.secondary {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--accent);
  box-shadow: none;
}

.address-card {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto 90px;
  padding: clamp(34px, 6vw, 70px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.55);
}
.address-card h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
}
.address-card > p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px auto 0;
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .84rem;
}
footer p { margin: 0; }
.footer-small { letter-spacing: .08em; }

@media (max-width: 820px) {
  .topbar { padding: 0 20px; }
  nav { display: none; }
  .hero {
    min-height: auto;
    padding: 86px 24px 70px;
    background:
      linear-gradient(rgba(247,243,238,.72), rgba(247,243,238,.9)),
      url('assets/hero-bg.webp') 68% center/cover no-repeat;
  }
  h1 { font-size: clamp(3.8rem, 18vw, 6rem); }
  .names {
    font-size: 1.04rem;
    letter-spacing: .09em;
    line-height: 1.7;
  }
  .services { letter-spacing: .08em; }
  .lead { font-size: 1.06rem; }
  .profiles {
    width: min(100% - 24px, 680px);
    padding: 54px 0;
    gap: 18px;
  }
  .profile-card {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px;
  }
  .profile-image-wrap, .profile-image { min-height: 280px; }
  .profile-content { padding: 28px 14px 22px; }
  .profile-content h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .cta { width: 100%; }
  .address-card { margin-bottom: 54px; }
  footer { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .profile-image, .cta { transition: none; }
}
