:root {
  --bg: #fbfaf7;
  --text: #222222;
  --muted: #646464;
  --line: #e7e0d7;
  --accent: #345c50;
  --accent-dark: #28483f;
  --accent-soft: #edf3ef;
  --card: #ffffff;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

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

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(251,250,247,.9);
  backdrop-filter: blur(16px);
}

.logo {
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

nav a {
  color: var(--muted);
  font-size: .91rem;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(78px, 10vw, 124px);
}

.hero-image-wrap {
  overflow: hidden;
  margin-bottom: clamp(28px, 4vw, 44px);
  border-radius: 30px;
  background: var(--accent-soft);
  box-shadow: 0 24px 70px rgba(35,32,28,.08);
}

.hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  max-width: 960px;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: -.052em;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.6rem, 6.75vw, 5.55rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.55rem);
}

h3 {
  font-size: 1.45rem;
}

p,
li {
  color: var(--muted);
  font-size: 1.05rem;
}

p {
  margin: 0 0 18px;
}

strong {
  color: var(--text);
}

.lead {
  max-width: 770px;
  margin-top: 28px;
  font-size: clamp(1.18rem, 2.1vw, 1.4rem);
}

.secondary-lead {
  margin-top: 0;
  font-size: clamp(1.06rem, 1.7vw, 1.22rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease;
}

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

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

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

.button.secondary {
  color: var(--accent);
  background: transparent;
}

.section {
  padding: clamp(70px, 10vw, 124px) 0;
  border-top: 1px solid var(--line);
}

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

.soft {
  margin-inline: calc(clamp(20px,4vw,56px) * -1);
  padding-inline: clamp(20px,4vw,56px);
  border-top: 0;
  border-radius: 34px;
  background: var(--accent-soft);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 34px;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
}

.card h3 {
  margin-bottom: 14px;
}

.card p {
  margin-bottom: 0;
  font-size: .99rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.additional-areas {
  max-width: 860px;
  margin-top: 42px;
  padding: 28px;
  border-left: 4px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: rgba(255,255,255,.55);
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px 28px;
  margin: 18px 0 20px;
  padding-left: 22px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr);
  gap: clamp(38px,7vw,88px);
  align-items: start;
}

.portrait-wrap {
  position: sticky;
  top: 130px;
}

.portrait {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 28px;
  background: var(--accent-soft);
  box-shadow: 0 24px 70px rgba(35,32,28,.09);
}

.credentials {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.credentials h3 {
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.credentials ul {
  margin: 0;
  padding-left: 22px;
}

details {
  margin-top: 12px;
  padding: 21px 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin-top: 14px;
}

details p:last-child {
  margin-bottom: 0;
}

.contact-intro {
  max-width: 720px;
  font-size: 1.12rem;
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 42px clamp(20px,4vw,56px);
  border-top: 1px solid var(--line);
}

.small {
  font-size: .88rem;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 160px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .two-column,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .portrait-wrap {
    position: static;
    max-width: 460px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    aspect-ratio: 16 / 6;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 190px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-image-wrap {
    margin-bottom: 36px;
    border-radius: 22px;
  }

  .hero-image {
    aspect-ratio: 16 / 9;
    object-position: center;
  }

  h1 {
    font-size: clamp(2.45rem, 11.25vw, 3.75rem);
  }

  nav {
    gap: 10px 14px;
  }

  nav a {
    font-size: .86rem;
  }

  .button {
    width: 100%;
  }

  .soft {
    border-radius: 24px;
  }

  .area-list {
    grid-template-columns: 1fr;
  }

  .additional-areas {
    padding: 22px;
  }
}
