* {
  box-sizing: border-box;
}

html {
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: #2d1f14;
  background:
    radial-gradient(circle at 88% 10%, rgba(95, 140, 79, 0.12), transparent 20%),
    radial-gradient(circle at 14% 22%, rgba(242, 221, 218, 0.56), transparent 28%),
    linear-gradient(180deg, #faf5ed 0%, #f5ede0 48%, #efe2d2 100%);
  font: 500 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(63, 100, 47, 0.34);
  outline-offset: 4px;
}

.page-shell {
  overflow: clip;
}

.container {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.site-header {
  position: static;
  top: auto;
  z-index: auto;
  padding: 18px 0 0;
  backdrop-filter: none;
  background: transparent;
  border-bottom: 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 0 16px;
  border: 1px solid rgba(110, 78, 55, 0.08);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.72);
  box-shadow: 0 8px 24px rgba(57, 36, 23, 0.04);
}

.logo {
  font: 500 34px/1 "Playfair Display", Georgia, serif;
  letter-spacing: -0.06em;
}

.logo em {
  color: #3f642f;
  font-style: italic;
  font-weight: 600;
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.nav-link,
.footer-links a {
  color: #60493d;
  font-size: 15px;
  font-weight: 700;
}

.nav-link.is-active,
.footer-links a.is-active {
  color: #2d1f14;
}

.button,
.button-soft,
.button-ghost,
.button-outline {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button {
  color: #fffdf9;
  background: #4a3123;
  box-shadow: 0 12px 26px rgba(74, 49, 35, 0.18);
}

.button-soft {
  color: #fffdf9;
  background: #3f642f;
  box-shadow: 0 12px 26px rgba(63, 100, 47, 0.16);
}

.button-ghost,
.button-outline {
  color: #2d1f14;
  background: rgba(255, 253, 249, 0.72);
  border-color: rgba(110, 78, 55, 0.12);
}

.site-footer {
  padding: 26px 0 42px;
  border-top: 0;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px;
  border: 1px solid rgba(110, 78, 55, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.92), rgba(248, 241, 231, 0.9));
  box-shadow: 0 16px 34px rgba(57, 36, 23, 0.05);
}

.footer-brand {
  display: grid;
  gap: 6px;
  max-width: 26rem;
}

.footer-byline {
  color: #2d1f14;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.footer-note {
  color: #7a6255;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.scroll-reveal {
  opacity: 1;
  transform: none;
}

.js-ready .scroll-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
  will-change: opacity, transform;
}

.js-ready .scroll-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-ready .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

@media (hover: hover) {
  .nav-link:hover,
  .footer-links a:hover {
    color: #2d1f14;
  }

  .button:hover,
  .button-soft:hover,
  .button-ghost:hover,
  .button-outline:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 760px) {
  .nav-shell,
  .footer-shell {
    border-radius: 26px;
    align-items: flex-start;
    flex-direction: column;
  }

  .logo {
    font-size: 30px;
  }

  .footer-links {
    gap: 10px 14px;
  }
}
