@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Karla:wght@400;500;700&display=swap');

:root {
  --clay: #B5673E;
  --clay-dark: #8F4E2E;
  --sage: #5C6B4F;
  --sage-dark: #424E38;
  --sky: #3A6B7E;
  --stone: #EDE6D8;
  --stone-light: #F7F3EA;
  --ink: #2B2620;
  --gold: #C99A3F;
  --line: rgba(43, 38, 32, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Karla', sans-serif;
  color: var(--ink);
  background: var(--stone-light);
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

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

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- NAV ---- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--stone-light);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: 1040px;
  margin: 0 auto;
}

.brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--clay-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark { width: 26px; height: 26px; flex-shrink: 0; }

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}

nav a:hover, nav a.active { color: var(--clay-dark); }

/* ---- PAGE HERO ---- */
.page-hero {
  background: var(--sage-dark);
  color: var(--stone-light);
  padding: 64px 28px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero .eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 600;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  color: rgba(247,243,234,0.88);
}

.topo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.1;
}

.page-hero-inner { position: relative; z-index: 2; }

/* ---- SECTION ---- */
section { padding: 72px 0; }
section.alt { background: var(--stone); }
section.dark { background: var(--sage-dark); color: var(--stone-light); }
section.clay { background: var(--clay-dark); color: var(--stone-light); }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}

.section-head .eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 10px;
  font-weight: 600;
  display: block;
}

.section-head.light .eyebrow { color: var(--gold); }

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  margin-bottom: 12px;
}

.section-head p {
  color: rgba(43,38,32,0.72);
  font-size: 1.05rem;
}

.section-head.light p { color: rgba(247,243,234,0.82); }
.section-head.light h2 { color: var(--stone-light); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 34px;
  border-radius: 4px;
  font-size: 0.92rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--clay);
  color: var(--stone-light);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(181,103,62,0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid currentColor;
}

.btn-outline:hover { opacity: 0.8; }

/* ---- CARDS ---- */
.card {
  background: var(--stone-light);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 28px;
}

.card.featured {
  background: var(--clay-dark);
  color: var(--stone-light);
  border: none;
}

/* ---- PILL ---- */
.pill {
  display: inline-block;
  background: rgba(43,38,32,0.07);
  border: 1px solid var(--line);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
}

.pill.gold {
  background: rgba(201,154,63,0.15);
  border-color: rgba(201,154,63,0.4);
  color: var(--clay-dark);
}

/* ---- FOOTER ---- */
footer {
  background: var(--ink);
  color: rgba(247,243,234,0.6);
  text-align: center;
  padding: 36px 0;
  font-size: 0.88rem;
}

footer .brand-foot {
  font-family: 'Oswald', sans-serif;
  color: var(--stone-light);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 0.95rem;
}

footer .foot-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

footer .foot-links a {
  color: rgba(247,243,234,0.6);
  text-decoration: none;
  font-size: 0.85rem;
}

footer .foot-links a:hover { color: var(--stone-light); }

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-clay { color: var(--clay); }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 28px; }
.mt-lg { margin-top: 48px; }
.mb-sm { margin-bottom: 16px; }

/* ---- GRID ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  nav ul { gap: 14px; }
  nav a { font-size: 0.78rem; }
}
