/* ============================================================
   RESET & BASE
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: 'Source Serif 4', Georgia, serif;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

:root {
  --cream: #f1e2be;
  --tan: #e6d1a1;
  --rust: #944431;
  --navy: #445162;
  --brown: #594a45;
  --maroon: #65081f;
  --gold-line: #caac77;
  --muted: #a9a994;
  --gray: #87867a;
  --border-rose: #c0977a;
  --story-quote-text: #f0d696;
  --black: #000000;

  --side-pad: 20px;
  --hero-pad-top: 64px;
  --hero-pad-bottom: 42px;
  --section-pad-y: 42px;
  --band-pad-y: 48px;
  --footer-pad-top: 42px;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--side-pad);
  padding-right: var(--side-pad);
}

.eyebrow {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--rust);
  margin: 0 0 12px;
}

.eyebrow.on-dark {
  color: var(--muted);
}

.eyebrow.on-rust {
  color: #f1e2be;
  opacity: .85;
}

.heading-block {
  display: flex;
  flex-direction: column;
}

.section-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--black);
}

.section-title.on-dark {
  color: var(--cream);
}

.body-copy {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  line-height: 29px;
  color: var(--brown);
  max-width: 62ch;
}

.body-copy.on-dark {
  color: var(--cream);
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  line-height: 19px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.btn:active {
  transform: scale(.97);
}

.btn:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--rust);
  color: var(--cream);
}

.btn-primary:hover {
  background: #7c3728;
}

.btn-outline {
  background: transparent;
  color: var(--rust);
  border-color: var(--rust);
}

.btn-outline:hover {
  background: rgba(148, 68, 49, .08);
}

.btn-outline-inverse {
  background: var(--cream);
  color: var(--rust);
  border-color: var(--rust);
}

.btn-outline-inverse:hover {
  background: #fff4dd;
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 60;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 10px rgba(56, 41, 36, .08);
}

.site-header a.btn-primary {
  color: var(--cream) !important;
}

.header-inner {
  padding-top: 16px;
  padding-bottom: 16px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-rule {
  height: 1px;
  background: var(--gold-line);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 160px;
}

.logo-mark .logo-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--brown);
}

.logo-mark .logo-rule {
  width: 100%;
  height: 1px;
  background: var(--rust);
  border: none;
  margin: 0;
}

.logo-mark .logo-sub {
  font-size: 12px;
  color: var(--brown);
}

.site-footer .logo-mark .logo-title,
.site-footer .logo-mark .logo-sub {
  color: var(--cream);
}

.site-footer .logo-mark .logo-rule {
  background: var(--gray);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--brown);
  position: relative;
  padding: 2px 0;
}

.nav-desktop .btn {
  padding: 10px 24px;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 1px;
  background: var(--rust);
  transition: right .2s ease;
}

.nav-desktop a:hover::after {
  right: 0;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--rust);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 8px;
}

.menu-toggle .bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

.menu-toggle .bars span {
  display: block;
  height: 2px;
  background: var(--rust);
  border-radius: 1px;
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid var(--gold-line);
  transition: max-height .32s ease;
}

.mobile-nav.is-open {
  max-height: 420px;
}

.mobile-nav-inner {
  padding: 20px var(--side-pad) 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--brown);
  border-bottom: 1px solid rgba(148, 68, 49, .12);
}

.mobile-nav .btn {
  margin-top: 16px;
  align-self: flex-start;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none;
  }
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding-top: var(--footer-pad-top);
  padding-bottom: 24px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-desc {
  font-size: 18px;
  line-height: 29px;
  color: var(--gold-line);
}

.footer-menus {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-menu-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-menu-col .col-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold-line);
}

.footer-menu-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-menu-col a {
  font-size: 14px;
  font-weight: 500;
  color: var(--cream);
}

.footer-menu-col a:hover {
  text-decoration: underline;
}

.footer-rule {
  height: 1px;
  background: var(--cream);
  opacity: .28;
  border: none;
  margin: 0 0 24px;
}

.copyright {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  text-align: center;
  color: var(--cream);
}

@media (min-width: 768px) {
  :root {
    --hero-pad-top: 144px;
    --hero-pad-bottom: 56px;
    --side-pad: 42px;
    --section-pad-y: 56px;
    --band-pad-y: 64px;
    --footer-pad-top: 56px;
  }

  .footer-top {
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
  }

  .footer-brand {
    flex: 1;
  }

  .footer-menus {
    flex-direction: row;
    gap: 24px;
    flex: none;
    width: 480px;
  }

  .footer-menu-col {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  :root {
    --hero-pad-top: 80px;
    --hero-pad-bottom: 80px;
    --side-pad: 56px;
    --section-pad-y: 80px;
    --band-pad-y: 96px;
    --footer-pad-top: 80px;
  }
}

@media (min-width: 1440px) {
  :root {
    --hero-pad-top: 96px;
    --hero-pad-bottom: 88px;
    --side-pad: 88px;
    --section-pad-y: 88px;
    --band-pad-y: 108px;
    --footer-pad-top: 88px;
  }
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}
