* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f5ef;
  --text: #1f2933;
  --muted: #5f6b7a;
  --line: #d9d3c7;
  --accent: #28384d;
  --card: #fffdf8;
  --link: #1f4f7a;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 245, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.94rem;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--accent);
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 24px 72px;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: center;
  max-width: 1080px;
}

.hero-text-block {
  max-width: 860px;
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 12px;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.98;
  margin: 0 0 24px;
  color: var(--accent);
  letter-spacing: -0.05em;
}

.subtitle {
  font-size: clamp(1.25rem, 2.3vw, 1.85rem);
  line-height: 1.35;
  max-width: 860px;
  margin: 0 0 24px;
  color: #263548;
}

.hero-text {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-photo-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-photo {
  display: block;
  width: min(320px, 100%);
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 32px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 55px rgba(40, 56, 77, 0.16);
  background: var(--card);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 54px 24px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 42px;
  border-top: 1px solid var(--line);
}

.section-label {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding-top: 8px;
}

.section-body {
  background: var(--card);
  border: 1px solid rgba(217, 211, 199, 0.9);
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 18px 50px rgba(40, 56, 77, 0.05);
}

.section-body h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.18;
  color: var(--accent);
  margin: 0 0 18px;
  letter-spacing: -0.025em;
}

.section-body p {
  margin: 0 0 16px;
  max-width: 850px;
}

.section-body p:last-child {
  margin-bottom: 0;
}

.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.link-grid a {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  background: #ffffff;
  color: var(--accent);
  font-weight: 600;
}

.contact-line {
  font-size: 1.18rem;
  font-weight: 700;
}

.footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 24px 54px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 10px 16px;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-photo-wrap {
    justify-content: center;
  }

  .hero-photo {
    width: min(340px, 100%);
    border-radius: 30px;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-body {
    padding: 24px;
  }
}
