:root {
  --bg: #f6f0e8;
  --surface: rgba(255, 252, 248, 0.7);
  --panel: rgba(255, 252, 248, 0.9);
  --text: #1d1a17;
  --muted: #5f554e;
  --accent: #1c6b59;
  --accent-strong: #144c40;
  --line: rgba(29, 26, 23, 0.12);
  --shadow: 0 24px 60px rgba(37, 27, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(28, 107, 89, 0.14), transparent 32%),
    linear-gradient(180deg, #f7f2eb 0%, var(--bg) 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 26, 23, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 26, 23, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 78%);
}

.page-shell {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.hero,
.section-grid,
.closing,
.footer {
  backdrop-filter: blur(16px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
  min-height: 78vh;
  padding: 48px;
  border-radius: 8px;
}

.eyebrow,
.section-label,
.card-label {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-weight: 700;
  line-height: 0.98;
}

h1 {
  max-width: 9ch;
  font-size: clamp(3.5rem, 7vw, 6.4rem);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.45rem;
}

.intro,
.section-text,
.card p,
.art-caption,
.footer {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.intro {
  max-width: 32rem;
  margin: 24px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

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

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

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.56);
  border-color: var(--line);
}

.hero-art {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.monogram-card {
  display: grid;
  place-items: center;
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background:
    linear-gradient(160deg, rgba(18, 74, 63, 0.94), rgba(31, 121, 102, 0.86)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.monogram-card span {
  color: #f8f4ee;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(4.5rem, 12vw, 7rem);
  font-weight: 700;
}

.art-caption {
  width: min(100%, 360px);
  margin: 0;
}

.section {
  margin-top: 24px;
  padding: 36px;
  border-radius: 8px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.section-text {
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.card {
  padding: 24px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card p {
  margin: 14px 0 0;
}

.closing h2 {
  max-width: 14ch;
}

.closing .section-text {
  max-width: 40rem;
  margin-top: 18px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .hero,
  .section-grid,
  .cards,
  .footer {
    grid-template-columns: 1fr;
  }

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

  h1 {
    max-width: 10ch;
  }

  .footer {
    display: grid;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 10px;
  }

  .hero,
  .section,
  .card,
  .footer {
    padding: 22px;
  }

  .intro,
  .section-text,
  .card p,
  .art-caption,
  .footer {
    font-size: 1rem;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
