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

:root {
  --ink: #0F2B35;
  --terra: #C4622D;
  --terra-light: #E8845A;
  --terra-pale: #F2C4A8;
  --cream: #F8F7F4;
  --cream-dark: #EDF0F1;
  --warm-gray: #4A5E68;
  --rule: #D8DFE2;
  --mag-white: #FFFFFF;
  --teal: #1A7A6D;
  --teal-light: #5DBFAE;
  --font-playfair: 'Playfair Display', serif;
  --font-jost: 'Jost', sans-serif;
  --font-baskerville: 'Libre Baskerville', serif;
}

html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--ink); font-family: var(--font-jost); font-weight: 400; line-height: 1.6; overflow-x: hidden; }

/* ── ACCESSIBILITY ── */
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--terra); color: #fff; padding: 12px 24px; font-size: 0.85rem; font-weight: 600; z-index: 999; text-decoration: none; border-radius: 0 0 4px 4px; }
.skip-link:focus { top: 0; }
*:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }

/* ── NAV ── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(250,246,239,0.96); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  padding: 0 40px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-family: var(--font-playfair); font-size: 1.5rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; flex-shrink: 0; }
.nav-logo em { color: var(--terra); font-style: italic; }
.nav-home-icon { width: 18px; height: 18px; margin-right: 6px; vertical-align: -2px; stroke: var(--warm-gray); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s; }
.nav-logo:hover .nav-home-icon { stroke: var(--terra); }
.nav-links { display: flex; align-items: center; gap: 20px; list-style: none; }
.nav-links a { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warm-gray); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--terra); }
.nav-cta { background: var(--terra) !important; color: white !important; padding: 10px 22px; font-size: 0.72rem !important; font-weight: 700 !important; letter-spacing: 0.1em !important; text-transform: uppercase !important; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s !important; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { background: var(--terra-light) !important; color: white !important; transform: translateY(-1px); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: all 0.25s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: rgba(250,246,239,0.98); backdrop-filter: blur(16px); border-bottom: 1px solid var(--rule); z-index: 199; padding: 24px 24px 32px; flex-direction: column; gap: 0; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 0.88rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warm-gray); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--rule); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--terra); }
.mobile-menu .mobile-cta { margin-top: 20px; background: var(--terra); color: white !important; text-align: center; padding: 16px; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; border-bottom: none; }
.mobile-menu .mobile-cta:hover { background: var(--terra-light); color: white !important; }

/* ── FOOTER ── */
footer { background: var(--ink); border-top: 1px solid rgba(255,255,255,0.06); padding: 48px 40px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
footer .logo { font-family: var(--font-playfair); font-size: 1.3rem; font-weight: 700; color: rgba(255,255,255,0.5); text-decoration: none; letter-spacing: -0.01em; }
footer .logo em { color: var(--terra); font-style: italic; }
footer .tagline { font-size: 0.76rem; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; text-align: center; }
footer .footer-nav { display: flex; gap: 28px; }
footer .footer-nav a { font-size: 0.72rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
footer .footer-nav a:hover { color: rgba(255,255,255,0.9); }

/* ── UTILS ── */
.fade-in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }
.js-animate .fade-in { opacity: 0; transform: translateY(20px); }
.js-animate .fade-in.visible { opacity: 1; transform: none; }
.back-to-top { position: fixed; bottom: 32px; right: 32px; width: 44px; height: 44px; background: var(--terra); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.2s; z-index: 50; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); background: var(--terra-light); }

/* ── SHARED RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  nav.site-nav { padding: 0 20px; }
}
