:root {
  color-scheme: light;
  color: #17382d;
  background: #f7f5ed;
  font-family: "Segoe UI", system-ui, sans-serif;
  --ink: #17382d;
  --muted: #46594d;
  --line: #d7ded2;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, figure { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid #b96936; outline-offset: 5px; }
.shell { width: min(1240px, calc(100% - 2 * clamp(20px, 6vw, 72px))); margin-inline: auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 750; text-decoration: none; }
.brand-symbol {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50%;
  color: #f6f1de;
  background: var(--ink);
  font-family: Georgia, serif;
  font-size: 26px;
}
nav { display: flex; gap: clamp(13px, 3vw, 40px); }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
nav a:hover, .site-footer a:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 82px);
  margin-block: clamp(42px, 7vw, 98px);
}
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { font-size: clamp(3.15rem, 6.9vw, 6.6rem); line-height: 0.98; letter-spacing: -0.055em; }
.hero-copy p { color: var(--muted); margin-block: 25px 26px; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.65; max-width: 39ch; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 10px 17px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: #fffdf2;
  font-weight: 650;
  text-decoration: none;
}
.button:hover { background: #284e40; }
.hero-image { position: relative; background: #d9e5d5; border-radius: 6px; overflow: hidden; }
.hero-image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.hero-image figcaption { position: absolute; right: 12px; bottom: 12px; padding: 4px 8px; background: #f7f5ed; color: var(--ink); border-radius: 3px; font-size: 0.75rem; }

.about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 22px 70px; border-top: 1px solid var(--line); padding-block: clamp(30px, 5vw, 64px); }
h2 { font-size: clamp(2rem, 3.7vw, 3.4rem); line-height: 1.13; letter-spacing: -0.035em; }
.about p, .contact p { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.7; max-width: 62ch; }
.contact { background: var(--ink); color: #f7f5ed; }
.contact-content { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding-block: clamp(35px, 5vw, 65px); }
.contact p { color: #e5eadf; margin-top: 12px; }
.button-light { flex-shrink: 0; border-color: #f2eddd; background: #f2eddd; color: var(--ink); }
.button-light:hover { background: #fffdf2; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px; font-size: 0.9rem; color: var(--muted); }

@media (max-width: 720px) {
  .site-header { min-height: 66px; }
  .hero, .about { grid-template-columns: 1fr; }
  .hero-copy p { max-width: 50ch; }
  .hero-image img { aspect-ratio: 4 / 3; }
  .contact-content { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
  nav { font-size: 0.875rem; }
  .brand { gap: 7px; font-size: 18px; }
  .brand-symbol { width: 33px; height: 33px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
