/* =============================================
   THE GRAND DETAIL — Shared Stylesheet
   Brand: Espresso, Forest, Champagne Gold, Ivory, Sand, Sage
   ============================================= */

:root {
  --espresso:       #2C2018;
  --forest:         #1E3A2F;
  --gold:           #C9A84C;
  --ivory:          #FAF6F1;
  --sand:           #D4B8A0;
  --sage:           #7A9E8E;
  --white:          #FFFFFF;

  --font-serif:     'Cormorant Garamond', Georgia, serif;
  --font-sans:      'Jost', 'Helvetica Neue', Arial, sans-serif;

  --max-width:      1200px;
  --section-pad:    100px 40px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.1rem; letter-spacing: 0.12em; text-transform: uppercase; }

p { font-size: 1rem; color: var(--espresso); max-width: 680px; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1.5px solid currentColor;
  transition: background 0.25s, color 0.25s;
  cursor: pointer;
}
.btn-dark {
  background: var(--espresso);
  color: var(--ivory);
  border-color: var(--espresso);
}
.btn-dark:hover { background: var(--forest); border-color: var(--forest); }

.btn-outline {
  background: transparent;
  color: var(--espresso);
  border-color: var(--espresso);
}
.btn-outline:hover { background: var(--espresso); color: var(--ivory); }

.btn-light {
  background: transparent;
  color: var(--ivory);
  border-color: var(--ivory);
}
.btn-light:hover { background: var(--ivory); color: var(--espresso); }

.btn-gold {
  background: var(--gold);
  color: var(--espresso);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--espresso); color: var(--gold); border-color: var(--espresso); }

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-nav.scrolled {
  background: var(--ivory);
  box-shadow: 0 1px 0 rgba(44,32,24,0.1);
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--ivory);
  transition: color 0.3s;
}
.site-nav.scrolled .nav-logo { color: var(--espresso); }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  transition: color 0.3s, opacity 0.2s;
  opacity: 0.85;
}
.nav-links a:hover { opacity: 1; }
.site-nav.scrolled .nav-links a { color: var(--espresso); }
.nav-links a.active { opacity: 1; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

.nav-cta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1.5px solid var(--ivory);
  color: var(--ivory);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.nav-cta:hover { background: var(--ivory); color: var(--espresso); }
.site-nav.scrolled .nav-cta { border-color: var(--espresso); color: var(--espresso); }
.site-nav.scrolled .nav-cta:hover { background: var(--espresso); color: var(--ivory); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ivory);
  transition: background 0.3s;
}
.site-nav.scrolled .nav-toggle span { background: var(--espresso); }

/* ── Page Hero (non-home pages) ── */
.page-hero {
  background: var(--forest);
  padding: 160px 48px 80px;
  text-align: center;
}
.page-hero h1 { color: var(--ivory); margin-bottom: 1rem; }
.page-hero p { color: var(--sand); margin: 0 auto; text-align: center; font-size: 1.1rem; }

/* ── Section Wrappers ── */
.section { padding: var(--section-pad); }
.container { max-width: var(--max-width); margin: 0 auto; }

/* ── Divider ── */
.divider {
  width: 60px;
  height: 1.5px;
  background: var(--gold);
  margin: 24px 0;
}
.divider-center { margin: 24px auto; }

/* ── Footer ── */
.site-footer {
  background: var(--espresso);
  color: var(--sand);
  padding: 72px 48px 40px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(212,184,160,0.2);
}
.footer-brand .logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--ivory);
  margin-bottom: 16px;
}
.footer-brand .footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  max-width: 280px;
}
.footer-brand p { font-size: 0.9rem; color: var(--sand); max-width: 280px; }
.footer-col h5 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--sand);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--ivory); }
.footer-col p { font-size: 0.9rem; color: var(--sand); max-width: none; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(212,184,160,0.5);
}
.social-links { display: flex; gap: 20px; }
.social-links a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212,184,160,0.5);
  transition: color 0.2s;
}
.social-links a:hover { color: var(--sand); }

/* ── Placeholder image blocks ── */
.img-placeholder {
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--espresso);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
  width: 100%;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .site-nav { padding: 18px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--espresso);
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 99;
  }
  .site-nav.open .nav-links a { font-size: 1.2rem; color: var(--ivory) !important; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  :root { --section-pad: 72px 24px; }
  .page-hero { padding: 130px 24px 60px; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
