:root {
  --bg: #f5f2eb;
  --surface: #fffdf9;
  --surface-strong: #ebe4d8;
  --text: #2f312d;
  --muted: #666b63;
  --line: #d8d2c7;
  --accent: #7d8f7a;
  --accent-dark: #5f715d;
  --shadow: 0 12px 30px rgba(41, 46, 38, 0.08);
  --radius: 20px;
  --wrap: 1080px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 32%),
    linear-gradient(180deg, #f8f5ef 0%, var(--bg) 100%);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  border-radius: 16px;
}

a {
  color: inherit;
}

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin: 0 auto;
}

.site-header,
.subpage-header {
  padding: 3rem 0 2rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--muted);
}

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

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.lead {
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.main-nav a {
  text-decoration: none;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.75);
}

.main-nav a[aria-current="page"] {
  background: var(--surface-strong);
  border-color: var(--surface-strong);
}

.hero,
.section-grid,
.info-strip,
.page-content {
  margin-bottom: 2rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
}

.card,
.info-strip {
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.5rem;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.wide-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.5rem;
  align-items: center;
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  background: var(--accent);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-dark);
}

.text-link {
  color: var(--accent-dark);
}

.message {
  margin-top: 1rem;
  color: var(--muted);
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.5rem;
}

.contact-grid {
  align-items: start;
}

form {
  display: grid;
  gap: 0.75rem;
}

input,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font: inherit;
}

.site-footer {
  padding: 0 0 2.5rem;
  color: var(--muted);
}

@media (max-width: 800px) {
  .hero,
  .section-grid,
  .wide-card,
  .info-strip {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.4rem;
  }
}
