:root {
  --bg: #f4efe7;
  --bg-strong: #efe6d8;
  --surface: rgba(255, 252, 247, 0.8);
  --surface-strong: #fffaf3;
  --text: #211c17;
  --muted: #62584f;
  --border: rgba(33, 28, 23, 0.12);
  --accent: #1f5c4d;
  --accent-soft: #d8e5df;
  --max: 1180px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Aptos", "Segoe UI", sans-serif;
  --shadow: 0 18px 60px rgba(33, 28, 23, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 229, 223, 0.7), transparent 28%),
    radial-gradient(circle at right 10% top 15%, rgba(255, 255, 255, 0.65), transparent 22%),
    linear-gradient(180deg, #f8f3ea 0%, #f3ede4 100%);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(33, 28, 23, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 28, 23, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  opacity: 0.35;
}

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

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

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

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

.site-header {
  padding: 1.1rem 0;
}

.nav-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

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

.brand strong {
  font-size: 0.95rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.brand-mark {
  width: 2.9rem;
  height: 2.9rem;
  display: inline-grid;
  place-items: center;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--accent) 0%, #173f38 100%);
  color: #fffdf9;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.site-nav a,
.inline-link,
.detail-links a,
.footer-links a {
  color: var(--accent);
}

.site-nav a:hover,
.inline-link:hover,
.detail-links a:hover,
.footer-links a:hover,
.card-link:hover {
  opacity: 0.74;
}

.hero {
  width: min(calc(100% - 2rem), var(--max));
  margin: 2rem auto 1.75rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.section-card,
.detail-card,
.contact-card,
.list-card,
.newsletter-placeholder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy {
  padding: 3.2rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.4rem;
}

p {
  margin: 0 0 1rem;
}

.hero-summary,
.page-summary {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0 2rem;
}

.button,
.button-secondary,
.newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}

.button,
.newsletter-form button {
  background: var(--accent);
  color: #fffdf9;
}

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

.hero-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-panel {
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.panel-block {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border);
}

.panel-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.panel-list,
.footer-links,
.contact-list,
.mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.panel-list li,
.footer-links li,
.contact-list li,
.mini-list li {
  margin-bottom: 0.55rem;
}

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

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 55ch;
  color: var(--muted);
}

.card-grid,
.list-grid,
.contact-grid {
  display: grid;
  gap: 1.15rem;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-card,
.list-card,
.contact-card {
  padding: 1.5rem;
}

.meta-row,
.content-meta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.85rem 0 1rem;
}

.card-link {
  color: var(--accent);
  font-weight: 600;
}

.page-shell,
.content-shell {
  padding: 3rem 0 4rem;
}

.page-intro,
.content-header {
  margin-bottom: 2rem;
}

.page-body,
.rich-text {
  max-width: 72ch;
}

.rich-text h2,
.rich-text h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.rich-text ul,
.rich-text ol {
  padding-left: 1.2rem;
}

.rich-text li {
  margin-bottom: 0.55rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.detail-card {
  padding: 1.4rem;
  position: sticky;
  top: 1.5rem;
}

.detail-card dl {
  margin: 0;
}

.detail-card dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 1rem;
}

.detail-card dd {
  margin: 0.2rem 0 0;
}

.detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.newsletter-form {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.newsletter-embed {
  margin-top: 1rem;
}

.newsletter-embed iframe,
.newsletter-embed form,
.newsletter-embed .formkit-form {
  max-width: 100%;
}

.newsletter-form input {
  flex: 1 1 220px;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
}

.newsletter-placeholder {
  padding: 1rem 1.1rem;
  color: var(--muted);
}

.site-footer {
  padding: 1rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  padding: 2rem;
  background: rgba(255, 250, 243, 0.9);
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
}

.footer-email {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 600;
}

.footer-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 1.2rem;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 960px) {
  .hero,
  .footer-grid,
  .detail-grid,
  .card-grid,
  .list-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 2.2rem;
  }

  .detail-card {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-top: 0.8rem;
  }

  .nav-shell,
  .section-header {
    align-items: start;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .hero {
    margin-top: 1rem;
  }

  .hero-copy,
  .hero-panel,
  .section-card,
  .contact-card,
  .list-card,
  .detail-card,
  .footer-grid {
    border-radius: 1.2rem;
  }
}
