:root {
  --bg: #f6f1e9;
  --bg-soft: #fffaf3;
  --text: #1d2b2f;
  --muted: #4f6168;
  --accent: #cc5a2f;
  --accent-strong: #a54823;
  --line: #d7cfc3;
  --card: #fffdf9;
  --container: min(1080px, 92vw);
  --radius: 16px;
  --shadow: 0 16px 30px rgba(31, 41, 45, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 8% 10%, rgba(204, 90, 47, 0.14), transparent 35%),
    radial-gradient(circle at 92% 15%, rgba(45, 132, 145, 0.2), transparent 38%),
    var(--bg);
}

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

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.88), rgba(255, 252, 247, 0.95));
  border-block: 1px solid var(--line);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 0.5rem 0.75rem;
  z-index: 20;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(246, 241, 233, 0.82);
  border-bottom: 1px solid rgba(215, 207, 195, 0.8);
}

.header-inner {
  position: relative;
  min-height: 4.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-toggle {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  font: inherit;
  display: none;
}

.site-nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.hero {
  padding-top: 5.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

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

h1 {
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  max-width: 18ch;
}

.lead {
  color: var(--muted);
  max-width: 64ch;
}

.actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(204, 90, 47, 0.25);
}

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

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.hero-note ul {
  margin: 0;
  padding-left: 1.15rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.95rem;
}

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

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

.card h3 {
  margin-bottom: 0.45rem;
}

.card p {
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.card a {
  font-weight: 700;
  color: var(--accent-strong);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.35rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
}

:focus-visible {
  outline: 3px solid rgba(204, 90, 47, 0.45);
  outline-offset: 2px;
}

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

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

@media (max-width: 760px) {
  .section {
    padding: 3.5rem 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    background: #fffefb;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    min-width: 14rem;
    padding: 0.65rem 0.8rem;
  }

  .site-nav[data-open="false"] {
    display: none;
  }

  .site-nav[data-open="true"] ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
