/* Reset and base utilities */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 80px);
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  width: fit-content;
}
.logo-pill .star { color: var(--mustard); font-size: 13px; }

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  color: inherit;
}
.brand-logo__mark {
  width: var(--brand-logo-size, 48px);
  height: var(--brand-logo-size, 48px);
  flex: 0 0 auto;
  background: #8AA36F;
  border-radius: 22%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-4deg);
  box-shadow: 0 4px 0 rgba(42,26,12,.16);
}
.brand-logo__mark svg {
  width: 66%;
  height: 66%;
}
.brand-logo__wordmark {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: calc(var(--brand-logo-size, 48px) / 2);
  letter-spacing: -0.8px;
  color: #2A1A0C;
}
.brand-logo__wordmark em {
  font-style: italic;
  color: #5F7A48;
}
.brand-logo--small { --brand-logo-size: 38px; }
.brand-logo--tiny {
  --brand-logo-size: 28px;
  gap: 0.5rem;
}
.brand-logo--dark .brand-logo__wordmark { color: #fff3de; }
.brand-logo--dark .brand-logo__wordmark em { color: #f0b73a; }
.brand-logo svg { --brand-stroke: #fff3de; --brand-check: #ffffff; }
.brand-logo--dark svg { --brand-stroke: #f0b73a; --brand-check: #f0b73a; }

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,243,222,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-12);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-60);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--tomato); }

footer {
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--ink-12);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-left { display: flex; flex-direction: column; gap: 8px; }
.footer-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--ink-60);
  letter-spacing: 0.04em;
}
.footer-right { text-align: right; }
.footer-legal { display: flex; gap: 18px; justify-content: flex-end; flex-wrap: wrap; margin-bottom: 6px; }
.footer-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink-60);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--tomato); }
.footer-copy {
  font-size: 12px;
  color: var(--ink-60);
  margin-top: 6px;
}
