:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  color: #1A1A1A;
  background: #F2EEE8;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #1A1A1A;
  line-height: 1.6;
  background: #F2EEE8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

button {
  font-family: inherit;
  font-weight: 500;
  border: none;
  outline: none;
  cursor: pointer;
}

input, textarea, select {
  font-family: inherit;
  font-weight: 500;
}

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

/* ── Navigation ─────────────────────────────────────── */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 238, 232, 0.9);
  border-bottom: 0.5px solid transparent;
  transition: backdrop-filter 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

header.scrolled {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(242, 238, 232, 0.78);
  border-bottom-color: #C8C0B4;
}

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

.brand {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  display: inline-flex;
  align-items: center;
  color: #1A1A1A;
  text-decoration: none;
}

.brand .dot {
  color: #D4521A;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #1A1A1A;
}

.nav-links a.active {
  color: #1A1A1A;
}

.nav-button {
  background: #1A1A1A !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  padding: 0.65rem 1.15rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  display: inline-block !important;
  transition: opacity 0.2s ease !important;
  white-space: nowrap;
}

.nav-button:hover {
  opacity: 0.8 !important;
  color: #ffffff !important;
}

/* ── Hamburger ──────────────────────────────────────── */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #1A1A1A;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Scroll reveal ──────────────────────────────────── */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Shared page hero ───────────────────────────────── */

.page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 38vh;
  padding: 4rem 0 3rem;
}

.page-hero h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #D4521A;
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
}

.page-copy {
  color: #666;
  font-size: 1rem;
  line-height: 1.85;
  margin: 0;
}

/* ── Footer ─────────────────────────────────────────── */

.site-footer {
  border-top: 0.5px solid #C8C0B4;
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 0.5px solid #C8C0B4;
  margin-bottom: 1.5rem;
}

.footer-brand .brand {
  display: block;
  margin-bottom: 0.6rem;
}

.footer-brand > p {
  color: #888;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #aaa;
  margin-bottom: 0.85rem;
}

.footer-col a,
.footer-col p {
  display: block;
  color: #777;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #1A1A1A;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom > p {
  color: #aaa;
  font-size: 0.82rem;
}

.footer-cta {
  background: #D4521A !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  padding: 0.65rem 1.15rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  display: inline-block !important;
  transition: opacity 0.2s ease !important;
}

.footer-cta:hover {
  opacity: 0.85 !important;
}

/* ── Mobile ─────────────────────────────────────────── */

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #F2EEE8;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a:not(.nav-button) {
    font-size: 1.35rem;
    color: #1A1A1A;
  }

  .nav-button {
    font-size: 1rem !important;
    padding: 0.85rem 2rem !important;
  }

  .page-hero {
    grid-template-columns: 1fr;
    min-height: unset;
    padding: 2.5rem 0 2rem;
  }

  .page-hero h1 {
    font-size: 28px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
