:root {
  --bg: #f7f3ee;
  --surface: #fffaf4;
  --surface-strong: #efe5d9;
  --text: #27302e;
  --muted: #6c716f;
  --primary: #38594f;
  --primary-dark: #243d36;
  --accent: #b98c60;
  --line: rgba(39, 48, 46, 0.14);
  --shadow: 0 22px 60px rgba(36, 61, 54, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 238, 0.88);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(56, 89, 79, 0.24);
  border-radius: 50%;
  color: var(--primary);
  font-family: "Playfair Display", serif;
  font-size: 24px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu > a,
.dropdown-trigger {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 15px;
}

.nav-menu > a:hover,
.dropdown-trigger:hover {
  background: rgba(56, 89, 79, 0.1);
}

.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: 180ms ease;
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  padding: 10px 12px;
}

.dropdown-menu a:hover {
  background: rgba(185, 140, 96, 0.16);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--primary);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 54px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 72px 0 64px;
}

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

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
  line-height: 1.06;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 74px);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 4vw, 52px);
}

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

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  padding: 12px 22px;
}

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

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

.button.secondary {
  border-color: rgba(56, 89, 79, 0.28);
  color: var(--primary);
}

.button.secondary:hover {
  background: rgba(56, 89, 79, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(36, 61, 54, 0) 45%, rgba(36, 61, 54, 0.42));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.experience-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  width: min(250px, calc(100% - 44px));
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.88);
  backdrop-filter: blur(12px);
  padding: 18px;
}

.experience-card strong,
.experience-card span {
  display: block;
}

.experience-card span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 780px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.intro-grid article {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.62);
  padding: 28px;
}

.intro-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--accent);
  font-weight: 800;
}

.intro-grid p,
.about-content p,
.contact-section p {
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.about-image {
  height: 620px;
  overflow: hidden;
  border-radius: 8px;
}

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

.credentials div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.credentials dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.credentials dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.55fr);
  gap: 44px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 90px;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  padding: 58px;
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  display: grid;
  gap: 10px;
}

.contact-link {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.14);
}

.contact-link span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.contact-link strong {
  display: block;
  margin-top: 3px;
  font-size: 16px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  padding: 26px 0 34px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .navbar {
    width: min(100% - 28px, 1180px);
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 76px;
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .nav-menu.open {
    display: grid;
  }

  .nav-menu > a,
  .dropdown-trigger {
    justify-content: space-between;
    width: 100%;
    border-radius: 6px;
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .dropdown.open .dropdown-menu {
    display: grid;
  }

  .hero,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero-visual,
  .about-image {
    min-height: 0;
    height: 420px;
  }

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

  .section {
    padding: 64px 0;
  }

  .contact-section {
    padding: 36px 24px;
  }
}

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  .hero,
  .section,
  .contact-section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 31px;
  }

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

}
