:root {
  --bg: #f6f2ea;
  --bg-strong: #ebe3d4;
  --surface: #fffdf9;
  --surface-alt: #f1ede5;
  --text: #202521;
  --muted: #5f675f;
  --border: #d8d0c2;
  --accent: #356b63;
  --accent-dark: #234943;
  --shadow: 0 18px 48px rgba(32, 37, 33, 0.08);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Public Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(53, 107, 99, 0.1), transparent 30%),
    linear-gradient(180deg, #fbf7f0 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(251, 247, 240, 0.88);
  border-bottom: 1px solid rgba(216, 208, 194, 0.7);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
}

.brand-copy span {
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav a,
.footer-grid a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

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

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

.button-secondary {
  background: transparent;
  border-color: var(--border);
}

.hero,
.page-hero {
  padding: 5rem 0 3rem;
}

.hero-grid,
.two-column,
.contact-layout,
.prose-grid,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid,
.two-column,
.contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.contact-banner h2,
.note-panel h2,
.service-item h2,
.card h2,
.card h3,
.step h3,
.prose h2,
.footer-grid h2,
.footer-grid h3 {
  font-family: "Fraunces", serif;
  line-height: 1.1;
  margin-top: 0;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  margin-bottom: 1rem;
}

.hero-copy {
  max-width: 36rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-panel,
.card,
.step,
.note-panel,
.service-item,
.contact-form,
.contact-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel,
.note-panel,
.contact-banner {
  padding: 1.6rem;
}

.feature-list,
.footer-grid ul {
  margin: 0;
  padding-left: 1.2rem;
}

.section {
  padding: 1.5rem 0 3.5rem;
}

.section-alt {
  background: rgba(235, 227, 212, 0.45);
  border-top: 1px solid rgba(216, 208, 194, 0.7);
  border-bottom: 1px solid rgba(216, 208, 194, 0.7);
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 700;
}

.card-grid,
.steps,
.service-list {
  display: grid;
  gap: 1rem;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.steps {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-list {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 1.25rem;
}

.card,
.step,
.service-item {
  padding: 1.4rem;
}

.step span {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  background: var(--bg-strong);
  color: var(--accent-dark);
  font-weight: 700;
}

.prose,
.card p,
.step p,
.service-item p,
.note-panel p,
.contact-banner p,
.footer-grid p {
  color: var(--muted);
}

.section-cta {
  margin-top: 1.2rem;
}

.contact-form {
  padding: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  font: inherit;
}

.checkbox-row {
  display: flex;
  align-items: start;
  gap: 0.8rem;
  font-weight: 400;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.2rem;
}

.flash-stack {
  padding-top: 1rem;
}

.flash {
  margin-bottom: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
}

.flash-success {
  background: #e6f1ec;
  border: 1px solid #afc9bb;
}

.flash-error {
  background: #f6e8e2;
  border: 1px solid #d9b3a4;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(216, 208, 194, 0.7);
}

.footer-grid {
  grid-template-columns: 2fr 1fr 1fr;
}

.small-note {
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .topbar,
  .hero-grid,
  .two-column,
  .contact-layout,
  .prose-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    order: 3;
  }

  .nav-cta {
    width: 100%;
  }
}
