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

:root {
  --crimson:    #8B1A1A;
  --crimson-d:  #6A1212;
  --gold:       #84610A;
  --gold-l:     #C9A84C;
  --cream:      #F7F3EE;
  --parchment:  #EFE9DF;
  --card-bg:    #FDFAF6;
  --border:     #E0D5C5;
  --text-dark:  #2C1810;
  --text-mid:   #5A4A3A;
  --text-light: #6E5E4E;
}

html { scroll-behavior: smooth; }

:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 3px;
}

.site-footer :focus-visible { outline-color: var(--gold-l); }

body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* ─── HEADER ──────────────────────────────────────── */
.site-header {
  background-color: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.8rem 0;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  height: 56px;
  width: 56px;
  object-fit: contain;
}

.header-logo-text .brand {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--crimson);
  text-transform: uppercase;
  line-height: 1.1;
}

.header-logo-text .tagline {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  list-style: none;
  gap: 0;
}

.header-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  padding: 0.5rem 1.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--crimson);
  border-bottom-color: var(--crimson);
}


/* ─── PAGE HEADER (inner pages) ───────────────────── */
.page-header {
  background-color: var(--parchment);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 3.5rem 2rem 3rem;
}

.page-header .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--crimson);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: var(--gold-l);
  margin: 0.25rem 0;
}

.ornament::before,
.ornament::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background-color: var(--gold-l);
}

.ornament span { font-size: 0.55rem; letter-spacing: 0.05em; }

/* ─── FOOTER ──────────────────────────────────────── */
.site-footer {
  background-color: var(--text-dark);
  color: #C9BAA8;
  padding: 3rem 2rem 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo-col { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-logo-col img {
  height: 60px;
  width: 60px;
  object-fit: contain;
  filter: brightness(0.85) sepia(0.15);
}

.footer-logo-col .f-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8D8C4;
}

.footer-logo-col .f-tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-l);
}

.footer-logo-col .f-copy {
  font-size: 0.78rem;
  color: #A08F7D;
  margin-top: 0.4rem;
  line-height: 1.7;
}

.footer-col h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-l);
  margin-bottom: 0.9rem;
}

.footer-col p,
.footer-col address {
  font-style: normal;
  font-size: 0.8rem;
  line-height: 1.85;
  color: #A08F7D;
}

.footer-col a {
  color: #C9BAA8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold-l); }

.footer-col .social-links { margin-top: 1rem; }
.footer-col .social-links a { color: var(--gold-l); }
.footer-col .social-links a:hover { color: #E8D8C4; }

.site-footer .footer-bottom {
  max-width: 1100px;
  margin: 3.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #4A3A2A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #A8978A;
  letter-spacing: 0.04em;
}

/* ─── SOCIAL LINKS ──────────────────────────────── */
.social-links {
  display: flex;
  gap: 1.25rem;
}

.social-links a {
  color: var(--gold);
  transition: color 0.2s;
  line-height: 0;
}

.social-links a:hover { color: var(--crimson); }

.social-links svg {
  width: 22px;
  height: 22px;
}

/* ─── UTILITIES ───────────────────────────────────── */
/* Read by screen readers, not shown on screen */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75rem 2rem;
  border: 1px solid currentColor;
  transition: background 0.25s, color 0.25s;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background-color: var(--crimson);
  border-color: var(--crimson);
}

.btn-primary:hover {
  background-color: var(--crimson-d);
  border-color: var(--crimson-d);
}

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

.btn-outline:hover {
  background-color: var(--crimson);
  color: #fff;
}

.btn-gold {
  color: var(--gold);
  background-color: transparent;
  border-color: var(--gold-l);
}

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

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ─── HAMBURGER / MOBILE NAV ──────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background-color: var(--text-dark);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 899px) {
  .nav-toggle { display: flex; }

  .header-inner { flex-wrap: wrap; align-items: center; gap: 0; }

  .header-logo { flex: 1; }

  .site-header nav {
    flex: 0 0 100%;
    max-height: 0;
    overflow: hidden;
    /* visibility keeps the closed menu out of the tab order and screen readers;
       it flips after the collapse animation finishes */
    visibility: hidden;
    transition: max-height 0.35s ease, border-color 0.1s, visibility 0s linear 0.35s;
    border-top: 1px solid transparent;
  }

  .site-header.nav-open nav {
    max-height: 500px;
    border-top-color: var(--border);
    visibility: visible;
    transition: max-height 0.35s ease, border-color 0.1s, visibility 0s;
  }

  .header-nav {
    flex-direction: column;
    width: 100%;
    padding: 0.5rem 0;
  }

  .header-nav li { width: 100%; }

  .header-nav a {
    display: block;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.78rem;
  }

  .header-nav li:last-child a { border-bottom: none; }

  .header-nav a:hover,
  .header-nav a.active {
    background-color: var(--parchment);
    border-bottom-color: var(--border);
  }
}

@media (max-width: 400px) {
  .header-logo img { height: 38px; width: 38px; }
  .header-logo-text .brand { font-size: 1rem; }
  .header-logo-text .tagline { font-size: 0.58rem; letter-spacing: 0.12em; }
}
